I have a Flint 2 serving as my main router with a Flint 1 in bridge mode, basically acting as a switch. I am trying to use the Flint 1 in order to set up a VLAN on one of its Ethernet ports, but can’t seem to get it working. DHCP keeps assigning an IP address from the main network scope.
I’ve added an interface to Network > Interfaces in Luci on the Flint 1 for the necessary port and have set an IP address. I’ve also tried adding the VLAN and specifying the Ethernet port in Network > Devices on the Flint 1 and setting the firewall zone.
What am I missing here in order to get the VLAN to work?
The Flint 1 is in bridge/access point mode and isn’t performing DHCP or NAT. I have also assigned a static IP to the Flint 1 already.
I did notice that I forgot to remove the Ethernet port I will use for VLAN out of the br-lan interface on the Flint 1. After doing that, however, it doesn’t appear that I’m getting an IP address from the range set on in the VLAN interface.
You can configure that in Network Mode un Network in the GL-iNet GUI. In access point mode, the default behavior is DCHP and NAT are not being performed since the main router is already handling that. All NAT and DCHP options disappear once I put the Flint 1 in bridge mode.
The Flint 1 is connected to the Flint 2 (main router) via an Ethernet port. Therefore all devices connected to the Flint 1 via Ethernet are a part of the main network.
I am essentially trying to use one of the ports on the Flint 1 and have it be a VLAN on a different subnet. Is this possible with the Flint 1 being downstream of the Flint 2? Can the Flint 1 not be behind the Flint 2 and use one of its ports as a VLAN port with internet access?
I did consider that, but the issue is that I don’t want everything that is connected behind the Flint 1 to be on the same subnet. 3 out of the 4 ports need to stay on the main network. How can I achieve this?