Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2007 09:19:20 -0500
From:      Erik Osterholm <freebsd-lists-erik@erikosterholm.org>
To:        freebsd@dreamchaser.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ifconfig -- how to remove address and mask?
Message-ID:  <20071030141920.GA62728@aleph.cepheid.org>
In-Reply-To: <47255E38.9020406@dreamchaser.org>
References:  <47255E38.9020406@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 28, 2007 at 09:14:48PM -0700, freebsd@dreamchaser.org wrote:
> running 6.1,
> 
> Is there a way to bring an interface down and remove the ipaddr and mask?
> I've tried ifconfig destroy with no effect, and I'm getting tired of
> twiddling rc.conf and rebooting...
> 
> The problem arises when testing a new configuration where an existing
> interface has an assigned ip addr, and is then changed to be used with
> pppoe.  The routine tables get really confused...
> 
> Thanks,
> 
> Gary

Might /etc/rc.d/netif restart resolve this, too?

Erik



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