Claudio Jeker wrote:
On Thu, Dec 28, 2006 at 09:20:19AM +0100, Bjvrn Ketelaars wrote:
Marco S Hyman wrote:
up giftunnel 212.182.166.172 64.71.128.81
up inet6 2001:470:1F01:FFFF::1AE1 2001:470:1F01:FFFF::1AE0 prefixlen 128
!route add -inet6 default 2001:470:1F01:FFFF::1AE0
Mine looks like this (and it works just fine)
----- hostname.gif0 -----
tunnel 208.201.244.208 208.201.234.221
inet6 alias 2001:05a8:0:1::0123 128
dest 2001:05a8:0:1::0122
! route add -inet6 default ::1
! route change -inet6 default -ifp gif0
----- hostname.gif0 -----
With this setup route show also has the "route: illegal prefixlen" message.
Ignore it. I don't think it has anything to do with your problem.
// marc
I used your hostname.gif0 as an example which, of course, gave the same
result. This means that I still experience the same problem.
When I try to setup rtadvd the daemon spits out:
rtadvd[2175]: <ra_output> sendmsg on fxp1: No route to host
I have a gut feeling that this message is related to the "route: illegal
prefixlen" message.
I doubt that. The "route: illegal prefixlen" message is a bad type
conversion in route(8) itself and the following diff resolves this issue.
I'm not using IPv6 and so I don't know what your rtadvd issue is.
The diffs resolved the problem of the "route: illegal prefixlen"
message. Thank you!
Thanks to Marc I finally figured it out; it seems that rtadvd 'pings'
from the auto configured link-local address instead of from the inet6
alias. This means that pf should pass icmp6 traffic from the link-local
address to the internal network.
Thanks Marc and Claudio!