Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2008 14:19:23 -0600
From:      Paul Schmehl <pauls@utdallas.edu>
To:        freebsd-net@FreeBSD.org
Subject:   Re: How to reinitialize an interface
Message-ID:  <FBD2E6BDCBD1C385BF50F8E8@utd59514.utdallas.edu>
In-Reply-To: <45F88020-229A-479F-8B42-07666913CF2C@mac.com>
References:  <45F88020-229A-479F-8B42-07666913CF2C@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--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.
>
> I have tried network_ipv6, netif, ifconfig and a few odd and ends from
> Google, but no joy so far.
>
> This is just for testing,  rebooting between test cases is getting a bit
> tedious.  freeBSD is 6.2.
>

/etc/rc.d/netif restart

-- 
Paul Schmehl (pauls@utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/




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