vlan on linux


install the package

apt-get install vlan
configuration

ip link add link eth0 name eth0.8 type vlan id 8
ip addr add 10.0.0.1/24 dev eth0.5
or
dhclient

configurationpermanent




predicated
vconfig add eth5 <vlan_id>