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

 

 

 

 

arrow
arrow
    全站熱搜

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