How to setup guest SSID to tag all traffic to a VLAN?

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
user6290
DD-WRT Novice


Joined: 12 Jun 2019
Posts: 1

PostPosted: Wed Jun 12, 2019 16:56    Post subject: How to setup guest SSID to tag all traffic to a VLAN? Reply with quote
I am new to posting on forms so please instruct me if I am not doing it correctly. Thank you for your help.

End result, I want an isolated Guest Wifi on a separate subnet and VLAN using the same network cable as another subnet & VLAN.

How do I get the DDWRT guest SSID to tag all traffic to VLAN7 so the connected devices will get a DHCP IP from VLAN7 in the VyOS router?

VyOS Router
1 interface with 2 DHCP servers and 2 subnets
address 192.168.2.1/24 description VLAN2
vif 7 address 192.168.7.1/24 description VLAN7
In Windows 10 with the PC connected directly to the vyos interface that has the 2 subnets:
I set the VLAN ID of the adapter to 0 and can access VLAN2 correctly.
I set the VLAN ID of the adapter to 7 and can access VLAN7 correctly.
So the vyos Router is setup correctly.

Add a Netgear M4100-26G Managed Switch
Switch Port 2 connects to the Router interface port with VLAN2 and vif VLAN7 (same port that using a win 10 PC worked above)
Switch Port 2 is set to trunk with Native VLAN ID 2
Switch VLAN2 membership ports: 2U, 12U
Switch Port 12 connects to the Win10 PC.
Switch Port 12 is set to General
Switch VLAN7 membership ports: 2T, 12T
In Windows 10 with the PC connected to Switch Port 12:
I set the VLAN ID of the adapter to 0 and can access VLAN2 correctly.
I set the VLAN ID of the adapter to 7 and can access VLAN7 correctly.
So the vyos Router and Switch are setup correctly.

DDWRT router setup as AP with 2 SSIDs with operating mode: Router
Firmware: DD-WRT v3.0-r37305 std (10/10/18) on a Linksys WRT1900ACv2
I can get both SSIDs to use VLAN2 when connected directly to the vyos router and through the netgear switch. However, I cannot access the VLAN7 DHCP server or subnet. How do I configure DDWRT SSID to see the vyos router vlan7?
In Windows 10 with the PC connected directly to the DDWRT router:
I set the VLAN ID of the adapter to 0 and can access VLAN2 correctly.
I set the VLAN ID of the adapter to 7 and can access VLAN7 correctly.
So the vyos Router, Switch & DDWRT LAN are setup correctly.

In Windows 10 with the PC connected to DDWRT SSID on VLAN2
Connects to VLAN2 correctly
In Windows 10 with the PC connected to DDWRT guest SSID on VLAN7
Connects to DDWRT SSID on VLAN7 but gets APIPA
(The wifi adapter in win10 does not have a VLAN ID option like the LAN)

How do I get the DDWRT guest SSID to tag all traffic to VLAN7 so the connected devices will get a DHCP IP from VLAN7 in the VyOS router?
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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 cannot attach files in this forum
You cannot download files in this forum