What Is Metric in Route Linux?
Contents the Metric Field Indicates the Cost of a Route. If Multiple Routes Exist to a Given Destination Network Id, the Metric Is Used to Decide Which Route...
The Metric field indicates the cost of a route. If multiple routes exist to a given destination network ID, the metric is used to decide which route is to be taken. The route with the lowest metric is the preferred route.
What is the metric in a route?
A metric is a value that’s assigned to an IP route for a particular network interface. It identifies the cost that’s associated with using that route. For example, the metric can be valued in terms of link speed, hop count, or time delay.
How do I change the metric route in Linux?
The only way is to delete the route and add a new one. Currently, it is not possible to modify a route’s metric.