Docsity

Understanding Network Protocols: A Layered Approach, Study notes of Computer Networks

Partial preview of the text

Download Understanding Network Protocols: A Layered Approach and more Study notes Computer Networks in PDF only on Docsity!

Reading: Kurose Chapter 1 Complex and difficult to describe. Composed of multiple (semi-autonomous) entities. Composed of multiple (semi-autonomous) layers. A network is: Refinement: from simpler to more complex models. Layering: a structured form of refinement. Some tools for understanding Introduction Monday, September 05, 2005 7:54 PM Docsity.com

Refinement 1 Monday, September 05, 2005 7:52 PM Docsity.com

Refinement 3 Monday, September 05, 2005 8:04 PM Docsity.com

So far, we have concentrated upon the physical makeup of the network. There is also logical partitioning and layering. Example: the concept of a protocol. Logical views Monday, September 05, 2005 8:09 PM Docsity.com

Inscribe message on clay tablet Let dry in the sun Tie to leg of carrier pigeon Let pigeon go Voila - your message is sent to a recipient. Recipient catches pigeon and reads tablet. A silly example: The Clay-Tablet Carrier Pidgeon protocol (CTCP) Is it connectionless? Is it reliable? CTCP Monday, September 05, 2005 8:35 PM Docsity.com

Conceive of an idea. Describe it in a "Request for Comments" (RFC). (Sometimes heated) discussion ensues. Eventually, an RFC is promoted to a "standard". Consensus-based governance. How a protocol is born Some are important enough that they're known by number. E.g.: RFC1918: routable and non-routable address spaces. We are going to study several RFCs in this course. How a protocol is born Thursday, January 19, 2012 3:03 PM Docsity.com

client server TCP ICMP UDP Connectionless. Unreliable. Unsequenced: packets can get out of order. Delivers one packet to another host One-way. UDP: User Datagram Protocol Connection-oriented (stream-based) Reliable. Sequenced: the order sent is the order received. Two-way. TCP: Transmission Control Protocol Connectionless. Not intended for communication. Control messages: determine how communication occurs. ICMP: Internet Control Message Protocol One wire, multiple protocols Monday, September 05, 2005 8:16 PM Docsity.com

Reliable (TCP) : we can presume that every sent message will be received. Unreliable (UDP) : we are in doubt as to whether a sent message will be received. Connection-oriented (TCP): message transmission occurs in the context of ongoing exchange of information between entities Connectionless (UDP) : message transmission does not involve maintaining communication between entities. Sequenced (TCP): The order messages are sent is the order in which they are received. Unsequenced (UDP): Messages can be received in a different order than the order in which they are sent. Terminology Monday, September 05, 2005 8:27 PM Docsity.com

Application Transport Network Link Physical Services: email, web, etc. TCP, UDP Non-local packet transmission (hosts not directly connected Local packet transmission (directly connected hosts) Physical connection (wired or wireless) ISO=International Standards Organization Sometimes called the "ISO reference model." Allows us to describe complex things at different levels, where each level's description is simpler. Protocol layering Monday, September 05, 2005 8:46 PM Docsity.com

Principle of encapsulation: to implement a higher-level protocol, encapsulate data inside lower-level packets, surrounding it with a header (and perhaps a trailer) Encapsulation Monday, September 05, 2005 9:36 PM Docsity.com

Example of encapsulation Monday, September 05, 2005 9:50 PM Docsity.com

Why are there so many layers? Problems with naming and numbering (not enough addresses) Problems with congestion and contention (not enough bandwidth) Problems clearly specifying behavior (one level would be too complex to understand) Why ask why? Monday, September 05, 2005 10:00 PM Docsity.com