Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine IF index (number)

Status
Not open for further replies.

charlespeechumuthu

Technical User
Dec 2, 2002
20
0
0
US
Hello,
I am trying to determine the interface index on a multi NIC Windows 2000 server machine.
we have two NICs in the W2K mcahine, both on the same IP subnet. First one is connected to local LAN and second one to a private IP number network FRAME REALY Network to the remote offices.
I am trying to put the presistent route to the PRIVATE IPs of the remote office on the second interface. I tried all numbers from 0-9 none helps, gives the same error

route add -p 192.168.1.0 MASK 255.255.255.0 192.168.0.230 IF 2 (or 1,3,4,5...)

route addition failed: Either the interface index is wrong or gateway does not lie ont he same network as interface. Check IP address table for the machine.

Our frame realy router Ethernet interface is 192.168.0.230
Our main router interface is 192.168.0.1
Machine NIC IPs are 192.168.0.5 and 192.168.0.231

I am trying to get the remote office traffic to go on NIC with 192.168.0.231
I do not have acces to the MAIN router maintained by ISP (otherwise I would have put IP route for 192.168.1.0 to 192.168.0.230). Even then I may want to seperate the traffic to go directly to the the frame relay router than via main router.

Any idea on finding the interface index on the machine running windows 2000.
ipconfig /all does no indicate IF index.


thanks
charles
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top