[SOLVED] Hetzner One additional IP Route not working ?

Fatih90

Member
Jul 26, 2020
27
0
6
Hello i have ordered an One additional IP & and a subnet /29

the subnets works but the one additional IP does not work i cant get internet connection om my vm with 144.**.***.59

this is my setup

Code:
auto lo
iface lo inet loopback

iface lo inet6 loopback

auto enp3s0
iface enp3s0 inet static
        address 144.**.***.42/32
        gateway 144.**.***.33
        pointopoint 144.**.***.33

iface enp3s0 inet6 static
        address 2a01:4******/64
        gateway fe80::1

auto vmbr0
iface vmbr0 inet static
        address 144.**.***.42/32
        bridge-ports none
        bridge-stp off
        bridge-fd 0
        bridge_maxwait 0

iface vmbr0 inet6 static
        address 2a01:4f8:200:421a::2/64



  up ip route add 144.**.***.59/32 dev vmbr0 #THIS DOES NOT WORK

  up ip route add 136.***.***.160/32 dev vmbr0
  up ip route add 136.***.***.161/32 dev vmbr0
  up ip route add 136.***.***.162/32 dev vmbr0
  up ip route add 136.***.***.163/32 dev vmbr0
  up ip route add 136.***.***.164/32 dev vmbr0
  up ip route add 136.***.***.165/32 dev vmbr0
  up ip route add 136.***.***.166/32 dev vmbr0
  up ip route add 136.***.***.167/32 dev vmbr0

any help is much appreciated

Fixed:

the problem was that the ip had a virtual mac adress assigned to the ip
after removing the mac address from hetzner i got a network connection
 
Last edited:
iface enp3s0 inet static
address 144.**.***.42/32
gateway 144.**.***.33
pointopoint 144.**.***.33

Please excuse my ignorance if this is verified to work correctly. I've never used pointtopoint...

In my "classic" understanding the local address and the gateway needs to be in the same subnet:
Code:
$ ipcalc 144.0.0.42/28
Address:    144.0.0.42
Network:    144.0.0.32/28
Netmask:    255.255.255.240 = 28
Broadcast:    144.0.0.47

Address space:    Internet
Address class:    Class B
HostMin:    144.0.0.33
HostMax:    144.0.0.46

And additionally you have assigned .42 twice - to the interface and to the bridge. That does simply not look correct...

Just my 2€¢
 
Please excuse my ignorance if this is verified to work correctly. I've never used pointtopoint...

In my "classic" understanding the local address and the gateway needs to be in the same subnet:
Code:
$ ipcalc 144.0.0.42/28
Address:    144.0.0.42
Network:    144.0.0.32/28
Netmask:    255.255.255.240 = 28
Broadcast:    144.0.0.47

Address space:    Internet
Address class:    Class B
HostMin:    144.0.0.33
HostMax:    144.0.0.46

And additionally you have assigned .42 twice - to the interface and to the bridge. That does simply not look correct...

Just my 2€¢

hey i followed the setup from here https://dominicpratt.de/hetzner-proxmox-network-configuration/

look under
Proxmox Host

as you can see the subnets it works but without a subnet the ip does not work