+++ 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 ipv4.route-metric 1 ~~~ and then re-activate the connection: ~~~console $ nmcli connection up ~~~ You can find the value for in the output of nmcli connection.