Lecture Notes on Data Link Layer and Frames - Computer Networks | CMSC 417, Study notes of Computer Systems Networking and Telecommunications

Material Type: Notes; Professor: Hollingsworth; Class: Computer Networks; Subject: Computer Science; University: University of Maryland; Term: Unknown 1989;

Typology: Study notes

Pre 2010

Uploaded on 02/13/2009

koofers-user-anu-1
koofers-user-anu-1 ๐Ÿ‡บ๐Ÿ‡ธ

4

(1)

10 documents

1 / 7

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
CMSC 417 - F97 (lect 18)
)
copyright 1997 Jeffrey K. Hollingsworth
Announcements
lHomework #2 was returned
lReading
โ€“ Today: 3.1-3.2
pf3
pf4
pf5

Partial preview of the text

Download Lecture Notes on Data Link Layer and Frames - Computer Networks | CMSC 417 and more Study notes Computer Systems Networking and Telecommunications in PDF only on Docsity!

copyright 1997 Jeffrey K. Hollingsworth

Announcements

l

Homework #2 was returned

l

Reading^ โ€“

Today: 3.1-3.

copyright 1997 Jeffrey K. Hollingsworth

Data Link Layer

l

Goal: transmit error free frames over the physical link

l

Sample Issues:^ โ€“

how big is a frame?

-^

can I detect an error in sending the frame?

-^

what demarks the end of the frame?

-^

how to control access to a shared channel?

l

Examples:^ โ€“

Ethernet framing

copyright 1997 Jeffrey K. Hollingsworth

Other Link Functions

l

Error Control^ โ€“

may want to do sequence numbers and re-transmission

-^

this introduces overhead, but useful if probability of failure is high

l

Flow Control^ โ€“

provide rate matching between sender and receiver

-^

sender has rules about when it can send: credits, etc.

copyright 1997 Jeffrey K. Hollingsworth

Error Correcting Codes

l

Idea: add redundant information to permit recovery^ โ€“

this is the dual of data compression (remove redundancy)

l

Hamming distance (n)^ โ€“

number of bit positions that differ in two words

-^

key idea: need n single bit errors to go from one word to the other

-^

to detect d errors, need a hamming distance of d+1 from

any other valid

word.

-^

to recover d errors, need a hamming distance of 2d + 1

  • any error of d bits is still closer to correct word

l

Parity bit^ โ€“

ensure that every packet has an odd (or even) # of 1โ€™s

-^

permits detection of one 1 bit error

copyright 1997 Jeffrey K. Hollingsworth

Hamming Code Example

Cha r

AS CII

Ha mming

H

a^

m

I^

l

Burst Errors^ โ€“

can send hamming codes by column rather than row

-^

if use k rows, then can detect any burst error up to k bits

  • uses kr bits to check a block km bits long