LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "ping -R" works but just "ping" doesn't (https://www.linuxquestions.org/questions/linux-newbie-8/ping-r-works-but-just-ping-doesnt-4175614242/)

rog357 09-21-2017 10:47 AM

"ping -R" works but just "ping" doesn't
 
Hi all, and advanced thanks to anyone kind enough to respond.

I've two Oracle based linux servers connected to individual switches.
The two switches are connected via a routed link.
The two switches set as the gateway for the two linux servers respectively.

ping from either to the other results in 100% packet loss.
ping -R from either to the other provides full correct/expected route information displayed followed by 100% successful ping outputs.

One of the linux servers is in a VMWare environment. I've created a Windows server in same subnet as this and normal ping to/from the physical linux server works normally. So it appears to just be a linux anomaly....

Any ideas guys??

Regards,

Rog357

Emerson 09-21-2017 11:39 AM

Is your box configured to respond to ICMP packets? Below setting may be default in Oracle Linux.
Code:

net.ipv4.icmp_echo_ignore_all = 1

business_kid 09-21-2017 11:46 AM

Does ping <no options> work anywhere? 127.0.0.1? Server/router? Internet names or their IPs. Are whois & traceroute behaving?

Some equipment doesn't respond to pings, or can be configured not to do so (In breach of RFC 1122).

rog357 09-26-2017 02:51 AM

Quote:

Originally Posted by Emerson (Post 5761336)
Is your box configured to respond to ICMP packets? Below setting may be default in Oracle Linux.
Code:

net.ipv4.icmp_echo_ignore_all = 1

no this setting is not set. and the Windows server can ping it successfully.

rog357 09-26-2017 02:52 AM

Quote:

Originally Posted by business_kid (Post 5761339)
Does ping <no options> work anywhere? 127.0.0.1? Server/router? Internet names or their IPs. Are whois & traceroute behaving?

Some equipment doesn't respond to pings, or can be configured not to do so (In breach of RFC 1122).

Yes both Linux servers can ping the Windows server normally.

business_kid 09-26-2017 05:04 AM

As you have 100% packet loss with pings, does anything work transferring between them? Is there firewalls running? If you want us to solve network problems, we want good information.

If they're talking on some level, I would run nmap on each to see what ports are visible.

jefro 09-26-2017 03:08 PM

edit.

opps. my answer was poor.

MadeInGermany 09-26-2017 08:44 PM

Run tcpdump on both ends to see how the ICMP requests and responses go out and are received (or not).


All times are GMT -5. The time now is 01:35 PM.