Cannot add scope: link route to interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I want to add a link local route to an interface.
Config looks like this:
network:
ethernets:
ens192:
- 172.16.4.131/24
- from: 172.16.4.0/24
routes:
- to: 0.0.0.0/0
ens224:
- 10.0.0.31/24
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
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?
Also when using scope: link the "table" option is ignored.