Ethernet weirdness on 82xx

Rune Torgersen runet at innovsys.com
Sat Sep 1 07:35:19 EST 2007


I'm not sure if this is by design or an actual bug.

We have a system witb an 8280 with two active ethernets (fcc2 and fcc3)
We are running kernel 2.6.18.1 (and won't be upgrading in a while) out
of arch/ppc

Eth0 and eth1 are in totally different subnets.
We happened to have both ehternets connected to the same network, and I
ran a arping agains the IP on eth0.
Both ports (eth0 and eth1) responded with the same address, but
different macs....

sudo /sbin/arping -c1 172.23.12.114
ARPING 172.23.12.114 from 172.23.15.21 eth0
Unicast reply from 172.23.12.114 [00:30:D7:00:14:55]  0.838ms
Unicast reply from 172.23.12.114 [00:30:D7:00:14:54]  0.890ms
Sent 1 probes (1 broadcast(s))
Received 2 response(s)

It only gets both responses on the first (broadcast) query from arping
All responses afterward is then from the wrong port....

The ethernet setup on the target box:

eth0      Link encap:Ethernet  HWaddr 00:30:D7:00:14:54
          inet addr:172.23.12.114  Bcast:172.23.15.255
Mask:255.255.248.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:473244 errors:0 dropped:2 overruns:0 frame:0
          TX packets:186655 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:162928671 (155.3 Mb)  TX bytes:42222862 (40.2 Mb)
          Base address:0x8500

eth1      Link encap:Ethernet  HWaddr 00:30:D7:00:14:55
          inet addr:192.168.0.100  Bcast:192.168.0.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1553 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:203182 (198.4 Kb)  TX bytes:168 (168.0 b)
          Base address:0x8600


More information about the Linuxppc-embedded mailing list