Subject: NIC shows up twice in dmesg
To: None <netbsd-help@netbsd.org>
From: Roger Fischer <r@aileron.org>
List: netbsd-help
Date: 10/08/2003 23:04:44
I've got something weird I don't understand.
My box is a gateway with two NICs, an external and an internal.

Weird thing is that one of them (NE2000) shows up twice on bootup.
I wasn't successful configuring the ne1 interface, but when I 
configured the ne2 interface things worked.  Is this right?  Both ne1 
and ne2 have the same mac address.  How can this be?
(I removed the IPs and mac addresses)

-- lines from dmesg --

ne1 at isa0 port 0x300-0x31f irq 10
ne1: NE2000 (RTL8019) Ethernet
ne1: Ethernet address <mac addr 1>
ne1: 10base2, 10baseT, 10baseT-FDX, auto, default [0x00 0x90] auto

ne2 at isapnp0 port 0x200/32 irq 5
ne2: NE2000 (RTL8019) Ethernet
ne2: Ethernet address <mac addr 1>
ne2: 10base2, 10baseT, 10baseT-FDX, auto, default [0x00 0x90] auto

tlp0 at pci0 dev 11 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at irq 11
tlp0: Ethernet address <mac addr 2>

sqphy0 at tlp0 phy 1: Seeq 80220 10/100 media interface, rev. 1
sqphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto


-- lines from ifconfig -a --
tlp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         address: < mac addr 2 >
         media: Ethernet autoselect (10baseT)
         status: active
         inet 192.168.0.7 netmask 0xffffff00 broadcast 192.168.0.255
         inet6 <ipv6 addr>%tlp0 prefixlen 64 scopeid 0x1

ne1: flags=8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
         address: < mac addr 1 >
         media: Ethernet autoselect (10base2)
ne2: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         address: < mac addr 1 >
         media: Ethernet autoselect (10baseT)
         inet < ext ip > netmask 0xfffff800 broadcast 255.255.255.255
         inet6 < ipv6 ip >%ne2 prefixlen 64 scopeid 0x3