Subject: Re: Two ethernet cards, one machine.
To: Erik E. Fair <fair@clock.org>
From: Allen Briggs <briggs@canolog.ninthwonder.com>
List: port-sparc
Date: 12/28/1998 12:40:03
> Um, by attaching the ethernet interfaces to different physical ethernets,
> as god and Metcalfe intended.
I was being a ditz. They are on separate ethernets. The problem is
that we are getting 'excessive collisions' on le1. We've tried
changing the cables and switching the segments. The problem stays
with le1. This is NetBSD 1.3.2 (soon to go to 1.3.3).
dmesg, netstat -rn, and ifconfig -a are attached (they should have been
in the first post, along with the real problem--sorry).
dmesg:
NetBSD 1.3.2 (GENERIC) #0: Sun May 10 22:48:06 MEST 1998
pk@flambard:/usr/src1/sys/arch/sparc/compile/GENERIC
real mem = 67010560
avail mem = 63721472
using 128 buffers containing 524288 bytes of memory
bootpath: /sbus@1,f8000000/esp@0,800000/sd@3,0
mainbus0 (root): SUNW,Sun 4/75
cpu0 at mainbus0: cache chip bug; trap page uncached: W8601/8701 or
MB86903 @ 40 MHz, on-chip FPU
cpu0: 64K byte write-through, 32 bytes/line, hw flush: cache enabled
memreg0 at mainbus0 ioaddr 0xf4000000
clock0 at mainbus0 ioaddr 0xf2000000: mk48t02 (eeprom)
timer0 at mainbus0 ioaddr 0xf3000000 delay constant 17
auxreg0 at mainbus0 ioaddr 0xf7400003
zs0 at mainbus0 ioaddr 0xf1000000 pri 12, softpri 6
zstty0 at zs0 channel 0
zstty1 at zs0 channel 1
zs1 at mainbus0 ioaddr 0xf0000000 pri 12, softpri 6
kbd0 at zs1 channel 0 (console)
ms0 at zs1 channel 1
audioamd0 at mainbus0 ioaddr 0xf7201000 pri 13, softpri 4
audio0 at audioamd0
sbus0 at mainbus0 ioaddr 0xf8000000: clock = 20 MHz
dma0 at sbus0 slot 0 offset 0x400000: rev 1+
esp0 at sbus0 slot 0 offset 0x800000 pri 3: ESP100A, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets
probe(esp0:3:0): max sync rate 5.00Mb/s
sd0 at scsibus0 targ 3 lun 0: <MICROP, 2217-15MQ1005104, VX10> SCSI2
0/direct fixed
sd0: 1612MB, 2240 cyl, 15 head, 98 sec, 512 bytes/sect x 3303062 sectors
le0 at sbus0 slot 0 offset 0xc00000 pri 5: address 08:00:20:1b:f0:c6
le0: 8 receive buffers, 2 transmit buffers
cgthree0 at sbus0 slot 1 offset 0x0: SUNW,501-1718, 1152 x 900 (console)
cgthree0: attached to /dev/fb
le1 at sbus0 slot 2 offset 0xc00000 pri 5: address 08:00:20:1b:f0:c6
le1: 8 receive buffers, 2 transmit buffers
fdc0 at mainbus0 ioaddr 0xf7200000 pri 11, softpri 4: chip 82072
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
root on sd0a dumps on sd0b
root file system type: ffs
kbd0: code=0xf with mod=0x0 produced unexpected keysym 0x8302
kbd0: code=0x8f with mod=0x0 produced unexpected keysym 0x8302
kbd0: code=0xf with mod=0x0 produced unexpected keysym 0x8302
kbd0: code=0x8f with mod=0x0 produced unexpected keysym 0x8302
le1: excessive collisions, tdr 1
ifconfig -a:
le0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 08:00:20:1b:f0:c6
media: manual status: active
inet 191.173.42.211 netmask 0xffffff00 broadcast 191.173.42.255
le1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 08:00:20:1b:f0:c6
media: manual status: active
inet 12.5.16.138 netmask 0xfffffc00 broadcast 12.5.19.255
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32976
inet 127.0.0.1 netmask 0xff000000
netstat -i:
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
le0 1500 <Link> 08:00:20:1b:f0:c6 1098861 2 844 0 1
le0 1500 191.173.42/24 191.173.42.211 1098861 2 844 0 1
le1 1500 <Link> 08:00:20:1b:f0:c6 0 0 0 17 272
le1 1500 12.5.16/22 12.5.16.138 0 0 0 17 272
lo0 32976 <Link> 105 0 105 0 0
lo0 32976 127 127.0.0.1 105 0 105 0 0
netstat -rn:
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Interface
12.5.16/22 link#2 UC 0 0 - le1
12.5.16.138 08:00:20:1b:f0:c6 UHL 0 18 - lo0
191.173.42/24 link#1 UC 0 0 - le0
191.173.42.9 00:a0:c9:b0:fa:be UHL 0 4 - le0
191.173.42.53 08:00:20:77:84:24 UHL 1 117 - le0
191.173.42.205 08:00:20:1c:92:02 UHL 1 147 - le0
191.173.42.212 00:a0:c9:9a:4a:91 UHL 0 148 - le0
Any ideas welcomed. (We are using the "illegal" 191.173.42/24 address
block--we do have plans to change that at some point.)
Thanks,
-allen
--
Allen Briggs - briggs@ninthwonder.com
Try free *nix: http://www.netbsd.org/, http://www.freebsd.org/,
http://www.linux.org/, http://www.openbsd.org/