using Strict route with ping

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
 
P

Pegasus \(MVP\)

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
 
P

Perdition

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top