Linux IEEE 802.1q VLAN the new iproute2 way
You need to add Linux system (router, server, etc.) directly onto an 802.1q VLAN trunk? Well, for one there is this old (read: deprecated) vlan, the new way is simply via iproute2’s ip:
ip link add link eth0 name eth0.1234 type vlan id 1234
As usual: just substitute the ethernet interface name, alias, and VLAN ID as needed :-)
January 23rd, 2012 at 13:58
Thanks! :)