Subject: Re: The impossible has happened.
To: David Gilbert <dgilbert@jaywon.pci.on.ca>
From: Luke Mewburn <lukem@supp.cpr.itg.telecom.com.au>
List: port-sparc
Date: 03/13/1996 13:38:46
David Gilbert <dgilbert@jaywon.pci.on.ca> writes:
> 	While testing ethernet things, I discovered that the
> impossible has happened.  I have two ethernet cards with the same
> ethernet (raw) address.  Actually, it's highly unlikely that this is
> true, but I get the following from my messages file (and on boot):

It's *not* impossible. In fact, it's legit (according to the relevant
RFC.) That's why you're not supposed to have two enet cards of the
same host on the same subnet.

SunOS 4 and Solaris 2 both set the MAC address of all interfaces
to the same value.

> Mar 11 23:49:05 repeat /netbsd: mainbus0 (root)
> Mar 11 23:49:05 repeat /netbsd: cpu0 at mainbus0: SUN-4/200 series (L64802
>	or ACT8847 FPU)
> Mar 11 23:49:05 repeat /netbsd: cpu0: 131072 byte write-back, 16
>	bytes/line, sw flush cache enabled
> Mar 11 23:49:05 repeat /netbsd: obio0 at mainbus0
> Mar 11 23:49:06 repeat /netbsd: ie0 at obio0 addr 0xf6000000 pri 6 address
>	08:00:20:06:ac:a6, type onboard
> Mar 11 23:49:06 repeat /netbsd: vmel0 at mainbus0
> Mar 11 23:49:06 repeat /netbsd: vmes0 at mainbus0
> Mar 11 23:49:06 repeat /netbsd: ie1 at vmes0 addr 0xffe88000 vec 0x75
>	pri 5 address 08:00:20:06:ac:a6, type multibus/vme

> 	Now... I don't know if this is a causing a problem (my
> previously posted problems are reproducable without the two cards
> installed), but this certainly says something interesting about our
> driver.

I dunno how netbsd-sparc treats multi-homed enet cards. Pure
speculation, but maybe when sunos was running it changed the MAC
address in the PROM for ie1 to that of ie0.