1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-24 01:22:10 +02:00
tldr/pages/linux/ifmetric.md
Seth Falco 9e98a0b95b
ifmetric: add page (#10012)
* ifmetric: add page

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-04-07 09:38:12 +01:00

360 B

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}}