Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-16-2011, 05:43 AM
|
#1
|
LQ Newbie
Registered: Nov 2011
Posts: 9
Rep:
|
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?
|
|
|
11-16-2011, 06:23 AM
|
#2
|
Member
Registered: Oct 2010
Location: england
Distribution: debian , redhat
Posts: 36
Rep:
|
firewall on the servers u want to ping and you are pinging from or both the server??
regards
|
|
|
11-16-2011, 06:26 AM
|
#3
|
LQ Newbie
Registered: Nov 2011
Posts: 9
Original Poster
Rep:
|
I am pinging from windows xp to linux, and firewall on both machines is disabled.
|
|
|
11-16-2011, 11:47 AM
|
#4
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983
|
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.
|
|
|
11-17-2011, 02:40 AM
|
#5
|
LQ Newbie
Registered: Nov 2011
Posts: 9
Original Poster
Rep:
|
Quote:
Originally Posted by lleb
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
|
|
|
11-17-2011, 03:20 AM
|
#6
|
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
|
you should try as 'root'
Code:
service iptables stop
and look for SELinux status:
you can read about SELinux here or here
Last edited by lithos; 11-17-2011 at 03:50 AM.
|
|
|
11-17-2011, 04:00 AM
|
#7
|
LQ Newbie
Registered: Nov 2011
Posts: 9
Original Poster
Rep:
|
Thanks, i tried iptables stop, but it didn't solve the problem and sestatus is disabled
|
|
|
11-17-2011, 04:47 AM
|
#8
|
LQ Newbie
Registered: Nov 2011
Posts: 9
Original Poster
Rep:
|
can anyone give me some more suggestions Please?
|
|
|
11-17-2011, 05:23 AM
|
#9
|
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
|
|
|
|
11-17-2011, 05:40 AM
|
#10
|
LQ Newbie
Registered: Nov 2011
Posts: 9
Original Poster
Rep:
|
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'
|
|
|
11-17-2011, 06:31 AM
|
#11
|
Member
Registered: Mar 2010
Location: Moscow, Russia
Distribution: Ubuntu Studio, antix(mepis), Fedora, FreeBSD
Posts: 174
Rep:
|
Assuming your IP on the RHEL machine is set with correct netmask?
|
|
|
11-17-2011, 06:34 AM
|
#12
|
Member
Registered: Mar 2010
Location: Moscow, Russia
Distribution: Ubuntu Studio, antix(mepis), Fedora, FreeBSD
Posts: 174
Rep:
|
Oh, and try, for the purity sake,
Just who knows, perhaps stopping iptables service somehow doesnt' disable iptables rules?
|
|
|
11-28-2011, 11:19 PM
|
#13
|
LQ Newbie
Registered: Nov 2011
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 09:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|