Hey,
I'm relatively inexperienced and I'm trying to setup a UniFi AP with a couple of networks.
To do what I want, I need a couple of vlans as well as the untagged packets to be going to the default vlan so that the AP will be provisioned.
I'm using a WRT1043ND with OpenWRT 14.07
This is my current network config
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd26:0862:11d3::/48'
config interface 'lan'
option ifname 'eth1.1 eth1.3'
option force_link '1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '0t 1 3 4'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '5 6'
option vid '2'
config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option ports '0t 2t'
config switch_vlan
option device 'switch0'
option vlan '4'
option vid '4'
option ports '0t 2t'
config interface 'lan2'
option proto 'static'
option ifname 'eth1.4'
option ipaddr '192.168.200.1'
option netmask '255.255.255.0'
Where I plug the AP into port 2. Currently the untagged port 2 isn't assigned anywhere but I'm having trouble getting it to work when I change VLAN1 to be:
config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '0t 1 2 3 4'
Is what I'm wanting possible?