How to, Script, use specific tcp route, THX

C

crlawler

Win 2000 Svr. with 2 NICs. Need a script to direct
a command (such as ping) through a specific
NIC or IP address. Something like...(oversimplified)

use NIC 123.234.345.567
out NIC, ping yahoo.com
if result = 0, print "success"
else print "fail"
end if
exit

I think I can do everything but directing the ping
or other command through a specific NIC.

Somebody drop me a hint PLEASE!

Thanks in Advance for your time.

Cary
 
I

ILangs.

Hi,

Use ipconfig /all and redirect the output to file. use
the data from that file.

It may not be the correct solution for your requirement.
Please let me know your requirement clear.
 

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