From owner-freebsd-net@FreeBSD.ORG Fri Jun 22 23:39:48 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DC1516A400 for ; Fri, 22 Jun 2007 23:39:48 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 799F713C455 for ; Fri, 22 Jun 2007 23:39:48 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id CF62E1C57; Fri, 22 Jun 2007 19:39:47 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 22 Jun 2007 19:39:48 -0400 X-Sasl-enc: sBVRgQvQqVeTDowkljHOSmIY8mVWWeUpM85AdLpfOajr 1182555587 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id 90822B259; Fri, 22 Jun 2007 19:39:47 -0400 (EDT) Message-ID: <467C5DC2.1060109@FreeBSD.org> Date: Sat, 23 Jun 2007 00:39:46 +0100 From: "Bruce M. Simpson" User-Agent: Thunderbird 1.5.0.10 (X11/20070407) MIME-Version: 1.0 To: ghozzy References: <20070620094806.3a95ec40@garlique.algebras.org> <20070622011451.GA3170@rogue.navcom.lan> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, George Michaelson Subject: Re: how do you bring IPv6 live 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: Fri, 22 Jun 2007 23:39:48 -0000 ghozzy wrote: > > I've found a way: > > # sysctl net.inet6.ip6.auto_linklocal=1 > # ifconfig em0 down up > will assign link-local address to interface. > > after all required interfaces have link-local addresses, > run /etc/rc.d/network_ipv6 start and all will be set ! :) Well, this may work now, however, don't depend on this behaviour in future releases. The fact that it does work at all is to do with how protocol domain attach works with struct ifnet. I am thinking that in future a lot of this should change, in order to avoid a number of issues we currently have -- this (the inability to re-attach IPv6 without taking down the entire interface) is one of them. BMS