Activity log for bug #1789862

Date Who What changed Old value New value Message
2018-08-30 09:04:57 Fabian bug added bug
2018-08-30 13:43:45 Daniel Axtens netplan: status New Confirmed
2018-08-30 14:56:02 Fabian description I want to add a link local route to an interface. Config looks like this: network: ethernets: ens192: addresses: - 172.16.4.131/24 # gateway4: 172.16.4.1 nameservers: addresses: [] search: [] optional: true routing-policy: - from: 172.16.4.0/24 table: 200 routes: - to: 0.0.0.0/0 via: 172.16.4.1 table: 200 metric: 1 ens224: addresses: - 10.0.0.31/24 gateway4: 10.0.0.1 nameservers: addresses: - 10.3.6.11 - 10.3.6.12 search: - feusi-root.ch optional: true version: 2 Unfortunately this means I cannot reach 172.16.4.0/24 I now add this route to ens192: - to: 172.16.4.0/24 scope: link metric: 1 But netplan apply fails with: "unicast route must include both a 'to' and 'via' IP" How should i give a "via" to a route with the scope link? I want to add a link local route to an interface. Config looks like this: network:     ethernets:         ens192:             addresses:             - 172.16.4.131/24             optional: true             routing-policy:                 - from: 172.16.4.0/24                   table: 200             routes:                 - to: 0.0.0.0/0                   via: 172.16.4.1                   table: 200                   metric: 1         ens224:             addresses:             - 10.0.0.31/24             gateway4: 10.0.0.1             optional: true     version: 2 Unfortunately this means I cannot reach 172.16.4.0/24 I now add this route to ens192:                 - to: 172.16.4.0/24                   scope: link                   metric: 1 But netplan apply fails with: "unicast route must include both a 'to' and 'via' IP" How should i give a "via" to a route with the scope link?
2021-08-19 00:02:30 Nathan Rennie-Waldock bug added subscriber Nathan Rennie-Waldock