LinuxQuestions.org
Visit Jeremy's Blog.
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, 11: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, 12:39 PM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,317

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, 12:46 PM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,994

Rep: Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250
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, 03: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, 03: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, 06:04 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,994

Rep: Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250
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, 04:08 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,514

Rep: Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014
edit.

opps. my answer was poor.

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

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:15 PM
"dig mx" and "ping google" do not work when bind9 runs.. why? alexxxis Linux - Software 4 01-07-2007 04:16 AM
"ping xxx.abc.local" ok but "ping xxx" fail powah Linux - Networking 2 10-13-2006 09:16 PM
ping outputs TX to "loopback" instead of "eth1" Jojo1 Linux - Networking 0 04-12-2006 06:10 AM
"host" ok, but "ping" can't find ip address hardigunawan Linux - Networking 2 05-16-2002 06:41 PM

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

All times are GMT -5. The time now is 01:24 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration