How to Change A LAN port to Guest LAN

Sometimes people want to have one LAN port of GL-router change into the Guest LAN, then they can provide their guests a LAN connection without using the main LAN.

Our models GL-AX1800, GL-AXT1800, and GL-A1300 can provide one of the LAN ports to become a Guest LAN.

First, login your router and go to Luci. Then click the Network tab Interface and you will see the Guest

Click Edit and then you can see the manual inside. Change the Device from unspecified to eth2

Then go back to Interface and click LAN.

Change the Device from br-lan to eth1.

Finally, you can go back to the router web admin panel and turn on the guest wifi. You will have one LAN port changed to Guest LAN now.

3 Likes

Hi,
Do any of the other routers support this, for example GL-MT6000 or GL-B3000 or is it just the 3 mentioned above?

Thanks!

I would say all router support it but you need to do the change using luci or SSH.

Ok great, that sounds positive, I’ll check that out…thanks for your reply

I am using A1300.
I have tried to do this but eth1 is allocated to tethering (i am using a usb lte dongle as wan 2, Starlink as wan1).
I am trying to route a lan port via wireguard ( wan1) and the other lan via wan1, with failover via wan 2
What do I select instead

If eth1 is tethering, then maybe eth0 is the switch and you should configure vlan there.

Just tried this tutorial on a AX1800 running 4.5.16 firmware and the Wi-Fi stopped working.
I couldn’t connect on any of the SSIDs (normal and guest). I had to revert the changes

daemon.warn dnsmasq-dhcp[4685]: DHCP packet received on wlan1 which has no address

I have run out of eh? settings;
eth0 is now allocated to guest
eth1 is allocated to wan
eh2 is allocated to tether
only other ethernet adapter shows as “wgclient”
I do not understand the vlan reference in your previous reply.

Would Switch port: "lan4" and Switch: port "lan5" be the last two ports on MT6000, or is lan5 the 2.5g Ethernet port?

If it's the former, I'm assuming lan1 is the 2.5g Ethernet port?

I would like to set ports 5 and 6 in the following image to guest:

For reference, this is what I'm seeing on the guest interface page:

Lan 4 and Lan 5 correspond to your 5 and 6

on Flint 2
i edited the Guest Network and selected port 5 but i am still getting a 192.168.8.1 IP address

I have rebooted my device and router several times. i also tried other ports incase Just wont update port. Also seems to prevent my Wifi devices from joining the Guest network
guest

1 Like

Please try use vi /etc/config/network

Delete Lan 5

image

Enable Guest WiFi with '0' and add lan5 into it

image

Restart the network

/etc/init.d/network restart

Hi!

I did everything as written in this guide, restarted the router, reconnected via WinSCP and saw that the "/etc/config/network" settings looked different.

The line "ifname lan5" I entered disappeared from config interface 'guest', but at the bottom of the config file, there appeared

config device
option name 'br-guest'
option type 'bridge'
list ports 'lan5'
option igmp_snooping '0'

At the same time, the lan port works in guest mode, and all my guest Wi-Fi networks also work normally.

Dear colleagues, is this how it should be?