Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2008 11:41:05 -0800
From:      Tony Coon <coont@mac.com>
To:        freebsd-net@FreeBSD.org
Subject:   How to reinitialize an interface
Message-ID:  <45F88020-229A-479F-8B42-07666913CF2C@mac.com>

next in thread | raw e-mail | index | archive | help

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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45F88020-229A-479F-8B42-07666913CF2C>