Host A sends an Ethernet frame addressed to Host B into port FastEthernet0/1 of a Layer 2 switch. The switch MAC address table already contains an entry for Host B on port FastEthernet0/2, but has no prior entry for Host A. What action does the switch take upon receiving this frame?
- Learns Host A's MAC address on port FastEthernet0/1 and forwards the frame directly out port FastEthernet0/2.Cevap
- BFloods the frame out all active switch ports except FastEthernet0/1 because the source MAC address was missing from the table.
- CDrops the frame immediately until an ARP broadcast is sent to verify Host A's identity.
- DForwards the frame out port FastEthernet0/2 and sends an ICMP redirect out port FastEthernet0/1.
Cevap
The switch records Host A's MAC address on FastEthernet0/1 and forwards the frame exclusively out FastEthernet0/2.
When a switch receives a frame, it always inspects the source MAC address to update its MAC table (learning Host A on FastEthernet0/1). It then checks the destination MAC address; since Host B is already recorded on FastEthernet0/2, the switch forwards the frame exclusively out that destination port.
Adım Adım Çözüm
Anahtar Kavram
Layer 2 MAC Address Table Learning and Forwarding Logic