Bug 153200 - post-boot /etc/rc.d/network_ipv6 start can miss neighbour discovery bootstrap
Summary: post-boot /etc/rc.d/network_ipv6 start can miss neighbour discovery bootstrap
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 8.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-16 04:50 UTC by ggm
Modified: 2017-12-31 22:34 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ggm 2010-12-16 04:50:09 UTC
We enabled IPv6 in rc.conf and ran /etc/rc.d/network_ipv6 start.

ifconfig bce0 showed nd6 in an indeterminate state.

Thereafter, while hosts on the local network segment could successfully ping6 the public IPv6, including the edge Cisco router, the cisco lost sight of the host if the packets were NOT emitted from its own binding to the local network segment.

If we pinged the router, it came back, but 20-30sec after we stopped outbound IPv6, inbound routes dropped. on the Cisco:

gw1#sh ipv6 neighbors | inc 6660
2401:2000:6660::102                         0 -               INCMP Gi0/2.113

We rebooted. the system is now showing valid V6 routing all the time, even when the ipv6 neighbors list shows cache ageing.

Fix: 

add a dependency into network_ipv6 which forces the right kernel sysctl and/or other runtime to enable all link-local, multicast bindings, and to set the interface nd6 state correctly. This might be as simple as a pre-dependency in the startup script.
How-To-Repeat: bootstrap IPv6 after boot time via /etc/rc.d/network_ipv6 start.

route inbound ping6 not on link-local, with passive interface. you should be able to demonstrate this, if your ifconfig shows nd6 has not completed.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-12-16 05:03:45 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-rc

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:32 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped