# First2Host Routed Network Configuration file source /etc/network/interfaces.d/* auto lo iface lo inet loopback iface lo inet6 loopback auto enp5s0 iface enp5s0 inet static address SERVER_IPv4/26 gateway IP_GATEWAY up route add -net SERVER-IPv4 netmask 255.255.255.255 gw IP_GATEWAY dev enp5s0 iface enp5s0 inet6 static address IPV6IP::1 netmask 64 gateway fe80::1 up sysctl -p auto vmbr0 iface vmbr0 inet static address SERVER_IPv4/32 bridge-ports none bridge-stp off bridge-fd 0 iface vmbr0 inet6 static address IPv6::2/128 up ip -6 route add 2a01:4f8::/64 dev vmbr0 auto vmbr1 iface vmbr1 inet static address 10.212.25.0 netmask 255.255.255.0 bridge-ports none bridge-stp off bridge-fd 0 bridge-vlan-aware yes bridge-vids 2-4094 post-up echo 1 > /proc/sys/net/ipv4/ip_forward post-up iptables -t nat -A POSTROUTING -s '10.212.25.0/24' -o vmbr0 -j MASQUERADE post-down iptables -t nat -D POSTROUTING -s '10.212.25.0/24' -o vmbr0 -j MASQUERADE