In a Proxmox server (Debian), I changed my network config from this:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto enp0s31f6
iface enp0s31f6 inet static
address 88.99.69.241
netmask 255.255.255.192
gateway 88.99.69.193
up route add -net 88.99.69.192 netmask 255.255.255.192 gw 88.99.69.193 dev enp0s31f6
post-up echo 1 > /proc/sys/net/ipv4/conf/enp0s31f6/proxy_arp
# route 88.99.69.192/26 via 88.99.69.193
auto vmbr1
iface vmbr1 inet static
address 10.3.5.1
netmask 255.255.255.0
bridge-ports none
bridge-stp off
bridge-fd 0
to this:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto enp0s31f6
iface enp0s31f6 inet static
address 66.xx.xx.241
netmask 255.255.255.192
gateway 66.xx.xx.193
up route add -net 66.xx.xx.192 netmask 255.255.255.192 gw 66.xx.xx.193 dev enp0s31f6
post-up echo 1 > /proc/sys/net/ipv4/conf/enp0s31f6/proxy_arp
# route 66.xx.xx.192/26 via 66.xx.xx.193
auto vmbr0
iface vmbr0 inet static
address 66.xx.xx.241
netmask 255.255.255.255
pointopoint 66.xx.xx.193
gateway 66.xx.xx.193
bridge_ports enp0s31f6
bridge_stp off
bridge_fd 1
bridge_hello 2
bridge_maxage 12
auto vmbr1
iface vmbr1 inet static
address 10.3.5.1
netmask 255.255.255.0
bridge-ports none
bridge-stp off
bridge-fd 0
My server is on Hetzner and i want to bridge my additional Ip to one of my VM's
After rebooting I can't ping 66.xx.xx.241, can someone explain me why I cannot connect anymore?. In a bridged network the gw should be defined in vmbr0?.
I changed the network configuration based on this tutorial from hetzner :