眼镜
Microsoft Windows 11 专业
版 10.0.22631 内部版本 22631
问题
两个连接,一台计算机。
最近玩游戏、上网很卡,而且速度很慢。不知何故,Wi-Fi 是主动连接,而不是更可靠的以太网。
问题
Windows 11 上有没有办法指定连接顺序,以便以太网优先?
为了显示连接的接口,我运行了以下 PowerShell 命令:
Get-NetIPInterface | Where-Object { $_.ConnectionState -eq 'Connected' }
输出列出了InterfaceMetric
ifIndex InterfaceAlias AddressFamily NlMtu(Bytes) InterfaceMetric Dhcp ConnectionState PolicyStore
------- -------------- ------------- ------------ --------------- ---- --------------- -----------
6 VMware Network Adapter VMnet8 IPv6 65536 35 Enabled Connected ActiveStore
20 VMware Network Adapter VMnet1 IPv6 1500 35 Enabled Connected ActiveStore
25 Ethernet 2 IPv6 1500 35 Enabled Connected ActiveStore
13 Wi-Fi IPv6 1500 35 Enabled Connected ActiveStore
1 Loopback Pseudo-Interface 1 IPv6 4294967295 75 Disabled Connected ActiveStore
6 VMware Network Adapter VMnet8 IPv4 65536 35 Enabled Connected ActiveStore
20 VMware Network Adapter VMnet1 IPv4 1500 35 Disabled Connected ActiveStore
25 Ethernet 2 IPv4 1500 35 Enabled Connected ActiveStore
13 Wi-Fi IPv4 1500 35 Enabled Connected ActiveStore
1 Loopback Pseudo-Interface 1 IPv4 4294967295 75 Disabled Connected ActiveStore
注意到 Wi-Fi 和以太网都具有相同的度量标准 35 吗?
更新
根据答案,我将以太网的指标更改为 1 ,将 Wi-Fi 的指标更改为 2 ,然后REBOOTED。指标现已更改为 1 和 2。:)
ifIndex InterfaceAlias AddressFamily NlMtu(Bytes) InterfaceMetric Dhcp ConnectionState PolicyStore
------- -------------- ------------- ------------ --------------- ---- --------------- -----------
6 VMware Network Adapter VMnet8 IPv6 65536 35 Enabled Connected ActiveStore
20 VMware Network Adapter VMnet1 IPv6 1500 35 Enabled Connected ActiveStore
25 Ethernet 2 IPv6 1500 35 Enabled Connected ActiveStore
13 Wi-Fi IPv6 1500 45 Enabled Connected ActiveStore
1 Loopback Pseudo-Interface 1 IPv6 4294967295 75 Disabled Connected ActiveStore
6 VMware Network Adapter VMnet8 IPv4 65536 35 Enabled Connected ActiveStore
20 VMware Network Adapter VMnet1 IPv4 1500 35 Disabled Connected ActiveStore
25 Ethernet 2 IPv4 1500 1 Enabled Connected ActiveStore
13 Wi-Fi IPv4 1500 2 Enabled Connected ActiveStore
1 Loopback Pseudo-Interface 1 IPv4 4294967295 75 Disabled Connected ActiveStore