using Strict route with ping

  • Thread starter Thread starter Perdition
  • Start date Start date
P

Perdition

Hi everyone, I'm interested in making a program, be it a batch/C/VB or
what not, which receives a list of IPs and a destination and sees if it
is possible to send a ping through that route.
I haven't had success using strict route with the windows/DOS ping
command, eg:

ping -k 10.0.0.254 ... www.yahoo.com
where the IP's i've supplied are actually the resulting IPs of "tracert
www.yahoo.com"

could someone explain how the -k should be used or how a program like
this can be made without having to learn a new programming language
etc.?

Thanks alot in advance :)
Michael
 
Perdition said:
Hi everyone, I'm interested in making a program, be it a batch/C/VB or
what not, which receives a list of IPs and a destination and sees if it
is possible to send a ping through that route.
I haven't had success using strict route with the windows/DOS ping
command, eg:

ping -k 10.0.0.254 ... www.yahoo.com
where the IP's i've supplied are actually the resulting IPs of "tracert
www.yahoo.com"

could someone explain how the -k should be used or how a program like
this can be made without having to learn a new programming language
etc.?

Thanks alot in advance :)
Michael

This might help:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ping.mspx?mfr=true
 
I'm afraid that strict/loose route simply doesn't work as they've
explained it. I try using a route as dictated by ping -r (Record route)
and also tracert, to an interface that is no more than 3 hops away. the
ping times out each time even though it reaches the interface when i
ping there directly
 
Back
Top