Clear a mac from table?
Anyone know of a way to clear a mac from the bridge hash table instead of waiting for it to expire? This would be handy with pushing people between vlans that are on the same switch.
Brad Dameron
Network Engineer - TierII
Clearw're
Quoted 4 lines · On Fri, 26 Jan 2007 16:30:05 -0800 Brad Dameron <[email protected]>…
Anyone know of a way to clear a mac from the bridge hash table instead of waiting for it to expire? This would be handy with pushing people between vlans that are on the same switch.
No API exists but the first transmit (gratuitous ARP?) would move the entry.
This is true. But here is a scenario we are seeing. Here is our setup first.
Customer is on Vlan4 which is bridged to VLAN10. Both vlan's are on the same switch. If data is streaming in on vlan10 to the vlan4 bridge, then we switch the customer to vlan10, the streaming data will continue on to the bridge server and the customer will not be able to transfer data until that stream dies or if the timer just happens to be expiring for that MAC. So we need to clear the mac. I did a brctl setageing 3 to set the timer lower. But what effect could this have when I have some 50k to 100k mac's known by the bridging server?
Thanks,
Brad Dameron
Clearw're
Network Engineer TierII
________________________________
From: Stephen Hemminger [mailto:[email protected]]
Sent: Fri 1/26/2007 9:09 PM
To: Brad Dameron
Cc: [email protected]
Subject: Re: [Bridge] Clear a mac from table?
Quoted 4 lines · On Fri, 26 Jan 2007 16:30:05 -0800 Brad Dameron <[email protected]>…
Anyone know of a way to clear a mac from the bridge hash table instead of waiting for it to expire? This would be handy with pushing people between vlans that are on the same switch.
No API exists but the first transmit (gratuitous ARP?) would move the entry.
Quoted 8 lines · On Sat, 27 Jan 2007 16:46:22 -0800 "Brad Dameron" <[email protected]>…
This is true. But here is a scenario we are seeing. Here is our setup first.
Customer is on Vlan4 which is bridged to VLAN10. Both vlan's are on the same switch. If data is streaming in on vlan10 to the vlan4 bridge, then we switch the customer to vlan10, the streaming data will continue on to the bridge server and the customer will not be able to transfer data until that stream dies or if the timer just happens to be expiring for that MAC. So we need to clear the mac. I did a brctl setageing 3 to set the timer lower. But what effect could this have when I have some 50k to 100k mac's known by the bridging server?
Thanks,
Brad Dameron
Clearw're
Network Engineer TierII
If you remove vlan from bridge (or force carrier down), then the entries are purged
Signature · 1 line
Stephen Hemminger <[email protected]>