'gateway4' is cumbersome
Bug #1756590 reported by
Mark Shuttleworth
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre |
Bug Description
Most of us still live in an IPv4 world, and being explicit about that seems cumbersome. Could the syntax for netplan accommodate these:
gateway: v4-addr
gateway: v6-addr
gateway: [ v4-addr, v6-addr ]
In other words, either give the one, or the other, or a list of both?
Changed in netplan: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Mathieu Trudel-Lapierre (cyphermox) |
To post a comment you must log in.
The list looks to me like a support case waiting to happen. It might have people think they can add more ipv4 addresses as "gateway", and then they might not get the behavior they expect (should it be multiple gateways at the same metric? only the last applies? etc.)
I wonder if it would work well to deprecate that syntax and instead push for people to write routes: ; provided we make it easier and clearer to write a default route.