<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div><br></div><div>two linux machines A and B , they are in one network: 192.168.160.0</div><div><br></div><div><br></div><div>A has two netcards:</div><div><br></div><div>eth0 Link encap:Ethernet HWaddr 00:0C:29:F9:DD:29</div><div> inet addr:192.168.160.11 Bcast:192.168.160.255 Mask:255.255.255.0</div><div> inet6 addr: fe80::20c:29ff:fef9:dd29/64 Scope:Link</div><div> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</div><div> RX packets:448 errors:0 dropped:0 overruns:0 frame:0</div><div> TX packets:361 errors:0 dropped:0 overruns:0 carrier:0</div><div> collisions:0 txqueuelen:1000</div><div> RX bytes:42722 (41.7 Kb) TX bytes:46887 (45.7 Kb)</div><div><br></div><div>eth1 Link encap:Ethernet HWaddr 00:0C:29:F9:DD:33</div><div> inet addr:192.168.160.21 Bcast:192.168.160.255 Mask:255.255.255.0</div><div> inet6 addr: fe80::20c:29ff:fef9:dd33/64 Scope:Link</div><div> UP BROADCAST MULTICAST MTU:1500 Metric:1</div><div> RX packets:73 errors:0 dropped:0 overruns:0 frame:0</div><div> TX packets:7 errors:0 dropped:0 overruns:0 carrier:0</div><div> collisions:0 txqueuelen:1000</div><div> RX bytes:9926 (9.6 Kb) TX bytes:578 (578.0 b)</div><div> </div><div> </div><div>B has one netcard:</div><div><br></div><div>eth0 Link encap:Ethernet HWaddr 00:0C:29:A9:5F:E2</div><div> inet addr:192.168.160.12 Bcast:192.168.160.255 Mask:255.255.255.0</div><div> inet6 addr: fe80::20c:29ff:fea9:5fe2/64 Scope:Link</div><div> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</div><div> RX packets:793 errors:0 dropped:0 overruns:0 frame:0</div><div> TX packets:649 errors:0 dropped:0 overruns:0 carrier:0</div><div> collisions:0 txqueuelen:1000</div><div> RX bytes:74366 (72.6 Kb) TX bytes:80645 (78.7 Kb)</div><div> Interrupt:17 Base address:0x2000</div><div> </div><div><br></div><div>now on B :ping 192.168.160.11 and 192.168.160.21, both are ok</div><div><br></div><div>run arp -a,result is as follows:</div><div>? (192.168.160.21) at 00:0C:29:F9:DD:29 [ether] on eth0</div><div>? (192.168.0.59) at 00:0C:29:F9:DD:1F [ether] on eth1</div><div>? (192.168.160.1) at 00:50:56:C0:00:01 [ether] on eth0</div><div>? (192.168.0.1) at 00:11:95:CD:35:66 [ether] on eth1</div><div>Vsles11sp1 (192.168.160.11) at 00:0C:29:F9:DD:29 [ether] on eth0</div><div><br></div><div><br></div><div>then I unplug eth1 , ethtool eth1 show "Link detected: no",</div><div><br></div><div>now on B :ping 192.168.160.11 and 192.168.160.21, both are ok, too.</div><div><br></div><div>I was confused that things.</div><div><br></div><div>Google , I has understanded a little . </div><div><br></div><div>on A , I run "echo 1 >/proc/sys/net/ipv4/conf/all/arp_ignore",</div><div>then on B , ping ping 192.168.160.11 and 192.168.160.21, both still are ok</div><div><br></div><div>Can you give me advise ?</div><div><br></div><div>What will I do for on B pinging 192.168.160.21 is not ok?</div><div><br></div><div><br></div><div> </div><div><br></div>                                            </div></body>
</html>