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.

Slides:



Advertisements
Similar presentations
Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies A Little More on Chapter 7 And Start Chapter 8 TCP/IP.
Advertisements

1 Higher level protocols Domain Naming System, DNS HTTP.
International Standards Organization Open Systems Interconnect (OSI) Reference Model Advanced Computer Networks.
Networks: TCP/IP Socket Calls1 Elementary TCP Sockets Chapter 4 UNIX Network Programming Vol. 1, Second Ed. Stevens.
Elementary TCP Sockets Chapter 4 UNIX Network Programming Vol. 1, Second Ed. Stevens.
Chapter 3: Transport Layer
Network Architecture and the OSI Reference Model Computer Networks Computer Networks Spring 2012 Spring 2012.
Networks: HTTP and DNS1 The Internet and HTTP and DNS Examples.
Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies The caller picks up the phone triggering the flow of current in.
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.
Networks: OSI Reference Model1 International Standards Organization Open Systems Interconnect (OSI) Reference Model.
Introduction to Management Information Systems Chapter 5 Data Communications and Internet Technology HTM 304 Fall 07.
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.
1 ECE 683 Computer Network Design & Analysis Note 2: Applications and Layered Architectures.
Networks: OSI Model1 International Standards Organization Open Systems Interconnect (OSI) Reference Model.
Network Architecture and the OSI Reference Model Advanced Computer Networks Advanced Computer Networks D12 D12.
1 TCP/IP architecture A set of protocols allowing communication across diverse networks Out of ARPANET Emphasize on robustness regarding to failure Emphasize.
Lecture 8 Modeling & Simulation of Communication Networks.
Process-to-Process Delivery:
Module 1: Reviewing the Suite of TCP/IP Protocols.
1 Applications and layered architectures Various services: various applications require various services Flexibility: powerful networks need to be flexible.
Computer Networking An Introduction to Computer Networks and Layered Architectures Dr Sandra I. Woolley.
TCP/IP Protocol Suite - examples
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
Layer Architecture of Network Protocols
1 ELEN602 Lecture 2 Review of Last Lecture Layering.
© 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.
Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
1 Chapter 2 Applications and Layered Architectures Protocols, Services & Layering OSI Reference Model TCP/IP Architecture How the Layers Work Together.
Network Architecture and the OSI Reference Model Computer Networks Computer Networks A15 A15.
CSC 535 Communication Networking I Chapter 2 Layered Architectures Dr. Cheer-Sun Yang.
Computer Networks Chapter 2: Applications and Layered Architectures.
Information Flow Across the Internet. What is the Internet? A large group of computers that link together to form the Worldwide Area Network (WAN)
Chapter 2 Applications and Layered Architectures Sockets.
Network Architecture and the OSI Reference Model Computer Networks Computer Networks Spring 2013 Spring 2013.
1 UDP : User Datagram Protocol Computer Network System Sirak Kaewjamnong.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
Network Architecture and the OSI Reference Model Advanced Computer Networks Advanced Computer Networks C13 C13.
Socket Programming Introduction. Socket Definition A network socket is one endpoint in a two-way communication flow between two programs running over.
1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)
Socket Programming.
1 ECEN “Internet Protocols and Modeling”, Spring 2011 Slide 5.
Advanced UNIX programming Fall 2002, lecture 16 Instructor: Ashok Srinivasan Acknowledgements: The syllabus and power point presentations are modified.
OSI means Open System Interconnect model. OSI means Open System Interconnect model. Developed by the International Organization for Standardization in.
1. Layered Architecture of Communication Networks: TCP/IP Model
Transmission Control Protocol (TCP) Internet Protocol (IP)
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
Communication Networks NETW 501 Tutorial 2
1 K. Salah Application Layer Module K. Salah Network layer duties.
1 14-Jun-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI transport layer CCNA Exploration Semester 1 – Chapter 4.
SOCKET PROGRAMMING Presented By : Divya Sharma.
OSI LAYERS.
Distributed Systems.
The Internet and HTTP and DNS Examples
Networks: OSI Reference Model
Process-to-Process Delivery:
TCP/IP Protocol Suite: Review
Network Architecture and the OSI Reference Model
TCP/IP Protocol Suite: Review
Networks: OSI Reference Model
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Presentation transcript:

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 Introduces topic

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies HTTP server HTTP client Request Response Figure 2.1

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies 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 n entity n-PDUs n entity Figure 2.3

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies n+1 entity n-SAP n+1 entity n-SAP n entity n-SDU H H n-PDU Figure 2.4

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies n-SDU n-PDU n-SDU n-PDU Segmentation Reassembly n-PDU n-SDU n-PDU Blocking Unblocking n-SDU (a) (b) Figure 2.5

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies Application Layer Presentation Layer Session Layer Transport Layer Network Layer Data Link Layer Physical Layer Application Layer Presentation Layer Session Layer Transport Layer Network Layer Data Link Layer Physical Layer Network Layer Electrical and/or Optical Signals Application A Application B Data Link Layer Physical Layer Network Layer Data Link Layer Physical Layer Communication Network Figure 2.6

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies C PS C C C C PS = packet switch C = computer Figure 2.7

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies G G G G G net 1 net 2 net 3 net 4 net 5 G = gateway/router G Figure 2.8

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies Application Layer Presentation Layer Session Layer Transport Layer Network Layer Data Link Layer Physical Layer Application Layer Presentation Layer Session Layer Transport Layer Network Layer Data Link Layer Physical Layer Application A Application B data ah ph sh th nh dh bits dt Figure 2.9

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies Application Layer Transport Layer Internet Layer Network Interface Application Layer Transport Layer Internet Layer Network Interface (a) (b) Figure 2.10

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies Application Transport Internet Network Interface Application Transport Internet Network Interface Internet Network Interface Network 1 Network 2 Machine A Machine B Router/Gateway Figure 2.11

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

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies Net Interface IP TCP HTTP Net Interface IP Net Interface IP TCP HTTP EthernetPPP Router router (1,1) s (1,2) w (2,1) (1,3) r (2,2) PPP Ethernet (a) (b) Server PC Figure 2.13

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies IP Header Header contains source and destination physical addresses; network protocol type Frame Check Sequence Ethernet Header Figure 2.14

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies HTTP Request TCP Header Header contains source and destination port numbers Header contains source and destination IP addresses; transport protocol type IP Header Header contains source and destination physical addresses; network protocol type Frame Check Sequence Ethernet Header Figure 2.15

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies Application 1 Socket socket interface user kernel Application 2 user kernel Underlying communication Protocols Communications network Socket socket interface Figure 2.16

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies Figure 2.17

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies socket() bind() sendto() close() socket() bind() recvfrom() sendto() close() blocks until server receives data from client data Server Client recvfrom() Figure 2.18

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies User Interface User PI User DTP PI = Protocol interpreter DTP = Data transfer process User FTP Server PI Server DTP Server FTP Control Connection Data Connection Figure 2.19

Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies C:\WINDOWS>ping nal.toronto.edu Pinging nal.toronto.edu [ ] with 32 bytes of data: Reply from : bytes=32 time=118ms TTL=243 C:\WINDOWS> Figure 2.20