IPv6 static routes without gateway fail to be set

Bug #1313004 reported by Robin Battey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

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.

Tags: ipv6 route vpn
Revision history for this message
Robin Battey (zanfur) wrote :

This is fixed in wily.

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.