Date: Thu, 21 Feb 2008 12:17:16 -0800 From: Julian Elischer <julian@elischer.org> To: Tony Coon <coont@mac.com> Cc: freebsd-net@FreeBSD.org Subject: Re: How to reinitialize an interface Message-ID: <47BDDC4C.60309@elischer.org> 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
Tony Coon 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. > > cheers, > Tony > > --- > Tony Coon > coont@mac.com > > "No amount of careful planning will ever replace dumb luck" > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" ifconfig {name} down delete ifconfig {name} ipaddress/width up Don't forget that you MAY need to redo any routes that used this isterface as they will have been removed. route add {dest/width} {gateway}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47BDDC4C.60309>