A Computer Network is collection of computing nodes connected through a switch or hub. Data is sent from a system (sender) to another system (receiver). At the layer 2 of the OSI layer, packet is converted into a frame which has the Source Hardware Address and Destination Hardware Address. In Ethernet based LAN, MAC address…