From owner-freebsd-questions@FreeBSD.ORG Tue Oct 30 07:02:58 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DF4B16A418 for ; Tue, 30 Oct 2007 07:02:58 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (12-32-44-142.static.blackfoot.net [12.32.44.142]) by mx1.freebsd.org (Postfix) with ESMTP id 1504613C4A3 for ; Tue, 30 Oct 2007 07:02:57 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from [12.32.36.74] (freshstart.dreamchaser.org. [12.32.36.74]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id l9U72ZtA007207; Tue, 30 Oct 2007 01:02:35 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Message-ID: <4726D70C.8070102@dreamchaser.org> Date: Tue, 30 Oct 2007 00:02:36 -0700 From: freebsd@dreamchaser.org User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Yuri Pankov References: <47255E38.9020406@dreamchaser.org> <1193710374.1212.8.camel@darklight.org.ru> <4726A5A1.2090400@dreamchaser.org> In-Reply-To: <4726A5A1.2090400@dreamchaser.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Tue, 30 Oct 2007 01:02:36 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: ifconfig -- how to remove address and mask? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 07:02:58 -0000 I stand corrected. ifconfig 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 delete. >