From owner-freebsd-net@FreeBSD.ORG Tue Apr 19 19:20:24 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DD10106564A; Tue, 19 Apr 2011 19:20:24 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id C24C78FC19; Tue, 19 Apr 2011 19:20:23 +0000 (UTC) Received: by yxl31 with SMTP id 31so10049yxl.13 for ; Tue, 19 Apr 2011 12:20:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:x-openpgp-key-id:x-openpgp-key-fingerprint :x-openpgp-key-url; bh=TKydZAI4WNIXeD5N+eHngGEmMc3Wdx++5jGB3GCcVqM=; b=ccv8z+hU1YJOIoArs/WwHDYzXDS8gmAjmSp0W/YleNYEOz7890o5LtknogQT+ehYJ/ 1kX2z2mmOBwBRXYNGOBBw+EbriOKitMCztGMzI4chr+jrjUGfm0jtGSPFZiwXrRWO9fV fxZRFlelvYH+V+V6WZedKDwoJ0VGXvolo/y50= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-openpgp-key-id :x-openpgp-key-fingerprint:x-openpgp-key-url; b=x7yIQqTxip0MAwsXAfMtx5VPypRparBZiQI5/2wSaakbvmU4Qmbl8fFRxjmBX6oGJk 4X6qyUaLoHQ8OlXc/nHsIfucK2URcJblAvgC5YElzP48EQWV/7t4uTvCx7dAH4kj9F+T WJGBk9uCuaniIqG0iAO628U7pOrbeKc54SU7s= Received: by 10.150.173.9 with SMTP id v9mr5393423ybe.168.1303240823010; Tue, 19 Apr 2011 12:20:23 -0700 (PDT) Received: from DataIX.net (adsl-99-190-84-116.dsl.klmzmi.sbcglobal.net [99.190.84.116]) by mx.google.com with ESMTPS id f5sm1373480ybh.13.2011.04.19.12.20.20 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2011 12:20:21 -0700 (PDT) Sender: "J. Hellenthal" Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.4/8.14.4) with ESMTP id p3JJKHtu056837 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Apr 2011 15:20:18 -0400 (EDT) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.4/8.14.4/Submit) id p3JJKHZJ056836; Tue, 19 Apr 2011 15:20:17 -0400 (EDT) (envelope-from jhell@DataIX.net) Date: Tue, 19 Apr 2011 15:20:16 -0400 From: "J. Hellenthal" To: Doug Barton Message-ID: <20110419192016.GB2483@DataIX.net> References: <884389059.20110419211805@serebryakov.spb.ru> <4DADCDF0.7000607@FreeBSD.org> <888636747.20110419223938@serebryakov.spb.ru> <4DADD907.2010004@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lMM8JwqTlfDpEaS6" Content-Disposition: inline In-Reply-To: <4DADD907.2010004@FreeBSD.org> X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E X-OpenPGP-Key-URL: http://bit.ly/0x89D8547E Cc: freebsd-net@freebsd.org, lev@freebsd.org Subject: Re: Proper way to setup IPv6 gateway on running node without reboot? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2011 19:20:24 -0000 --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 > >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--