mirror of
https://github.com/siderolabs/talos.git
synced 2025-12-15 14:31:18 +01:00
See https://github.com/jsimonetti/rtnetlink/pull/256 See https://github.com/siderolabs/talos/issues/10696 Support setting address priority, this is important to ensure that the prefix route has appropriate priority. For now, we don't have it exposed in the machine config except for the DHCP4 operator, so now both routes created explicitly by DHCP and routes created implicitly have same metric/priority: ``` 172.20.0.2 network RouteStatus inet4//172.20.0.0/24/1024 1 172.20.0.0/24 enp0s2 1024 172.20.0.2 network RouteStatus inet4/172.20.0.1//1024 1 172.20.0.1 enp0s2 1024 ``` Before this change, the first route would have a metric zero. Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>