Subject: Re: How to use properly ipv6 autoconf over a router interface?
To: None <tech-net@netbsd.org>
From: Rui Paulo <rpaulo@fnop.net>
List: tech-net
Date: 04/30/2006 22:11:13
"Konstantin KABASSANOV" <Konstantin.Kabassanov@lip6.fr> writes:

>> -----Message d'origine-----
>> De : tech-net-owner@NetBSD.org [mailto:tech-net-owner@NetBSD.org] De la
>> part de Rui Paulo
>> Envoyé : dimanche 30 avril 2006 22:55
>> À : tech-net@NetBSD.org
>> Objet : Re: How to use properly ipv6 autoconf over a router interface?
>> 
>> That may be because forwarding=1 is set when doing a rtsol.
>> 
>> So, can you try this ?
>>     * remove ip6mode=router from rc.conf
>>     * make ifconfig.ath1 look like:
>>       !sysctl -w net.inet6.ip6.forwarding=0
>>       !sysctl -w net.inet6.ip6.accept_rtadv=1
>>       !rtsol $int
>>       !sleep 2
>>       !sysctl -w net.inet6.ip6.accept_rtadv=0
>>       !sysctl -w net.inet6.ip6.forwarding=1
>> 
>> If this doesn't work, I'm out of ideas..
>
> This is, more or less, the equivalent of ip6mode=autohost in rc.conf with
> sysctl -w net.inet6.ip6.forwarding=1 in rc.local and sysctl -w
> net.inet6.ip6.accept_rtadv=0 ? Am I wrong? What is the meaning of the last
> sysctl (concerning the default route)?

Yes.

> Anyway, thank you for your help.

You may want to run rtsol with -dD.

-- 
  Rui Paulo			<rpaulo@{NetBSD{,-PT}.org,fnop.net}>