> Just curious, are you enabling IP forwarding in A? Or bridging or something?


I am not enabling  IP forwarding in A. no bridging .

I haven't set som special network configuration.



> From: mulyadi.santosa@gmail.com
> Date: Mon, 16 Jan 2012 12:18:17 +0700
> Subject: Re: two netcard configed in one subnet problem
> To: duanshuidao@hotmail.com
> CC: kernelnewbies@kernelnewbies.org
>
> Hi....
>
> On Mon, Jan 16, 2012 at 09:16, hu jun <duanshuidao@hotmail.com> wrote:
> > then I unplug eth1 , ethtool eth1 show "Link detected: no",
> >
> > now on B :ping 192.168.160.11 and 192.168.160.21, both are ok, too.
>
> Maybe the thing that happen is that when you ping eth1 of A from B,
> the flow is: B send ICMP--> A' eth0 receives it--> forward it to eth1
>
> Eth1, in my humble opinion, is not really answering "by hardware", but
> just it's network stack. Since you made eth0 and eth1 under the same
> broadcast address, the effect is like you were doing bonding between
> eth0+eth1 in A.
>
> Just curious, are you enabling IP forwarding in A? Or bridging or something?
>
>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies