Frantisek Brabec
Occasional Visitor
Hi all, I'll try to be brief.
I have AC3100 in AP mode with 2 guest WIFIs. I want each guest WIFI to go out over on WAN port on its own VLAN (I am using IDs 9 and 10). To that end, I have /jffs/scripts/services-start script as shown below. When a client connects to WIFI wl0.2, it is assigned 192.168.11.11 in the example below but its traffic is sometimes tagged with 9 and sometimes with 10 as shown by wireshark (the last number is the VLAN ID):
192.168.11.11 192.168.1.251 TCP 64 53542 → 80 [SYN] Seq=0 Win=5744 Len=0 MSS=1436 10
... then fraction of a second later ...
192.168.11.11 192.168.1.251 TCP 64 53542 → 80 [ACK] Seq=151 Ack=280 Win=5465 Len=0 9
Correspondingly, routing/FW based on VLAN on the other end (pfSense) doesn't work. Does anyone know how to correct this? Thanks.
===
robocfg vlan 9 ports "4t 8t"
vconfig add eth0 9
ifconfig vlan9 up
robocfg vlan 10 ports "4t 8t"
vconfig add eth0 10
ifconfig vlan10 up
brctl addbr br1
brctl delif br0 wl0.1
brctl delif br0 wl0.2
brctl addif br1 wl0.1
brctl addif br1 vlan9
ifconfig br1 up
brctl addbr br2
brctl addif br2 wl0.2
brctl addif br2 vlan10
ifconfig br2 up
nvram set lan_ifnames="vlan1 eth1 eth2"
nvram set lan_ifname="br0"
nvram set lan1_ifnames="vlan9 wl0.1"
nvram set lan1_ifname="br1"
nvram set lan2_ifnames="vlan10 wl0.2"
nvram set lan2_ifname="br2"
nvram commit
killall eapd
eapd
I have AC3100 in AP mode with 2 guest WIFIs. I want each guest WIFI to go out over on WAN port on its own VLAN (I am using IDs 9 and 10). To that end, I have /jffs/scripts/services-start script as shown below. When a client connects to WIFI wl0.2, it is assigned 192.168.11.11 in the example below but its traffic is sometimes tagged with 9 and sometimes with 10 as shown by wireshark (the last number is the VLAN ID):
192.168.11.11 192.168.1.251 TCP 64 53542 → 80 [SYN] Seq=0 Win=5744 Len=0 MSS=1436 10
... then fraction of a second later ...
192.168.11.11 192.168.1.251 TCP 64 53542 → 80 [ACK] Seq=151 Ack=280 Win=5465 Len=0 9
Correspondingly, routing/FW based on VLAN on the other end (pfSense) doesn't work. Does anyone know how to correct this? Thanks.
===
robocfg vlan 9 ports "4t 8t"
vconfig add eth0 9
ifconfig vlan9 up
robocfg vlan 10 ports "4t 8t"
vconfig add eth0 10
ifconfig vlan10 up
brctl addbr br1
brctl delif br0 wl0.1
brctl delif br0 wl0.2
brctl addif br1 wl0.1
brctl addif br1 vlan9
ifconfig br1 up
brctl addbr br2
brctl addif br2 wl0.2
brctl addif br2 vlan10
ifconfig br2 up
nvram set lan_ifnames="vlan1 eth1 eth2"
nvram set lan_ifname="br0"
nvram set lan1_ifnames="vlan9 wl0.1"
nvram set lan1_ifname="br1"
nvram set lan2_ifnames="vlan10 wl0.2"
nvram set lan2_ifname="br2"
nvram commit
killall eapd
eapd