Pinging from a remote host

James Knott james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Mon May 29 13:51:41 UTC 2006


Kihara Muriithi wrote:
> Hi all,
>  By default, ping use the  local IP address as the source IP. This work 
> perfectly if you are fixing network problems between a local network and 
> a remote host. Sometime though, you may need to fix a network problem 
> between two remote hosts. The there a ping switch one can use to force 
> ping to use a remote address as a source IP address?
> Thanks
> William

What would that accomplish???

Ping is used to verify a path between two hosts.  Assuming you changed 
the source address, what would happen?  At most, the replies would be 
sent to a host that's not expecting them.

If you want a ping to appear to come from a distant host, perhaps yo 
should use ssh to connect to that host and ping from there.

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list