This commit is contained in:
2021-10-30 02:35:49 +02:00
parent ab2a578955
commit f662fe0f30
17 changed files with 807 additions and 81 deletions

View File

@ -17,6 +17,7 @@ network_interface_required_packages:
- bridge-utils
- ifmetric
- ifupdown2
- ifenslave
network_interfaces:
@ -30,8 +31,8 @@ network_interfaces:
auto: true
family: inet
mode: static
hwaddress ether: 7c:10:c9:9e:bd:51
method: static
hwaddress: 7c:10:c9:9e:bd:51
description: Bridge Interface IPv4 for LXC
address: 168.119.70.7
netmask: 255.255.255.192
@ -55,7 +56,7 @@ network_interfaces:
# maxwait:
# waitport:
bridge:
ports: enp7s0 # for mor devices support a blan separated list
ports: enp7s0 # for mor devices support a blank separated list
stp: !!str off
fd: 1
hello: 2
@ -63,11 +64,15 @@ network_interfaces:
# optional bonding parameters bond: {}
# bond:
# mode:
# master
# primary
# slave
# method:
# miimon:
# lacp-rate:
# ad-select-rate:
# master:
# slaves:
# lacp-rate:
bond: {}
# optional vlan settings | vlan: {}
@ -88,7 +93,7 @@ network_interfaces:
- device: br0
family: inet6
mode: static
method: static
description: Bridge Interface IPv6 for LXC
address: 2a01:4f8:242:1822::2
netmask: 64