#Host networking
auto enp5s0
iface enp5s0 inet static
address 69.420.99.2/28
gateway 69.420.99.1
post-up ip -6 route add default via fe80::1 dev enp5s0
#Bridge networking is routed to the internet
auto vmbr0
iface vmbr0 inet static
address 10.199.88.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/conf/all/forwarding
post-up echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
#Masquarade on IPv4, normal forwarding on v6
post-up iptables -t nat -A POSTROUTING -s '10.199.88.0/24' -o enp5s0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.199.88.0/24' -o enp5s0 -j MASQUERADE
iface vmbr0 inet6 static
address 2001:x:y:z:::1/64
#Bridge networking is bridged to the internet
auto vmbr0
iface vmbr0 inet static
address 193.a.b.c/27
gateway 193.a.b.c
bridge-ports enp6s0
bridge-stp off
bridge-fd 0
iface vmbr0 inet static
address 10.0.0.2/24
iface vmbr0 inet6 static
address 2001:a:b:c::2/64
gateway 2001:a:b:c::1
read other posts