Answers for 5.2.1.7 Lab - Viewing the Switch MAC Address Table
These are the answers to the questions in the lab, with the question each one answers. Work the lab first: the point of it is the capture you take yourself, and the numbers below came from somebody else’s network and will not match yours.
PC-A MAC Address: PC-B MAC Address:
Answers will vary
S1 Fast Ethernet 0/1 MAC Address: S2 Fast Ethernet 0/1 MAC Address:
Answers will vary but from the example output below the S1 F0/1 MAC address is 0cd9.96d2.3d81 and the S2 F0/1 MAC address is 0cd9.96d2.4581
Are there any MAC addresses recorded in the MAC address table?
The switch may have one or more MAC addresses in its table, based on whether or not the students entered a ping command when configuring the network. The switch will most likely have learned MAC addresses through S1’s F0/1 switch port. The switch will record multiple MAC addresses of hosts learned through the connection to the other switch on F0/1
What MAC addresses are recorded in the table? To which switch ports are they mapped and to which devices do they belong?
Ignore MAC addresses that are mapped to the CPU. There may be multiple MAC addresses recorded in the MAC address table, especially MAC addresses learned through S1’s F0/1 switch port. In the example output above, the S1 F0/1 MAC address and PC-A MAC address are mapped to S2 F0/1
If you had not previously recorded MAC addresses of network devices in Step 1, how could you tell which devices the MAC addresses belong to, using only the outp
The output of the show mac address-table command shows the port that the MAC address was learned on. In most cases this would identify which network device the MAC address belongs to, except in the case of multiple MAC addresses associated to the same port. This happens when switches are connected to other switches and record all of the MAC addresses for devices connected to the other switch
b. Quickly type the show mac address-table command again. Does the MAC address table have any addresses in it for VLAN 1? Are there other MAC addresses listed?
N
Wait 10 seconds, type the show mac address-table command, and press Enter. Are there new addresses in the MAC address table?
Answers will vary. There may be.
a. From PC-B, open a command prompt and type arp -a. Not including multicast or broadcast addresses, how many device IP-to-MAC address pairs have been learned b
Answers will vary. The ARP cache may have no entries in it, or it may have the gateway IP address to MAC address mapping.
c. From a console connection to S2, enter the show mac address-table command. Has the switch added additional MAC addresses to the MAC address table? If so, whi
There may only be one additional MAC address mapping added to the table, most likely the MAC address of PC-A
From PC-B, open a command prompt and retype arp -a. Does the PC-B ARP cache have additional entries for all network devices that were sent pings?
Answers may vary, but the ARP cache on PC-B should have more entries.
On Ethernet networks, data is delivered to devices by their MAC addresses. For this to happen, switches and PCs dynamically build ARP caches and MAC address tab
ARP broadcasts could cause broadcast storms. Because ARP and switch MAC tables do not authenticate or validate the IP addresses to MAC addresses it would be easy to spoof a device on the network
Notes for whoever is teaching it
Instructor Note: Red font color or Gray highlights indicate text that appears in the instructor copy only.
Instructor Note: Refer to the Instructor Lab Manual for the procedures to initialize and reload devices.