← Back to team overview

desktop-packages team mailing list archive

[Bug 832045] Re: NM fails to add IPv6 routes with netlink errors

 

I also see this. My symptom is an IPv6 failure caused by a missing
default route. In /var/log/syslog I see:

Sep 19 09:24:30 mal NetworkManager[1565]: <warn> Failed to add route Missing attribute
Sep 19 09:24:30 mal NetworkManager[1565]: <error> [1316420670.859276] [nm-system.c:1036] nm_system_replace_default_ip6_route(): (wlan0): failed to set IPv6 default route: -1
Sep 19 09:24:30 mal NetworkManager[1565]: <info> Policy set 'XXXXXXX' (wlan0) as default for IPv6 routing and DNS.
Sep 19 09:24:30 mal NetworkManager[1565]: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) complete.
Sep 19 09:24:30 mal NetworkManager[1565]: <info> Activation (wlan0) Stage 4 of 5 (IP6 Configure Get) complete.

If I add an IPv6 default route manually using this, then it works:
    sudo ip -6 route add ::/0 via XXX metric 0

IPv4 works fine.

My configuration: I have static addresses against this wireless network
for both IPv4 and IPv6. I'm using network-manager       0.9.0-0ubuntu3.

This worked fine for me in Maverick. I haven't tested Natty.

Unless IPv6 works for someone else in a more automatic mode, it seems to
me that this is a regression making IPv6 unusable.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/832045

Title:
  NM fails to add IPv6 routes with netlink errors

Status in “network-manager” package in Ubuntu:
  Confirmed

Bug description:
  NM appears to work properly and does give me an IP address, but there
  are error messages indicative of something wrong in adding routes:

  Aug 23 09:08:11 artemis NetworkManager[1050]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) starting DHCPv6 as requested by IPv6 router...
  Aug 23 09:08:11 artemis NetworkManager[1050]: <warn> Failed to add route Object not found
  Aug 23 09:08:11 artemis NetworkManager[1050]: <error> [1314104891.882457] [nm-device.c:1782] dhcp6_start(): (wlan0): failed to add IPv6 multicast route: Object not found
  Aug 23 09:08:15 artemis NetworkManager[1050]: nm_ip6_config_add_nameserver: assertion `IN6_ARE_ADDR_EQUAL (nameserver, &nameservers[i]) == FALSE' failed
  Aug 23 09:08:16 artemis NetworkManager[1050]: <warn> Failed to add route Missing attribute
  Aug 23 09:08:16 artemis NetworkManager[1050]: <error> [1314104896.421195] [nm-system.c:1036] nm_system_replace_default_ip6_route(): (wlan0): failed to set IPv6 default route: -1
  Aug 23 09:08:16 artemis NetworkManager[1050]: <info> Policy set 'cyphermox.net' (wlan0) as default for IPv6 routing and DNS.
  Aug 23 09:08:16 artemis NetworkManager[1050]: <info>   nameserver 'xxxxxxxxx'
  Aug 23 09:08:16 artemis NetworkManager[1050]: nm_ip6_config_add_nameserver: assertion `IN6_ARE_ADDR_EQUAL (nameserver, &nameservers[i]) == FALSE' failed
  Aug 23 09:08:17 artemis NetworkManager[1050]: <warn> Failed to add route Missing attribute
  Aug 23 09:08:17 artemis NetworkManager[1050]: <error> [1314104897.429011] [nm-system.c:1036] nm_system_replace_default_ip6_route(): (wlan0): failed to set IPv6 default route: -1

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


References