networking

This commit is contained in:
2022-09-05 22:56:49 +12:00
parent 1166e932c5
commit e7870f6ef6
9 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,6 @@
[NetDev]
Name=br{{ network_vlan_id }}
Kind=bridge
[Bridge]

View File

@ -0,0 +1,15 @@
[Match]
Name=br{{ network_vlan_id }}
[Link]
ARP=yes
[Address]
Address=192.168.{{ network_vlan_id }}.100/24
[Route]
Gateway=192.168.{{ network_vlan_id }}.254
[Network]
DHCP=no

View File

@ -0,0 +1,6 @@
[NetDev]
Name=vlan{{ network_vlan_id }}
Kind=vlan
[VLAN]
Id={{ network_vlan_id }}

View File

@ -0,0 +1,9 @@
[Match]
Name=vlan{{ network_vlan_id }}
[Link]
ARP=off
[Network]
DHCP=off
Bridge=br{{ network_vlan_id }}