Manually Managing Metric for IPv4 routes

Maple

A Metric

A metric is a value that’s assigned to an IP route for a particular network interface. It identifies the cost that’s associated with using that route. For example, the metric can be valued in terms of link speed, hop count, or time delay. Automatic Metric is a new feature in Windows that automatically configures the metric for the local routes that are based on link speed. The Automatic Metric feature is enabled by default, and it can also be manually configured to assign a specific metric.

Application

If you have multiple network cards, set them to the same metric value, and then network traffic will be sent from them at the same time.
For example,

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
PS C:\Users\these> route print
===========================================================================
接口列表
5...f8 89 3c 26 e1 cb ......Realtek Gaming 2.5GbE Family Controller #2
18...4c d5 77 09 39 75 ......RZ608 Wi-Fi 6E 80MHz
16...00 ff 8e 69 b0 2f ......Hillstone Virtual Network Adapter
7...00 e0 4c 68 01 34 ......Realtek USB GbE Family Controller
83...4a 8c 13 5c ad 22 ......Remote NDIS Compatible Device
28...00 ff f6 94 d1 07 ......TAP-Windows Adapter V9
13...00 ff 68 25 80 01 ......TAP-Windows Adapter V9 #2
27...00 ff e1 9f 7e e9 ......TAP-Windows Adapter V9 #3
11...4e d5 77 09 19 55 ......Microsoft Wi-Fi Direct Virtual Adapter
8...4e d5 77 09 09 45 ......Microsoft Wi-Fi Direct Virtual Adapter #2
12...00 ff 65 6e 6b 7b ......Sangfor SSL VPN CS Support System VNIC
21...4c d5 77 09 39 76 ......Bluetooth Device (Personal Area Network)
1...........................Software Loopback Interface 1
===========================================================================

IPv4 路由表
===========================================================================
活动路由:
网络目标 网络掩码 网关 接口 跃点数
0.0.0.0 0.0.0.0 10.21.57.254 10.21.57.12 27
0.0.0.0 0.0.0.0 10.31.7.254 10.31.4.201 27
0.0.0.0 0.0.0.0 192.168.112.113 192.168.112.20 27

Then, you can get faster internet speed in special situations.

  • Title: Manually Managing Metric for IPv4 routes
  • Author: Maple
  • Created at : 2023-06-21 21:06:47
  • Updated at : 2023-10-27 11:27:31
  • Link: https://www.maple367.eu.org/Tools/manually-managing-metric-for-ipv4-routes/
  • License: This work is licensed under CC BY-NC-SA 4.0.
Comments
On this page
Manually Managing Metric for IPv4 routes