Struggling with networking on Hetzner box.

Jackster

Active Member
Nov 12, 2014
23
0
41
Got a new Proxmox box setup and have not worked with Proxmox in a dedicated server environment before.

Having a real struggle with the network settings and this bridging stuff.

Server details obfuscated but here they are.
Host IP 0.0.0.113
Gateway: 0.0.0.65
Netmask: 255.255.255.192
Broadcast: 0.0.0.0.127

Additional IPs
0.0.0.85
0.0.0.86
0.0.0.87
0.0.0.88



I have read and tried the two options given in this documentation but I could not get it to work inside a Windows VM.
https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve

Here is my current /etc/network/interfaces based off this user's setup
https://forum.proxmox.com/threads/n...n-hetzner-dedicated-server.62440/#post-286242

Code:
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface lo inet6 loopback

auto enp35s0
iface enp35s0 inet static
        address 0.0.0.113/32
        gateway 0.0.0.65
        pointopoint 0.0.0.65
        up route add -net 0.0.0.65 netmask 255.255.255.192 gw 0.0.0.65 dev enp35s0

auto vmbr0
iface vmbr0 inet static
        address 0.0.0.113/32
        bridge-ports none
        bridge-stp off
        bridge-fd 0
        up ip route add 0.0.0.85/32 dev vmbr0
        up ip route add 0.0.0.86/32 dev vmbr0
        up ip route add 0.0.0.87/32 dev vmbr0
        up ip route add 0.0.0.88/32 dev vmbr0

Here is my VM's settings
1600950138216.png

I have searched around a few other threads on here as well as a few other websites with guilds on but nothing is working.
What am I doing wrong?

Thanks
Jack
 
Last edited:
address 0.0.0.85/32 on vmbr0 is not correct, you should reuse 0.0.0.113/32

Code:
auto enp35s0
iface enp35s0 inet static
        address 0.0.0.113/32
        gateway 0.0.0.65
        pointopoint 0.0.0.65
        up route add -net 0.0.0.65 netmask 255.255.255.192 gw 0.0.0.65 dev enp35s0

auto vmbr0
iface vmbr0 inet static
        address 0.0.0.113/32
        bridge-ports none
        bridge-stp off
        bridge-fd 0
        up ip route add 0.0.0.85/32 dev vmbr0
        up ip route add 0.0.0.86/32 dev vmbr0
        up ip route add 0.0.0.87/32 dev vmbr0
        up ip route add 0.0.0.88/32 dev vmbr0
 
  • Like
Reactions: Moayad
address 0.0.0.85/32 on vmbr0 is not correct, you should reuse 0.0.0.113/32

Code:
auto enp35s0
iface enp35s0 inet static
        address 0.0.0.113/32
        gateway 0.0.0.65
        pointopoint 0.0.0.65
        up route add -net 0.0.0.65 netmask 255.255.255.192 gw 0.0.0.65 dev enp35s0

auto vmbr0
iface vmbr0 inet static
        address 0.0.0.113/32
        bridge-ports none
        bridge-stp off
        bridge-fd 0
        up ip route add 0.0.0.85/32 dev vmbr0
        up ip route add 0.0.0.86/32 dev vmbr0
        up ip route add 0.0.0.87/32 dev vmbr0
        up ip route add 0.0.0.88/32 dev vmbr0

Typo in the OP, my mistake.
 
as you use a routed setup, can you verifiy than you don't have mac address associated with ips address in hertzner panel ?

(a proxmox user have reported that it's blocking routed setup)

I have tried both with and without to make sure.
 
So I have a pfSense box running with a private local network for some VMs that don't need public-facing IPs.
The VMs can access the internet but when running an update, they are unable to connect to the repository.

Any ideas?

[edit]
Got it working with IPFire.
 
Last edited:

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!