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:
vmbr2 is the new bridge that I created for the new VM.
The VMs configuration looks as follows:
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!
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!