A switch connects devices inside one LAN and forwards Ethernet frames by MAC address. Unlike an old hub, it sends each frame only out the port where the destination lives.
| No. | Step | Source | Destination | Type | Info |
|---|---|---|---|---|---|
| 1 | Learning | laptop A | switch | REQUEST | src MAC AA |
| 2 | Learning | switch | MAC table | DATA | learn AA @ port 1 |
A switch connects devices inside one LAN and forwards Ethernet frames by MAC address. Unlike an old hub, it sends each frame only out the port where the destination lives.