From owner-freebsd-questions Tue Oct 17 18: 8:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from athserv.otenet.gr (athserv.otenet.gr [195.170.0.1]) by hub.freebsd.org (Postfix) with ESMTP id B351537B4E5 for ; Tue, 17 Oct 2000 18:08:21 -0700 (PDT) Received: from hades.hell.gr (patr530-b094.otenet.gr [195.167.121.222]) by athserv.otenet.gr (8.10.1/8.10.1) with ESMTP id e9I17xe16351; Wed, 18 Oct 2000 04:07:59 +0300 (EET DST) Received: (from charon@localhost) by hades.hell.gr (8.11.1/8.11.1) id e9I0vwe27372; Wed, 18 Oct 2000 03:57:58 +0300 (EEST) Date: Wed, 18 Oct 2000 03:57:57 +0300 From: Giorgos Keramidas To: Erin Cc: questions@FreeBSD.ORG Subject: Re: Adding an IP alias without a reboot. Message-ID: <20001018035757.A26845@hades.hell.gr> References: <004d01c03866$e3edb540$e815820a@sdccd.cc.ca.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <004d01c03866$e3edb540$e815820a@sdccd.cc.ca.us>; from Kahn@deadbbs.com on Tue, Oct 17, 2000 at 11:20:11AM -0700 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Oct 17, 2000 at 11:20:11AM -0700, Erin wrote: > I have a production machine whos IP is going to change. I have to add > an aliased IP to it for a while from a completely different subnet > then by the middle of next month have everything changed over (i.e. > defaultrouter, dns servers, etc.). I'd like to do this with out > rebooting the machine if possable. > > The machine in question is a 3.3-RELEASE and is colocated with very > limited access. I am not sure if this works in 3.3-REL since I don't have access to a 3.3 machine or to the sources of 3.3 for now. However, in my 4.STABLE installation I can do: # ifconfig lo0 inet 10.0.0.1 alias and the required alias is ready to use. Then when I am bored of it: # ifconfig lo0 inet 10.0.0.1 -alias and the alias is gone. It's all in the manpage of ifconfig :) -- Giorgos Keramidas, < keramida @ ceid . upatras . gr > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message