CSE 461: Protocols and Layering. This Lecture 1. A top-down look at the Internet 2. Mechanics of protocols and layering 3. The Internet protocol stack.

Slides:



Advertisements
Similar presentations
Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
Advertisements

CCNA – Network Fundamentals
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Chapter 7 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain the need for the transport layer.  Identify.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Review of Important Networking Concepts
EECS122 – Lecture 2 Department of Electrical Engineering and Computer Sciences University of California Berkeley.
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
CSE 561 – Introduction and Layering David Wetherall Spring 2000.
William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
Transport Layer TCP and UDP IS250 Spring 2010
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Gursharan Singh Tatla Transport Layer 16-May
1 Review of Important Networking Concepts Introductory material. This slide uses the example from the previous module to review important networking concepts:
CS 356 Systems Security Spring Dr. Indrajit Ray
Lecture 8 Modeling & Simulation of Communication Networks.
Process-to-Process Delivery:
TCP/IP Networking sections 13.2,3,4,5 Road map: TCP, provide connection-oriented service IP, route data packets from one machine to another (RFC 791) ICMP,
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 0 TCP/IP Overview.
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
Presentation on Osi & TCP/IP MODEL
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
Computer Networks (CS 132/EECS148) General Networking Example Karim El Defrawy Donald Bren School of Information and Computer Science University of California.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 5 UDP and Its Applications.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
Fundamentals of Computer Networks ECE 478/578 Lecture #19: Transport Layer Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
Lecture 3 Overview. Protocol An agreed upon convention for communication both endpoints need to understand the protocol. Protocols must be formally defined.
The Transport Layer application transport network data link physical application transport network data link physical application transport network data.
Presented by Rebecca Meinhold But How Does the Internet Work?
Networking Basics CCNA 1 Chapter 11.
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
CSE 461: Protocols and Layering. Some Administravia 1. Office hours for both instructors and TAs finalized & on web site 2. Homework will be given out.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Protocols and Architecture Slide 1 Use of Standard Protocols.
Slide #1 CIT 380: Securing Computer Systems TCP/IP.
Transmission Control Protocol (TCP) Internet Protocol (IP)
Transport Protocols.
1 Transport Layer: Basics Outline Intro to transport UDP Congestion control basics.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
- 1 - DPNM Review of Important Networking Concepts J. Won-Ki Hong Dept. of Computer Science and Engineering POSTECH Tel:
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI data link layer CCNA Exploration Semester 1 Chapter 7.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Introduction to Networks
Chapter 5 Network and Transport Layers
Part I. Overview of Data Communications and Networking
OSI Protocol Stack Given the post man exemple.
Layered Architectures
Understand the OSI Model Part 2
Networking for Home and Small Businesses – Chapter 6
Network Architecture Introductory material
Introduction to Networks
Networking for Home and Small Businesses – Chapter 6
Internet Control Message Protocol (ICMP)
Topic 5: Communication and the Internet
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Review of Important Networking Concepts
Process-to-Process Delivery:
Review of Important Networking Concepts
Lecture 2: Overview of TCP/IP protocol
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Networking for Home and Small Businesses – Chapter 6
Outline Overview of IP History of the Internet - 3-May-19
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Review of Important Networking Concepts
Presentation transcript:

CSE 461: Protocols and Layering

This Lecture 1. A top-down look at the Internet 2. Mechanics of protocols and layering 3. The Internet protocol stack

1. A Brief Tour of the Internet  What happens when you “click” on a web link?  This is the view from 10,000 ft … You at home (client) (server) Internet request response

9,000 ft: Caching  Lookup a cache before making the full request  Check cache (local or proxy) for a copy  Check with server for a new version  Question: what does caching improve? Cache “Changed?” “Here it is.” “Have it?” “No” google

8,000 ft: Naming (DNS)  Map domain names to IP network addresses  All messages are sent using IP addresses  So we have to translate names to addresses first  But we cache translations to avoid doing it next time (how do we check for consistency?) “What’s the IP address for “It’s ” Nameserver

7,000 ft: Sessions (HTTP)  A single web page can be multiple “objects”  Fetch each “object”  either sequentially or in parallel  Question: what attributes should the communication layer have? GET index.html GET ad.gif GET logo.gif google

6,000 ft: Reliability (TCP)  Messages can get lost  We acknowledge successful receipt and detect and retransmit lost messages (e.g., timeouts) (lost) retransmission acknowledgment

5,000 ft: Congestion (TCP)  Need to allocate bandwidth between users  Senders balance available and required bandwidths by probing network path and observing the response How fast can I send?

4,000 ft: Packets (TCP/IP)  Long messages are broken into packets  Maximum Ethernet packet is 1.5 Kbytes  Typical web page is 10 Kbytes  Number the segments for reassembly 1. GET2. inde3. x.ht4. ml GET index.html

3,000 ft: Routing (IP)  Packets are directed through many routers R R R R R HH H H H R R H R H: Hosts R: Routers Internet

2,000 ft: Multi-access (e.g., Cable)  May need to share links with other senders  Poll headend to receive a timeslot to send upstream  Headend controls all downstream transmissions  A lower level of addressing (than IP addresses) is used … why? Headend

1,000 ft: Framing/Modulation  Protect, delimit and modulate payload as signal  E.g, for cable, take payload, add error protection (Reed- Solomon), header and framing, then turn into a signal  Modulate data to assigned channel and time (upstream)  Downstream, 6 MHz (~30 Mbps), Upstream ~2 MHz (~3 Mbps) Sync / UniquePayload w/ error correcting codeHeader

2. Protocols and Layering  We need abstractions to handle all this system complexity A protocol is an agreement dictating the form and function of data exchanged between parties to effect communication  Two parts:  Syntax: format -- where the bits go  Semantics: meaning -- what the words mean, what to do with them  Examples:  IP, the Internet protocol  TCP and HTTP, for the Web

Protocol Standards  Different functions require different protocols  Thus there are many protocol standards  E.g., IP, TCP, UDP, HTTP, DNS, FTP, SMTP, NNTP, ARP, Ethernet/802.3, , RIP, OPSF, 802.1D, NFS, ICMP, IGMP, DVMRP, IPSEC, PIM-SM, BGP, …  Organizations: IETF, IEEE, ITU  IETF ( specifies Internet-related protocolswww.ietf.org  RFCs (Requests for Comments)  “We reject kings, presidents and voting. We believe in rough consensus and running code.” – Dave Clark.

Layering and Protocol Stacks  Layering is how we combine protocols  Higher level protocols build on services provided by lower levels  Peer layers communicate with each other Layer N+1 e.g., HTTP Layer N e.g., TCP Home PC Netscape

Example – Layering at work TCP IP Ethernet TCP IP CATV IP EthernetCATV host home router

Layering Mechanics  Encapsulation and de(en)capsulation Hdr Data + + Messages passed between layers

A Packet on the Wire  Starts looking like an onion!  This isn’t entirely accurate  ignores segmentation and reassembly, etc.  But you can see that layering adds overhead IP HdrPayload (Web object)TCP HdrHTTP Hdr Ethernet Hdr Start of packetEnd of packet

More Layering Mechanics  Multiplexing and demultiplexing in a protocol graph UDPTCP ARPIP Ethernet SMTPHTTP identifier IP protocol field TCP port number

3. Internet Protocol Stacks Key Question: What functionality goes in which protocol?  The “End to End Argument” (Reed, Saltzer, Clark, 1984): Functionality should be implemented at a lower layer only if it can be correctly and completely implemented. (Sometimes an incomplete implementation can be useful as a performance optimization.)  Tends to push functions to the endpoints, which has aided the extensibility of the Internet.

Internet Protocol Framework Application Transport Network Link Many (HTTP,SMTP) TCP / UDP IP Many (Ethernet, …) ModelProtocols

What’s Inside a Packet FROM=00:30:65:0a:ea:62, TO=00:30:64:9a:11:22, SIZE=200,… FROM= , TO= , SIZE=200-SIZEOF(Ehdr) Ethernet Header: IP Header: FROM=Port 5000, TO=Port 80, Byte#=23, SIZE=200-SIZEOF(Ehdr)-SIZEOF(IPHdr) HTTP v.1.0, Internet Explorer v5.1,… TCP Header: HTTP Hdr: IP HdrPayload (Web object)TCP HdrHTTP Hdr Ethernet Hdr GET Good Stuff Top (start) Bottom (end)

Key Concepts  Protocol layers are the modularity that is used in networks to handle complexity  The Internet layer model give us a roadmap of what kind of function belongs at what layer