I am trying to configure a vlan interface on the wan port of my router, not connected with the internal switch. On this particular model, the wan port is stand-alone and not part of the switch. As per the documentation, I have added the following to /etc/config/network (eth1 is the wan interface):
config device 'eth1.20'
option type '8021q'
option name 'eth1.20'
option ifname 'eth1'
option vid '20'
This doesn't seem to do anything. After rebooting the router, the vlan interface doesn't exist:
root@OpenWrt:/etc/config# ifconfig eth1.20 up
ifconfig: SIOCGIFFLAGS: No such device
Is there another way to create a vlan on one of the ports? Am I doing it wrong?
The specs are:
TP-Link TL-WR841N v.11.1
Openwrt DESIGNATED DRIVER (Bleeding Edge, 49928)
(Last edited by xj25vm on 10 Oct 2016, 09:59)