Linux
# vconfig add eth0 6
# ifconfig eth0.6 192.168.0.123 netmask 255.255.255.0
# vconfig rem eth0.6
NetBSD
# ifconfig vlan0 create
# ifconfig vlan0 vlan 6 vlanif fxp0
# ifconfig vlan0 192.168.0.124 netmask 255.255.255.0
# ifconfig vlan0 destroy