Hetzner Proxmox + Additional IPs + Additional Subnet

nikitacute

New Member
Apr 18, 2025
4
0
1
Hello!

I have Hetzner Proxmox server with config
Code:
auto ens15
iface ens15 inet static
address 37.XX.XXX.43/32
gateway 37.XX.XXX.1
pointopoint 37.XX.XXX.1


# Bridge for single IP's (foreign and same subnet)
auto vmbr0
iface vmbr0 inet static
address 37.XX.XXX.43/32
bridge-ports none
bridge-stp off
bridge-fd 0
up ip route add 37.XX.XXX.39/32 dev vmbr0
up ip route add 37.XX.XXX.40/32 dev vmbr0
up ip route add 37.XX.XXX.41/32 dev vmbr0
up ip route add 37.XX.XXX.42/32 dev vmbr0

# Additional Subnet 95.YYY.YYY.YYY/28
auto vmbr1
iface vmbr1 inet static
address 95.YYY.YYY.YYY/28
bridge-ports none
bridge-stp off
bridge-fd 0

# Local subnet
auto vmbr2
iface vmbr2 inet static
address 192.168.20.1/24
bridge-ports none
bridge-stp off
bridge-fd 0

In VM debian:
1744954748836.png
Code:
auto ens18
iface ens18 inet static
    address 37.XX.XXX.39/32
    gateway 37.XX.XXX.43

(Additional Subnet on VM is working)
Internet on VM not working, but ping to 37.XX.XXX.43 is working
Why is this happening? What is my mistake?

I did everything according to Hetzner's official instructions.
https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve#routed-setup
 
Your probably should not give the Proxmox host the same address on ens15 and the vmbr0. Maybe remove the IP address from vmbr0?
You are also setting an IP address for the Proxmox host on vmbr1 and vmbr2, which is probably not necessary and maybe better to remove them?
I'm not sure if the ip route commands are helping or interfering, as most routers/gateways will discover this themselves.
 
  • Like
Reactions: nikitacute
Your probably should not give the Proxmox host the same address on ens15 and the vmbr0. Maybe remove the IP address from vmbr0?
You are also setting an IP address for the Proxmox host on vmbr1 and vmbr2, which is probably not necessary and maybe better to remove them?
I'm not sure if the ip route commands are helping or interfering, as most routers/gateways will discover this themselves.
The issue is that vmbr1 works fine on VM (I can give the VM an IP address from under the subnet and it will work. But if I give out the IP address from vmbr0, they doesn't want to go internet), but vmbr0 refuses to work.
 
A solution to the problem has not yet been found. Hetzner support reports that everything is working fine, but in fact it is not