diff --git a/hosts/h1_interfaces b/hosts/h1_interfaces index c96d347..65645c0 100644 --- a/hosts/h1_interfaces +++ b/hosts/h1_interfaces @@ -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 \ No newline at end of file + gateway 10.10.120.1 + vlan-raw-device eth1 + vlan_id 50 \ No newline at end of file diff --git a/hosts/h2_interfaces b/hosts/h2_interfaces index e51a778..b3e49de 100644 --- a/hosts/h2_interfaces +++ b/hosts/h2_interfaces @@ -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 \ No newline at end of file + gateway 10.10.120.1 + vlan-raw-device eth1 + vlan_id 50 \ No newline at end of file