First, a little info about my setup: I installed Debian Stretch on my SYS server without the OVH kernel. I then installed proxmox through the repository. I want to run a couple of Windows VMs, but I've also setup a Debian one for testing. Both VMs are using vmbr1 right now. The networking service starts without error, and all interfaces / adapters are online apart from enp2s0. Here's my interfaces file:
Not sure why this isn't working as this is practically the same as the interfaces file on my old server, where it is working. I'm willing to try anything really (I'd prefer to not reinstall though), or I can provide access to my server over tmate
Code:
auto lo
iface lo inet loopback
iface enp1s0 inet manual
iface enp2s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 8.26.94.137
netmask 255.255.255.0
gateway 8.26.94.254
broadcast 8.26.94.255
bridge_ports enp1s0
bridge_stp off
bridge_fd 0
network 8.26.94.0
auto vmbr1
iface vmbr1 inet static
address 10.99.0.254
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.99.0.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.99.0.0/24' -o vmbr0 -j MASQUERADE