ansible-edda/playbooks/filesystem/valkyrie/etc/network/interfaces.d/br0.j2

21 lines
512 B
Plaintext
Raw Normal View History

2022-09-24 00:15:46 +02:00
auto br0
iface br0 inet static
pre-up ip link add $IFACE type bridge
2022-09-25 16:00:40 +02:00
post-up /usr/local/sbin/post-up-$IFACE-inet.nft
post-up /usr/local/sbin/post-up-$IFACE-ipv4.nft
2022-09-24 00:15:46 +02:00
2022-09-25 16:00:40 +02:00
pre-down /usr/local/sbin/pre-down-$IFACE-ipv4.nft
pre-down /usr/local/sbin/pre-down-$IFACE-inet.nft
2022-09-24 00:15:46 +02:00
post-down ip link del dev $IFACE
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports none
address {{ vpn_br0_address }}
broadcast {{ vpn_br0_broadcast }}
netmask {{ vpn_br0_netmask }}