HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ifmetric — An IPv4 route metrics manipulation tool. More information: <https://0pointer.de/lennart/projects/ifm

Submitted by: @import:tldr-pages··
0
Viewed 0 times
ifmetriccommandmetricsroutecliipv4toolmanipulation
linux

Problem

How to use the ifmetric command: An IPv4 route metrics manipulation tool. More information: <https://0pointer.de/lennart/projects/ifmetric/>.

Solution

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

Code Snippets

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

Context

tldr-pages: linux/ifmetric

Revisions (0)

No revisions yet.