From owner-freebsd-questions@FreeBSD.ORG Tue Oct 30 02:15:44 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 0E2CB16A418 for ; Tue, 30 Oct 2007 02:15:44 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (unknown [IPv6:2001:470:1f06:84::2]) by mx1.freebsd.org (Postfix) with ESMTP id E796413C4C1 for ; Tue, 30 Oct 2007 02:15:30 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (yuri@darklight.org.ru [IPv6:::1]) by darklight.org.ru (8.14.1/8.14.1) with ESMTP id l9U2DJO9078048; Tue, 30 Oct 2007 05:13:29 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.1/8.14.1/Submit) id l9U2Cs0x078047; Tue, 30 Oct 2007 05:12:54 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f From: Yuri Pankov To: freebsd@dreamchaser.org In-Reply-To: <47255E38.9020406@dreamchaser.org> References: <47255E38.9020406@dreamchaser.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 30 Oct 2007 05:12:54 +0300 Message-Id: <1193710374.1212.8.camel@darklight.org.ru> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port 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 02:15:44 -0000 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 delete. HTH, Yuri