From owner-freebsd-questions@FreeBSD.ORG Wed Aug 6 11:33:40 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5920237B401 for ; Wed, 6 Aug 2003 11:33:40 -0700 (PDT) Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B1C843FA3 for ; Wed, 6 Aug 2003 11:33:39 -0700 (PDT) (envelope-from culverk@yumyumyum.org) Received: by mailhub.yumyumyum.org (Postfix, from userid 1001) id 72D6544A; Wed, 6 Aug 2003 14:33:05 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mailhub.yumyumyum.org (Postfix) with ESMTP id 5B131199; Wed, 6 Aug 2003 14:33:05 -0400 (EDT) Date: Wed, 6 Aug 2003 14:33:05 -0400 (EDT) From: Kenneth Culver To: "Michael K. Smith" In-Reply-To: Message-ID: <20030806143214.F40140@alpha.yumyumyum.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD Questions Subject: Re: Question concerning dual-NIC configuration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 18:33:40 -0000 > Coming from a Network Engineering perspective, I'm interested in having > my servers be as redundant as possible. I have two NIC's in the > machine, so I would like for the "server" to be reachable over either > interface. > > To my mind, I would give a loopback interface an IP address that is the > "server" in this case. Then, each interface would have it's own subnet > and I would route over those two interfaces to the loopback for all > packets destined to the server. So, something like: > > lo1 -> 192.168.1.1/32 > ed0 -> 172.16.1.2/30 ed1 -> 172.16.1.6/30 > > Then, on the router, I have a route statement for 192.168.1.1/32 over the > two interface subnets. > You could do this, but I'm not sure why you'd want to route those 2 to 1 interface. it'd be easier to make your server daemons listen on the 2 ed devices. Ken