[Bridge] Re: [PATCH/RFC] Let {ip,
arp}tables "see" bridged VLAN tagged {I, AR}P packets
Bart De Schuymer
bdschuym at pandora.be
Mon Oct 6 13:55:38 PDT 2003
On Monday 06 October 2003 22:19, Stephen Hemminger wrote:
> I can test the no VLAN case, but actual VLAN's are a little harder to
> setup.
Setting up vlan's is easy:
brctl addbr br0
brctl addif br0 eth0
ifconfig br0 $address
vconfig add br0 1000
ifconfig br0.1000 $address
> How does this affect the ability to rmmod either vlan or bridge?
Well, when br0.1000 exists and you then rmmod the bridge, it doesn't work. The
way to do it is rmmod 8021q;rmmod bridge. I came across this issue, but I
assumed it was not my fault. I thought the problem would exist without my
code too, but I'm not sure if I checked. What also doesn't work is rmmod
bridge followed by rmmod 8021q on a different console. I now just realize
this is probably because the bridge depends on 8021q and we thus get a
deadlock.
I think the right solution to this problem is, when rmmod bridge happens, it
removes any tagged bridge devices first.
cheers,
Bart
More information about the Bridge
mailing list