vconfig add eth0 1234 vconfig add eth0 2000
Note that you’ll probably have to stop using the raw physical device. Just use the VLAN interfaces.
auto eth0.1234 iface eth0.1234 inet dhcp
This one renames the interface to something easier to read, but you need to specify which Ethernet device you are using:
auto vlan1234 iface vlan1234 inet dhcp vlan-raw-device eth0
Both formats also have an option to have the VLAN interface name zero-padded to four digits, eg: eth0.1 or eth0.0001, vlan1 or vlan0001.
Note: you cannot mix differing formats within the same machine (even using one form in interface and a different form from some other configuration system).
Read the vlan-interfaces ManPage for more information.
lib/main.php:944: Notice: PageInfo: Cannot find action page