data link layer Flashcards
what are some services that the datalink layer provides
framing
reliable delivery between adjacent nodes
flow control
error detection and correction
full and half duplex
framing
encapsulating datagrams from the network layer into a frame and adding a header and trailer
MAC address
added in the frame header
id the source and destination of each hop
how are mac addresses portable
when you change networks you dont need a new one
ARQ; automatic repeat request
asks the previous hop to resend the packet if theres an error
flow control
the pacing between adjacent sending and receiving hops
half-duplex
both the sender and receiver cant transmit data at the same time
how is the link layer implemented
on a network interface card
what is the NIC a combination of
firmware; software thats hardware specific
software; the kernel has modules for the link layer
hardware; the nic
ep roam
non volatile memory that stores firmware
what does the edc include
could be the entire frame including the header or just the data
what does the node do if theres too much corruption compared to if theres only a little
too much; asks to resend
little; corrects and sends
parity bit
single bit that detects single errors
with even parity you set the bit so theres an even amount of 1s
how do we alter parity bit to correct errors and how does this work
use two-dimensional parity
theres a parity bit for each row and column
when an error is detected the intersection of the row and column shows which bit it is which can then be flipped to correct it
what is an issue with 2-d parity
can only detect one error per row(odd number of errors )
what are two issues with regular parity bit
only detect an odd number of errors
doesnt correct
what effects do a larger edc have
better edc however decreases the efficiency of data throughput