Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2007 05:12:54 +0300
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        freebsd@dreamchaser.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ifconfig -- how to remove address and mask?
Message-ID:  <1193710374.1212.8.camel@darklight.org.ru>
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, 2007-10-28 at 21:14 -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

Try  ifconfig <interface> delete.


HTH,
Yuri



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