Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 1997 10:35:41 -1000 (HST)
From:      "David Langford" <langfod@dihelix.com>
To:        joki@kuebart.stuttgart.netsurf.de (Joachim Kuebart)
Cc:        fbsdlist@federation.addy.com, questions@FreeBSD.ORG
Subject:   Re: undoing an ip alias
Message-ID:  <199705132035.KAA05484@caliban.dihelix.com>
In-Reply-To: <XFMail.970513220007.joki@jocki.domestic.de> from Joachim Kuebart at "May 13, 97 08:42:36 pm"

next in thread | previous in thread | raw e-mail | index | archive | help

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

-David Langford
 langfod@dihelix.com

>'Course there is. Do
>        ifconfig ed0 123.456.789.1 delete
>will remove the specified address from the specified interface.
>
>On 13-May-97 at 16:39:10 Cliff Addy wrote:
>>We're migrating many virtual webite domains from one physical server to
>>another.  As far as I know, the only way to make the old server stop
>>listening to the ip addresses is to reboot it.  However, as you can
>>imagine, these multiple reboots (and subsequent down time) aren't
>>desireable.
>>
>>Is there a way to "undo" an ip alias, i.e. tell the system "Stop
>>responding to this ip address you have as an alias"?



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