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 08-19-2010, 10:32 AM   #1
vidyasakaran
LQ Newbie
 
Registered: Aug 2010
Posts: 1

Rep: Reputation: 0
Question ICMP response not sent to a local network ip


My problem is simple, but i am not sure if i can explain clearly here. Let me try

icmp request from an ip that is in the same network as one of the local interfaces is not responded to, if the ping request is received via an interface in a different network. Is this some security feature?

Consider the below network

x.1|RTR1|-y.1---------y.2-|RTR2|-z.2------z.3-|LNX|-x.3

RTR - Router
x.1 -> 192.168.x.1
LNX - Linux machine

RTR1's x.1 and LNX's x.3 are connected together.

Static routes added:
RTR1 - net z.0 gw y.2

I send a ping from RTR1 to z.3 with source IP x.1
I expect the ping to be responded by the LNX (response to be sent viz x.3<->x.1 link)
This doesn't happen

If I change the route in RTR1, making x.3 as the gw, it starts working fine.

Looks like some security feature in Linux prevents this ping response from being sent.

More light into this will help!

Thanks!
 
Old 08-19-2010, 03:27 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
First, please don't use that special font. It makes reading your post harder, not easier. (For network diagrams and command output, etc., do use code tags.)

So your Linux host has two separate routes by which it can reach Router1, correct?

If so, let's see the output from the following two commands:
Code:
# netstat -rn
and
Code:
# ip rule show
 
  


Reply

Tags
icmp, ping


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
ICMP requests from Content Delivery Network jlarsen Linux - Networking 1 07-17-2008 10:34 PM
snmp + no response from local host aeby Linux - Server 2 08-29-2007 09:29 AM
Slow local web response on Fedora Core 5 Heinz09 Linux - Server 1 06-26-2007 01:58 PM
fake icmp response c0lin Linux - Security 3 01-22-2005 01:06 AM
BIND 9: Slow response from root servers. Local is ok. Apollo77 Linux - Networking 3 01-14-2005 11:22 AM


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