An quick fundamental overview of layer two devices.
To learn more about this and similar topics, enroll in our exclusive Understanding Networking Fundamentals course.
A layer 2 device is a device that makes a forwarding decision on a physical address. Most commonly, you’ll find a bridge or a switch and the address they use is a MAC address. When a frame arrives at the device, it first takes the source address and places it in the MAC address table for 300 seconds (or five minutes).
Then It will look up the destination address.
If the destination address can be found, it will be forwarded out of that port explicitly.
If the destination address cannot be found, it will forward it out all ports of the same VLAN to which the receiving interface belonged.
This is called flooding. Your MAC address table has three important pieces of information:
- Interface in which the frame was received
- The source MAC address of the frame, and
- The VLAN to which the interface belonged.