# Add a VLAN(101) ip link add link eth0 name eth0.101 type vlan id 101 # or vconfig add eth0 101 # Bring up the new VLAN(101) interface ip link set up dev eth0.101 # Add the address to the VLAN(101) ip addr add dev eth0.101 10.0.0.12/30 # Short commands ip l a link eth0 name eth0.101 type vlan id 101 ip l s up dev eth0.101 ip a a dev eth0.101 10.0.57.3/24