TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 0 TCP/IP Overview.

Slides:



Advertisements
Similar presentations
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Network Protocols and Communications Introduction to Networks.
Advertisements

Review of Important Networking Concepts
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
ECS152BXin Liu 1 ECS 152B Computer Networks Fall 2003 Prof. Xin Liu
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
Protocol Architecture The “Common Language”. Copyright by Jorg Liebeherr 98, 99 Need for Protocols Protocols are a set of rules and conventions. By enforcing.
Chapter Overview TCP/IP Protocols IP Addressing.
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 slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
Lecture 8 Modeling & Simulation of Communication Networks.
1 CS 4396 Computer Networks Lab The Internet. 2 A Definition On October 24, 1995, the FNC unanimously passed a resolution defining the term Internet.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Process-to-Process Delivery:
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
Chapter 2 Network Models
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.
Protocols and the TCP/IP Suite
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.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Network Protocols and Communications Introduction to Networks.
COMT 429 The Internet Protocols COMT 429. History 1969First version of a 4 node store and forward network, the ARPAnet 1972Formal demonstration of ARPAnet.
Presentation_ID 1 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Chapter 3: Network Protocols and Communications.
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.
Chapter 1. Introduction. By Sanghyun Ahn, Deot. Of Computer Science and Statistics, University of Seoul A Brief Networking History §Internet – started.
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
1 Figure 3-2: TCP/IP Standards (Study Figure) Origins  Defense Advanced Research Projects Agency (DARPA) created the ARPANET  An internet connects multiple.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_b Protocol Layering Instructor: Dr. Li-Chuan Chen Date: 09/15/2003 Based in part upon slides of Prof.
ITCC-1401 Chapter 3: Network Protocols and Communications
1 The Internet Introductory material. An overview lecture that covers Internet related topics, including a definition of the Internet, an overview of its.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
TCP/IP Protocol Architecture CSE 3213 – Fall
1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)
1 Chapters 2 & 3 Computer Networking Review – The TCP/IP Protocol Architecture.
1 Introduction to Networking Concepts Chu-Sing Yang Department of Electrical Engineering National Cheng Kung University.
Net 221D:Computer Networks Fundamentals
1 The Internet Introductory material. An overview lecture that covers Internet related topics, including a definition of the Internet, an overview of its.
1 The Internet Introductory material. An overview lecture that covers Internet related topics, including a definition of the Internet, an overview of its.
1 Review – The Internet’s Protocol Architecture. Protocols, Internetworking & the Internet 2 Introduction Internet standards Internet standards Layered.
J. Liebeher (modified by M. Veeraraghavan) 1 Introduction Complexity of networking: An example Layered communications The TCP/IP protocol suite.
- 1 - DPNM Review of Important Networking Concepts J. Won-Ki Hong Dept. of Computer Science and Engineering POSTECH Tel:
Communication Networks NETW 501 Tutorial 2
Process-to-Process Delivery:
Chapter 3: Network Protocols and Communications
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 3: Network Protocols and Communications
Virtualization of networks
Functions of Presentation Layer
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
A quick intro to networking
Part I. Overview of Data Communications and Networking
Course Review 2015 Computer networks 赵振刚
Network Architecture Introductory material
Lec 5 Layers Computer Networks Al-Mustansiryah University
Review of Important Networking Concepts
Review of Important Networking Concepts
TCP/IP Protocol Suite: Review
TCP/IP Protocol Suite: Review
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Introduction to TCP/IP
The Internet Introductory material.
CSE 313 Data Communication
Review of Important Networking Concepts
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Unit – III Network Essentials
Presentation transcript:

TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 0 TCP/IP Overview

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 2 The Internet A global information system consisting of millions of computer networks around the world. History  Late 1960s, ARPA sponsors the development of a packet- switching network, called the ARPANET.  1974, The TCP/IP protocols and model are proposed by Cerf and Kahn.  1983, ARPANET adopts TCP/IP. At this time, the ARPANET has 200 routers.  1984, NSF funds a TCP/IP based backbone network. This backbone grows into the NSFNET, which becomes the successor of the ARPANET.  1995, NSF stops funding the NSFNET. The Internet is completely commercial.

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 3 Internet Standards Control Internet Society (ISOC): a professional membership organization that comments on policies, practices, and oversees others dealing with network policy issues. Internet Architecture Board (IAB): responsible for defining overall architecture of the Internet with guidance and broad direction to the IETF. Internet Engineering Task Force (IETF): responsible for protocol engineering and development. Internet Research Task Force (IRTF): responsible for focused, long-term research. Internet Corporation for Assigned Names and Numbers (ICANN): in charge of defining all “unique parameters” in the Internet, including domain names and IP addresses.

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 4 Internet Standardization Process A typical (but not only) way of standardization is:  Internet Drafts  RFC (Request for Comments)  Proposed Standard  Draft Standard (requires 2 working implementation)  Internet Standard (declared by IAB) David Clark, MIT, 1992: "We reject: kings, presidents, and voting. We believe in: rough consensus and running code.”

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 5 A Hierarchical Communication Architecture Networking can be quite complex and requires a high degree of cooperation between the involved parties. Cooperation is achieved by forcing parties to adhere to a set of rules and conventions (protocols). The complexity of the communication task is reduced by using multiple protocol layers:  Each protocol is implemented independently.  Each protocol is responsible for a specific subtask.  Protocols are grouped in a hierarchy. A structured set of protocols is called a communications architecture or protocol suite.

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 6 TCP/IP Protocols Internet Protocol Suite A combination of different protocols Organized into four layers

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 7 Functions of the Layers Data Link Layer  Service: Reliable transfer of frames over a link.  Functions: Synchronization, error control, flow control. Network Layer  Service: Moves packets inside the network.  Functions: Routing, addressing, switching, congestion control. Transport Layer  Service: Controls delivery of data between hosts.  Functions: Connection establishment/termination, error control, flow control. Application Layer  Service: Handles details of application programs.  Functions: Everything is application specific.

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 8 Protocols in Different Layers

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 9 Internetworking Devices Computers are connected by internetworking devices. Classified according to their functionality and layers  Hub  Bridge  Switch  Router

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 10 Hosts Communicating over a Hub

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 11 Hosts Communicating over a bridge

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 12 Hosts Communicating over a router

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 13 Encapsulation The application data is sent down Each layer adds a header to the data (PDU) from its higher layer.

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 14 Multiplexing and Demultiplexing Different higher layer protocols can use the service by the same lower layer protocol. The same higher layer protocol can use the service by different lower layer protocols.

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 15 Naming and Addressing Uniquely identify processes in different computers for communications. Port number Domain name IP address MAC address

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 16 Domain Name Identify a host User friendly Hierarchically organized Domain Name System (DNS): resolves a domain name to the corresponding IP address.  DNS servers and the domain name database  Name caching  DNS query and reply

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 17 The Domain Name Space

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 18 Port Number Address for the application layer user process. Port Number field in TCP or UDP header. Well-known port numbers  1 to 255: Internet wide services  256 to 1023: preserved for Unix specific services  1024 and up: ephemeral port numbers

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 19 IP Address Each host interface in the Internet has a unique IP address. IPv4, 32 bits, dotted-decimal notation IPv6, 128-bit address

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 20 Five Classes of IP Addresses

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 21 Subnetting Three levels of an IP address:  Network ID  Subnet ID  Host ID Subnet mask: separates subnet ID and host ID

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 22 Ethernet Frame Format Source Ethernet (MAC) Address Destination Ethernet Address Frame Type: used to identify the payload CRC: used for error control

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 23 IP Header Format Size: 20 bytes if without options.

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 24 UDP Header Format Checksum: computed using the UDP header, UDP data and a pseudo-header as below.

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 25 TCP Header Format

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 26 An Example: How TCP/IP Protocols Work Together Bob, a user, wants to book an air ticket from an online booking website. Bob knows the domain name The remote computer with the domain name is a web server.

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 27 An Example – the Application The web server provides the web service. Bob uses a web browser, which is a web client, to request and receive web service. The HyperText Transfer Protocol (HTTP) is used by the web server and browser.

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 28 An Example – DNS Bob starts Netscape in his computer, and types The domain name needs to be translated to an IP address. A DNS query is sent to a DNS server. A DNS reply will return to the client with the IP address.

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 29 An Example – TCP Connection The client establishes a TCP connection to the web server. A port number is carried in all packets in this process. Application data (an HTTP request message for the index.html file) is sent over the TCP connection, encapsulated in a TCP segment.

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 30 An Example – IP Layer The TCP segment is sent down to the IP layer and encapsulated in an IP datagram. Routers will forward the IP datagram hop by hop to the web server by checking their routing tables.

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 31 An Example – MAC Layer Bob’s host sends the IP datagram and the next-hop router’s IP address down to the MAC layer. The IP datagram is encapsulated in an Ethernet frame.

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 32 An Example – ARP The Ethernet frame needs to be sent to the interface of the next-hop router. Only Ethernet MAC address can be recognized. ARP request/reply is used to resolve the MAC address.

Panwar, Mao, Ryoo, Li: TCP/IP Essentials 33 An Example – on the Other End The web server receives the Ethernet frame. The packet is delivered to the upper layers. When the application layer receives the HTTP request message, it sends an HTTP response message to the client.