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:
Bridged VM (CentOS)
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]