Then, if your switch models have commands to do this, display the MAC address table of each switch to discover to which port the MAC address is connected. You can ARP with the IP address to discover the MAC address. You need to relate the IP address to the MAC address. A switch doesn't strip off the frame to look at the IP headers (router do that). IP is a layer-3 protocol, and IP addresses are in the packet headers, which are encapsulated inside the ethernet frame. A switch will create and maintain a MAC address table, which relates each MAC address with the port to which the device with that MAC address is connected. Switches are layer-2 devices, and the ethernet headers contain MAC addresses. Switches will know the MAC addresses, but not the IP addresses.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |