Date: Fri, 22 Feb 2008 02:22:51 +0000 From: "Bruce M. Simpson" <bms@FreeBSD.org> To: Paul Schmehl <pauls@utdallas.edu> Cc: freebsd-net@FreeBSD.org Subject: Re: How to reinitialize an interface Message-ID: <47BE31FB.1000504@FreeBSD.org> In-Reply-To: <FBD2E6BDCBD1C385BF50F8E8@utd59514.utdallas.edu> References: <45F88020-229A-479F-8B42-07666913CF2C@mac.com> <FBD2E6BDCBD1C385BF50F8E8@utd59514.utdallas.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Paul Schmehl wrote: > --On Thursday, February 21, 2008 11:41:05 -0800 Tony Coon > <coont@mac.com> wrote: > >> >> I am looking for a way to flush IP addresses, particularly IPv6, from an >> interface and have it repeat the initialization process that the >> interface >> goes through on boot, including IPv6 autoconfig. The "service network >> restart" in Linux seems to do this. > > /etc/rc.d/netif restart ...none of which will completely blow away the IPv6 stack state, which seems to be what the querent wants. Some refactoring is needed in the kernel to support this. IPv4 has the same problem, there's no way to administratively blow away certain structures and reinitialize them. later BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47BE31FB.1000504>