MAC flooding with Macof
MAC address flooding is a great way to render a network useless. Basically, through MAC flooding, you can turn the network into a large hub. MAC flooding works by essentially allowing the switch ports to learn as many MAC addresses as they see on their ports, and if no limits on in place, can fill up the TCAM space on the switch. Once this happens, switches turn themselves into hubs, since they can't store the MAC for the port. They need to send every packet out to every switch to try and get the packet delivered.
Using a utility called macof, we can attempt to check if the appropriate switch port controls are in place by flooding the switch port we are connected to with as many MAC addresses as possible.
The syntax ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access