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 10-28-2004, 04:54 PM   #1
bambolin
LQ Newbie
 
Registered: Oct 2004
Posts: 22

Rep: Reputation: 15
No ping reply


I have a linux box connected to a winbox through a hub. The ip of nic card of the winbox is 10.0.0.152 and the ip of nic card of the linux box is 10.0.0.151. When I ping from 152 from 151 i get ping replies. But when i ping from 152 (winbox) to 151(linux box) i get no replies! I don't know if there is a firewall enabled or something that is disabling ICMP. I am running mandrake 9.2

BTW am a newbie!
 
Old 10-28-2004, 05:01 PM   #2
slide-rule
Member
 
Registered: Jan 2004
Location: New England area, US
Distribution: Mandrake 9.2
Posts: 39

Rep: Reputation: 15
can the linux box ping itself as 127.0.0.1 (localhost) and/or 10.0.0.151 and get replies? Assuming yes, there may be firewall policies in place that are dropping packets. (Are you on a relatively fresh install, or have you been mucking about with configs a bit?) Check if the lin box has "shorewall" and/or "ipchains" and/or "iptables" services running; these are likely candidates on MDK doing firewalling.
 
Old 10-28-2004, 05:03 PM   #3
slide-rule
Member
 
Registered: Jan 2004
Location: New England area, US
Distribution: Mandrake 9.2
Posts: 39

Rep: Reputation: 15
possibly helpful followup... as root, do "service iptables status" (etc) on a command line to check if iptables (etc) is running. If found, you can "service iptables stop" (etc) to take them off line. Then try pings from the other box.
 
Old 10-28-2004, 09:46 PM   #4
celejar
Member
 
Registered: Oct 2003
Location: New York
Distribution: Debian Sid
Posts: 185

Rep: Reputation: 30
Can you access the winbox in other ways over the network (e.g. Samba, telnet) ?
 
Old 10-29-2004, 06:05 AM   #5
bambolin
LQ Newbie
 
Registered: Oct 2004
Posts: 22

Original Poster
Rep: Reputation: 15
Yes i can access the winbox by ftp and that makes me suspect that mandrake is running a firewall. I did some research on mandrake firewall and slide-rule pointed out there is a firewall called shorewall. But I don't know how to check if it is enabled or how to disable it or configure it to allow some ports etcetc!
 
Old 10-29-2004, 06:17 AM   #6
harish_neo
LQ Newbie
 
Registered: Sep 2004
Location: Chennai, TN, India
Posts: 15

Rep: Reputation: 0
Hi,

Check for ip tables which is actually a firewall in your linux box. Probably it will be blocking ICMP reply packets. Better check that.

- Harishankar
 
Old 10-29-2004, 06:18 AM   #7
harish_neo
LQ Newbie
 
Registered: Sep 2004
Location: Chennai, TN, India
Posts: 15

Rep: Reputation: 0
Try disabling the firewall by the command

service iptables stop

and check whether u r able to ping or not !!!!
 
  


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
Slow First Ping Reply Fr33B5D Linux - Networking 4 08-27-2005 10:07 AM
Configure ping reply time rabeea General 6 01-27-2005 02:08 AM
Return true or false if I have ping reply Menestrel Programming 4 11-29-2004 12:40 AM
no ping reply siriuz Linux - Networking 2 03-16-2004 01:53 AM
post reply & submit reply buttons annehoog LQ Suggestions & Feedback 10 01-05-2004 06:43 PM

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

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