Many thanks to nebbia88, FriedZombie and all others involved.
FriedZombie - You said 'eth0.3 means that I would have a tagged vlan on eth0 tagged vlan3' - I have done the following, can you see if I have missed anything:
1) Via LuCI interface I created a new wireless network named VLAN3 and also created a new network interface named eth0.3 . I am assuming that any packets going through that wireless network VLAN3 SSID would be sent with tagged packets with VLAN ID 3
2) Secondly I then attached my machine to the VLAN3 SSID
3) Tried to route traffic once connected to the VLAN3 SSID
4) Found that the packets transmitted whilst connected to VLAN3 SSID did not contain the VLAN ID 3 in the header
Oddly in the /etc/config/network file all I see is as below which does not seem to make any reference to VLAN 3.
Can anyone see if I have missed anything?
In addition can anyone confirm if the default eth0 management interface will be sent with tagged or untagged packets? I would ideally like the default management interface to appear as an untagged VLAN with a VLAN ID of 520.
Any help is greatly appreciated.
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 'fd37:afbb:e668::/48'
config interface 'lan'
option ifname 'eth0'
option type 'bridge'
option proto 'static'
option ip6assign '60'
option ipaddr '172.16.22.13'
option netmask '255.255.255.192'
option gateway '172.16.22.1'
Thank you all for the great responses
Also I have stuck together some images based on trunk r39025 + patches, this image contains the webgui (Luci) and zram_swap
openwrt-ar71xx-generic-tl-wa901nd-v3-squashfs-factory.bin (to flash trough the tp-link default webgui)
openwrt-ar71xx-generic-tl-wa901nd-v3-squashfs-sysupgrade.bin (to upgrade an existing openwrt installation)Also the wireless is enabled by default on this image.
@pwilson411
Yes it is possible to do the setup that you want under openWrt, only the switch tab doesn't show up because the switch isn't used/connected on the wa901nd. But you can simply create new interfaces for example eth0.3 means that I have a tagged vlan on eth0 tagged vlan3.
(Last edited by pwilson411 on 19 Dec 2013, 19:17)