|
windows
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Several network adaptersWhat rules are there that decides which network adapter (assuming I have
several network adapters on my PC) network information uses to send information on a Windows XP Pro PC? In article <75C59F65-89F5-44D9-89C0-728D5CE09***@microsoft.com>,
Joachim <Joac***@discussions.microsoft.com> wrote: >What rules are there that decides which network adapter (assuming I have I assume that the computer uses the TCP/IP protocol on the network. >several network adapters on my PC) network information uses to send >information on a Windows XP Pro PC? Windows XP creates a network connection for each installed network adapter. It decides which connection to use by looking up the destination IP address in the TCP/IP route table, which defines the range of IP addresses that each connection can access. When multiple connections can access the same destination, XP uses the connection with the lowest metric value. By default, XP assigns a metric value based on the rated speed of a connection: An explanation of the Automatic Metric feature for Internet Protocol routes http://support.microsoft.com/Default.aspx?id=299540 If automatic metrics don't do what you want, you can assign them manually. To assign a metric to a network connection: 1. Open the Network Connections folder. 2. Right click the desired connection. 3. Click Properties | Internet Protocol (TCP/IP). 4. Click Properties | Advanced. 5. Un-check "Automatic metric". 6. Enter a number between 1 and 9999 for the "Interface metric". -- Best Wishes, Steve Winograd, MS-MVP (Windows Networking) Please post any reply as a follow-up message in the news group for everyone to see. I'm sorry, but I don't answer questions addressed directly to me in E-mail or news groups. Microsoft Most Valuable Professional Program http://mvp.support.microsoft.com Thank you Steve,
Lets say I set a lower metric on one adapter and a higher one on another. Will then an application try the adapter with the higher metric if it cannot find a host using the adapter with the lower metric? Best Regards, Joachim Show quoteHide quote "Steve Winograd [MVP]" wrote: > In article <75C59F65-89F5-44D9-89C0-728D5CE09***@microsoft.com>, > Joachim <Joac***@discussions.microsoft.com> wrote: > >What rules are there that decides which network adapter (assuming I have > >several network adapters on my PC) network information uses to send > >information on a Windows XP Pro PC? > > I assume that the computer uses the TCP/IP protocol on the network. > > Windows XP creates a network connection for each installed network > adapter. It decides which connection to use by looking up the > destination IP address in the TCP/IP route table, which defines the > range of IP addresses that each connection can access. > > When multiple connections can access the same destination, XP uses the > connection with the lowest metric value. By default, XP assigns a > metric value based on the rated speed of a connection: > > An explanation of the Automatic Metric feature for Internet Protocol > routes > http://support.microsoft.com/Default.aspx?id=299540 > > If automatic metrics don't do what you want, you can assign them > manually. To assign a metric to a network connection: > > 1. Open the Network Connections folder. > 2. Right click the desired connection. > 3. Click Properties | Internet Protocol (TCP/IP). > 4. Click Properties | Advanced. > 5. Un-check "Automatic metric". > 6. Enter a number between 1 and 9999 for the "Interface metric". > -- > Best Wishes, > Steve Winograd, MS-MVP (Windows Networking) > > Please post any reply as a follow-up message in the news group > for everyone to see. I'm sorry, but I don't answer questions > addressed directly to me in E-mail or news groups. > > Microsoft Most Valuable Professional Program > http://mvp.support.microsoft.com > In article <CE46FA49-9AF6-4968-AA3B-E2847AACE***@microsoft.com>,
Joachim <Joac***@discussions.microsoft.com> wrote: Show quoteHide quote >> >What rules are there that decides which network adapter (assuming I have No, it won't. If the adapter with the lower metric can't contact the>> >several network adapters on my PC) network information uses to send >> >information on a Windows XP Pro PC? >> >> I assume that the computer uses the TCP/IP protocol on the network. >> >> Windows XP creates a network connection for each installed network >> adapter. It decides which connection to use by looking up the >> destination IP address in the TCP/IP route table, which defines the >> range of IP addresses that each connection can access. >> >> When multiple connections can access the same destination, XP uses the >> connection with the lowest metric value. By default, XP assigns a >> metric value based on the rated speed of a connection: >> >> An explanation of the Automatic Metric feature for Internet Protocol >> routes >> http://support.microsoft.com/Default.aspx?id=299540 >> >> If automatic metrics don't do what you want, you can assign them >> manually. To assign a metric to a network connection: >> >> 1. Open the Network Connections folder. >> 2. Right click the desired connection. >> 3. Click Properties | Internet Protocol (TCP/IP). >> 4. Click Properties | Advanced. >> 5. Un-check "Automatic metric". >> 6. Enter a number between 1 and 9999 for the "Interface metric". > >Thank you Steve, > >Lets say I set a lower metric on one adapter and a higher one on another. >Will then an application try the adapter with the higher metric if it cannot >find a host using the adapter with the lower metric? host, the connection attempt will fail. If you always want to use a specific adapter to contact a specific host, you can specify a persistent route to that host. For example, if the host's address is 192.168.123.100 and the desired adapter is 192.168.123.2: route -p add 192.168.123.100 mask 255.255.255.255 192.168.123.2 >Best Regards, You're welcome, Joachim.>Joachim -- Best Wishes, Steve Winograd, MS-MVP (Windows Networking) Please post any reply as a follow-up message in the news group for everyone to see. I'm sorry, but I don't answer questions addressed directly to me in E-mail or news groups. Microsoft Most Valuable Professional Program http://mvp.support.microsoft.com On the local network the binding-order determines this.
Over longer distances the number of 'hops' (routing cost) for each route may come into play. In article <A9CEF744-7A60-434F-BDFE-37DE99DCD***@microsoft.com>, Ian
<I**@discussions.microsoft.com> wrote: >>What rules are there that decides which network adapter (assuming I have What do you mean by "binding-order", Ian, and how do you configure it?>>several network adapters on my PC) network information uses to send >>information on a Windows XP Pro PC? > >On the local network the binding-order determines this. If you mean the order in which connections appear in the Connections window of Network Connections > Advanced > Advanced Settings > Adapters and Bindings, then I disagree. If you mean something else, please describe it. For the TCP/IP protocol, Windows XP looks at the route table to determine which connection(s) can reach a destination IP address. When more than one connection is possible, XP looks at the metrics for the connections and uses the one with the lower metric. Even if the metrics are equal, the binding order has no effect on LAN use in my tests, both for pings and for accessing shared folders. This behavior is the same for all networks. Windows XP doesn't distinguish between LANs, WANs, etc. >Over longer distances the number of 'hops' (routing cost) for each route may I don't know of any way that Windows XP computes or uses the number of>come into play. 'hops' to a destination. If you do, please describe it. Routing choices are based on metrics. XP computes metrics based on connection speeds. -- Best Wishes, Steve Winograd, MS-MVP (Windows Networking) Please post any reply as a follow-up message in the news group for everyone to see. I'm sorry, but I don't answer questions addressed directly to me in E-mail or news groups. Microsoft Most Valuable Professional Program http://mvp.support.microsoft.com
Firewire Network
home network;laptop shows up but not desktop, why? icf (internet connection firewall) 1st pc can access 2nd pc shared folder, but 2nd pc can't. File and print sharing how to set password on network share Route addition in vista isp cache Need a quick temp network connect. mounting a mountable network drive |
|||||||||||||||||||||||