From owner-freebsd-questions Tue Oct 16 14:40:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 464D537B405 for ; Tue, 16 Oct 2001 14:40:17 -0700 (PDT) Received: from blossom.cjclark.org (dialup-209.247.143.200.Dial1.SanJose1.Level3.net [209.247.143.200]) by swan.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id OAA25079; Tue, 16 Oct 2001 14:40:05 -0700 (PDT) Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id f9GLdiM05329; Tue, 16 Oct 2001 14:39:44 -0700 (PDT) (envelope-from cjc) Date: Tue, 16 Oct 2001 14:39:44 -0700 From: "Crist J. Clark" To: Mike Dugas Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Multiple IPs? Message-ID: <20011016143944.F4437@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <01bd01c15667$e9df4bb0$d300a8c0@desktop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01bd01c15667$e9df4bb0$d300a8c0@desktop>; from mad@phobia.net on Tue, Oct 16, 2001 at 01:27:26PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Oct 16, 2001 at 01:27:26PM -0400, Mike Dugas wrote: > Someone help my failing memory... lol > > I have a box that I've assigned multiple IPs to... On 2 different subnets. > > 65.xx.xx.221, 255.255.255.248 > and > 65.xx.xx.7, 255.255.255.128 > > The machine is currently running with a default route to go out through the > .221 IP... I want to switch it to the .7 IP, but still want it to be able > to answer > requests on the .221 IP. I obviously can't have 2 default routes, and don't > want to/can't do BGP or the like. > > How can I do this? I've done it before with, for example, private IPs that > didn't need any kind of routing, but not 2 live IPs. There is nothing special you need to do. Just put in the new default route. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message