VLAN on ubuntu
install
sudo apt-get install vlan
add new vlan
sudo vconfig add eth1 2
remove vlan
sudo vconfig rem eth1.2
set ip
sudo ifconfig eth1.2 192.168.0.1
or set in /etc/network/interfaces
iface eth1.2
some times routing have problems, it add a route to eth0 for each ip
sudo apt-get install vlan
add new vlan
sudo vconfig add eth1 2
remove vlan
sudo vconfig rem eth1.2
set ip
sudo ifconfig eth1.2 192.168.0.1
or set in /etc/network/interfaces
iface eth1.2
some times routing have problems, it add a route to eth0 for each ip
Labels: Linux

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home