LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-21-2017, 10:47 AM   #1
rog357
LQ Newbie
 
Registered: Sep 2017
Posts: 3

Rep: Reputation: Disabled
"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
 
Old 09-21-2017, 11:39 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
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
 
Old 09-21-2017, 11:46 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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).
 
Old 09-26-2017, 02:51 AM   #4
rog357
LQ Newbie
 
Registered: Sep 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
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.
 
Old 09-26-2017, 02:52 AM   #5
rog357
LQ Newbie
 
Registered: Sep 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
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.
 
Old 09-26-2017, 05:04 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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.
 
Old 09-26-2017, 03:08 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
edit.

opps. my answer was poor.

Last edited by jefro; 09-26-2017 at 07:13 PM.
 
Old 09-26-2017, 08:44 PM   #8
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 2,792

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ping works, but traceroute says "network is down" tgphelps50 Linux - Networking 3 06-30-2012 02:15 PM
"dig mx" and "ping google" do not work when bind9 runs.. why? alexxxis Linux - Software 4 01-07-2007 03:16 AM
"ping xxx.abc.local" ok but "ping xxx" fail powah Linux - Networking 2 10-13-2006 08:16 PM
ping outputs TX to "loopback" instead of "eth1" Jojo1 Linux - Networking 0 04-12-2006 05:10 AM
"host" ok, but "ping" can't find ip address hardigunawan Linux - Networking 2 05-16-2002 05:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration