Attempting to ping an IP address in the same sub-network results in traffic going to the gateway IP address

(Doc ID 2308262.1)

Last updated on SEPTEMBER 21, 2017

Applies to:

Linux OS - Version Oracle Linux 7.0 and later
Linux x86-64

Symptoms

From a server with the ip address 10.10.0.95, pinging an IP address on the same sub-network  10.10.0.11 sees traffic going to the default gateway (10.10.0.10) instead of directly to the pinged ip address.

# ping 10.10.0.11
PING 10.10.0.11 (10.10.0.11) 56(84) bytes of data.
64 bytes from 10.10.0.11: icmp_seq=1 ttl=128 time=1.60 ms
From 10.10.0.10 icmp_seq=1 Redirect Host(New nexthop: 10.10.0.11)
From 10.10.0.10: icmp_seq=1 Redirect Host(New nexthop: 10.10.0.11)
From 10.10.0.10: icmp_seq=2 Redirect Host(New nexthop: 10.10.0.11)
From 10.10.0.10 icmp_seq=2 Redirect Host(New nexthop: 10.10.0.11)
64 bytes from 10.10.0.11: icmp_seq=2 ttl=128 time=0.617 ms
^C
--- 10.10.0.11 ping statistics ---
2 packets transmitted, 2 received, +2 errors, 0% packet lost, time 1001ms.
rtt min/avg/max/mdev = 0.617/1113/1.609/0.496 ms

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms