Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2011 15:20:16 -0400
From:      "J. Hellenthal" <jhell@DataIX.net>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-net@freebsd.org, lev@freebsd.org
Subject:   Re: Proper way to setup IPv6 gateway on running node without reboot?
Message-ID:  <20110419192016.GB2483@DataIX.net>
In-Reply-To: <4DADD907.2010004@FreeBSD.org>
References:  <884389059.20110419211805@serebryakov.spb.ru> <4DADCDF0.7000607@FreeBSD.org> <888636747.20110419223938@serebryakov.spb.ru> <4DADD907.2010004@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--lMM8JwqTlfDpEaS6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 19, 2011 at 11:48:39AM -0700, Doug Barton wrote:
>On 4/19/2011 11:39 AM, Lev Serebryakov wrote:
>>Hello, Doug.
>>You wrote 19 ???????????? 2011 ??., 22:01:20:
>>
>>>>    I'm looking for way to setup IPv6 router config on IPv4-configured
>>>>node without reboot.
>>>Your best bet is actually to reboot. There are a lot of moving parts,
>>>and it's difficult to catch them all, especially with a gateway setup.
>
>>   Does it mean, that, someone'll need to reboot for
>>renumbering or adding new net segment (for example, I want to add
>>one more WiFi SSID on this router in future, for public access)? I
>>don't like this idea.
>
>Neither do I. :)  I tried to improve it, but my changes were rejected.
>Ping hrs@ if you want to talk about your concerns, he's in charge of
>this stuff now.
>
>>>Meanwhile, you need to tell us what version of FreeBSD you're using, as
>>>IPv6 configuration is different in all 3 supported branches atm.
>
>>   8.2-STABLE
>
>Ok.
>
>>>Check the ifconfig output. You're looking for the auto link-local and
>>>ifdisabled options. Check the ifconfig man page for what you need to
>>>twiddle.
>
>>   ifconfig shows only one "inet6" address for each (manually
>>configured), and these nd6 flags:
>>
>>   nd6 options=3D3<PERFORMNUD,ACCEPT_RTADV>
>
>Re-read what I wrote above. You've got to enable the link-local
>addresses for each interface.
>
>If that doesn't work, please paste full 'ifconfig' output into your
>next message.
>
>

PS: If you sysctl net.inet6.ip6.auto_linklocal=3D1 and bring the interface
down and back up you will end up with a link-local address on the
interface.

--=20

 Regards,
 J. Hellenthal
 WWJD


--lMM8JwqTlfDpEaS6
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)
Comment: http://bit.ly/0x89D8547E

iQEcBAEBAgAGBQJNreBwAAoJEJBXh4mJ2FR+2eEH/ia4zEndYiilc2I3dXoQBUL9
CNVMTKExTTuSTmNa/TE3BfmxKBBN3IpHw0CgVHCwYzdPxXZDef2/byGJT8+30b4B
oOsU+4wnNcfH98Sl85YLRDi7ZxbC/XF4aoCUUatPFJgPWh2KGUyU+/s5aDV4LZzV
am2ll+65sk82dBYOLC4m2mAS+td1yTrpYkwgWKYO7t2FDmbYHWJBbgsyINPmW/f3
wwYRKsDXWvFs059KI47B7bBiLpMlKaq/Y9gwwZOZrTNphERtqD8camDcgklwkJLJ
4smmtQ3QK1T1SByOPbOOihDiixDwfLX31zX0qHeFfNBSxBC7875sI5LzEJs3YlQ=
=Vz3y
-----END PGP SIGNATURE-----

--lMM8JwqTlfDpEaS6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110419192016.GB2483>