From owner-freebsd-questions Tue Mar 5 6:21: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from neptune.dbn.stormnet.co.za (neptune.dbn.stormnet.co.za [196.22.196.1]) by hub.freebsd.org (Postfix) with ESMTP id 5E22337B405 for ; Tue, 5 Mar 2002 06:21:00 -0800 (PST) Received: from postoffice.brabys.co.za ([192.96.48.13] helo=brabys.co.za) by neptune.dbn.stormnet.co.za with esmtp (Exim 3.34 #1) id 16iFoI-0007hA-00 for freebsd-questions@freebsd.org; Tue, 05 Mar 2002 16:20:58 +0200 Received: from nelis.brabys.co.za (proxy-inner.brabys.co.za [192.96.48.11] (may be forged)) by brabys.co.za (8.12.0/8.12.0) with ESMTP id g25EKL2v026010 for ; Tue, 5 Mar 2002 16:20:21 +0200 Message-Id: <5.1.0.14.2.20020305155920.0135ac28@192.96.48.11> X-Sender: nelis@192.96.48.11 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 05 Mar 2002 16:19:45 +0200 To: freebsd-questions@freebsd.org From: Nelis Lamprecht Subject: routing - multihomed Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner: Found to be clean X-Scanner: exiscan *16iFoI-0007hA-00*OZBNaR9WSvY* http://duncanthrax.net/exiscan/ 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 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. pandora# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.96.48.125 UGSc 2 0 rl0 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.96.48 link#1 UC 2 0 rl0 192.96.48.111 0:0:e8:77:eb:c7 UHLW 1 55 rl0 1179 192.96.48.125 0:d0:58:6c:60:46 UHLW 3 0 rl0 1199 pandora# ifconfig rl0: flags=8843 mtu 1500 inet 192.96.48.123 netmask 0xffffff00 broadcast 192.96.48.255 ether 00:50:fc:3f:ef:ca media: Ethernet autoselect (none) status: active rl1: flags=8843 mtu 1500 inet 192.96.48.122 netmask 0xffffff00 broadcast 192.96.48.255 ether 00:00:e8:6c:f9:a8 media: Ethernet autoselect (100baseTX ) status: active kind regards, nelis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message