mirror of
https://github.com/jsimonetti/rtnetlink.git
synced 2026-03-28 23:41:57 +01:00
This allows to set route priority/metric for prefix routes created automatically when an address is assigned. E.g. `10.0.0.0/8` with metric `32` would generate a route: ``` 10.0.0.0/8 via <if> metric 32 ``` The default metric is zero. A custom metric allows to prefer one interface over another when the prefixes overlap. See https://github.com/siderolabs/talos/issues/10696 Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>