LinuxQuestions.org
Review your favorite Linux distribution.
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 08-20-2009, 06:57 AM   #1
smartgupta
Member
 
Registered: Sep 2008
Posts: 81

Rep: Reputation: 15
unable to communicate with Linux machine


Hi all,

I installed red hat 2.6.9-5 and when I am trying to ping it.I am able to ping any other machine in the network but unable to do vice-versa(means unable to ping this machine from any other machine) and getting the message --
Quote:
[root@mglinux ~]# ping 10.xxx.xx.01
PING 10.xxx.xx.01 (10.xxx.xx.01) 56(84) bytes of data.
From 10.xxx.xx.21 icmp_seq=1 Destination Host Unreachable
From 10.xxx.xx.21 icmp_seq=2 Destination Host Unreachable
From 10.xxx.xx.21 icmp_seq=3 Destination Host Unreachable
please provide your valuable suggestions ...
 
Old 08-20-2009, 07:24 AM   #2
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
Lets see your firewall config - it's probably blocking ICMP.

the firewall config is in /etc/sysconfig/iptables
 
Old 08-20-2009, 07:27 AM   #3
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
can the machine (linuxbox) ping the others? (if that's the case, then as the previous poster mentioned, icmp echo reply is blocked.
however, if the machine cannot ping to others.. then it's likely the NIC has been initialized. (started up)

try: service network start, or service network restart (and check the output it gives)
or try ifup eth0 (first networkcard/device on the system, eth1 is second device etc etc)

you can view the config that the nic(s) have, by issueing:
ifconig -a

also make sure the cabling is correct.

Last edited by teebones; 08-20-2009 at 07:29 AM.
 
Old 08-20-2009, 08:32 AM   #4
smartgupta
Member
 
Registered: Sep 2008
Posts: 81

Original Poster
Rep: Reputation: 15
how to check that it is blocking ICMP or not?

Yes,I am able to ping other machines but can't from other machines.
 
Old 08-20-2009, 09:05 AM   #5
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
Perhaps you could post the output of the following command:

iptables -L

or like Admiral_beotch suggested take a look at /etc/sysconfig/iptables or better yet post the contents and somebody will be able to help you.

Regards,

Fordeck
 
Old 08-20-2009, 09:10 AM   #6
sd136742
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Rep: Reputation: 0
If you've just installed the system, then selinux will probably be enforcing by default. You can turn it off with...

echo "0" > /selinux/0

..then try and access your machine again.
 
  


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
how make virutal machine to communicate with physical network mannmaniyar Linux - Newbie 1 05-18-2009 08:58 AM
Configuring Samba to communicate with an XP machine tubatodd Slackware 20 02-08-2008 07:35 PM
Unable to communicate with minicom (COM1) navin_karnam Linux - Networking 2 12-20-2007 09:37 PM
My C Chat Program is unable to communicate. mcp_achindra Programming 1 03-20-2004 10:04 AM
Networks unable to communicate with each other hnguy Linux - Networking 6 10-14-2002 09:02 AM

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

All times are GMT -5. The time now is 04:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration