From owner-freebsd-questions Tue May 13 13:36:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA11909 for questions-outgoing; Tue, 13 May 1997 13:36:22 -0700 (PDT) Received: from caliban.dihelix.com (caliban.dihelix.com [198.180.136.138]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA11904 for ; Tue, 13 May 1997 13:36:18 -0700 (PDT) Received: (from langfod@localhost) by caliban.dihelix.com (8.8.5/8.8.3) id KAA05484; Tue, 13 May 1997 10:35:42 -1000 (HST) Message-Id: <199705132035.KAA05484@caliban.dihelix.com> Subject: Re: undoing an ip alias In-Reply-To: from Joachim Kuebart at "May 13, 97 08:42:36 pm" To: joki@kuebart.stuttgart.netsurf.de (Joachim Kuebart) Date: Tue, 13 May 1997 10:35:41 -1000 (HST) Cc: fbsdlist@federation.addy.com, questions@FreeBSD.ORG From: "David Langford" X-blank-line: This space intentionaly left blank. X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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"?