Browse Source

ifmetric: add page (#10012)

* ifmetric: add page

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Seth Falco 1 year ago
parent
commit
9e98a0b95b
1 changed files with 12 additions and 0 deletions
  1. 12 0
      pages/linux/ifmetric.md

+ 12 - 0
pages/linux/ifmetric.md

@@ -0,0 +1,12 @@
+# ifmetric
+
+> An IPv4 route metrics manipulation tool.
+> More information: <https://0pointer.de/lennart/projects/ifmetric/>.
+
+- Set the priority of the specified network interface (a higher number indicates lower priority):
+
+`sudo ifmetric {{interface}} {{value}}`
+
+- Reset the priority of the specified network interface:
+
+`sudo ifmetric {{interface}} {{0}}`