Public bug reported: I have a system connection like this:
---------- /etc/NetworkManager/system-connections/eth2 ----------- [connection] id=eth2 uuid=c73fb4d2-8383-4d03-a87c-04c8251961bd type=ethernet gateway-ping-timeout=12 interface-name=eth2 permissions= timestamp=1563551266 [ethernet] mac-address-blacklist= [ipv4] dns-search= method=shared [ipv6] addr-gen-mode=stable-privacy dns-search= ignore-auto-routes=true method=auto route1=1:2::/60,1:2::3,42 ------------------ 8< --------------------- In particular, the last line (route1=) which sets a manual IPv6 route. Of course this is rather bogus, I'm just using this to test cockpit's web UI. On Ubuntu 19.04, Debian 10, and Debian testing this works just fine: # nmcli c show eth2 ipv6.routes: { ip = 1:2::/60, nh = 1:2::3, mt = 42 } IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 101 IP6.ROUTE[2]: dst = ff00::/8, nh = ::, mt = 256, table=255 IP6.ROUTE[3]: dst = 1:2::3/128, nh = ::, mt = 42 IP6.ROUTE[4]: dst = 1:2::/60, nh = 1:2::3, mt = 42 [...] # ip -6 route show dev eth2 1:2::3 proto static metric 42 pref medium 1:2::/60 via 1:2::3 proto static metric 42 pref medium fe80::/64 proto kernel metric 101 pref medium (There, the file is called eth2.nmconnection, but same difference) On Ubuntu 18.04 however, the route manual is ignored, and only the automatic link-local one exists: # nmcli c show eth2 ipv6.routes: { ip = 1:2::/60, nh = 1:2::3, mt = 42 } IP6.ROUTE[1]: dst = ff00::/8, nh = ::, mt = 256, table=255 IP6.ROUTE[2]: dst = fe80::/64, nh = ::, mt = 256 IP6.ROUTE[3]: dst = fe80::/64, nh = ::, mt = 101 # ip -6 route show dev eth2 fe80::/64 proto kernel metric 101 pref medium fe80::/64 proto kernel metric 256 pref medium Restarting NetworkManager does not help, nor does rebooting. DistroRelease: Ubuntu 18.04 Package: 1.10.6-2ubuntu1.1 Architecture: amd64 ** Affects: network-manager (Ubuntu) Importance: Undecided Status: Fix Released ** Affects: network-manager (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: network-manager (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: network-manager (Ubuntu) Status: New => Fix Released ** Description changed: I have a system connection like this: ---------- /etc/NetworkManager/system-connections/eth2 ----------- [connection] id=eth2 uuid=c73fb4d2-8383-4d03-a87c-04c8251961bd type=ethernet gateway-ping-timeout=12 interface-name=eth2 permissions= timestamp=1563551266 [ethernet] mac-address-blacklist= [ipv4] dns-search= method=shared [ipv6] addr-gen-mode=stable-privacy dns-search= ignore-auto-routes=true method=auto route1=1:2::/60,1:2::3,42 ------------------ 8< --------------------- In particular, the last line (route1=) which sets a manual IPv6 route. Of course this is rather bogus, I'm just using this to test cockpit's web UI. On Ubuntu 19.04, Debian 10, and Debian testing this works just fine: # nmcli c show eth2 ipv6.routes: { ip = 1:2::/60, nh = 1:2::3, mt = 42 } IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 101 IP6.ROUTE[2]: dst = ff00::/8, nh = ::, mt = 256, table=255 IP6.ROUTE[3]: dst = 1:2::3/128, nh = ::, mt = 42 IP6.ROUTE[4]: dst = 1:2::/60, nh = 1:2::3, mt = 42 [...] - ip -6 route show dev eth2 + # ip -6 route show dev eth2 1:2::3 proto static metric 42 pref medium 1:2::/60 via 1:2::3 proto static metric 42 pref medium fe80::/64 proto kernel metric 101 pref medium (There, the file is called eth2.nmconnection, but same difference) On Ubuntu 18.04 however, the route manual is ignored, and only the automatic link-local one exists: # nmcli c show eth2 ipv6.routes: { ip = 1:2::/60, nh = 1:2::3, mt = 42 } IP6.ROUTE[1]: dst = ff00::/8, nh = ::, mt = 256, table=255 IP6.ROUTE[2]: dst = fe80::/64, nh = ::, mt = 256 IP6.ROUTE[3]: dst = fe80::/64, nh = ::, mt = 101 # ip -6 route show dev eth2 fe80::/64 proto kernel metric 101 pref medium fe80::/64 proto kernel metric 256 pref medium Restarting NetworkManager does not help, nor does rebooting. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1837233 Title: [bionic] Manual IPv6 routes are not set To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1837233/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs