You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
621 B
24 lines
621 B
+++
|
|
title = "Network-metrics on Fedora 36"
|
|
summary = """quick n dirty..."""
|
|
date = "2022-10-23T20:15:44+02:00"
|
|
#lastmod = ""
|
|
categories = ["computerstuff"]
|
|
tags = ["fedora","linux","networking"]
|
|
|
|
+++
|
|
|
|
If you are using NetworkManager, the proper way to change the metric for the default route is to modify the connection associated with interface enp0s3 in this way:
|
|
|
|
~~~console
|
|
$ nmcli connection modify <connection-name> ipv4.route-metric 1
|
|
~~~
|
|
|
|
and then re-activate the connection:
|
|
|
|
~~~console
|
|
$ nmcli connection up <connection-name>
|
|
~~~
|
|
|
|
You can find the value for <connection-name> in the output of nmcli connection.
|