From owner-freebsd-questions@FreeBSD.ORG Tue Oct 30 14:17:29 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 ADF2F16A419 for ; Tue, 30 Oct 2007 14:17:29 +0000 (UTC) (envelope-from erik@cepheid.org) Received: from mail.cepheid.org (aleph.cepheid.org [72.232.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 88E7C13C4DA for ; Tue, 30 Oct 2007 14:17:29 +0000 (UTC) (envelope-from erik@cepheid.org) Received: by mail.cepheid.org (Postfix, from userid 1006) id 545B49B4059; Tue, 30 Oct 2007 09:19:20 -0500 (CDT) Date: Tue, 30 Oct 2007 09:19:20 -0500 From: Erik Osterholm To: freebsd@dreamchaser.org Message-ID: <20071030141920.GA62728@aleph.cepheid.org> Mail-Followup-To: Erik Osterholm , freebsd@dreamchaser.org, freebsd-questions@freebsd.org References: <47255E38.9020406@dreamchaser.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47255E38.9020406@dreamchaser.org> User-Agent: Mutt/1.4.2.3i 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 14:17:29 -0000 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