Proper way to setup IPv6 gateway on running node without reboot?

J. Hellenthal jhell at DataIX.net
Tue Apr 19 19:20:24 UTC 2011


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=3<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=1 and bring the interface
down and back up you will end up with a link-local address on the
interface.

-- 

 Regards,
 J. Hellenthal
 WWJD

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 522 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20110419/4f591181/attachment.pgp


More information about the freebsd-net mailing list