Background Flashcards
Does layer 1 have a way to communicate from device to device?
No, it’s like shouting in a room. Everyone hears/sees communication
Does a device operating at layer 4 have only layer 4 capabilities?
No, it has layer 4 and all of the way down.
What is another name for layer 2
Data link
What is the most common layer 2 protocol?
Ethernet
Addressing protocol in layer 2
MAC address
Transmission encapsulation in layer 2
Frames
Two parts of a mac address
24 bits of manufacturer info
24 bits of uniqueness
Layer 2 Frame mac header includes (3 things)
Dest MAC address
Source MAC Address
Layer 3 protocol, typically IP
Difference between hub and switch
Hub is layer 1 (collisions and dumb and broadcast)
Switch is layer 2 (MAC address table, store & forward)
IP Address to binary
What is another way to think of /16 or /25
The number of 1’s in the subnet mask
In a router’s route table, is a more specific route preferred or generic?
More specific. /anything more specfic than /0 will be selected.
What is ARP?
Address Resolution Protocol, getting MAC addresses for IP Addresses
This device moves packets from source to destination, encapsulating things in new layer 2 frames on the way, using ARP to find the next MAC to IP mapping
Router
Two protocols operating at layer 4
TCP
UDP
TCP segments are encapsulated in these
IP Packets
Do TCP segments have SCR/DST information?
No, rely on IP packets for device addressing