Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Mar 2002 16:19:45 +0200
From:      Nelis Lamprecht <nelis@brabys.co.za>
To:        freebsd-questions@freebsd.org
Subject:   routing - multihomed
Message-ID:  <5.1.0.14.2.20020305155920.0135ac28@192.96.48.11>

next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
         status: active

kind regards,
nelis


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20020305155920.0135ac28>