![]() |
VOOZH | about |
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 6 bytes or 48 bits in length typically written in hexadecimal format.
A MAC address is generally assigned to the Network Interface Card of every device that is connected to the internet.
If a network has a topology of two or more devices with the same MAC address, it will not work. This is crucial when several large devices are connected within a single organization.
Example:
In an Organization, two devices, A and B, are connected through a router or a switch. The MAC addresses of the devices should be 00000ABB98FC and 00000ABB58FC, respectively.
A MAC address can be expressed in 3 general formats:
ifconfig -a
ip link list
ip address show
ipconfig /all
TCP/IP Control Panel
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.
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.