Mix of routed and bridged network

The Tech Guy

Member
Nov 24, 2020
5
1
8
Hello,

I have used a mix setup of routed and bridged network for a Hetzner server before. But as floating IPs dont have its own mac its not possible to only use bridged network, my plan is to move away from routed network to only bridget network. The routed network works fine but for some reson i cant get any trafic to and from the bridged VM.

I do not understand why its not work now as it has worked before.

Proxmox node:
auto lo iface lo inet loopback iface lo inet6 loopback auto enp8s0 iface enp8s0 inet static address [Proxmox IP]/26 gateway [Gateway IP] up route add -net [Proxmox IP] netmask 255.255.255.192 gw [Gateway IP] dev enp8s0 iface enp8s0 inet6 static address [Proxmox IPv6]/64 gateway fe80::1 auto vmbr0 iface vmbr0 inet static address [Proxmox IP]/32 bridge-ports none bridge-stp off bridge-fd 0 bridge_maxwait 0 pre-up brctl addbr vmbr0 up ip route add [Routed VM]/32 dev vmbr0

Bridged VM (CentOS)
TYPE=Ethernet BOOTPROTO=none DEVICE=eth0 ONBOOT=yes USERCTL=no PEERDNS=yes NETMASK=255.255.255.192 IPADDR=[VM IP] GATEWAY=[VM Gateway, same subnet as IP]
 

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!