Gnome Network Manager GUI does not save routes

Bug #2016066 reported by Bartosz Woronicz
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

As in the title. I enclosed the recording adding the route to the connection via GUI. Does not matter whether that is Ethernet, VPN. Fails everytime.

On the other hand adding via CLI works perfectly

mastier@drakkar:/etc/NetworkManager$ nmcli connection modify netplan-eno1 +ipv4.routes 123.123.123.123/32
mastier@drakkar:/etc/NetworkManager$ echo $?
0
mastier@drakkar:/etc/NetworkManager$ nmcli con show netplan-eno1|grep ipv4.routes
ipv4.routes: { ip = 123.123.123.123/32 }

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: network-manager-gnome 1.24.0-1ubuntu3
ProcVersionSignature: Ubuntu 5.19.0-38.39~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-38-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu Apr 13 10:12:00 2023
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: network-manager-applet
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-nm:
 RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN
 running 1.36.6 connected started full enabled enabled disabled enabled enabled

Revision history for this message
Bartosz Woronicz (mastier1) wrote :
Revision history for this message
Bartosz Woronicz (mastier1) wrote :

Here's the screenshot after adding it via CLI

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager-applet (Ubuntu):
status: New → Confirmed
Revision history for this message
Jeff Lambert (jflambert) wrote (last edit ):

I'm affected as well, Ubuntu 22.04.2 and network-manager-gnome (1.24.0-1ubuntu3)

I also happen to use network-manager-openconnect-gnome (1.2.6-4) but I don't think it's relevant.

Thank you for providing the nmcli alternative (glad it accepts CIDR input compared to gnome-client)

Worth noting that it's not just adding routes that fails with the client. It actually erases all the routes if you make any other modifications and click Apply.

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.