netplan should warn/fail if multiple default gateways are defined

Bug #1901836 reported by Lukas Märdian
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Netplan
Fix Released
Undecided
Unassigned

Bug Description

If gateway4/gateway6 is defined on multiple interfaces, the routing is ambiguous. Netplan should not allow such configurations and refer people to routing policies instead.

https://askubuntu.com/questions/1287501/ubuntu-19-10-network-problem-with-public-ip-connects-but-cannot-send-anything/1287503#1287503

Tags: fr-863
Lukas Märdian (slyon)
tags: added: fr-863
Revision history for this message
Lukas Märdian (slyon) wrote :

Similar issue can happen if two default routes are provided via DHCP: https://askubuntu.com/questions/1307816/ubuntu-focal-2-networks-two-default-gateways-no-connectivity

Lukas Märdian (slyon)
description: updated
Revision history for this message
Lukas Märdian (slyon) wrote :
Changed in netplan:
status: New → Fix Committed
Lukas Märdian (slyon)
Changed in netplan:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.