Networking Forums

Networking Forums > Computer Networking > Linux Networking > How can you identify the intermediate nodes along the path using ping ONLY

Reply
Thread Tools Display Modes

How can you identify the intermediate nodes along the path using ping ONLY

 
 
aamircheema@gmail.com
Guest
Posts: n/a

 
      08-02-2006, 03:44 PM
Hi,

Is this possible to identify intermediate nodes by using pin command
olnly? Somebody told me that it is. Can anyone please elaborate how?

Thanks,
Aamir

 
Reply With Quote
 
 
 
 
Dave Uhring
Guest
Posts: n/a

 
      08-02-2006, 04:29 PM
On Wed, 02 Aug 2006 08:44:03 -0700, aamircheem wrote:

> Is this possible to identify intermediate nodes by using pin command
> olnly? Somebody told me that it is. Can anyone please elaborate how?


traceroute, or tracert on that Windose POS you are using.

 
Reply With Quote
 
Allen Kistler
Guest
Posts: n/a

 
      08-02-2006, 04:54 PM
(E-Mail Removed) wrote:
> Hi,
>
> Is this possible to identify intermediate nodes by using pin command
> olnly? Somebody told me that it is. Can anyone please elaborate how?


You can set the "record route" option. Cooperating routers will add
their info to the packet and eventually all the info gets back to you.

There's no requirement for any router to cooperate, though.
 
Reply With Quote
 
avasilev
Guest
Posts: n/a

 
      08-03-2006, 05:39 PM

(E-Mail Removed) wrote:
> Hi,
>
> Is this possible to identify intermediate nodes by using pin command
> olnly? Somebody told me that it is. Can anyone please elaborate how?
>
> Thanks,
> Aamir


Usually this is done with tracert (windows) or traceroute (*nix), but
what tracert actually does is pinging the host with TTL increasing from
1 with a step of one. When the TTL of the ping packet expires, the
router at which this happens reports to you "TTL expired in transit".
Since this reporting is done with an IP packet you know the address of
the router from the source IP field of the report packet. Then tracert
increases the TTL with 1 and repeats the procedure - thus the next
router will report that the TTL expired, and so on until the actual
host is reached. In this way you get the IP-s of routers on the way.
You can try this yourself with the ping command (and this directly
answers your question) - do a ping with setting the TTL of the packet
first to 1, and look who responds to it, then set TTL to 2 and so on.

 
Reply With Quote
 
Lew Pitcher
Guest
Posts: n/a

 
      08-03-2006, 07:22 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


(E-Mail Removed) wrote:
> Hi,
>
> Is this possible to identify intermediate nodes by using pin command
> olnly? Somebody told me that it is. Can anyone please elaborate how?


Yes, sort of.

You can ask for "route record" to be returned on the ping response
packet. Up to 9 nodes can be recorded, so if your target is more than 9
hops away, then you lose the record of some of the nodes.

See the ping(8) manpage for details...
-R Record route. Includes the RECORD_ROUTE option in
the ECHO_REQUEST packet and displays the route
buffer on returned packets. Note that the IP
header is only large enough for nine such routes.
Many hosts ignore or discard this option.


HTH
- --
Lew Pitcher

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32) - WinPT 0.11.12

iD8DBQFE0kz4agVFX4UWr64RAjCuAJ0ayymxZIrFPqKDpzXse7 K8Hqd0dQCfXiAP
Ux6htSaMWzzSUk53GDIErlU=
=+XkV
-----END PGP SIGNATURE-----

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with intermediate net configuration Paulo da Silva Linux Networking 1 07-21-2010 07:33 AM
Unicast 4 Node NLB ping test fails & Nodes do not appear in NLB Ma =?Utf-8?B?QW1pdCBEYXM=?= Windows Networking 0 02-10-2005 06:31 PM
Help! How can I to install a NDIS-Intermediate-driver unter Win98/Me AUTOMATICALLY? AndreasRu@t-online.de Windows Networking 0 04-30-2004 12:30 PM
Help! How can I to install a NDIS-Intermediate-driver unter Win98/Me AUTOMATICALY? AndreasRu@t-online.de Windows Networking 0 04-30-2004 12:28 PM



1 2 3 4 5 6 7 8 9 10 11