h1/2_interfaces : Add Vlan tag

This commit is contained in:
Damien A
2024-02-05 16:57:00 +01:00
parent 39b333feff
commit 0dcca1f5ba
2 changed files with 12 additions and 2 deletions

View File

@@ -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
gateway 10.10.120.1
vlan-raw-device eth1
vlan_id 50

View File

@@ -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
gateway 10.10.120.1
vlan-raw-device eth1
vlan_id 50