1 Introduction. 2 Goals for Today’s Class Course overview –Goals of the course –Structure of the course –Learning the material –Course grading –Academic.

Slides:



Advertisements
Similar presentations
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
Advertisements

COS 461: Computer Networks Spring 2011 Lectures: MW 10-10:50am in Bowen 222 Prof. Mike Freedman Precepts: F 10-10:50am, 11-11:50am Preceptors: Matvey Arye,
1 CS 640: Introduction to Computer Networks Aditya Akella Lecture 2 Layering, Protocol Stacks, and Standards.
CSE 486/586, Spring 2014 CSE 486/586 Distributed Systems The Internet in 2 Hours: The Second Hour Steve Ko Computer Sciences and Engineering University.
Network Layer Packet Forwarding IS250 Spring 2010
1 COS 461: Computer Networks Spring 2006 (MW 1:30-2:50 in Friend 109) Jennifer Rexford Teaching Assistant: Mike Wawrzoniak
CSE 486/586, Spring 2012 CSE 486/586 Distributed Systems The Internet in 2 Hours: The First Hour Steve Ko Computer Sciences and Engineering University.
Internet -- network of networks –network delivers packets (& locates nodes) –router (gateway) moves packets between networks –IP interoperability on top.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
CPSC156a: The Internet Co-Evolution of Technology and Society Lecture 3: September 11, 2003 Internet Basics, continued Acknowledgments: R. Wang and J.
Networking and Internetworking: Standards and Protocols i206 Fall 2010 John Chuang Some slides adapted from Coulouris, Dollimore and Kindberg.
1 COS 461: Computer Networks Spring 2008 (MW 1:30-2:50 in CS 105) Jennifer Rexford Teaching Assistants: Sunghwan Ihm and Yaping Zhu
COS 461: Computer Networks Spring 2009 (MW 1:30-2:50 in CS 105) Mike Freedman Teaching Assistants: Wyatt Lloyd and Jeff Terrace
Internet Routing COS 598A Jennifer Rexford Tuesdays/Thursdays 11:00am-12:20pm.
5/12/05CS118/Spring051 A Day in the Life of an HTTP Query 1.HTTP Brower application Socket interface 3.TCP 4.IP 5.Ethernet 2.DNS query 6.IP router 7.Running.
ECS152BXin Liu 1 ECS 152B Computer Networks Fall 2003 Prof. Xin Liu
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
Gursharan Singh Tatla Transport Layer 16-May
What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host IP treats a computer as an endpoint of communication Best.
Process-to-Process Delivery:
CP476 Internet ComputingCh.1 # 1 Lecture 2. A Brief Introduction to the Internet The objective is to understand The history of Internet What the Internet.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 0 TCP/IP Overview.
TELE202 Lecture 9 Internet Protocols (1) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Congestion control »Source: chapter 12 ¥This Lecture »Internet.
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.
Chapter 1: Introduction to Web Applications. This chapter gives an overview of the Internet, and where the World Wide Web fits in. It then outlines the.
1.1 What is the Internet What is the Internet? The Internet is a shared media (coaxial cable, copper wire, fiber optics, and radio spectrum) communication.
CSx760 Computer Networks1 Introduction to Network Protocols Kang Li.
Examining TCP/IP.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 5 UDP and Its Applications.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
1 Chapter 5 Protocol Underlying HTTP Web Protocols and Practice.
Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
TCOM 509 – Internet Protocols (TCP/IP) Lecture 04_a Transport Protocols - UDP Instructor: Dr. Li-Chuan Chen Date: 09/22/2003 Based in part upon slides.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Fundamentals of Computer Networks ECE 478/578 Lecture #19: Transport Layer Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
Computer Networking. 2 Outline 3 Objectives Understand the state-of-the-art in network protocols, architectures and applications Understand how networking.
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
1 Introductory material. This module illustrates the interactions of the protocols of the TCP/IP protocol suite with the help of an example. The example.
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
Dr. John P. Abraham Professor UTPA
Internet Protocol ECS 152B Ref: slides by J. Kurose and K. Ross.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
1 CS 4396 Computer Networks Lab TCP/IP Networking An Example.
Transport Layer3-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Chapter 3: Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable data transfer.
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.
CMSC 23300/33300 Computer Networks Spring 2006 (Tu, Th 1:30-2:50 in Ry 251) Lecturer: Ian Foster Teaching Assistants: George Kuan, Ido Rosen, Ioan Raicu,
1 CSE524: Lecture 2 Internet protocols in a nutshell (Protocols in practice)
1 IEX8175 RF Electronics Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
Transport Protocols.
1 Transport Layer: Basics Outline Intro to transport UDP Congestion control basics.
1 Review – The Internet’s Protocol Architecture. Protocols, Internetworking & the Internet 2 Introduction Internet standards Internet standards Layered.
1 Network Architecture Section Network Architecture Challenge –Fill the gap between hardware capabilities and application expectations, and to.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
IP - Internet Protocol No. 1  Seattle Pacific University IP: The Internet Protocol Kevin Bolding Electrical Engineering Seattle Pacific University.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Internet Protocol Version4 (IPv4)
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.
Functions of Presentation Layer
Introduction to TCP/IP networking
Subject Name: Computer Communication Networks Subject Code: 10EC71
Review of Important Networking Concepts
I. Basic Network Concepts
Process-to-Process Delivery:
Lecture 2: Overview of TCP/IP protocol
Outline Overview of IP History of the Internet - 3-May-19
Process-to-Process Delivery: UDP, TCP
Presentation transcript:

1 Introduction

2 Goals for Today’s Class Course overview –Goals of the course –Structure of the course –Learning the material –Course grading –Academic policies Key concepts in data networking –Protocols –Layering –Resource allocation –Naming

3 Structure of the Course Start at the top –Protocols: essential elements of a protocol –Packet Switching Then study the “narrow waist” of IP –IP best-effort packet-delivery service –IP addressing and packet forwarding And how to build on top of the narrow waist –Transport protocols (TCP, UDP) –Domain Name System (DNS) –Glue (ARP, DHCP, ICMP) –End-system security and privacy (NAT, firewalls) Looking underneath IP –Link technologies

4 Structure of the Course (contd..) And how to get the traffic from here to there –Internet routing architecture (the “inter” in Internet) –Intradomain and interdomain routing protocols Network Security –Cryptographic tools –Authentication Protocols, Firewalls Applications –Web and content-distribution networks – –Peer-to-peer file sharing –Multimedia

5 Key Concepts in Networking Protocols –Speaking the same language –Syntax and semantics Layering –Standing on the shoulders of giants –A key to managing complexity Resource allocation –Dividing scare resources among competing parties –Memory, link bandwidth, wireless spectrum, paths, … –Distributed vs. centralized algorithms Naming –What to call computers, services, protocols, …

6 Protocols: Calendar Service Making an appointment with your advisor Specifying the messages that go back and forth –And an understanding of what each party is doing Please meet with me for 1.5 hours starting at 1:30pm on February 8, 2006? I can’t. Yes! Please meet with me for 1.5 hours starting at 3:00pm on February 8, 2006? Please meet with me for 1.5 hours starting at 4:30pm on February 8, 2006?

7 Specifying the Details How to identify yourself? –Name? Social security number? How to represent dates and time? –Time, day, month, year? In what time zone? –Number of seconds since Jan 1, 1970? What granularities of times to use? –Any possible start time and meeting duration? –Multiples of five minutes? How to represent the messages? –Strings? Record with name, start time, and duration? What do you do if you don’t get a response? –Ask again? Reply again?

8 Example: HyperText Transfer Protocol GET /~akatangur/fa07/COSC4342/ HTTP/1.1 Host: User-Agent: Mozilla/4.03 CRLF HTTP/ OK Date: Sat, 18 Aug :09:03 GMT Server: Netscape-Enterprise/3.5.1 Last-Modified: Thu, 16 Aug :12:23 GMT Content-Length: 381 CRLF Request Response

9 Example: IP Packet 4-bit Version 4-bit Header Length 8-bit Type of Service (TOS) 16-bit Total Length (Bytes) 16-bit Identification 3-bit Flags 13-bit Fragment Offset 8-bit Time to Live (TTL) 8-bit Protocol 16-bit Header Checksum 32-bit Source IP Address 32-bit Destination IP Address Options (if any) Payload 20-byteheader

10 IP: Best-Effort Packet Delivery Packet switching –Send data in packets –Header with source & destination address Best-effort delivery –Packets may be lost –Packets may be corrupted –Packets may be delivered out of order source destination IP network

11 Example: Transmission Control Protocol Communication service (socket) –Ordered, reliable byte stream –Simultaneous transmission in both directions Key mechanisms at end hosts –Retransmit lost and corrupted packets –Discard duplicate packets and put packets in order –Flow control to avoid overloading the receiver buffer –Congestion control to adapt sending rate to network load sourcenetworkdestination TCP connection

12 Protocol Standardization Communicating hosts speaking the same protocol –Standardization to enable multiple implementations –Or, the same folks have to write all the software Standardization: Internet Engineering Task Force –Based on working groups that focus on specific issues –Produces “Request For Comments” (RFCs) Promoted to standards via rough consensus and running code E.g., RFC 1945 on “HyperText Transfer Protocol – HTTP/1.0” –IETF Web site is De facto standards: same folks writing the code –P2P file sharing, Skype, …

13 Layering: A Modular Approach Sub-divide the problem –Each layer relies on services from layer below –Each layer exports services to layer above Interface between layers defines interaction –Hides implementation details –Layers can change without disturbing other layers Link hardware Host-to-host connectivity Application-to-application channels Application

14 IP Suite: End Hosts vs. Routers HTTP TCP IP Ethernet interface HTTP TCP IP Ethernet interface IP Ethernet interface Ethernet interface SONET interface SONET interface host router HTTP message TCP segment IP packet

15 The Internet Protocol Suite UDPTCP Data Link Physical Applications The Hourglass Model Waist The waist facilitates interoperability FTPHTTPTFTPNV TCPUDP IP NET 1 NET 2 NET n …

16 Layer Encapsulation Get index.html Connection ID Source/Destination Link Address User AUser B

17 Problem: Packet size Solution: Split the data across multiple packets What if the Data Doesn’t Fit? On Ethernet, max IP packet is 1500 bytes Typical Web page is 10 kbytes GETindex.html GET index.html

18 Protocol Demultiplexing Multiple choices at each layer FTPHTTPTFTPNV TCPUDP IP NET 1 NET 2 NET n … TCP/UDPIP Port Number Network Protocol Field Type Field

19 Demultiplexing: Port Numbers Differentiate between multiple transfers –Knowing source and destination host is not enough –Need an id for each transfer between the hosts Specify a particular service running on a host –E.g., HTTP server running on port 80 –E.g., FTP server running on port 21 HTTP transfers FTP transfer

20 Resource Allocation: Queues Sharing access to limited resources –E.g., a link with fixed service rate Simplest case: first-in-first out queue –Serve packets in the order they arrive –When busy, store arriving packets in a buffer –Drop packets when the queue is full

21 What if the Data gets Dropped? Internet GET index.html Problem: Lost Data Internet GET index.html Solution: Timeout and Retransmit GET index.html

22 Solution: Add Sequence Numbers Problem: Out of Order What if the Data is Out of Order? GETx.htindeml GET x.htindeml GET index.html ml4inde2x.ht3GET1

23 Resource Allocation: Congestion Control What if too many folks are sending data? –Senders agree to slow down their sending rates –… in response to their packets getting dropped The essence of TCP congestion control –Key to preventing congestion collapse of the Internet

24 Naming: Domain Name System (DNS) Properties of DNS –Hierarchical name space divided into zones –Translation of names to/from IP addresses –Distributed over a collection of DNS servers Client application –Extract server name (e.g., from the URL) –Invoke system call to trigger DNS resolver code E.g., gethostbyname() on “ Server application –Extract client IP address from socket –Optionally invoke system call to translate into name E.g., gethostbyaddr() on “ ”

25 Domain Name System comeduorgac uk zw arpa unnamed root bar westeast foomy ac cam usr in- addr generic domainscountry domains my.east.bar.edu usr.cam.ac.uk /24

26 DNS Resolver and Local DNS Server Application DNS resolver Local DNS server 1 10 DNS cache DNS query 2 DNS response 9 Root server 3 4 Top-level domain server 5 6 Second-level domain server 7 8 Caching based on a time-to-live (TTL) assigned by the DNS server responsible for the host name to reduce latency in DNS translation.

27 Conclusion Course objectives Key concepts in networking –Protocols, layers, resource allocation, and naming