Netplan should support "type" for routes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I need the equivalent of this for tproxy with Squid:
ip -f inet6 route add local default dev $IFACE table 99
ip -f inet route add local default dev $IFACE table 100
The first piece is that Netplan does not support "dev" (and requires "via"). This is already covered by:
https:/
The second piece is that I need to set the "type" of the route. From `man ip-route`, TYPE can be: unicast | local | broadcast | multicast | throw | unreachable | prohibit | blackhole | nat. The default is "unicast", which is typically omitted when using `ip route`. Ideally, Netplan should support the full grammar, which is probably no additional work. All I care about personally is "local".
tags: | added: sts |
tags: | added: fr-1078 |
Changed in netplan: | |
status: | New → Confirmed |
I started drafting a fix here: https:/ /github. com/canonical/ netplan/ pull/248