ifmetric is a Linux tool for setting the metrics of all IPv4 routes attached to a given network interface at once.