Configuring IPv6 (static) causes the IPv4 (static) default route to not exist in the netplan config after install on 22.10.1

Bug #1993792 reported by Lewis L. Foster
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
subiquity
Confirmed
Undecided
Unassigned
subiquity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When configuring the network on Ubuntu Server 22.04 with subiquity 22.10.1, configuring IPv6 (manual) causes the IPv4 (manual) default gateway to be lost and only the static IPv6 default gateway persists in the generated netplan configuration after install. This also affects the installer's network connectivity too and is noticeable when trying to import SSH keys from GitHub (what still is IPv4 only it appears, wow). Entering a shell and running `ip route` and `ip -6 route` shows the default IPv6 route but no default v4 route, this persists between the installer and the install after booting into it.

his was tested on a Proxmox VE (7.2-11) virtual machine with a virtio network adapter, not yet tested with other configs/hardware but I'll do more testing when I get home.

Revision history for this message
Lewis L. Foster (sniff122) wrote :

Forgot to remove SLAAC from the title, getting an IPv6 address via DHCPv6 or SLAAC does not overwrite the IPv4 manually assigned gateway, only if both IPv4 and IPv6 is manually assigned

summary: - Configuring IPv6 (SLAAC or static) causes the IPv4 default route to not
+ Configuring IPv6 (static) causes the IPv4 (static) default route to not
exist in the netplan config after install on 22.10.1
Revision history for this message
Joakim Silverdrake (taurus42) wrote :

Having the same issue. Tested on a virtual machine in Hyper-V.
Also:
Entering DNS server for both IPv4 and IPv6 makes the IPv4 one disapear.
Entering the same search domain in both IPv4 and IPv6 makes it appear twice in the netplan config. (And editing search domain in either IPv4 or IPv6 makes them duplicate even further)

Revision history for this message
XSpielinbox (xspielinbox) wrote :

I can reproduce this issue with the Ubuntu Server 22.04.1 Installer, updated to Subiquity 22.10.1 as well as the Ubuntu Server 22.10 Installer.

The issue that the search domain gets duplicated seems like a separate issue to me as it does not seem to break connectivity for me and the issue with the missing default also seems to appear when not configuring any search domain. I have therefore opened a separate Bug: #1998920

Changed in subiquity (Ubuntu):
status: New → Confirmed
Changed in subiquity:
status: New → Confirmed
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.