Link to home
Start Free TrialLog in
Avatar of ednie
ednie

asked on

process for selecting an exit interface

A colleague asked me this. He has a w2k box with two nics and a modem all actively connected to an ISP. If he does a telnet session to a remote IP, how is the exit interface determined? Another words, does a broadcast get sent out all interfaces initially or does one NIC or the modem connection take priority somehow?
ASKER CERTIFIED SOLUTION
Avatar of Les Moore
Les Moore
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sw1tch_n1nja
sw1tch_n1nja

It acctually has nothing to do with metrics, if you attempt to to a telnet to a remote IP you machine looks at the IP address, if it does not reside on you local network it will send it to its default gateway, the gateway will then determine if it has a path to the network if not it will send it to it default gateway, when you do a route print you will see
Active Routes:
Network Destination Netmask    gateway   Interface  Metric
0.0.0.0  0.0.0.0  192.168.0.126  192.168.0.254       20

what the 0.0.0.0 basically means is "for all unknown networks send to the gateway"
ednie:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
RECOMMENDATION: Points awarded to: lrmoore