Multiple WLANs - Help getting it setup

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
poldim
DD-WRT Novice


Joined: 14 Apr 2011
Posts: 10

PostPosted: Sun Nov 22, 2015 1:46    Post subject: Multiple WLANs - Help getting it setup Reply with quote
I've made several attempts at this and cannot seem to get this working. Using the guide below, I was able to get my main router at 192.168.1.1 to create a seperate VLAN bridged to WAN with DHCP on 192.168.2.XXX. My issue is that my house is long and narrow so I have one router in the front and the same router acting as an AP in the back. How do I bridge the same Virtual SSID to the WAN with DHCP on 192.168.2.XXX from the router in the front of the house?

I do not have a separate "trunk" cable between the two devices, just a gigabit cable that connects the LAN. The ideal scenario is the .1.1 device can be the main device with Routing, DHCP for both .1.X and .2.X (and later .3.X for the garage AP) while the AP's just provide the connection to that segregated network.

http://www.dd-wrt.com/wiki/index.php/Multiple_WLANs

BTW, the VLAN # & VID is the same on both devices. When I try to connect to the SSID on the second device (AP), it authenticates but is unable to get an IP assigned. I'm guessing this is because it's not seeing the DHCP on the router through the VLAN.
Sponsor
poldim
DD-WRT Novice


Joined: 14 Apr 2011
Posts: 10

PostPosted: Mon Nov 23, 2015 16:34    Post subject: Reply with quote
eibgrad wrote:
Why do these guest networks need to be bridged at all? If these guests don’t need to communicate w/ each other across the VAPs, and they only have access to the internet, who cares? For the second and subsequent VAPs, you just route the guest network over the private network, add some firewall rules to prevent those guests from access resources on the private network, and you’re done.

That’s not to say you couldn’t make a case for bridging. For example, if you wanted all the guests to participate in some service offered by the primary router (captive portal, VPN, etc.). But short of that, it seems pointless.

If you still want to bridge them, and both routers are running dd-wrt, consider EoIP tunneling. Simple and elegant.

You could even use OpenVPN and a bridged tunnel, but that seems like overkill, esp. when EoIP is so much easier.

The problem w/ VLANs/VLAN-tagging is that not all routers support it, despite the fact the GUI gives the impression they do. And dd-wrt isn’t even using the 802.11q standard. And it obviously doesn’t work if you’re bridging over wireless. That’s why from a tech support perspective, I’ll only turn to VLAN tagging as a last resort.


Thanks, the two routers are the same models running same version firmware. I've got a few chromecasts in the house that I want guests to have access to as they migrate between APs. Having them completed siloed would not allow this. I figured with the same hardware, this should be a short put.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Mon Nov 23, 2015 19:40    Post subject: Reply with quote
Can you post the output of "nvram show | grep vlan\.ports"

Which port is the trunk between the routers connected to?
poldim
DD-WRT Novice


Joined: 14 Apr 2011
Posts: 10

PostPosted: Tue Nov 24, 2015 23:45    Post subject: Reply with quote
Per Yngve Berg wrote:
Can you post the output of "nvram show | grep vlan\.ports"

Which port is the trunk between the routers connected to?


This is the same in both the router and the AP. Both the router and AP are interconnected via port 4. The VLAN + VID are both 3.

Code:
new_vlan1ports=1 2 3 4 8*
new_vlan2ports=0 8
vlan0ports=
vlan1ports=1 2 3 4 8*
vlan2ports=0 8
vlan3ports=4t 8
vlan4ports=
vlan5ports=
vlan6ports=
vlan7ports=
vlan8ports=
vlan9ports=
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Wed Nov 25, 2015 8:02    Post subject: Reply with quote
You have forgotten to tag port 4 on vlan1.

nvram set vlan1ports="1 2 3 4t 8*"


Then you need two bridges (br0 and br1)

br0: 192.168.1.1 and 192.168.1.2 (AP router)
br1: 192.168.2.1 and 192.168.2.2

Assign eth1, eth2, vlan1 to br0
Assign wl0.1, wl1.1, vlan3 to br1
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum