h1/2_interfaces : Add Vlan tag
This commit is contained in:
@@ -3,6 +3,11 @@ iface lo inet loopback
|
||||
|
||||
auto eth1
|
||||
iface eth1 inet static
|
||||
|
||||
auto eth1.50
|
||||
iface eth1.50 inet static
|
||||
address 10.10.120.10
|
||||
netmask 255.255.255.0
|
||||
gateway 10.10.120.1
|
||||
vlan-raw-device eth1
|
||||
vlan_id 50
|
||||
@@ -3,6 +3,11 @@ iface lo inet loopback
|
||||
|
||||
auto eth1
|
||||
iface eth1 inet static
|
||||
|
||||
auto eth1.50
|
||||
iface eth1.50 inet static
|
||||
address 10.10.120.20
|
||||
netmask 255.255.255.0
|
||||
gateway 10.10.120.1
|
||||
vlan-raw-device eth1
|
||||
vlan_id 50
|
||||
Reference in New Issue
Block a user