Hetzner additional ip doesn't work

KaRiLaA

Member
Jan 24, 2023
3
0
6
Hi,

I have additional ip on Hetzner, but I can't figure it out how to use it, all my attempts have failed. Below I have attached my most successful host and virtual machine config.
From a virtual machine, I can ping 173.1.2.98, but that's all.

Thank you.

Main ip Hetzner info:
Code:
Gateway: 173.1.2.97
Netmask: 255.255.255.224
Broadcast: 173.1.2.127
Additional Hetzner ip info:
Code:
Gateway: 173.1.2.65
Netmask: 255.255.255.224
Broadcast: 173.1.2.95

Proxmox host config:
Code:
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback
iface lo inet6 loopback

auto ens4
iface ens4 inet static
    address 173.1.2.98
    netmask 255.255.255.224
    gateway 173.1.2.97
    pointopoint 173.1.2.97

iface ens4 inet6 static
    address 2a01:4f8:141:5058::2/64
    gateway fe80::1

auto vmbr100
iface vmbr100 inet static
    address 173.1.2.98
    netmask 255.255.255.255
    bridge_ports none
    bridge_stp off
    bridge_fd 0
    up ip route add 173.1.2.93/32 dev vmbr100

Virtual machine(Debian 11) config:
Code:
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

auto ens18
iface ens18 inet static
    address 173.1.2.93
    netmask 255.255.255.255
    pointopoint 173.1.2.98
    gateway 173.1.2.98
 
Last edited: