No internet access on bridge

DotRar

New Member
Mar 24, 2018
1
0
1
27
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:
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
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!