Setup Wi-Fi VLANs with pfSense on WRT320N

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


Joined: 18 Jul 2022
Posts: 1

PostPosted: Mon Jul 18, 2022 14:48    Post subject: Setup Wi-Fi VLANs with pfSense on WRT320N Reply with quote
Code:

Router Model: Linksys WRT320N
Firmware Version: DD-WRT v3.0-r48786 (05/03/22)
Kernel Version: Linux 4.4.302 #15594
CPU Model: Broadcom BCM4716 chip rev 1
CPU Features: MIPS32r1 MIPS32r2 MIPS16 DSP DSP2


Code:

vlan1ports=4 3 2 1 8*
vlan2ports=0 8


Code:

swconfig dev switch0 show
VLAN 1: ports: 0 1 2 3 4 8t


How would I go about setting in the Switch Config GUI separate wifi vlans? Let's say the routers local ip address is 192.168.99.32. 192.168.40.x is for normal traffic, 192.168.42.x is for untrusted items and 192.168.44.x is for guests. All traffic would be trunked over a single wired ethernet cable plugged into the WAN or whatever port is best.

I had it setup with startup scripts but the traffic was not being tagged so something was wrong. pfSense was not handing down ip addresses from the dhcp server. My setup was similar to https://netosec.com/home-network-vlans/ except without the layer 2 network switch in-between. I have been using pfSense for over 10 years so I'm pretty sure it was dd-wrt that wasn't tagging the traffic correctly. NAT is missing from the above guide which must also be setup in pfSense.

I tried following this thread: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=332118 but every time I've tried selecting the tagged checkbox and applying the settings I had to reset my router.



I think this is the right setup translated into GUI form:



Is there no need for startup scripts anymore? Thought I'd ask if anyone would care to share their setups before I play around some more and have to reset again. I've been looking over the forums but I haven't played with dd-wrt for a long time. I mainly set it up for wifi and just forget it. Just wanted to see if this was possible. Thank you all.

Edit: Never mind, any changes made on that Config Switch GUI page causes an infinite boot loop. So this is not possible. I just created vlan3 and hit apply settings and it's gone.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Tue Jul 19, 2022 9:28    Post subject: Reply with quote
I guess this is setup as a WAP (WAN disabled, DHCP off)

VLANS have been upgraded big time and now use swconfig to setup via command line.

Simple things might work with the GUI.

I would not use the WAN port as trunk, the WAN is added to the switch but not really (vlan2 is just bridged to vlan1) this might work but, consider just using another port as trunk port.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
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