close
1. load 802.1q module and install vlan
apt-get install vlan -- if need
modprobe 8021q -must insall it
2. check module
lsmode | grep 8021q
3.setup vlan
vconfig add eth0 10
ifconfig eth0.100 192.168.1.10 up
4. delet vlan
vconfig del eth0.100
全站熱搜