View Single Post
  #6   Report Post  
Posted to alt.comp.os.windows-10,alt.internet.wireless,sci.electronics.repair
Andy Burns[_13_] Andy Burns[_13_] is offline
external usenet poster
 
Posts: 7,829
Default Switching between Internet connections WiFi & Ethernet

Char Jackson wrote:

"route print" gets you the interface numbers, as well as the current
metrics.

Plug the interface number into the following command to set the new
metric. (Following command uses 25 as the interface number.)

netsh interface ipv4 set interface 25 metric=2

When you're tired of it, set it back to automatic like this:

netsh interface ipv4 set interface 25 metric=automatic


of if you want to be able to switch seamlessly from wifi to wired
ethernet, create a bridge of the two NICs, and let the IP address get
assigned to the bridge, rather than having IP addresses assigned to each
individual NIC.