Data Link Layer Flashcards
Main idea
Provides means for exchanging data frames over a common media
Detect and possibly correct errors that may occur in physical layer (crc?)
Main function 2
Controls how data is placed into medium via Mac and error detection techniques
Network
Two or more devices connected by a common medium
Sublayers
Upper sublayer = LLC (frames network layer packet, identifies network layer protocol)
Lower sublayer = MAC (addresses, marks beginning and end of frame)
MAC depends on
Media sharing, topology
MAC methods for share media
Controlled (deterministic; ex: token ring, fddi)
Contention (CSMA; transmit at any time)
Full duplex
Receive, transmit simultaneously
Half duplex
Receive, transmit one at a time
Ethernet
CSMA/CD
Wireless
CSMA/CA
Physical topology
Actual arrangement of nodes an physical connections between them
Logical topology
The way a network transfers frames from one nose to the next
P2P
Two nodes directly connected; MAC method used by DLL determined by logical point to point; use of intermediate devices don’t affect local topology
Characteristics of multi access topology
Data from a node can be placed at any one time
Only node for which it is for process contents of frame
Typically uses CSMA/CD OR CSMA/CA
Token passing (ring topology)
Each node receives a frame until it reaches its destination
Usually only one frame at a time is usually carried by the media
Fragile environment
More controls, larger header and trailer
Protected
Less controls; smaller header and trailer
Physical addressing
Aka MAC address
Used to transport frame across shared local media from DLL
ONLY USED FOR LOCAL DELIVERY
Error detection techniques
Cyclic redundancy check matches initial and received
Frame check sequence: DLL because this is where data is transferred across the media
Encapsulation
Encapsulates packet by a header and trailer
Header includes…
Start frame 8 bytes
Addressing DLL source dest address 12 bytes
Type of pdu in frame (what kind of data is being sent or length of frame) 2 bytes
Control
Priority/Qos
Preamble
Used for synchronization; contains delimiter to mark end of the timing information