Netplan should support "type" for routes

Bug #1892272 reported by Richard Laager
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fix Released

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:

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: fr-1078 sts
tags: added: sts
Lukas Märdian (slyon)
tags: added: fr-1078
Richard Laager (rlaager)
Changed in netplan:
status: New → Confirmed
Revision history for this message
Lukas Märdian (slyon) wrote :

I started drafting a fix here:

Changed in netplan:
status: Confirmed → In Progress
Revision history for this message
Lukas Märdian (slyon) wrote :

Released in 0.104

Changed in netplan:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers