[Bug 221445] The absence of the accept_rtadv option causes an error "ping6: sendmsg: No buffer space available"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 12 19:48:59 UTC 2017


--- Comment #3 from Andrey V. Elsukov <ae at FreeBSD.org> ---
(In reply to Vladislav V. Prodan from comment #2)
> Read the description of the bug again.
> I described how I managed to get the ipv6 to work.

It is wrong, and this is why it doesn't work.

> ifconfig_em0_ipv6="inet6 2001:41d0:e:XXX::1/128"

What is the reason of /128 prefix length?

> ipv6_static_routes="ipv6gw"
> ipv6_route_ipv6gw="-host 2001:41d0:000e:03ff:ff:ff:ff:ff -iface em0"

This will not work on FreeBSD due to implementation specificity. 

> ipv6_defaultrouter="2001:41d0:000e:03ff:ff:ff:ff:ff"

When the kernel is going to send IPv6 packet, it does L2 lookup to determine L2
address. ND6 code does lookup for destination address only when an address is
considered as neighbor. When you have not configured the correct prefix, the
ND6 has not any interfaces where the destination address can be considered as
neighbor. In your case even the L2 address of default router can not be found.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list