Hi everyone,
I've read every vlan thread in this forums, reddit and the webs, but I just can't seem to figure it out. My current setup is pfSense router with all the vlan config already done, then a Linksys managed switch with the proper config, an then OepnWRT AP with SSD. Right now, I'm just trying to run the IoT vlan, which is the least intrusive vlan within my network, but OpenWRT can't connect to DHCP server to give IP (yes, the DHCP Server in pfSense is up and running).
The other thing I've noticed is that from my laptop I can ping every VLAN (from LANSSID), but the AP can't ping any VLAN, and it's on the same LAN.
This is my network config:
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option packet_steering '1'
option ula_prefix 'fdd9:be92:fdc0::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
list ports 'wan'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ip6assign '60'
option ipaddr '192.168.1.3'
option gateway '192.168.1.1' <--- Main Router
list dns '192.168.1.1'
option netmask '255.255.255.0'
config device
option name 'wan'
option macaddr 'SOMEMACADD'
config interface 'IoT'
option type 'bridge'
option proto 'none'
option device 'br-lan.7'
config device
option type '8021q'
option ifname 'br-lan'
option vid '7'
option name 'br-lan.7'
This is my wireless config:
config wifi-device 'radio0'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
option band '2g'
option htmode 'HE40'
option country 'MX'
option cell_density '0'
option channel '4'
option txpower '5'
config wifi-device 'radio1'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0+1'
option band '5g'
option cell_density '0'
option country 'MX'
option txpower '9'
option channel '149'
option htmode 'HE80'
config wifi-iface 'wifinet0'
option device 'radio0'
option mode 'ap'
option ssid 'LANSSID_2.4Ghz'
option encryption 'psk2'
option key 'SOMEPASSWORD'
option ieee80211r '1'
option mobility_domain '1708'
option ft_over_ds '0'
option ft_psk_generate_local '1'
option network 'lan'
config wifi-iface 'wifinet1'
option device 'radio1'
option mode 'ap'
option ssid 'LANSSID_5Ghz'
option encryption 'psk2'
option key 'SOMEPASSWORD'
option ieee80211r '1'
option mobility_domain '1708'
option ft_over_ds '0'
option ft_psk_generate_local '1'
option network 'lan'
config wifi-iface 'wifinet2'
option device 'radio0'
option mode 'ap'
option ssid 'IoT'
option key 'ANOTHERPASSWORD'
option network 'IoT'
option encryption 'psk2'
DHCP and Firewall are disable (this is a dumb AP).
Please, any help would be appreciated.
Regards.