1.1 OSI And Encapsulation Flashcards
Layer 1
Physical
-this layer not about protocols
-signaling, cabling, connectors
(Cable, NIC, Hub)
-loopback tests, swap adapters, replace cables
OSI
Open Systems Interconnection reference
-not a protocol suite
-more of a guide
-each layer has unique protocols
Layer 2
Data Link
-basic network “language”
-data link control (DLC) protocols
-MAC on on Ethernet
- switching layer
-Ethernet,
Ethernet header
Preamble - 7 bytes
Start of frame delimiter - 1 byte
Dest. MAC - 6 bytes
Source MAC - 6 bytes
Type - 2 bytes
Data - 42 to 1500 bytes
CRC - 4 bytes
Inter-frame gap - 12 bytes
IP header
V4
Version | ihl | type of service | tot Len
Identification | flags | fragment offset
TTL | protocol | header checksum
Source address
Destination address
Options | padding
TCP header
Source port | destination port
Sequence number
Acknowledgment number
Data offset | res | flags | window size
Header&data checksum|urgent ptr
Options
UDP datagram header
Source port | Destination port
Length | header and data checksum
MTU
Maximum Transmission Unit
-max packet size where it doesn’t fragment
-usually configured once
-can use ping to find the right size
-ping -f -l 1472 8.8.8.8
-fragments are always in multiples of 8 because of the # of fragmentation offset bits in the IP header.