Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2000 02:10:50 -0400
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        Travis Leuthauser <travis@winconx.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Multiple NIC's
Message-ID:  <20000519021050.A66352@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <017b01bfc0ef$78ad4000$20503cd0@travis>; from travis@winconx.com on Thu, May 18, 2000 at 12:35:34PM -0500
References:  <017b01bfc0ef$78ad4000$20503cd0@travis>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 18, 2000 at 12:35:34PM -0500, Travis Leuthauser wrote:
> I am running 3.1 Stable.  I am trying to add a 2nd NIC in my news server.  I
> have a 3com (xl0) currently in it with the following configuration:
> 
> xl0:
>     IP:    xxx.xxx.xxx.12 netmask 255.255.255.128
>     alias: xxx.xxx.xxx.14 netmask 255.255.255.255
> both IP's are in the same subnet.

Cool. That's the way to go.

> I want to add a second 3com NIC (xl1) with the .14 address, thus making my
> configuration:
> 
> xl0    xxx.xxx.xxx.12 netmask 255.255.255.128
> xl1    xxx.xxx.xxx.14 netmask 255.255.255.128

Uh-oh...

> Both of these will be plugged into a 100Mbit hub for the next week or so
> until I get a Catalyst in place.             ^^^

Eep!

You have two NICs on one host in a collision domain. This can only
hurt your network performance. Do not do that.

> Now, for the problem, when I add the second NIC and change my configuration
> to match the above, I begin getting arp messages such as
> 
> /kernel: arp:  xxx.xxx.xxx.12 is on lo0 but got reply from (MAC address of
> xl0) on xl1
> /kernel: arp:  xxx.xxx.xxx.32 is on xl0 but got reply from
> (MAC address of win. 98 box @ .32) on xl1
> 
> Should I configure the second NIC with a /32 subnet add just add an explicit
> route?

As long as you have a collision domain, only use one NIC.
-- 
Crist J. Clark                           cjclark@home.com


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?20000519021050.A66352>