Strange multi-interface workings

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Sat Feb 12 2000 - 19:02:32 EST

  • Next message: Andi Kleen: "Re: [CFT][PATCH] loopback fixes for 2.3"

    I am testing out my 8139too driver on SMP 2.3.44, and seeing some very
    strange things. Is the output below normal for 3 ethernet interfaces?

    bug point #1 - most traffic seems to migrate to eth0, even though I am
    using ping flood and 'ab' to stress test the IPs to which eth1 and eth2
    are bound.

    bug point #2 - remote 'arp -an' reports that 10.10.10.133 (eth1) and
    10.10.10.134 (eth2) as having the same hardware address

    Similar 'arp' behavior is seen in 2.2.15preXX. Haven't compared
    'ifconfig' between 2.2 and 2.3 yet.

    I am not ruling out driver bugs, but it seems very strange that a driver
    bug would cause cross-interface weirdness. This behavior occurs both in
    the old 2.2-based rtl8139 driver, and my new 8139too driver.

    eth0 Link encap:Ethernet HWaddr 00:40:F6:F4:FF:EF
              inet addr:10.10.10.100 Bcast:10.10.10.255 Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
              RX packets:402004 errors:0 dropped:0 overruns:0 frame:0
              TX packets:725455 errors:0 dropped:0 overruns:0 carrier:0
              collisions:128020 txqueuelen:100
              Interrupt:19

    eth1 Link encap:Ethernet HWaddr 00:40:F6:F4:FF:73
              inet addr:10.10.10.133 Bcast:10.10.10.255 Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
              RX packets:463362 errors:0 dropped:0 overruns:0 frame:0
              TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100
              Interrupt:18

    eth2 Link encap:Ethernet HWaddr 00:00:21:DC:5A:9A
              inet addr:10.10.10.134 Bcast:10.10.10.255 Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
              RX packets:14 errors:0 dropped:0 overruns:0 frame:0
              TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
              collisions:2 txqueuelen:100
              Interrupt:17

    chief:~> ping 10.10.10.100
    PING 10.10.10.100 (10.10.10.100) from 10.10.10.18 : 56 data bytes
    64 bytes from 10.10.10.100: icmp_seq=0 ttl=255 time=0.1 ms

    --- 10.10.10.100 ping statistics ---
    1 packets transmitted, 1 packets received, 0% packet loss
    round-trip min/avg/max = 0.1/0.1/0.1 ms
    chief:~> ping 10.10.10.134
    PING 10.10.10.134 (10.10.10.134) from 10.10.10.18 : 56 data bytes
    64 bytes from 10.10.10.134: icmp_seq=0 ttl=255 time=0.2 ms
    64 bytes from 10.10.10.134: icmp_seq=1 ttl=255 time=0.1 ms

    --- 10.10.10.134 ping statistics ---
    2 packets transmitted, 2 packets received, 0% packet loss
    round-trip min/avg/max = 0.1/0.1/0.2 ms
    chief:~> ping 10.10.10.133
    PING 10.10.10.133 (10.10.10.133) from 10.10.10.18 : 56 data bytes
    64 bytes from 10.10.10.133: icmp_seq=0 ttl=255 time=0.1 ms

    --- 10.10.10.133 ping statistics ---
    1 packets transmitted, 1 packets received, 0% packet loss
    round-trip min/avg/max = 0.1/0.1/0.1 ms
    chief:~> arp -an
    ? (10.10.10.100) at 00:40:F6:F4:FF:EF [ether] on eth0
    ? (10.10.10.1) at 00:40:05:17:92:0B [ether] on eth0
    ? (10.10.10.166) at 00:A0:CC:50:E4:4C [ether] on eth0
    ? (10.10.10.133) at 00:40:F6:F4:FF:73 [ether] on eth0
    ? (10.10.10.134) at 00:40:F6:F4:FF:73 [ether] on eth0

    -- 
    Jeff Garzik         | "Vegetarian" is the Indian word
    Building 1024       | for 'lousy hunter.'
    MandrakeSoft, Inc.  |
    

    - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Feb 12 2000 - 20:09:46 EST