OK, I think I know how the bridging happened now. On the main page of gl-inet, there’s an option to use the WAN port as LAN. I chose this option because it was recommended by the tutorial, whose link I put up there.
I gather from what you said that I should switch that option back to WAN, and connect my gl-inet to the main router through the WAN port. Is this the right way to do it?
I really never used WAN before and I don’t know what it’s good for.
About the IP address assigned to the client, I’ll get this information for you within around 12 hours. I can’t access the router through its wifi right now.