Is it possible to set up a non-forwarding bridge? I have two interfaces that I'd like to combine, where one is a fast main link and the other is a slower backup. I'd like traffic to go out the fast link only, if it is available, and failover to the backup if it is not available. I never want to forward packets between the interfaces. My specific setup is a laptop with a 100M ethernet and a 802.11g wireless link, kernel 2.6.7. The two networks are already bridged with a linksys WRT54G (running OpenWRT). When I try to set up a bridge in my laptop, I'm getting a loop on my network. I have STP enabled in both bridges and I have set the bridge priority of the laptop to the lowest possible (65535) - the linksys is still at the default 0x8000. I dont seem to get all packets looped - it seems to be mostly samba packets. I'm watching the link with ethereal and the packets stop when I kill the bridge on the laptop. One issue may be the 802.11g card on the laptop - a broadcom card running with ndiswrapper (0.8). I'm not sure if this configuration supports promiscuous mode and whether or not that is the cause of my problem. However, back to the original question: Can you setup a non-forwarding bridge? My problem would go away if you could. Or is there another way to configure networking to achieve the same functional result? Thanks
Is it possible to set up a non-forwarding bridge? I have two interfaces that I'd like to combine, where one is a fast main link and the other is a slower backup. I'd like traffic to go out the fast link only, if it is available, and failover to the backup if it is not available. I never want to forward packets between the interfaces. My specific setup is a laptop with a 100M ethernet and a 802.11g wireless link, kernel 2.6.7. The two networks are already bridged with a linksys WRT54G (running OpenWRT). When I try to set up a bridge in my laptop, I'm getting a loop on my network. I have STP enabled in both bridges and I have set the bridge priority of the laptop to the lowest possible (65535) - the linksys is still at the default 0x8000. I dont seem to get all packets looped - it seems to be mostly samba packets. I'm watching the link with ethereal and the packets stop when I kill the bridge on the laptop. One issue may be the 802.11g card on the laptop - a broadcom card running with ndiswrapper (0.8). I'm not sure if this configuration supports promiscuous mode and whether or not that is the cause of my problem. However, back to the original question: Can you setup a non-forwarding bridge? My problem would go away if you could. Or is there another way to configure networking to achieve the same functional result? Thanks
On Thu, 1 Jul 2004 08:24:36 +1000 Cameron Hutchison <camh+lbr@xdna.net> wrote:> Is it possible to set up a non-forwarding bridge? I have two interfaces > that I'd like to combine, where one is a fast main link and the other is > a slower backup. I'd like traffic to go out the fast link only, if it is > available, and failover to the backup if it is not available. I never > want to forward packets between the interfaces.You want bonding not bridging.> One issue may be the 802.11g card on the laptop - a broadcom card > running with ndiswrapper (0.8). I'm not sure if this configuration > supports promiscuous mode and whether or not that is the cause of my > problem.Wise to suspect that, easy to test though. Just run your favorite packet sniffer (tcpdump, ethereal).> However, back to the original question: Can you setup a non-forwarding > bridge? My problem would go away if you could. Or is there another way > to configure networking to achieve the same functional result?Then it isn't a bridge, it is bonding.