One of the most interesting, and least known problems that can occur on a LAN is Broadcast-Unicast (BUN) flooding. And, it can cause a lot more problems than many other typical LAN issues (like normal broadcasts, spanning-tree recalcs, etc).
To put it simply, BUN occurs when a switch doesn’t know a destination MAC address for a unicast frame so it turns the frame into a broadcast. The switch at least can ensure that the traffic gets to the destination since it’s a broadcast now. But the problem is every other device on the VLAN sees the frame too. That can be a lot of frames. Imagine a user is downloading an ISO images (couple gigabytes) and every frame is being turned into a broadcast on the LAN. Every host on the VLAN would have to look at every frame and discard it. That’s a lot of frames. That’s wasted CPU cycles and wasted port bandwidth.
Let’s look at a BUN situation. BUN often occurs with asymmetric routing – or, in a typical LAN, what I like to call load balanced routing. Take the situation below.


Plug it into a LAN port on one port and your PC into another. Then do not do anything on the PC (i.e. no network traffic). If the lights on the Linksys switch are blinking constantly, you’ve got BUN (that sounds like a bad disease). In a normal switched LAN, nothing should be coming down your port to the Linksys unless it’s (1) traffic destined to your PC or (2) a broadcast. If there is a lot of #2, it’s probably not regular broadcasts, it’s probably BUN. There are a couple tricks to fix BUN. You can play with L3 routing costs to remove the asynchronous routing, but that is messy. It’s changing a L3 protocol to fix a L2 issue. Plus, you lose half of your uplink bandwidth and force all traffic up and down a single link. A better way is to change some timers. The trick is to prevent the CAM table from expiring. So, either lower the ARP timer to below 5 minutes or raise the CAM timer to above 4 hours. We’ve found that in a static LAN environment – like a data center – it’s better to raise the CAM table above the default ARP timer. Devices don’t change or go down very often in a data center, so raising the CAM timer doesn’t affect convergence. However, in a user LAN – where there are many changes as hosts enter and leave – we lower the ARP table to four minutes, below the CAM timer. Lower timers are appropriate in a dynamic environment so entries can timeout quickly and not get stuck. Now get out there with your Linksys, look for blinky lights, and fight the BUN.
More >From the Field blog entries:
It’s One of Those Opinionated Days
So What’s This About the Internet Melting Down?
Clearing the Air on the CCDE Practical Beta Exam
CCDE Practical Beta Test Cancelled
Quick Thoughts on the New Nexus 5000
Go to Cisco Subnet for more Cisco news, blogs, discussion forums, security alerts, book giveaways, and more.




