From owner-freebsd-questions Wed May 14 15:57:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA11453 for questions-outgoing; Wed, 14 May 1997 15:57:49 -0700 (PDT) Received: from mixcom.mixcom.com (mixcom.mixcom.com [198.137.186.100]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id PAA11447 for ; Wed, 14 May 1997 15:57:47 -0700 (PDT) Received: by mixcom.mixcom.com (8.6.12/2.2) id RAA19592; Wed, 14 May 1997 17:57:38 -0500 Received: from p75.mixcom.com(198.137.186.25) by mixcom.mixcom.com via smap (V1.3) id sma019579; Wed May 14 17:57:28 1997 Message-Id: <3.0.32.19970514175846.00727f64@mixcom.com> X-Sender: sysop@mixcom.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Wed, 14 May 1997 17:58:47 -0500 To: "David Langford" From: "Jeffrey J. Mountin" Subject: Re: undoing an ip alias Cc: joki@kuebart.stuttgart.netsurf.de (Joachim Kuebart), fbsdlist@federation.addy.com, questions@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk At 10:35 AM 5/13/97 -1000, David Langford wrote: > >Wrong, this will blow away your primary interface. > >If you have an alias you need to delete using the EXACT same netmask >that you created the alias with > >SO if you used: > >ifconfig ed0 123.456.789.1 netmask 255.255.255.255 alias > >you need to do > >ifconfig ed0 123.456.789.1 netmask 255.255.255.255 delete ifconfig ed0 123.456.789.1 -alias Will also work, does not need the mask, and does not zap the primary. ------------------------------------------- Jeff Mountin - System/Network Administrator jeff@mixcom.net MIX Communications Serving the Internet since 1990