Hetzner second static IP

alacrity

New Member
Jul 20, 2022
1
1
1
Hi there

I currently have a Hetzner server with:
1x Main IP address
1x /29 subnet
1x Secondary static IP address that is in the same range as the main IP

I am struggling to route the secondary static IP address to a VM.

My configuration for the host is as follows:
Code:
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet static
        address 167.xxx.xxx.74/26
        gateway 167.xxx.xxx.65
        pointopoint 167.xxx.xxx.65

auto eno1.4000
iface eno1.4000 inet manual

auto vmbr0
iface vmbr0 inet static
        address 136.xxx.xxx.240/29
        ovs_type OVSBridge

iface vmbr0 inet6 static
        address 2a01:xxx:xxx:xxx::/64
        gateway xxx::1

auto vmbr1
iface vmbr1 inet manual
        bridge-ports eno1.4000
        bridge-stp off
        bridge-fd 0

auto vmbr2
iface vmbr2 inet static
        address 167.xxx.xxx.69/26
        ovs_type OVSBridge

vmbr2 is the new bridge that I created for the new VM.

The VMs configuration looks as follows:
YAML:
network:
    ethernets:
        ens18:
            addresses:
            - 167.xxx.xxx.69/26
            gateway4: 167.xxx.xxx.65
    version: 2

Now if I ping the main IP address, the one ending in .74, I am getting a Destination Host Unreachable error. If I try to ping anything on the internet it fails.
My VMs on the subnet work perfectly. It is just this one VM with the new static IP address that is causing these issues.

Any advice would be appreciated!
 
  • Like
Reactions: shuja

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!