1 ELEN602 Lecture 2 Review of Last Lecture Layering.

Slides:



Advertisements
Similar presentations
CCNA – Network Fundamentals
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
1 Higher level protocols Domain Naming System, DNS HTTP.
International Standards Organization Open Systems Interconnect (OSI) Reference Model Advanced Computer Networks.
Layer 7- Application Layer
Networks: HTTP and DNS1 The Internet and HTTP and DNS Examples.
Networks: HTTP and DNS 1 The Internet and HTTP and DNS Examples.
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.
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.
Introduction to Management Information Systems Chapter 5 Data Communications and Internet Technology HTM 304 Fall 07.
Networks: HTTP and DNS1 The Internet and HTTP and DNS Examples.
Networks: HTTP and DNS1 Internet, HTTP and DNS Examples.
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.
©Brooks/Cole, 2003 Chapter 6 Computer Networks. ©Brooks/Cole, 2003 Understand the rationale for the existence of networks. Distinguish between the three.
CS 356 Systems Security Spring Dr. Indrajit Ray
1 TCP/IP architecture A set of protocols allowing communication across diverse networks Out of ARPANET Emphasize on robustness regarding to failure Emphasize.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
Process-to-Process Delivery:
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.
1 Applications and layered architectures Various services: various applications require various services Flexibility: powerful networks need to be flexible.
TCP/IP Protocol Suite - examples
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
Lesson 24. Protocols and the OSI Model. Objectives At the end of this Presentation, you will be able to:
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
Chapter 9.
Layer Architecture of Network Protocols
© 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.
Copyright 2003 CCNA 1 Chapter 9 TCP/IP Transport and Application Layers By Your Name.
Network Services Networking for Home & Small Business.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Mukesh N. Tekwani Elphinstone College Mumbai
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
Component 9 – Networking and Health Information Exchange Unit 1-1 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
1 LAN Protocols (Week 3, Wednesday 9/10/2003) © Abdou Illia, Fall 2003.
TCP/IP Transport and Application (Topic 6)
CSC 535 Communication Networking I Chapter 2 Layered Architectures Dr. Cheer-Sun Yang.
Computer Networks Chapter 2: Applications and Layered Architectures.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 6 The Transport Layer.
Internet Protocol B Bhupendra Ratha, Lecturer School of Library and Information Science Devi Ahilya University, Indore
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)
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.
1. Layered Architecture of Communication Networks: TCP/IP Model
Transmission Control Protocol (TCP) Internet Protocol (IP)
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
COMPUTER NETWORKS Hwajung Lee. Image Source:
1 Network Communications A Brief Introduction. 2 Network Communications.
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.
SOCKET PROGRAMMING Presented By : Divya Sharma.
OSI LAYERS.
Networking for Home and Small Businesses – Chapter 6
Network Architecture Introductory material
Networking for Home and Small Businesses – Chapter 6
The Internet and HTTP and DNS Examples
Review of Important Networking Concepts
Networks: OSI Reference Model
Process-to-Process Delivery:
TCP/IP Protocol Suite: Review
TCP/IP Protocol Suite: Review
Networks: OSI Reference Model
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Networking for Home and Small Businesses – Chapter 6
Presentation transcript:

1 ELEN602 Lecture 2 Review of Last Lecture Layering

2 Communication Networks Many forms of communication networks around –Postal mail, telephone, Internet etc. Generic steps involved in communication –Addressing, name-to-address translation, transport, routing, delivery Forms of delivery –Reliable, in-order –Unreliable, no acknowledgement

3 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 Steps in Web Surfing

4 HTTP server HTTP client Request Response Application level View

5 Steps in HTTP Transfer User selects document Networking software locates the remote machine address & establishes a 2-way connection HTTP client sends request for document (GET ) HTTP daemon on remote machine interprets the GET message Remote HTTP daemon sends the result of GET operation –Result code, Description of the information, requested file Remote HTTP daemon disconnects the connection HTTP client displays the HTML content in the browser.

6 Domain Name Service DNS servers help resolve name-to-address translation –Given a name such as ee.tamu.edu, find its IP address IP addresses = telephone numbers in phone network Machines (computers/network elements) know each other by IP addresses IP addresses are 32bits in IPv4. DNS protocol allows name-to-IP address resolution –Similar to phone directory assistance (411 or )

7 DNS Example (cont’d) QNAME = ee.tamu.edu, QCLASS = IN QTYPE = A QNAME = ee.tamu.edu QCLASS = IN QTYPE = A –IN A The application will now use whenever it needs to contact ee.tamu.edu

8 HTTP server HTTP client TCP GET 80, # #, 80 STATUS Port 80 Ephemeral Port # A more detailed view - Transport protocol

9 and SMTP Web transfers use HTTP, uses SMTP (Simple Mail Transfer Protocol) - Application level protocols Sender - Local SMTP Server -- Remote SMTP Server - Receiver SMTP uses Port 25, HTTP uses port 80 POP (Post Office Protocol) may be used if receiver not on all the time.

10 Sender establishes TCP Connection to SMTP server Sends HELO message -identifying itself to SMTP server Client sends sender’s address SMTP server acknowledges with 250 if successful Client sends receiver’s address SMTRP server acknowledges with 250 Client sends a DATA message - requesting permission to send message SMTP server sends OK-to-send message Client transfers the message SMTP server returns ack with a message ID Client indicates that the transfer is complete. SMTP confirms the receipt of End-of-transfer message

11 n entity n-PDUs n entity Abstract View

12 n+1 entity n-SAP n+1 entity n-SAP n entity n-SDU H H n-PDU Layering in General

13 n-SDU n-PDU n-SDU n-PDU Segmentation Reassembly n-PDU n-SDU n-PDU Blocking Unblocking n-SDU (a) (b) Data Units at different layers

14 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 OSI Seven-layer Model

15 C PS C C C C PS = packet switch C = computer Packet-Switched Network

16 G G G G G net 1 net 2 net 3 net 4 net 5 G = gateway/router G An Internetwork

17 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 Headers and Trailers

18 Application Layer Transport Layer Internet Layer Network Interface Application Layer Transport Layer Internet Layer Network Interface (a) (b) TCP/IP Network Architecture

19 Application Transport Internet Network Interface Application Transport Internet Network Interface Internet Network Interface Network 1 Network 2 Machine A Machine B Router/Gateway IP Layer and Network Interface Layer

20 HTTP SMTP RTP TCP UDP IP Network Interface 1 Network Interface 3 Network Interface 2 DNS IP Hour-Glass Protocol Graph

21 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

22 IP Header Header contains source and destination physical addresses; network protocol type Frame Check Sequence Ethernet Header IP Datagram on an Ethernet

23 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

24 Application 1 Socket socket interface user kernel Application 2 user kernel Underlying communication Protocols Communications network Socket socket interface

25

26 socket() bind() sendto() close() socket() bind() recvfrom() sendto() close() blocks until server receives data from client data Server Client recvfrom()

27 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

28 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>