ifmetric.8 1.1 KB

12345678910111213141516171819202122
  1. .TH ifmetric 8 User Manuals
  2. .SH NAME
  3. ifmetric \- An IPv4 route metrics manipulation tool
  4. .SH SYNOPSIS
  5. \fBifmetric \fIINTERFACE\fB [\fIMETRIC\fB]
  6. \f1
  7. .SH DESCRIPTION
  8. ifmetric is a Linux tool for setting the metrics of all IPv4 routes attached to a given network interface at once. This may be used to change the priority of routing IPv4 traffic over the interface. Lower metrics correlate with higher priorities.
  9. ifmetric uses the Linux NETLINK interface to manipulate the routes. Because of that it is compatible with routes created with the new iproute2 utility.
  10. .SH OPTIONS
  11. You should specify the interface name as first parameter. The second parameter should be the new metric. If ommited the metric 0 (highest) is used.
  12. .SH RETURN VALUES
  13. \fI0\f1 Success
  14. \fI1\f1 Failure
  15. .SH AUTHOR
  16. ifmetric was written by Lennart Poettering <mzvszrgevp (at) 0pointer (dot) de>. ifmetric is available at \fBhttp://0pointer.de/lennart/projects/ifmetric/\f1
  17. .SH SEE ALSO
  18. \fBroute(8)\f1, \fBip(8)\f1 (iproute2)
  19. .SH COMMENTS
  20. This man page was written using \fBxml2man(1)\f1 by Oliver Kurth.