When a WinXP computer has both a wireless connection (54 Mbps) and an ethernet connection (100 Mbps), how does Windows choose which connection to actually use?
Does it pick the fastest? The first to boot up? Does it use both?
There aren't any duplicated routes with the same metric here, but rather, you have two almost identical routing options for any particular destination, one with a metric of 20 and the other with a metric of 25.
The only routes that aren't exactly duplicated are the 192.168.1.101 and
192.168.1.102 routes which are routed as loopback addresses.
Since 20 wins over 25, 192.168.1.101 will be the default interface.
The only entries that are particularly relevant are the top four.
The top two determine which interfaces are used for traffic sent to your router, the next two are for local traffic to PCs on your local network. In both cases interface 192.168.1.101 is being used since the metric is 20 which is better than 25.
Just ignore the rest, it is only there to confuse you:)
The ipconfig command doesn't tell you that. It tells you the IP address assigned to each network interface, their respective subnet masks, gateways, and DNS servers.
What you found is that one of your network interfaces is assigned the IP address 192.168.1.101 and the other network interface is assigned the IP address 192.168.1.102.
LAN = local area network, the network on your side of the router. WAN = wide area network, everything on the other side of the router.
The command is simply "route print", not "route /print", but you got it right since you saw the metrics.
LAN and WAN are again misused here, but you're correct that one interface (with the lower metric) is given priority over the other interface (with the higher metric).
The actual metric values are unimportant. The important thing is their values relative to each other.
I'd rewrite that to say, "The network interface with the lowest metric is the one being used by default." Other network interface(s) would be used if specific route statements apply to them.
Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.