local ipv6 addresses do not appear in routing table

Michiel Boland michiel at boland.org
Mon Dec 29 12:27:22 UTC 2008


Michiel Boland wrote:
> Li, Qing wrote:
>> Hi Michiel,
>>
>> Please apply the patch http://people.freebsd.org/~qingli/in6.c.diff
>> and let me know how it works out for you.
> 
> Appears to work, thanks.

It appears I was cheering too soon. I have another setup that has the 
2a01:3a8:130::1 address on gif0, rather than lo0, as in

  ifconfig gif0 inet6 2a01:3a8:130::1/64

but here the route to 2a01:3a8:130::1/128 via lo0 does not appear. If I create a 
default route that points to the gif0 interface, pings to 2a01:3a8:130::1 work, 
but they are passed through the tunnel.

I also tried things like

  ifconfig gif0 inet6 2a01:3a8:130::1/128 2a01:3a8:130::2

with the same results.

Cheers
Michiel


More information about the freebsd-current mailing list