Simple system with a FreeBSD box serving as gateway, dhcp, firewall.
Internal nic em0 192.168.4.1/24 connects to PORT0 on a dd-wrt router serving as a switch.
Coming off the switch on PORT4 is a Unify AP.
I'd like to reconfigure my internal network from a flat 192.168.4.X world to put the AP on a guest VLAN. I don't believe this is very hard, but I've waded through dozens of terribly written, outdated, and incomplete ddwrt posts and still can't figure out what I'm doing wrong.
Server Side:
Do I need to define a home VLAN + guest VLAN?
Or can I keep my existing network definition (for untagged traffic?) and just add the guest VLAN?
Switch Side:
PORT 0 <=> Server
PORT 4 <=> AP
Once the vlan interface(s) are defined, how do I configure the switch? I suspect I want vlan5 tagged on ports 0 & 4, but is that it? Also if the answer is "dear lord, don't use ddwrt because it can't mix tagged and untagged traffic", I'd love to hear that. I'm not at all opposed to buying the right hardware for the job.
Thanks for any help you can offer!
Internal nic em0 192.168.4.1/24 connects to PORT0 on a dd-wrt router serving as a switch.
Coming off the switch on PORT4 is a Unify AP.
I'd like to reconfigure my internal network from a flat 192.168.4.X world to put the AP on a guest VLAN. I don't believe this is very hard, but I've waded through dozens of terribly written, outdated, and incomplete ddwrt posts and still can't figure out what I'm doing wrong.
Server Side:
Do I need to define a home VLAN + guest VLAN?
Code:
ifconfig em0 delete #remove existing
ifconfig em0.4 create vlan 4 vlandev em0 inet 192.168.4.1/24 #home
ifconfig em0.5 create vlan 5 vlandev em0 inet 192.168.5.1/24 #guest
Or can I keep my existing network definition (for untagged traffic?) and just add the guest VLAN?
ifconfig em0.5 create vlan 5 vlandev em0 inet 192.168.5.1/24 #guestSwitch Side:
PORT 0 <=> Server
PORT 4 <=> AP
Once the vlan interface(s) are defined, how do I configure the switch? I suspect I want vlan5 tagged on ports 0 & 4, but is that it? Also if the answer is "dear lord, don't use ddwrt because it can't mix tagged and untagged traffic", I'd love to hear that. I'm not at all opposed to buying the right hardware for the job.
Thanks for any help you can offer!