in this case you are creating STP loop and enable of STP will disable either eth1 or eth0. <br clear="all"><br>what are you trying achieve ? Is it just sending packets over both ethernet interfaces ?<br><br>you better bond those two ethernet interfaces. you need switch configuration for proper incoming traffic flow.<br>
__<div>Tharindu "Rukshan" Bamunuarachchi<br></div><div><br></div><div><br></div><div><br></div><br>
<br><br><div class="gmail_quote">On Wed, Jul 6, 2011 at 8:29 PM, jiangtao.jit <span dir="ltr"><<a href="mailto:jiangtao.jit@gmail.com">jiangtao.jit@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
dear all:<br>
<br>
i have a x86 PC and i use it as a router<br>
the kernel is 2.6.38<br>
<br>
there are two NICs: eth0 and eth1<br>
<br>
i configed eth0 as 10.1.0.1<br>
and eth1 as 11.1.0.1<br>
Linux will route between these two cards<br>
and it worked ok in the old days<br>
<br>
but recently, i had added a new NIC as eth2 for LAN<br>
so i add a bridge br0 and config it as 10.1.0.1<br>
then i configed eth0 and eth2 under br0<br>
no ip on eth0 now<br>
like<br>
br0(10.1.0.1) eth1(11.1.0.1)<br>
/ \<br>
eth0 eth2<br>
| |<br>
LAN LAN<br>
<br>
i expected that the performance will be better<br>
but unfortunately things become worse<br>
<br>
the PC lost packets now<br>
<br>
at first, i think maybe there is a loop Under br0, so i disconnected the wire on eth2 or eth0<br>
nothing changed, packets still lost<br>
<br>
then i remove br0<br>
config is as before<br>
its'<br>
eth0(10.1.0.1) eth1(11.1.0.1)<br>
|<br>
LAN<br>
<br>
then everthing becomes fine, no packet lost<br>
<br>
i can't explain why,<br>
any idea?<br>
<br>
thanks<br>
<br>
2011-07-06<br>
<br>
<br>
<br>
jiangtao.jit<br>
<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div><br>