DOC PREVIEW
MIT 6 033 - Study Guide

This preview shows page 1-2-3-4-5 out of 15 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

L10: Protocols and LayeringPlan for studying network systemsLayering: The InternetLink LayerManchester encodingFramingError HandlingThis LectureMIT OpenCourseWarehttp://ocw.mit.edu 6.033 Computer System Engineering Spring 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.L10: Protocols and LayeringDina KatabiSome slides are from lectures by Nick Mckeown, Ion Stoica, Frans Kaashoek, Hari Balakrishnan, Sam Madden, and Robert MorrisPlan for studying network systemsSharing and challenges7.A EthernetLayering 7.B+C End-to-endRouting 7.DInternet routingEnd-to-end reliability7.ENetwork file systemCongestion control7.F NATsNetwork DesignProblem• How do we organize design of a network?Solution• layering of protocolsLayering of protocols• Layering is a particular form of abstraction• The system is broken into a vertical hierarchy of protocols• The service provided by one layer is based solely on the service provided by layer belowLayering tools for nesting• Each layer adds/strips off its own header• Each layer may split up higher-level data• Each layer multiplexes multiple higher layers• Each layer is (mostly) transparent to higher layersdatadatadatadatadatadatadatadataLayering: The InternetNetworkLinkTransportHTTPApplicationTCPIPEthernetEnd-to-End LayerThe 4-layer Internet modelMultiplexing in the Internet• Many applications, transports, and link protocols• All use IP at the network layer InternetLinkTransportApplicationIPEthernetPacketradioTCP UDPHTTP SSH RTPSMTP HTTP RTP...TCP UDP...IPethernet PPP...CSMA async sonet...copper fiber radio...e-mail WWW phone...Figure by MIT OpenCourseWare.Where are these layers? • Link and network layers are implemented everywhere• The end-to-end layer (i.e., transport and application) is implemented only at hostsApplicationTransportNetworkDatalinkApplicationTransportNetworkDatalinkNetworkDatalinkPhysical mediumPeer-layer communicationRouterHostHostClever usages of layering• Nesting layers to the extreme: tunneling• Run link layer over TCP (Virtual Private Network)•Router uses TCP as transport for routing protocol (e.g., BGP)•…IPsshTCPHTTPTCP…Link LayerProblem:Deliver data from one end of the link to the otherNeed to address:•BitsÆ Analog Æ Bits•Framing•Errors• Medium Access Control (The Ethernet Paper)Manchester encoding• Each bit is a transition• Allows the receiver to sync to the sender’s clockTime011 10Framing• Receiver needs to detect the beginning and the end of a frame• Use special bit-pattern to separate frames• E.g., pattern could be 1111111 (7 ones)• Bit stuffing is used to ensure that a special pattern does not occur in the data • If pattern is 1111111 Æ Whenever the sender sees a sequence of 6 ones in the data, it inserts a zero (reverse this operation at receiver)Error Handling•Detection: • Use error detection codes, which add some redundancy to allow detecting errors• When errors are detected• Correction: • Some codes allow for correction•Retransmition: • Can have the link layer retransmit the frame (rare)•Discard: • Most link layers just discard the frame and rely on higher layers to retransmitThis Lecture• To cope with the complexity, the network architecture is organized into layers• The link layer delivers data between two machines that are directly connected using a


View Full Document

MIT 6 033 - Study Guide

Documents in this Course
TRIPLET

TRIPLET

12 pages

End Layer

End Layer

11 pages

Quiz 1

Quiz 1

4 pages

Threads

Threads

18 pages

Quiz I

Quiz I

15 pages

Atomicity

Atomicity

10 pages

QUIZ I

QUIZ I

7 pages

Load more
Download Study Guide
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Study Guide and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Study Guide 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?