Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2000 13:07:24 -0500 (EST)
From:      "Mr. K." <bsd@inbox.org>
To:        Bruce Pea <pea@andrewpea.com>
Cc:        questions@freebsd.org
Subject:   RE: two ethernet cards: arp error messages
Message-ID:  <Pine.BSF.4.21.0003151301100.26397-100000@inbox.org>
In-Reply-To: <NDBBJILNALMMPFEPDOBIAEGHDFAA.pea@andrewpea.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the quick response.  I understand that this problem wouldn't
occur if I didn't have two ethernet cards plugged into the same hub, but
I'd like to be able to do it this way for the extra redundancy.  When this
system goes into production we'll be on a switch, so this probably won't
continue to be a problem, but in the mean time, does anyone know:

Are these warnings safe to ignore, or do they need to be corrected?
Are there any solutions or tricks to fix the problem beyond just ignoring
it?

On Wed, 15 Mar 2000, Bruce Pea wrote:

> I just dealt with this problem myself.
> 
> You have both cards plugged into the same hub, etc. What you need to do is
> first unplug on of the cards then alias both ip numbers on the same card
> like this:
> 
> ifconfig_xl0="inet 192.168.0.193  netmask 255.255.255.0"
> ifconfig_xl0_alias0="inet 192.168.0.194  netmask 255.255.255.255"
> 
> Good luck-
> Bruce
> 
>  -----Original Message-----
> From: 	owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]  On Behalf Of Mr. K.
> Sent:	Wednesday, March 15, 2000 10:16 AM
> To:	questions@FreeBSD.ORG
> Subject:	two ethernet cards: arp error messages
> 
> I'm trying to set up a system with two ethernet cards on the same network
> in the same computer.  Eventually I am going to need to run a copy of bind
> on each.  Right now, I'm trying to debug an arp error I'm seeing in my
> /var/log/messages.  The solution may be just to turn off these error
> messages, but perhaps I have something misconfigured.  In any case, I'm
> getting the following in my messages log:
> 
> Mar 13 16:28:34 ns2 /kernel: arp: 192.168.0.193 is on lo0 but got reply
> from 00:[snip]:40 on xl1
> Mar 13 16:28:34 ns2 /kernel: arp: 192.168.0.50 is on xl0 but got reply
> from 00:[snip]:22 on xl1
> Mar 13 16:38:03 ns2 /kernel: arp: 192.168.0.183 is on xl0 but got reply
> from 00:[snip]:56 on xl1
> 
> Here are the relevant configs:
> 
> $ cat /etc/rc.conf
> network_interfaces="xl0 xl1 lo0"
> ifconfig_xl0="inet 192.168.0.193  netmask 255.255.255.0"
> ifconfig_xl1="inet 192.168.0.194  netmask 255.255.255.0"
> defaultrouter="192.168.0.1"
> hostname="ns2.mydomain"
> 
> $ uname -a
> FreeBSD ns2.mydomain 3.4-STABLE FreeBSD 3.4-STABLE #0: Mon Mar 13
> 16:17:02 GMT 2000     root@ns2.mydomain:/usr/src/sys/compile/NSTWO i386
> 
> $ ifconfig -a
> xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 192.168.0.193 netmask 0xffffff00 broadcast 192.168.0.255
>         ether 00:[snip]:40
>         media: 100baseTX <half-duplex>
>         supported media: autoselect 100baseTX <full-duplex> 100baseTX
> <half-dupl
> ex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP <half-duplex>
> 10baseT/UTP
> xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 192.168.0.194 netmask 0xffffff00 broadcast 192.168.0.255
>         ether 00:[snip]:a5
>         media: 100baseTX <half-duplex>
>         supported media: autoselect 100baseTX <full-duplex> 100baseTX
> <half-dupl
> ex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP <half-duplex>
> 10baseT/UTP
> tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000
> 
> How can a system be setup to handle this?
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 



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?Pine.BSF.4.21.0003151301100.26397-100000>