Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bridge interface dropping tons of RX packets
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ponky
n00b
n00b


Joined: 26 Sep 2013
Posts: 8

PostPosted: Sun Oct 27, 2013 2:23 pm    Post subject: Bridge interface dropping tons of RX packets Reply with quote

My Gentoo-router is dropping tons of packets on bridged interface. I've made a bridge between a pci-e wlan card (ath9k) and intel a210i eth nic (igb). In dnsmasq.conf I have 'interface=br0'. My network is working 100%, but the amount of dropped packets is bothering me and I have no idea how to troubleshoot this. I've tried dropwatch but the output isn't human-readable (not for me at least :()

enp6s0 (wan) --> br0(lan)

brctl show:

Code:
bridge name     bridge id               STP enabled     interfaces
br0             8000.002590d4dffe       no              enp5s0
                                                        wlp1s0


ifconfig (this is ~2 minutes after net.br0 reset):

Code:
br0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST>  mtu 1500
        inet 192.168.0.1  netmask 255.255.255.0  broadcast 192.168.0.255
        ether 00:25:90:d4:df:fe  txqueuelen 0  (Ethernet)
        RX packets 298931  bytes 21632823 (20.6 MiB)
        RX errors 0  dropped 97  overruns 0  frame 0
        TX packets 275135  bytes 753928146 (719.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


/etc/conf.d/net:

Code:
config_enp5s0="null"
config_enp6s0="dhcp"
config_wlp1s0="null"
modules_wlp1s0="!iwconfig !wpa_supplicant"

bridge_br0="enp5s0"
config_br0="192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255"

depend_br0() {
        need net.wlp1s0
}
Back to top
View user's profile Send private message
ponky
n00b
n00b


Joined: 26 Sep 2013
Posts: 8

PostPosted: Tue Oct 29, 2013 9:20 pm    Post subject: Reply with quote

A little update. I removed the bridge and routed to enp5s0 and wlp1s0 directly. There were no dropped packets. There's something wrong with my kernel or bridge-utils I think :(

Dropwatch output: http://pastebin.com/pMAdznDL
Back to top
View user's profile Send private message
ponky
n00b
n00b


Joined: 26 Sep 2013
Posts: 8

PostPosted: Fri Nov 01, 2013 5:45 am    Post subject: Reply with quote

Recompiled kernel with ipv6 + ebtables and everything works now it seems. Hmm...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum