2015年8月5日 星期三

[VLan] How to create vlan




brctl addbr happy1
vconfig add eth0 1
ifconfig eth0 0.0.0.0

ifconfig happy1 192.168.0.1
brctl addif happy1 eth0.1
ifconfig happy1 up
ifconfig eth0.1 up
ifconfig happy1 192.168.0.1 netmask 255.255.255.0

Reference:

0 意見:

張貼留言