Forum Discussion
Ethernet metric
I have my ethernet ports set to the following metric
WWAN 10 WiFi 20 Ethernet 30
with no cable in the RJ45 port WWAN (SIM in laptop) works fine and I can accxess the internet
When I plug in an Ethernet cable windows overrides my metrics and tries to connect that port to the internet and I lose connection to the internet
Im working on long haul ethernet routers I need the cable port to connect and configure the router but not connect to the internet the WWAN port is there so I can give our tier 3 support remote access top my desktop via team viewer and the team chat
When cconneted to WiFi connecting a cable doesnt effect the connection, only when using WWAN is it effected
I need them in this priority WWAN 1, WiFi 2, RJ45 port 3.
What do I need to set to force Windows 11 ver 26H2 to follow my metric settings and not override them
You want the Ethernet adapter available only for configuring the long-haul router while WWAN remains the Internet path, even when the cable is connected. Two Windows behaviors matter here: route metrics choose between matching routes, while Windows Connection Manager can prefer Ethernet over cellular independently.
First, configure the Ethernet adapter with only the router-subnet IP address and mask; leave its default gateway and DNS fields empty. That prevents DHCP from adding an Ethernet default route. Then disable Automatic metric on both adapters and assign the lower metric to WWAN. Check the result with Get-NetRoute -AddressFamily IPv4 or route print; the only 0.0.0.0/0 route should use WWAN, while the router subnet uses Ethernet.
If WWAN disconnects merely when Ethernet appears, check the “Minimize the number of simultaneous connections” Windows Connection Manager policy and set it to allow simultaneous connections. On a managed device, your administrator must change that policy.
2 Replies
- Nick_PriceCopper Contributor
setting windows Connection Manager policy to allow simultaneous connections.
worked thanks
You want the Ethernet adapter available only for configuring the long-haul router while WWAN remains the Internet path, even when the cable is connected. Two Windows behaviors matter here: route metrics choose between matching routes, while Windows Connection Manager can prefer Ethernet over cellular independently.
First, configure the Ethernet adapter with only the router-subnet IP address and mask; leave its default gateway and DNS fields empty. That prevents DHCP from adding an Ethernet default route. Then disable Automatic metric on both adapters and assign the lower metric to WWAN. Check the result with Get-NetRoute -AddressFamily IPv4 or route print; the only 0.0.0.0/0 route should use WWAN, while the router subnet uses Ethernet.
If WWAN disconnects merely when Ethernet appears, check the “Minimize the number of simultaneous connections” Windows Connection Manager policy and set it to allow simultaneous connections. On a managed device, your administrator must change that policy.