Open In App

What is MAC Address Table ?

MAC stands for Media Access Control it is a physical address that uniquely identifies a device and hardware manufacturer on a network. Most commonly used in  (IEEE 802) networking technologies, like Ethernet, WiFi, and Bluetooth technology.

A mac address is globally unique so suppose two devices are on the internet they can not have the same MAC address. It works on the Data link layer of the OSI model. It is also known as the Ethernet address are 6 bytes or 48 bits in length typically written in hexadecimal format.



A MAC address is generally assigned to the Network Interface Card of each and every device that is connected to the internet.

Why MAC Address is Unique for All Devices?

If a network has a topology of two or more devices with the same MAC address then the network will not work. This is very crucial when a number of large devices are connected together within a single organization.



Example:

In an Organization, there are 2 devices A and B are connected through a router or a switch. the MAC address of the devices should be  00000ABB98FC, and 00000ABB58FC, respectively.

A MAC address can be expressed in 3 general formats:

Command to Find the MAC Address in a Device

Command for Linux:

ifconfig -a

ip link list

ip address show

Command for Windows OS:

ipconfig /all

MacOS:

TCP/IP Control Panel

 MAC Address Table

The switch maintains an address table called the MAC address table in order to efficiently switch frames between interfaces. So basically a switch stores information about the other (Ethernet interfaces) to which it is connected on a network. when a switch receives a frame, it associates the MAC address of the sending device with the switch port on which it was received.

Need of MAC Address Table

The MAC address table is a way to map each and every port to a MAC address. The MAC address table consists of two types of entries. 

Steps to Check MAC Address Table

Article Tags :