Public bug reported:

When using network-manager, and specifying the IPv6 routes, I am able to
enter and save IPv6 Settings static routes with no gateway or metric.
Upon hitting "save", the dialog closes apparently successfully but this
entry appears in the syslog (actual address defaced):

Apr 25 19:28:26 zanfur-fb NetworkManager[7181]: keyfile: ipv6.route2: route 
defa:cede:face:defa::/64 gateway 0 metric 0
Apr 25 19:28:26 zanfur-fb NetworkManager[7181]: build_ip6_address_or_route: 
ignoring invalid IPv6 gateway '0'

Additionally, upon opening the connection again through the same dialog,
the routes are empty.  Checking the connection file in
/etc/NetworkManager/system-connections, the routes are unlisted.  When
editing the connection file directly, upon saving I see a similar syslog
entry, even when I put '::' in for the gateway.  When I leave it as a
zero-width string, the message says '' instead of '0' but is otherwise
the same.

When attempting to connect, the connection completes just fine but the
route is of course ignored.

EXPECTED BEHAVIOR:

Able to save ipv6 routes with no gateway, and have them established upon
connection (e.g. for VPN connections, where there is typically no
gateway other than the VPN endpont itself).

ACTUAL BEHAVIOR:

IPv6 routes without a gateway are silently dropped from the config.

SYSTEM:

Ubuntu trusty tahr 14.04, network-manager 0.9.8.8-0ubuntu7, network-
manager-openconnect-gnome 0.9.8.0-1ubuntu2, kernel "3.13.0-24-generic
#46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64
GNU/Linux".  Running on a Lenovo T440s, though that doesn't much matter
here.

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ipv6 route vpn

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1313004

Title:
  IPv6 static routes without gateway fail to be set

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1313004/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to