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

 

 

 

 

文章標籤
全站熱搜
創作者介紹
創作者 yves2005 的頭像
yves2005

YvEs2005

yves2005 發表在 痞客邦 留言(0) 人氣(3)