From owner-freebsd-questions Tue Mar 5 11:10:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chen.org.nz (adsl-210.54.19.51.quicksilver.net.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id 9BC0A37B405 for ; Tue, 5 Mar 2002 11:10:18 -0800 (PST) Received: (from jonc@localhost) by chen.org.nz (8.11.6/8.11.6) id g25J9sd81819; Wed, 6 Mar 2002 08:09:54 +1300 (NZDT) (envelope-from jonc) Date: Wed, 6 Mar 2002 08:09:54 +1300 From: Jonathan Chen To: Nelis Lamprecht Cc: freebsd-questions@FreeBSD.ORG Subject: Re: routing - multihomed Message-ID: <20020306080953.A81407@grimoire.chen.org.nz> References: <5.1.0.14.2.20020305155920.0135ac28@192.96.48.11> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <5.1.0.14.2.20020305155920.0135ac28@192.96.48.11>; from nelis@brabys.co.za on Tue, Mar 05, 2002 at 04:19:45PM +0200 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, Mar 05, 2002 at 04:19:45PM +0200, Nelis Lamprecht wrote: > Greetings from South Africa > > I have a single class c network: 192.96.48.0 > 2 nic's: 192.96.48.123 255.255.255.0 interface rl0 ( external ) > 192.96.48.122 255.255.255.0 interface rl1 ( internal ) > Gateway: 192.96.48.125 > > If I enable both nic's then 192.96.48.0 binds on the external nic rl0 > 192.96.48.123 and I cannot connect via 192.96.48.122 anymore. Please can > someone help me? I have tried adding and deleting various static routes but > can't get both nic's to work successfully. You can't put both your NIC's on the same network+netmask. If you're running this as a firewall, I'd suggest that you put your internal network on a 192.168.x.x network; and run natd. Otherwise, tell us what you're trying to achieve and the list will come up with suggestions. -- Jonathan Chen ---------------------------------------------------------------------- "Only the meek get pinched. The bold survive." - Ferris Bueller To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message