LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-12-2004, 03:02 AM   #1
molbill
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrake, Redhat
Posts: 2

Rep: Reputation: 0
Unable to ping linux machines on my netowrk


Hi Everyone.

I have a small network composed of 20 machines. The machines were previously installed with Windows XP, but now I am trying to get them networked with Linux.

A very strange thing that I see is that I can ping the Windows machines from the Linux machines and vice versa. I can also ping any Windows machine from any other Windows machine but I am unable to ping any linux machine from another Linux machine.
Here is an output that I got from the arp command

[root@lcbi1 molbill]# arp
Address HWtype HWaddress Flags Mask Iface
192.168.10.1 ether 00:04D:6D9:B5 C eth0
yibeltal ether 00:0E:7F:A5:10:E9 C eth0
cbi4 (incomplete) eth0

cbi4 is the linux machine, 192.168.10.1 is the router's address and yibeltal is the windows machine's name.

and here is an output from ifconfig. On all machines the subnet mask is 255.255.0.0 and the net adress is 192.168.0.0.
[root@lcbi1 molbill]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0E:7F:2A:08:F8
inet addr:192.168.49.150 Bcast:192.168.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5060 errors:0 dropped:0 overruns:0 frame:0
TX packets:5337 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2960048 (2.8 Mb) TX bytes:740862 (723.4 Kb)
Interrupt:20 Memory:fc500000-fc510000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:417 errors:0 dropped:0 overruns:0 frame:0
TX packets:417 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:41956 (40.9 Kb) TX bytes:41956 (40.9 Kb)

I am a newbie to Linux administration but I believe ip works the same in all machines. Does anyone have any idea what's wrong?
 
Old 09-12-2004, 05:20 AM   #2
blueantelope
LQ Newbie
 
Registered: Sep 2004
Location: China
Posts: 6

Rep: Reputation: 0
If the file of /proc/sys/net/ipv4/icmp_echo_ignore_all is 1. ICMP will be enjoined.So you will not ping the linux machine.You may edit the file.Make the file's content is "0".

Last edited by blueantelope; 09-12-2004 at 05:22 AM.
 
Old 09-12-2004, 10:02 AM   #3
molbill
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrake, Redhat
Posts: 2

Original Poster
Rep: Reputation: 0
I looked at the file but its content is 0. Anyother possible solutions?
 
Old 09-12-2004, 08:07 PM   #4
blueantelope
LQ Newbie
 
Registered: Sep 2004
Location: China
Posts: 6

Rep: Reputation: 0
Perhaps linux's fireware is a reason.Try to enter command "service iptables stop" or "service ipchains stop".
Perhaps you did not set Gateway for the linux machine.Try to enter command "man route".
 
Old 09-12-2004, 08:59 PM   #5
zatriz
Member
 
Registered: Aug 2003
Location: Seattle, Wa
Distribution: Fedora,Trustix,Debian
Posts: 290

Rep: Reputation: 30
what's the ping error message that you get when you ping another linux machine.
 
Old 09-12-2004, 11:02 PM   #6
doublejoon
Member
 
Registered: Oct 2003
Location: King George, VA
Distribution: RHEL/CentOS/Scientific/Fedora, LinuxMint
Posts: 370

Rep: Reputation: 44
are you pinging hostnames or IP's
 
Old 09-13-2004, 12:35 AM   #7
scottman
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware, FreeBSD, LFS
Posts: 72

Rep: Reputation: 15
# iptables -A INPUT -s 192.168.0.0/255.255.0.0 -p icmp --icmp-type 8 -j ACCEPT
# iptables -A OUTPUT -d 192.168.0.0/255.255.0.0 -p icmp --icmp-type 0 -j ACCEPT

Those should allow a computer to be pinged from anything in the
192.168.0.0 range if everything else is set up correctly.

Last edited by scottman; 09-13-2004 at 12:39 AM.
 
  


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
Unable to ping Linux box Fritz_Monroe Linux - Newbie 3 05-19-2005 07:12 AM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
Linux machines cant ping server..Windows can. NetAX Linux - Networking 1 05-21-2004 09:55 AM
unable to ping linux from windows gdumont.1 Linux - Networking 4 11-05-2003 12:58 PM
RH Linux 7.2 unable to ping to gateway AtulGore Linux - Networking 6 03-15-2002 04:24 PM

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

All times are GMT -5. The time now is 09:29 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