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.

Slides:



Advertisements
Similar presentations
Review of Important Networking Concepts
Advertisements

HTTP HyperText Transfer Protocol. HTTP Uses TCP as its underlying transport protocol Uses port 80 Stateless protocol (i.e. HTTP Server maintains no information.
1 HTTP – HyperText Transfer Protocol Part 1. 2 Common Protocols In order for two remote machines to “ understand ” each other they should –‘‘ speak the.
1 Java Networking – Part I CS , Spring 2008/9.
Introduction & Lab I Lab Equipment & Organization Shlomo Hershkop Columbia University Fall 2006.
Networks: HTTP and DNS1 The Internet and HTTP and DNS Examples.
Cornell CS502 Web Basics and Protocols CS 502 – Carl Lagoze Acks to McCracken Syracuse Univ.
TCP/IP Protocol Suite 1 Chapter 22 Upon completion you will be able to: World Wide Web: HTTP Know how HTTP accesses data on the WWW Objectives.
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
The World Wide Web and the Internet Dr Jim Briggs 1WUCM1.
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
© Jörg Liebeherr ECE 1545 Forwarding in IP Networks.
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
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
Chapter Eleven An Introduction to TCP/IP. Objectives To compare TCP/IP’s layered structure to OSI To review the structure of an IP address To look at.
Internet Vulnerabilities & Criminal Activities 1.2 – 9/12/2011 Structure of Internet Communications 1.2 – 9/12/2011 Structure of Internet Communications.
Human-Computer Interface Course 5. ISPs and Internet connection.
Rhys McBreen (How the internet works) X. Contents The Layers and what they do IP Addressing X.
Basic Network Services IMT 546 – Lab 4 December 4, 2004 Agueda Sánchez Shannon Layden Peyman Tajbakhsh.
Network Protocols. Why Protocols?  Rules and procedures to govern communication Some for transferring data Some for transferring data Some for route.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
FTP (File Transfer Protocol) & Telnet
Computer Networks. IP Addresses Before we communicate with a computer on the network we have to be able to identify it. Every computer on a network must.
CP476 Internet Computing Lecture 5 : HTTP, WWW and URL 1 Lecture 5. WWW, HTTP and URL Objective: to review the concepts of WWW to understand how HTTP works.
Network Communications Technology Chapter 19 Internet Architecture and TCP/IP.
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.
Tools for Web Applications. Overview of TCP/IP Link Layer Network Layer Transport Layer Application Layer.
Huda AL_Omairl - Network 71 Protocols and Network Software.
Examining TCP/IP.
Computer Networks (CS 132/EECS148) General Networking Example Karim El Defrawy Donald Bren School of Information and Computer Science University of California.
Component 9 – Networking and Health Information Exchange Unit 1-1 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
Internet Ethernet Token Ring Video High Speed Router Host A: Client browser: REQUEST:http//mango.ee.nogradesu.edu/c461.
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
© Jörg Liebeherr, Organization Addresses TCP/IP Protocol stack Forwarding Internet.
CPS 356: Introduction to Computer Networks Lecture 2: Network Architectures Xiaowei Yang Reference: Chapter 1 of [PD]
1 CS 4396 Computer Networks Lab TCP/IP Networking An Example.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
TCP/IP (Transmission Control Protocol / Internet Protocol)
2: Application Layer 1 Chapter 2: Application layer r 2.1 Principles of network applications  app architectures  app requirements r 2.2 Web and HTTP.
HTTP How the Internet servers and clients communicate.
HTTP Here, we examine the hypertext transfer protocol (http) – originally introduced around 1990 but not standardized until 1997 (version 1.0) – protocol.
1. Layered Architecture of Communication Networks: TCP/IP Model
Cisco Discovery Semester 1 Chapter 6 JEOPADY RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands.
Computer Communication: An example What happens when I click on
Transmission Control Protocol (TCP) Internet Protocol (IP)
LURP Details. LURP Lab Details  1.Given a GET … call a proxy CGI script in the same way you would for a normal CGI request  2.This UDP perl.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 7 Omar Meqdadi Department of Computer Science and Software Engineering University of.
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
TCP/IP Protocol Suite ©Richard L. Goldman September 25, 2002.
J. Liebeher (modified by M. Veeraraghavan) 1 Introduction Complexity of networking: An example Layered communications The TCP/IP protocol suite.
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.
WEB1P webarch1 Web architecture Dr Jim Briggs. WEB1P webarch2 What is the web? Distributed system Client-server system Characteristics of clients and.
- 1 - DPNM Review of Important Networking Concepts J. Won-Ki Hong Dept. of Computer Science and Engineering POSTECH Tel:
COMPUTER NETWORKS Hwajung Lee. Image Source:
DEV336. demo HTTP Packet Trace GET / HTTP/1.1 Accept: text/html, application/xhtml+xml, */* Accept-Language: en-US User-Agent: Mozilla/5.0 (compatible;
Communication Networks NETW 501 Tutorial 2
IST 201 Chapter 11 Lecture 2. Ports Used by TCP & UDP Keep track of different types of transmissions crossing the network simultaneously. Combination.
Network Architecture Introductory material
TCP/IP Networking An Example
Topic 5: Communication and the Internet
Review of Important Networking Concepts
TCP/IP Networking An Example
Review of Important Networking Concepts
TCP/IP Networking An Example
Communication Networks NETW 501
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Review of Important Networking Concepts
Presentation transcript:

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 intents to motivate the study of the TCP/IP protocols. TCP/IP Networking An Example

2 A user on host argon.tcpip-lab.edu (“Argon”) makes a web access to URL What actually happens in the network? A simple TCP/IP Example

3 HTTP Request and HTTP response The web access is handled by the HTTP protocol: –HTTP request and HTTP response GET /index.html HTTP/1.1 Accept: image/gif, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 Host: neon.tcpip-lab.edu Connection: Keep-Alive HTTP request HTTP/ OK Date: Sat, 25 May :10:32 GMT Server: Apache/ (Unix) Last-Modified: Sat, 25 May :51:33 GMT ETag: " ceff955" Accept-Ranges: bytes Content-Length: 81 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/html Internet Lab Click here for the Internet Lab webpage. HTTP response

4 From HTTP to TCP To send a request, the HTTP client program opens a TCP connection to the HTTP server at Neon To create a TCP connection, a TCP client requires address information on the server, consisting of: a 32-bit IP address, a 16-bit port number.

5 Domain Name System (DNS) Argon contacts a DNS server to translate the domain name neon.tcpip-lab.edu into an IP address The Domain Name System (DNS) is a worldwide distributed system of DNS servers. Each host that uses domain name must be configured with the IP address of a DNS server

6 Port numbers Port numbers are used to identify application programs on a client or server application When a server application is started, it “binds” to a port number For many services there are default port numbers (“well-known ports”): File transfer protocol ftp21 Secure shell ssh 22 Simple mail transfer protocol smtp 25 Hypertext transfer protocolhttp80 Internet message access protocol IMAP143 In the example, Argon uses the well-known port for http

7 Opening a TCP Connection To open a TCP connection –The TCP client at Argon sends a request to establish a connection to port 80 at

8 Requesting a TCP Connection To open a TCP connection –The TCP client at Argon sends a request to establish a connection to port 80 at –The request is sent in an IP datagram

9 Sending the IP datagram to an IP router Argon ( ) can deliver the IP datagram directly to Neon ( ), only if both are on the same IP network: How is this determined? Here, Argon and Neon are not on the same IP network Argon sends the IP datagram to its default gateway The default gateway is an IP router The IP address of the default gateway must be configured Argon’s default gateway has IP address

10 The route from Argon to Neon Note that the gateway has a different IP address for each of its interfaces.

11 Sending packet over an Ethernet network Situation: Argon wants to send an IP datagram to its gateway Since Argon’s network interface is to an Ethernet network, Argon puts the IP datagram in an Ethernet frame Since Ethernet uses MAC addresses, Argon must first translate the IP address into a MAC address –This is done with the Address Resolution Protocol (ARP)

12 Address resolution with ARP

13 Sending an Ethernet frame Now the Ethernet frame can be sent

14 Forwarding the IP datagram When Router137 receives the Ethernet frame, it recovers the IP datagram and determines that the IP datagram should be forwarded to the interface with name The IP router determines that it can deliver the IP datagram directly

15 Another lookup of a MAC address The router needs to find the MAC address of Neon. Again, ARP is invoked, to translate the IP address of Neon ( ) into the MAC address of neon (00:20:af:03:98:28).

16 Sending another Ethernet frame Router71 sends the Ethernet frame to Neon

17 Wrapping-up the example So far, Neon has only obtained a single packet Much more work is required to establish an actual TCP connection and the transfer of the HTTP Request The example was simplified in several ways: – No transmission errors – The route between Argon and Neon is short (only one IP router) – Argon knew how to contact the DNS server (without routing or address resolution) – ….