I have setup a brctl bridge on Ubuntu with the following deployment:
Cisco router -> Linux bridge -> client computer
The bridge forward the following packets types: ARP,STP
, but doesn't forward IP.(I see that it get IP packets in eth0 but dosnt forward to eth1)
Trying brctl br0 stp off
(and on
) doesn't help.
Trying to activate both ethernet cards with promisc mode doesn't help either.
Set edge to 0 (and set max edge to 0) doesn't help either.
brctl setfd bridgename time , dosnt help.
Ebtables dosnt install on the bridge computer, so this is not problem of ebtables filtering.
When I replace the router with a simple computer that simulates simple TCP request the bridge forwards the IP packets, so I suspect STP
.
The bridge was set like this:
iptables -X
iptables -F
ifconfig eth0 0.0.0.0 up
ifconfig eth1 0.0.0.0 up
brctl addbr br0
brctl addif br0 eth0 eth1
ifconfig br0 up