Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 1999 15:26:37 +0200
From:      Stefan Bethke <stefan@promo.de>
To:        "Alex Sel'kov" <as@shome.eu.org>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: 2 cards in one collision domain
Message-ID:  <690244.3131796397@d225.promo.de>
In-Reply-To: <NCBBIKHEGKHONNFGOHCBIEPCCGAA.as@shome.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alex Sel'kov <as@shome.eu.org> wrote:

> What's wrong? Why I recieve this strange messages?
> 
> Another question: I have two 21143-based NIC's, but only one of them
> correctly select 100Mbit transfer rate.

>> --- /var/log/messages
>> Mar 30 02:18:02 <0.3> turtle /kernel: arp: 00:00:1c:b0:d9:37 is 
>> using my IP
>> address 192.168.10.1!
>> Mar 30 02:18:02 <0.3> turtle /kernel: arp: 00:c0:ca:11:78:ed is 
>> using my IP
>> address 192.168.10.1!
>> 
>> --- ifconfig -a
>> 
>> de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>         inet 192.168.10.1 netmask 0xffffff00 broadcast 192.168.10.255
>>         ether 00:00:1c:b0:d9:37
>>         media: autoselect (100baseTX) status: active
>>         supported media: autoselect 100baseTX <full-duplex> 100baseTX
>> 10baseT/UT
>> P <full-duplex> 10baseT/UTP
>> de1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>         inet 192.168.20.1 netmask 0xffffff00 broadcast 192.168.20.255
>>         ether 00:c0:ca:11:78:ed
>>         media: autoselect (10baseT/UTP) status: active
>>         supported media: autoselect 100baseTX <full-duplex> 100baseTX
>> 10baseT/UT
>> P <full-duplex> 10baseT/UTP
>> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>>         inet 127.0.0.1 netmask 0xff000000

You didn't by chance enable net.link.ether.inet.proxyall?  The kernel
normally shouldn't, but your's stumbles over it's own ARP replies: an ARP
request for 192.168.10.1 is presumably answered correctly on de0, but also
on de1.  In turn de0 snoops the reply, and moans.

The non-working autoselect might be due to different PHY chips used
(jugding from the vastly different MAC addresses, I guess the cards are
from two diffent vendors). Check what dmesg says about the PHY chips.

Your hub/switch does support auto-negotiation, does it? Some PHYs are not
very good at auto-sensing, AFAIK.  In this case, set the media manually.


Stefan

--
Stefan Bethke
Promo Datentechnik      |  Tel. +49-40-851744-18
+ Systemberatung GmbH   |  Fax. +49-40-851744-44
Eduardstrasse 46-48     |  e-mail: stefan@Promo.DE
D-20257 Hamburg         |  http://www.Promo.DE/


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




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