Hi everyone, what I thought should be a fairly easy exercise has turned into quite a frustration. I'm looking to configure port 0 as a trunk port carrying VLAN229 (br0) and VLAN32 (guest). The AC66u is running in AP mode, connected via the trunk port to a Cisco 3560G and I have a Pfsense firewall providing DHCP, etc.
I've scoured the forums and I believe myself to have a good config, I'm able to ping the br0 IP, manage the AC66u (albiet with some bizarre packet loss, I think this is due to client requests). Clients seem to be connecting to the WPA2 Preshare, but they are not getting a IP address. The Pfsense is configured correctly because it's working fine with my Meraki AP.
Here is my script. I would really appreciate a hand with this.
#!/bin/sh
PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"
#Remove ports 0-3 from vlan 1
robocfg vlan 1 ports "0t 4 8t"
#Create vlan 32 and add ports 0,3
robocfg vlan 32 ports "0t 3 8t"
#Create vlan 229 and add ports 0-2
robocfg vlan 229 ports "0t 1 2 8t"
#Create vlan 32
vconfig add eth0 32
#Create vlan 229
vconfig add eth0 229
#Activate newly created vlans
ifconfig vlan32 up
ifconfig vlan229 up
#Add vlan 229 and remove vlan 1 from default bridge
brctl addif br0 vlan229
brctl delif br0 vlan1
#Delete wireless interfaces from default bridge
brctl delif br0 wl0.1
#Create bridge 32: add wireless, bring interface up
brctl addbr br32
brctl addif br32 vlan32
brctl addif br32 wl0.1
ifconfig br32 up
#ifconfig br32 192.168.229.250 netmask 255.255.255.0
#Add WPA2 to wireless
nvram set lan_ifnames="vlan229 eth1 eth2"
nvram set lan_ifnames="br0"
nvram set lan1_ifnames="vlan32 wl0.1"
nvram set lan1_ifnames="br32"
nvram commit
killall eapd
eapd
I've scoured the forums and I believe myself to have a good config, I'm able to ping the br0 IP, manage the AC66u (albiet with some bizarre packet loss, I think this is due to client requests). Clients seem to be connecting to the WPA2 Preshare, but they are not getting a IP address. The Pfsense is configured correctly because it's working fine with my Meraki AP.
Here is my script. I would really appreciate a hand with this.
#!/bin/sh
PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"
#Remove ports 0-3 from vlan 1
robocfg vlan 1 ports "0t 4 8t"
#Create vlan 32 and add ports 0,3
robocfg vlan 32 ports "0t 3 8t"
#Create vlan 229 and add ports 0-2
robocfg vlan 229 ports "0t 1 2 8t"
#Create vlan 32
vconfig add eth0 32
#Create vlan 229
vconfig add eth0 229
#Activate newly created vlans
ifconfig vlan32 up
ifconfig vlan229 up
#Add vlan 229 and remove vlan 1 from default bridge
brctl addif br0 vlan229
brctl delif br0 vlan1
#Delete wireless interfaces from default bridge
brctl delif br0 wl0.1
#Create bridge 32: add wireless, bring interface up
brctl addbr br32
brctl addif br32 vlan32
brctl addif br32 wl0.1
ifconfig br32 up
#ifconfig br32 192.168.229.250 netmask 255.255.255.0
#Add WPA2 to wireless
nvram set lan_ifnames="vlan229 eth1 eth2"
nvram set lan_ifnames="br0"
nvram set lan1_ifnames="vlan32 wl0.1"
nvram set lan1_ifnames="br32"
nvram commit
killall eapd
eapd