EEC-484/584 Computer Networks Lecture 3 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.

Slides:



Advertisements
Similar presentations
1 CS 640: Introduction to Computer Networks Aditya Akella Lecture 2 Layering, Protocol Stacks, and Standards.
Advertisements

Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
EEC-484/584 Computer Networks Lecture 4 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
EEC-484/584 Computer Networks Lecture 4 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
CPSC 441: Intro, UDP1 Transport Layer Instructor: Carey Williamson Office: ICT Class Location:
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Application Layer – Lecture.
EEC-484/584 Computer Networks Lecture 15 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
EEC-484/584 Computer Networks Lecture 2 Wenbing Zhao (Lecture nodes are based on materials supplied by Dr. Louise Moser at UCSB and Prentice-Hall)
EEC-484/584 Computer Networks Lecture 3 Wenbing Zhao
EEC-484/584 Computer Networks Lecture 3 Wenbing Zhao
2: Application Layer1 Chapter 2: Application Layer Our goals: r conceptual, implementation aspects of network application protocols m transport-layer service.
1 Application Layer. 2 Writing Networked Applications TCP UDP IP LL PL TCP UDP IP LL PL TCP UDP IP LL PL Web Browser Web Server Ftp Server Ftp Client.
EEC-484/584 Computer Networks Lecture 3 Wenbing Zhao
EEC-484/584 Computer Networks Lecture 3 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
EEC-484/584 Computer Networks Lecture 3 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Introduction to the Application Layer Computer Networks Computer Networks Spring 2012 Spring 2012.
EEC-484/584 Computer Networks Lecture 4 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
EEC-484/584 Computer Networks Lecture 3 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
1 Computer Networks Transport Layer Protocols. 2 Application-layer Protocols Application-layer protocols –one “piece” of an app –define messages exchanged.
EEC-484/584 Computer Networks Lecture 6 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
EEC-484/584 Computer Networks Lecture 4 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Dr. Philip Cannata 1 Principles of Network Applications.
Introduction 1 Lecture 5 Application Layer slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science & Engineering Department.
Chapter 2 Application Layer Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April A note on the use.
Process-to-Process Delivery:
Chapter 2, slide: 1 CS 372 – introduction to computer networks* Monday June 28 Announcements: r Lab 1 is due today r Lab 2 is posted today and is due next.
2: Application Layer1 Chapter 2 Application Layer These slides derived from Computer Networking: A Top Down Approach, 6 th edition. Jim Kurose, Keith Ross.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Throughput: Internet scenario
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
19-1 Last time □ TCP ♦ Throughput ♦ Fairness ♦ Delay modeling □ TCP socket programming.
CHAPTER 2. Creating a network app write programs that – run on (different) end systems – communicate over network – e.g., web server software communicates.
1 Application Layer Lecture 4 Imran Ahmed University of Management & Technology.
CS 3830 Day 7 Introduction : Application Layer 2 Processes communicating Process: program running within a host. r within same host, two processes.
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
1 CS 455/555 Intro to Networks and Communications Client/Server Computing and Socket Programming (2.1, ) Michele Weigle Department of Computer Science.
1: Introduction1 Internet History r 1961: Kleinrock - queueing theory shows effectiveness of packet- switching r 1964: Baran - packet- switching in military.
CS 3214 Computer Systems Godmar Back Lecture 23. Announcements Project 5 due Dec 8 Exercise 10 handed out Exercise 11 coming before Thanksgiving CS 3214.
What makes a network good? Ch 2.1: Principles of Network Apps 2: Application Layer1.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
2: Application Layer 1 Chapter 2: Application layer r 2.1 Principles of network applications r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail  SMTP,
Sockets process sends/receives messages to/from its socket
1 Figure 3-2: TCP/IP Standards (Study Figure) Origins  Defense Advanced Research Projects Agency (DARPA) created the ARPANET  An internet connects multiple.
1 Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
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.
The Transport Layer application transport network data link physical application transport network data link physical application transport network data.
1 End-user Protocols, Services and QoS. 2 Layering: logical communication application transport network link physical application transport network link.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
2: Application Layer1 Chapter 2 Application Layer Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross.
1 Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
2: Application Layer 1 Chapter 2 Application Layer Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April.
1 Chapters 2 & 3 Computer Networking Review – The TCP/IP Protocol Architecture.
@Yuan Xue CS 283Computer Networks Spring 2011 Instructor: Yuan Xue.
Chapter 7 Application Layer 1 Some of the slides in this chapter are courtesy of Profs. Kurose/Ross and others.
A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their original slides that accompany the.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
EEC-484/584 Computer Networks
Chapter 2 Introduction Application Requirements VS. Transport Services
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
EEC-484/584 Computer Networks
Process-to-Process Delivery:
Transport Protocols An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
EEC-484/584 Computer Networks
EEC-484/584 Computer Networks
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Presentation transcript:

EEC-484/584 Computer Networks Lecture 3 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer Networking book )

2 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Second Session Issue Available time slot –M W 4-5:50pm –T Th 6-7:50pm –M W 8-9:50pm –M W 2-3:50pm –T Th 2-3:50pm –F 4-7:50pm 1 st option: to have a second session with at least 16 students 2 nd option: common lecture time, but 3 sessions of labs and discussions

3 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Outline Mock quiz Reference models Networking Standards Application layer protocols –Overview Change of schedule –Next time will be lecture –Lab 1 will be deferred to Sept 12

4 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Reference Models The OSI Reference Model –ISO – International Standards Organization –OSI – Open Systems Interconnection Open: open for communication with other systems The TCP/IP Reference Model

5 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao The OSI Reference Model

6 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Principles Applied in Deriving Layers A layer should be created where a different level of abstraction is needed Each layer should perform a well-defined function The layer boundaries should be chosen to minimize info flow across interfaces The number of layers should be –large enough to separate distinct functions –small enough to have a manageable architecture

7 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao TCP/IP Reference Model TCP – Transmission Control Protocol IP – Internet Protocol Used in Internet and its predecessor ARPANET TCP/IP invented by Cerf and Kahn in 1974, became official protocol of ARPANET in 1983

8 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao TCP/IP Reference Model

9 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao TCP/IP Reference Model Internet Layer –Connectionless (packet switched) –Injects packets into the network; delivers them to the destination –May be delivered out-of-order –Packet routing and congestion control are key issues –Uses Internet Protocol

10 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao TCP/IP Reference Model Transport layer, two protocols TCP – Transmission Control Protocol –Point-to-point –Connection-oriented –Reliable (no message loss or corruption) –Source ordered (sequenced) –Flow control –Byte stream, does not maintain message boundary

11 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao TCP/IP Reference Model UDP – User Datagram Protocol –Point-to-point –Connectionless –Unreliable –Not source ordered –No flow control –Preserve message boundary

12 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao TCP/IP Reference Model Application Layer – contains higher-level protocols –DNS – Domain Name Service Maps host names onto their network addresses –HTTP – HyperText Transfer Protocol Fetches pages on the World Wide Web –FTP – File Transfer Protocol Allows user to transfer files efficiently from one machine to another

13 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao TCP/IP Reference Model Host-to-Network Layer –Host has to connect to the network using some protocol so it can send IP packets to it –No protocol is defined

14 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Network Standardization Why standard? –Only way to achieve interoperability –Standards also increase the market for products adhering to them –Two kinds of standards De facto – from the fact (standards that just happened) De jure – by law (formal, legal standards adopted by authorized organization)

15 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Treaty Organization between Nations United Nations ITU - International Telecommunications Union CCITT/ITU-T – telephone and data communications

16 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Voluntary, Nontreaty Organization ISO (International Standards Organization) issues standards on wide range of topics 200 TC (Technical Committees) TC97 – computers and info processing SC (Subcommittees) WG (Working Groups) ANSI (American National Standards Institute)

17 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao IEEE 802 Standards

18 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Internet Standard Body Internet Society (used to be Internet Architecture Board) –Internet Research Task Force (IRTF) Concentrate on long term research –Internet Engineering Task Force (IETF) Deal with short term engineering issues Standardization process –Proposed standard: request for comments (RFCs) –Draft standard: > 4 month test –Internet standard: if convinced the idea is sound

19 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Application Layer Protocols Principles of networked applications –Client server model –Sockets –Addressing –Protocol –What do we need from transport layer? WWW and HTTP

20 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Creating a Network Application Write programs that –run on different end systems and –communicate over a network No need to write code for devices in subnet –Subnet devices do not run user application code –application on end systems allows for rapid app development, propagation application transport network data link physical application transport network data link physical application transport network data link physical

21 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Inter-Process Communications Process: program running within a host Processes in different hosts communicate by exchanging messages Client process: process that initiates communication Server process: process that waits to be contacted

22 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Sockets Process sends/receives messages to/from its socket For each point-to-point connection, there are two sockets, one on each side API: (1) choice of transport protocol; (2) ability to fix a few parameters process TCP with buffers, variables socket host or server process TCP with buffers, variables socket host or server Internet Controlled by OS Controlled by app developer

23 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Addressing To receive messages, process must have identifier Host device has unique 32-bit IP address Question: Does IP address of host on which process runs suffice for identifying the process?

24 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Addressing Identifier includes both IP address and port numbers (16-bit) associated with process on host Example port numbers: –HTTP server: 80 –SSH server: 22 To send HTTP request to academic.csuohio.edu Web server: –IP address: –Port number: 80

25 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Application Layer Protocol Defines Types of messages exchanged –e.g., request, response Message syntax –what fields in messages & how fields are delineated Message semantics –meaning of information in fields Rules for when and how processes send & respond to messages Public-domain protocols: defined in RFCs allows for interoperability e.g., HTTP, SMTP Proprietary protocols: e.g., KaZaA

26 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao What Transport Service Does an Application Need? Data loss some apps (e.g., audio) can tolerate some loss other apps (e.g., file transfer, telnet) require 100% reliable data transfer Timing some apps (e.g., Internet telephony, interactive games) require low delay to be “effective” Bandwidth some apps (e.g., multimedia) require minimum amount of bandwidth to be “effective” other apps (“elastic apps”) make use of whatever bandwidth they get

27 Spring Semester 2006EEC-484/584: Computer NetworksWenbing Zhao Transport Service Requirements of Common Applications Application file transfer Web documents real-time audio/video stored audio/video interactive games instant messaging Data loss no loss loss-tolerant no loss Bandwidth elastic audio: 5kbps-1Mbps video:10kbps-5Mbps same as above few kbps up elastic Time Sensitive no yes, 100’s msec yes, few secs yes, 100’s msec yes and no