lkml.org 
[lkml]   [2002]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: BUG: 2 NICs on same network
    Date
    On 23 April 2002 07:39, Frank Louwers wrote:
    > Hi,
    >
    > We recently stummed across a rather annoying bug when 2 nics are on
    > the same network.
    >
    > Our situation is this: we have a server with 2 nics, each with a
    > different IP on the same network, connected to the same switch. Let's
    > assume eth0 has ip 1.2.3.1 and eth1 has 1.2.3.2, with a both with a
    > netmask of 255.255.255.0.
    >
    > Now the strange thing is that traffic for 1.2.3.2 arrives at eth0 no
    > matter what!
    >
    > Even if we disconnect the cable for eth1, 1.2.3.2 still replies to
    > pings, ssh, web, ...
    >
    > We tested this on IA32 architecture, different 2.4.x kernels and
    > different nics ...
    >
    > Is this a bug or a known issue? If it is not a bug, how can it be
    > solved?

    Do you have ip forwarding enabled? If yes, kernel just forwards packets:
    network -> eth0 -> kernel

    Try traceroute to eth1' ip. Examine arp tables. What MAC is listed there for
    eth1 IP?
    --
    vda
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:25    [W:3.914 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site