From owner-freebsd-questions@FreeBSD.ORG Wed Nov 10 05:23:44 2004 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 3402616A4CE for ; Wed, 10 Nov 2004 05:23:44 +0000 (GMT) Received: from sccmmhc92.asp.att.net (sccmmhc92.asp.att.net [204.127.203.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3D6F43D5C for ; Wed, 10 Nov 2004 05:23:43 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from [10.0.0.10] (12-218-40-24.client.mchsi.com[12.218.40.24]) by sccmmhc92.asp.att.net (sccmmhc92) with ESMTP id <20041110052343m9200k0hp6e>; Wed, 10 Nov 2004 05:23:43 +0000 From: Josh Paetzel To: freebsd-questions@freebsd.org Date: Tue, 9 Nov 2004 23:21:22 +0000 User-Agent: KMail/1.7 References: <20041110025713.19468.qmail@web90102.mail.scd.yahoo.com> In-Reply-To: <20041110025713.19468.qmail@web90102.mail.scd.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411092321.23004.josh@tcbug.org> cc: Sean Peisert Subject: Re: Two NICs with one IP address each on the same subnet 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, 10 Nov 2004 05:23:44 -0000 On Wednesday 10 November 2004 02:57, Sean Peisert wrote: > I have a FreeBSD 5.x box with two NICs that I'd like > to set up on the same subnet. The purpose is to run > separate services on each NIC. I have the box set up > with my rc.conf containing the following lines: > > defaultrouter="..." > hostname="..." > ifconfig_xl0="inet ... netmask 255.255.255.224" > ifconfig_sk0="inet ... netmask 255.255.255.224 mtu > 9000" > > The router and IP addresses are all on the same > subnet, as I previously mentioned. Unfortunately, the > first IP address seems not to work (I can ssh to the > second, but not the first). Is there something > special I need to do to the routing to get this to > work? Anything to the kernel? > > Thanks, > Sean Can you imagine the routing loop? ;) -- Thanks, Josh Paetzel