Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2007 00:02:36 -0700
From:      freebsd@dreamchaser.org
To:        Yuri Pankov <yuri.pankov@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ifconfig -- how to remove address and mask?
Message-ID:  <4726D70C.8070102@dreamchaser.org>
In-Reply-To: <4726A5A1.2090400@dreamchaser.org>
References:  <47255E38.9020406@dreamchaser.org> <1193710374.1212.8.camel@darklight.org.ru> <4726A5A1.2090400@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I stand corrected.
   ifconfig <interface> delete
did the job;
destroy is what failed.
Thanks.

> I tried delete, but it only works for *additional* ip addresses added 
> using the alias command, not the original, primary one.  I can't 
> remember the error message.
> 
> Yuri Pankov wrote:
>> 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...
> ...
>> Try  ifconfig <interface> delete.
> 




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