Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 374 Bytes

Change network interface metric.md

File metadata and controls

18 lines (12 loc) · 374 Bytes
created modified
2024-10-12 17:58:23 +0800
2024-10-12 18:06:14 +0800

Change network interface metric

Metric represents connection cost. Higher metric value means less preferred.

To change metric you can use nmcli or ifmetric.

ifmetric <if_name> <metric>

nmcli con mod <conn_name> ipv4.route-metric <metric>

systemctl restart NetworkManager