LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-16-2011, 05:43 AM   #1
Bhakti1982
LQ Newbie
 
Registered: Nov 2011
Posts: 9

Rep: Reputation: Disabled
RHEL Linux - Cannot ping from other machines


Hello,
I have set up a RHEL 64 bit, I can ping other machines from that server, however I am trying to ping the Linux server from other machines, I am not able to do so.
Firewall is disabled. Can you please suggest?
 
Old 11-16-2011, 06:23 AM   #2
bluesatbridge
Member
 
Registered: Oct 2010
Location: england
Distribution: debian , redhat
Posts: 36

Rep: Reputation: 2
firewall on the servers u want to ping and you are pinging from or both the server??

regards
 
Old 11-16-2011, 06:26 AM   #3
Bhakti1982
LQ Newbie
 
Registered: Nov 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
I am pinging from windows xp to linux, and firewall on both machines is disabled.
 
Old 11-16-2011, 11:47 AM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
then the firewall is not disabled, nor is SELinux on the RHE box.

as root type setup and verify that the firewall is off, and that the service ipfilter does not have a * next to it.

you can also just type:

service ipfilter stop

as root to disable ipfilters NOW. this will not turn off the firewall, nor disable SELinux.
 
Old 11-17-2011, 02:40 AM   #5
Bhakti1982
LQ Newbie
 
Registered: Nov 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lleb View Post
then the firewall is not disabled, nor is SELinux on the RHE box.

as root type setup and verify that the firewall is off, and that the service ipfilter does not have a * next to it.

you can also just type:

service ipfilter stop

as root to disable ipfilters NOW. this will not turn off the firewall, nor disable SELinux.
------------------------------------------------------------------------------------

setup -- firewall and SELinux is disabled
there is no ipfilter service
when I type service ipfilter stop , I a see 'unrecognised service' message
 
Old 11-17-2011, 03:20 AM   #6
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
you should try as 'root'
Code:
service iptables stop
and look for SELinux status:
Code:
sestatus
you can read about SELinux here or here

Last edited by lithos; 11-17-2011 at 03:50 AM.
 
Old 11-17-2011, 04:00 AM   #7
Bhakti1982
LQ Newbie
 
Registered: Nov 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
Unhappy

Thanks, i tried iptables stop, but it didn't solve the problem and sestatus is disabled
 
Old 11-17-2011, 04:47 AM   #8
Bhakti1982
LQ Newbie
 
Registered: Nov 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
can anyone give me some more suggestions Please?
 
Old 11-17-2011, 05:23 AM   #9
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
look at disable ping reply
 
Old 11-17-2011, 05:40 AM   #10
Bhakti1982
LQ Newbie
 
Registered: Nov 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
nooooo.
I tried that in sysctl I put net.ipv4.icmp_echo_ignore_all = 0,
Still when I ping from my windows machine I see 'request timed out'
 
Old 11-17-2011, 06:31 AM   #11
kostya
Member
 
Registered: Mar 2010
Location: Moscow, Russia
Distribution: Ubuntu Studio, antix(mepis), Fedora, FreeBSD
Posts: 174
Blog Entries: 5

Rep: Reputation: 18
Assuming your IP on the RHEL machine is set with correct netmask?
 
Old 11-17-2011, 06:34 AM   #12
kostya
Member
 
Registered: Mar 2010
Location: Moscow, Russia
Distribution: Ubuntu Studio, antix(mepis), Fedora, FreeBSD
Posts: 174
Blog Entries: 5

Rep: Reputation: 18
Oh, and try, for the purity sake,
Quote:
$sudo iptables -L -n
Just who knows, perhaps stopping iptables service somehow doesnt' disable iptables rules?
 
Old 11-28-2011, 11:19 PM   #13
Bhakti1982
LQ Newbie
 
Registered: Nov 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thumbs up solved

Thanks everyone for your inputs, The issue was solved.
we had set the ip details in ifcfg-lo and ifcfg-eth0, both the files, which caused the server to loop back.and ping all ips, but other machines were not able to ping the server.
We restored ifcfg-lo to original file and restarted the network.
We have the server in LAN now.
 
  


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
Can't Ping Linux KVM from Other Machines on Host Subnet newmanium2001 Linux - Networking 5 05-19-2009 08:01 AM
Installed RHEL 5.0, now cannot ping/ssh other machines on network psteele555 Linux - Networking 9 06-20-2008 08:29 AM
Unable to ping my Linux box from other machines on the network Nylex Linux - Networking 3 07-19-2006 05:13 AM
Unable to ping linux machines on my netowrk molbill Linux - Networking 6 09-13-2004 12:35 AM
Linux machines cant ping server..Windows can. NetAX Linux - Networking 1 05-21-2004 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:57 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
Open Source Consulting | Domain Registration