Broadcast Radiation – How Does a Router Prevent Broadcast Radiation

broadcastrouter

I just learned networking and according to a wiki article on broadcast radiation prevention, it says:

  • Filtering broadcasts by Layer 3 equipment, typically routers (and even switches that employ advanced filtering called brouters).

But I do not understand how exactly routers resolves broadcast storm problem. Any explanation in detail?

Best Answer

But I do not understand how exactly routers resolves broadcast storm problem. Any explanation in detail?

When a router receives a packet, it gets inspected, then forwarded out the appropriate interface or it gets dropped. When a router receives a broadcast packet, it drops it (excluding directed-broadcasts, dhcp, etc).

When a switch receives a frame, it either forwards it on to a known interface or floods it out all of its ports if it doesn't know where to go. When a broadcast frame comes along, it get's flooded out all interfaces. Every machine in your segment sees it. Excessive amounts of these constitute a storm.

The most common way for a broadcast storm to happen is from a switching loop. If you somehow get a switching loop on your network, these broadcasts will perpetually send this data back and forth forever, or until you remove the loop. This will cause data to hit every machine on your segment. This can cause your network to stop.

When you have a router in between multiple layer 2 segments, each is inherently protected from the other. Remember, a router won't forward on broadcasts.

For instance:

+-----+    +------+    +-----+
|LAN 1|----|ROUTER|----|LAN 2|
+-----+    +------+    +-----+

LAN 1 can be all sorts of messed up, and LAN 2 will be none the wiser because ROUTER won't forward LAN 1 broadcast packets on to anyone.