Posted: Tue Sep 15, 2020 2:05 Post subject: Assign Ports to Same Subnet As Guest Network
I have a working wireless guest network, which is on a separate subnet than the main network (guest: 192.168.2.1; main: 192.168.1.1). I want to be able to cast to all wireless and some wired devices using the guest network. To do this, I need several ports (say 3 and 4) to be on the same subnet as the guest network.
I tried to follow the general idea of this post and assigning my wired ports to a new VLAN (VLAN3), with its Port Setup using the same IP Address as the guest network (wl0.1) -- then assigning a different Start in the Multiple DHCP Server section (e.g., VLAN3>Start:50, Max 49; wl0.1>Start:100, Max 49).
The result was that the wired ports worked and had internet, but they did not follow the DCHP settings and were outside the set range for VLAN3 (e.g.192.168.2.138). The guest network stopped serving internet at all.
Is there a way to get the physical ports 3 and 4 to be on the same subnet as the guest network so that I can cast to both wired and wireless devices on that 192.168.2.x subnet?
leave your wireless guest net (wl0.1 or wl1.1) & whatever physical ports you put into a VLAN as bridged
then assign all of them to a bridge such as br1
you would then set IP/netmask for br1 only and created
DHCP server for br1 ... that will put wireless guest + VLANs on same subnet so you should be able to cast or whatever else you are doing just fine.
I've been doing that for years cause my VIZO TV is wired to main router port 4 which is on same subnet as my guest net.
but then again I use a IPQ806x Qualcomm main router but works same on oldass broadcomy E2500 I setup same way just in case I break current main router for whatever reason
Thanks @mrjcd! That sounds perfect. Would you mind giving a little more detail on the steps? For some reason, VLANs and bridges don't work in my mind, so it helps a lot to have more info on what is done at each step.
You should always state what router you are using.
NOTE:
The E2500 broadcom unit is a bit diiferent than most others when creating VLANs.
Most likely you will not have to do the CLI commands like I done.
This depends on what router you have --- look in the DD-WRT wiki...