Why don't you use tcpdump/wireshark to see where the packets are being dropped?
What kind of traffic are you passing?
Is it bidirectional?
Also post your route information.
regards,
Calvin
On Wed, Jul 6, 2011 at 4:47 PM, jiangtao.jit <jiangtao.jit@xxxxxxxxx> wrote:
dear all:i have a x86 PC and i use it as a routerthe kernel is 2.6.38there are two NICs: eth0 and eth1i configed eth0 as 10.1.0.1and eth1 as 11.1.0.1Linux will route between these two cardsand it worked ok in the old daysbut recently, i had added a new NIC as eth2 for LANso i add a bridge br0 and config it as 10.1.0.1then i configed eth0 and eth2 under br0no ip on eth0 nowlikebr0(10.1.0.1) eth1(11.1.0.1)/ \eth0 eth2| |LAN LANi expected that the performance will be betterbut unfortunately things become worsethe PC lost packets nowat first, i think maybe there is a loop Under br0, so i disconnected the wire on eth2 or eth0nothing changed, packets still lostthen i remove br0config is as beforeits'eth0(10.1.0.1) eth1(11.1.0.1)|LANthen everthing becomes fine, no packet losti can't explain why,any idea?thanks2011-07-06
jiangtao.jit
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies