On 2017/06/22 14:13, Marc Peters wrote:
> Hi,
> 
> i have a server at the german hosting provider Hetzner. They provide
> IPv6. You get a /64 assigned for your host. The problem is, that IPv6
> doesn't work right after a reboot, but you have to ping the gateway
> first and after that, everything works as expected. For that i have a
> line in roots crontab:
> 
> @reboot sleep 10 && ping6 -c 10 fe80::1\%em0 > /dev/null

How are your PF rules? Do they allow NDP packets to pass? If you're
unsure, I would try "pass log inet6 proto icmp6" or similar.

(this might be a bit of a surprise if used to IPv4 where address
resolution is done by a separate protocol that PF doesn't block).

> mpi@ suggested to stop working around this and fixing it. He asked for
> the output of the routing table before pinging the gateway without IPv6
> access and after pinging the gateway with working IPv6.

This is the main difference between them:

-fe80::1%em0                        link#1                         UHLch    1   
     2     -     3 em0
+fe80::1%em0                        cc:e1:7f:07:e0:88              UHLch    1   
     9     -     3 em0

Reply via email to