PING Errors! I am clue-less :(

Netizen

Member
Aug 16, 2012
88
0
6
I have server in Hetzner DC and inside it there are two KVMs (VM1 and VM2)
When I ping VM1 from VM2 I get those errors:

(IPs changed)

>> ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
64 bytes from 1.1.1.1: icmp_seq=1 ttl=64 time=0.417 ms

From 2.2.2.2: icmp_seq=2 Redirect Host(New nexthop: 1.1.1.1)

64 bytes from 1.1.1.1: icmp_seq=2 ttl=64 time=0.233 ms
From 2.2.2.2: icmp_seq=3 Redirect Host(New nexthop: 1.1.1.1)
64 bytes from 1.1.1.1: icmp_seq=3 ttl=64 time=0.263 ms
From 2.2.2.2: icmp_seq=4 Redirect Host(New nexthop: 1.1.1.1)
64 bytes from 1.1.1.1: icmp_seq=4 ttl=64 time=0.204 ms
From 2.2.2.2: icmp_seq=5 Redirect Host(New nexthop: 1.1.1.1)
64 bytes from 1.1.1.1: icmp_seq=5 ttl=64 time=0.223 ms

Where 2.2.2.2 is the IP of the main physical server.


I have found on the internet that this is because “a quicker path has been found ” however I can’t find how to resolve it.
Any suggestions please? I have spend already more than two days trying to solve it :(


I have problems pinging anything outside the physical host machine.
 
Check out that there are no IP address conflicts.
Use commands like "ip a s" and nmap 1.1.1.1/24 and mtr www.se.

I am not getting any IP errors.
The problem is that the physical host (which is acting as a router) is sending those ICMP redirects to inform the VMs that there is better route between them (as per this link).

In detail:
The physical host has mask 255.255.255.224
And the VMs have 255.255.255.248 and 255.255.255.224
(as per DataCenter IP assignments)

The bridge connecting them has mask 255.255.255.255

When I ping the host IP address from inside the VMs I have no issues (no redirects). It's only when I ping between the VMs (VM1 > VM2).
I must be missing something...