Networks: HTTP and DNS1 The Internet and HTTP and DNS Examples.

Slides:



Advertisements
Similar presentations
CCNA – Network Fundamentals
Advertisements

Network Architecture and the OSI Reference Model Computer Networks Computer Networks Spring 2012 Spring 2012.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Layer 7- Application Layer
Networks: HTTP and DNS 1 The Internet and HTTP and DNS Examples.
Networks: OSI Reference Model 1 International Standards Organization Open Systems Interconnect (OSI) Reference Model.
Computer Networks: Internet Introduction 1 Internet Introduction and HTTP and DNS Examples.
Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies The user clicks on a link to indicate which document is to be retrieved.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Application Layer PART VI.
Networks: HTTP and DNS1 The Internet and HTTP and DNS Examples.
Networks: HTTP and DNS1 Internet, HTTP and DNS Examples.
Network Architecture and the OSI Reference Model Computer Networks Computer Networks Term B10.
Client, Server, HTTP, IP Address, Domain Name. Client-Server Model Client Bob Yahoo Server yahoo.com/finance.html A text file named finance.html.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
Network Architecture and the OSI Reference Model Advanced Computer Networks Advanced Computer Networks D12 D12.
Chapter Overview TCP/IP Protocols IP Addressing.
1 TCP/IP architecture A set of protocols allowing communication across diverse networks Out of ARPANET Emphasize on robustness regarding to failure Emphasize.
Process-to-Process Delivery:
INTRODUCTION TO WEB DATABASE PROGRAMMING
TCP/IP Protocol Suite - examples
Human-Computer Interface Course 5. ISPs and Internet connection.
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
FTP (File Transfer Protocol) & Telnet
Layer Architecture of Network Protocols
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.
1 ELEN602 Lecture 2 Review of Last Lecture Layering.
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
HTTP HTTP stands for Hypertext Transfer Protocol. It is an TCP/IP based communication protocol which is used to deliver virtually all files and other.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
Network Architecture and the OSI Reference Model Computer Networks Computer Networks A15 A15.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
TCP/IP Transport and Application (Topic 6)
CSC 535 Communication Networking I Chapter 2 Layered Architectures Dr. Cheer-Sun Yang.
1 Figure 3-2: TCP/IP Standards (Study Figure) Origins  Defense Advanced Research Projects Agency (DARPA) created the ARPANET  An internet connects multiple.
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.
Computer Networks Chapter 2: Applications and Layered Architectures.
Internet Protocol B Bhupendra Ratha, Lecturer School of Library and Information Science Devi Ahilya University, Indore
1 Welcome to CSC 301 Web Programming Charles Frank.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
Network Architecture and the OSI Reference Model Computer Networks Computer Networks Spring 2013 Spring 2013.
1 CS 4396 Computer Networks Lab TCP/IP Networking An Example.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
Network Architecture and the OSI Reference Model Advanced Computer Networks Advanced Computer Networks C13 C13.
1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)
IP addresses IPv4 and IPv6. IP addresses (IP=Internet Protocol) Each computer connected to the Internet must have a unique IP address.
INTERNET PROTOCOLS. Microsoft’s Internet Information Server Home Page Figure IT2031 UNIT-3.
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.
CITA 310 Section 2 HTTP (Selected Topics from Textbook Chapter 6)
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
1. Layered Architecture of Communication Networks: TCP/IP Model
CSI 3125, Preliminaries, page 1 Networking. CSI 3125, Preliminaries, page 2 Networking A network represents interconnection of computers that is capable.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 7 Omar Meqdadi Department of Computer Science and Software Engineering University of.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
COMPUTER NETWORKS Hwajung Lee. Image Source:
TCP/IP PROTOCOL UNIT 6. Overview of TCP/IP Application FTP, Telnet, SMTP, HTTP.. Presentation Session TransportHost-to-HostTCP, UDP NetworkInternetIP,
Communication Networks NETW 501 Tutorial 2
1 K. Salah Application Layer Module K. Salah Network layer duties.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
The Internet and HTTP and DNS Examples
Process-to-Process Delivery:
Network Architecture and the OSI Reference Model
Communication Networks NETW 501
TCP/IP Protocol Suite: Review
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Presentation transcript:

Networks: HTTP and DNS1 The Internet and HTTP and DNS Examples

Networks: HTTP and DNS2 The Internet and an internet [LG&W pp.26-28] [LG&W pp.26-28] internet :: involves the interconnection of multiple networks into a single large networks. the “Internet” :: refers to the successor to ARPANET. IP (the Internet Protocol) :: provides connectionless transfer of packets across an internet. LG&W pp LG&W pp

Networks: HTTP and DNS3 G G G G G net 1 net 2 net 3 net 4 net 5 G = gateway G Figure 1.18 Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies An internet

Networks: HTTP and DNS4 IP Currently provides best-effort serviceCurrently provides best-effort service –packets may be lost (i.e., IP is unreliable). General design philosophyGeneral design philosophy –Keep internal operations simple by relegating complex functions to the edge of the subnet. –IP can operate over any network –allow IP to scale!!! –The end-to-end mechanisms are responsible for recovery of packet losses and congestion control.

Networks: HTTP and DNS5 IPv4 Network IDHost ID 4 bytes Uses hierarchical address space with location information embedded in the structure.Uses hierarchical address space with location information embedded in the structure. IP address is usually expressed in dotted- decimal notation (e.g., ).IP address is usually expressed in dotted- decimal notation (e.g., ).

Networks: HTTP and DNS6 Internet Provides a name space to refer to machines connected to the Internet (e.g. chablis.cs.wpi.edu).Provides a name space to refer to machines connected to the Internet (e.g. chablis.cs.wpi.edu). The name space is hierarchical, but is only administrative and not used in network routing operations.The name space is hierarchical, but is only administrative and not used in network routing operations. DNS (Domain Name Service) provides automatic translation of names to addresses.DNS (Domain Name Service) provides automatic translation of names to addresses.

Networks: HTTP and DNS7 Applications and Layered Architectures Applications and Layered Architectures [LG&W pp.43-49] In the 1970’s vendor companies (IBM and DEC) developed proprietary networks with the common feature of grouping communication functions into related and manageable sets called layers.In the 1970’s vendor companies (IBM and DEC) developed proprietary networks with the common feature of grouping communication functions into related and manageable sets called layers. network architecture :: a set of protocols that specify how every layer is to function.

Networks: HTTP and DNS8 TCP/IP Protocol Architecture Model DCC 6 th Ed., W. Stallings Figure 1.9

Networks: HTTP and DNS9 Layering Advantages Simplified the design process.Simplified the design process. Led to flexibility in modifying and developing the network.Led to flexibility in modifying and developing the network. Accommodates incremental changes more readily.Accommodates incremental changes more readily.

Networks: HTTP and DNS10 Layering Examples Client/server relationship :: –Server process waits for incoming requests by listening to a port. –Client process makes requests as required. –Server process provides responses to these requests. –The server process usually runs in the background as a daemon (e.g. httpd is the server daemon for HTTP).

Networks: HTTP and DNS11 HTTP Example HTTP (HyperText Transfer Protocol) specifies rules by which the client and the server interact so as to retrieve a document.HTTP (HyperText Transfer Protocol) specifies rules by which the client and the server interact so as to retrieve a document. The protocol assumes the client and the server can exchange messages directlyThe protocol assumes the client and the server can exchange messages directly The client software needs to set up a two- way connection prior to the HTTP request.The client software needs to set up a two- way connection prior to the HTTP request.

Networks: HTTP and DNS12 HTTP server HTTP client Request Response Figure 2.1 HTTP client/server interaction Leon-Garcia & Widjaja: Communication NetworksCopyright ©2000 The McGraw Hill Companies

Networks: HTTP and DNS13 HTTP SMTP RTP TCP UDP IP Network Interface 1 Network Interface 3 Network Interface 2 DNS Figure Leon-Garcia & Widjaja: Communication NetworksCopyright ©2000 The McGraw Hill Companies

Networks: HTTP and DNS14 HTTP server HTTP client TCP GET 80, # #, 80 STATUS Port 80 Ephemeral Port # Figure 2.2 Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies

The user clicks on a link to indicate which document is to be retrieved. The browser must determine the address that contains the document. It does this by sending a query to its local name server. Once the address is known the browser establishes a connection to the specified machine, usually a TCP connection. In order for the connection to be successful, the specified machine must be ready to accept TCP connections. The browser runs a client version of HTTP, which issues a request specifying both the name of the document and the possible document formats it can handle. The machine that contains the requested document runs a server version of HTTP. It reacts to the HTTP request by sending an HTTP response which contains the desired document in the appropriate format. The TCP connection is then closed and the user may view the document Figure 1.4 Copyright ©2000 The McGraw Hill Companies Leon-Garcia & Widjaja: Communication Networks Retrieving a Web Page

Networks: HTTP and DNS16 Retrieving a document from the Web 1.User selects document 2.Network software of client locates the server host and establishes a two-way connection. 3.HTTP client sends message requesting document. 4.HTTP daemon listening on TCP port 80 interprets a message. 5.HTTP daemon send a result code and a description of the information that the client will receive GET /infocom/index.html HTTP 1.0 HTTP/ OK Server: Apache/ (Unix) Content-Length: 414 Content-Type: text-html

Networks: HTTP and DNS17 Retrieving a document from the Web 6.HTTP daemon reads the file and sends the requested file through the TCP port. 7. Text is displayed by client browser, which interprets the HTML format. 8. HTTP daemon disconnects the connection after the connection is idle for some timeout period. Infocom ’99 The Future Now …

Networks: HTTP and DNS18 DNS query and response 1. Application requests name to address translation. 2. Resolver composes query message. 3. Resolver send UDP datagram encapsulating the query message. 4. DNS server looks up address and prepares response. 5. DNS sends UDP datagram encapsulating the response message. Header: OPCODE=SQUERY Question: QNAME= tesla.comm.toronto.edu., QCLASS=IN, QTYPE=A HEADER: OPCODE=SQUERY, RESPONSE AA Question: QNAME= Tesla.comm.toronto.edu., QCLASS=IN, QTYPE=A Answer: telsa.cmm.toronto.edu IN A