Comments by "Javier Flores" (@JJFlores197) on "What is a SWITCH? // FREE CCNA // Day 1" video.
-
3
-
3
-
2
-
2
-
Yes the switch doesn't understand IP addresses. The computer uses a protocol called ARP -Address Resolution Protocol. In short, ARP maps IP addresses to MAC addresses. So when you ping a computer, your PC sends out an ARP packet. It basically asks in the network, what is the MAC address of this IP address? All devices on the network receive this since its a broadcast frame. however, all devices except the intended recipient will discard the broadcast frame since its not meant for them.
The intended device will respond back to your PC with its MAC address. At this stage, the PC will remember that MAC and IP address and create an entry in its ARP cache. After that, the PC will send a packet with the destination IP address. Inside of this packet, is a frame which now contains the other PC's MAC address. The switch receives this packet, but it discards the layer 3 header, since again, it doesn't understand IP address. It only cares about the layer 2 header which contains the source and destination MAC addresses. It will then forward the frame to the intended destination.
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1