routing-policy should not requires from or to
Bug #1774624 reported by
Jean-Daniel Dupas
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Actually, when trying to create a simple routing policy that unconditionality lookup a second routing tables,netplan fails with the error: IP routing policy must include either a 'from' or 'to' IP
This arbitrary limitation is cumbersome as it is perfectly valid to create 'ip rule' without any constraints but only a priority (actually it is even valid to create one without priority)
For instance, "ip rule add table 2 priority 1000" is a perfectly valid routing policy.
Note that this limitation can be workaround by using { from: '0.0.0.0/0' }, which should be the default IMHO.
description: | updated |
Changed in netplan: | |
assignee: | nobody → Daniel Axtens (daxtens) |
Changed in netplan: | |
status: | New → Confirmed |
To post a comment you must log in.
Hi,
I also ran across this and can confirm it.
Regards,
Daniel