<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19088"><LINK rel=stylesheet
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2>dear all:</FONT></DIV>
<DIV> </DIV>
<DIV>i have a x86 PC and i use it as a router</DIV>
<DIV>the kernel is 2.6.38</DIV>
<DIV> </DIV>
<DIV>there are two NICs: eth0 and eth1</DIV>
<DIV> </DIV>
<DIV>i configed eth0 as 10.1.0.1</DIV>
<DIV>and eth1 as 11.1.0.1</DIV>
<DIV>Linux will route between these two cards</DIV>
<DIV>and it worked ok in the old days</DIV>
<DIV> </DIV>
<DIV>but recently, i had added a new NIC as eth2 for LAN</DIV>
<DIV>so i add a bridge br0 and config it as 10.1.0.1 </DIV>
<DIV>then i configed eth0 and eth2 under br0</DIV>
<DIV>no ip on eth0 now</DIV>
<DIV>like</DIV>
<DIV
style="TEXT-INDENT: 4em">br0(10.1.0.1)
eth1(11.1.0.1)</DIV>
<DIV style="TEXT-INDENT: 2em">
/ \</DIV>
<DIV
style="TEXT-INDENT: 2em"> eth0
eth2</DIV>
<DIV
style="TEXT-INDENT: 2em"> |
|</DIV>
<DIV
style="TEXT-INDENT: 2em">LAN
LAN</DIV>
<DIV> </DIV>
<DIV>i expected that the performance will be better</DIV>
<DIV>but unfortunately things become worse</DIV>
<DIV> </DIV>
<DIV>the PC lost packets now</DIV>
<DIV> </DIV>
<DIV>at first, i think maybe there is a loop Under br0, so i disconnected the
wire on eth2 or eth0</DIV>
<DIV>nothing changed, packets still lost</DIV>
<DIV> </DIV>
<DIV>then i remove br0</DIV>
<DIV>config is as before</DIV>
<DIV>its'</DIV>
<DIV>
eth0(10.1.0.1)
eth1(11.1.0.1)</DIV>
<DIV> |</DIV>
<DIV style="TEXT-INDENT: 4em">LAN</DIV>
<DIV> </DIV>
<DIV>then everthing becomes fine, no packet lost</DIV>
<DIV> </DIV>
<DIV>i can't explain why, </DIV>
<DIV>any idea?</DIV>
<DIV> </DIV>
<DIV>thanks</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2>2011-07-06 </FONT></DIV><FONT size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
<DIV><FONT color=#c0c0c0 size=2><SPAN>jiangtao.jit</SPAN>
</FONT></DIV></FONT></BODY></HTML>