Interfaces and Services Each layer provides a service to the layer above it. A service is a set of primitive operations. Under UNIX, primitives are implemented.

Slides:



Advertisements
Similar presentations
Introduction 1 Lecture 13 Transport Layer (Transmission Control Protocol) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer.
Advertisements

Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
CCNA – Network Fundamentals
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Transmission Control Protocol (TCP)
Intermediate TCP/IP TCP Operation.
CISCO NETWORKING ACADEMY PROGRAM (CNAP)
1 TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
1 CS 4396 Computer Networks Lab Transmission Control Protocol (TCP) Part I.
CS3505 The Internet and Info Hiway transport layer protocols : TCP/UDP.
Transport Layer – TCP (Part1) Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Chapter 7 – Transport Layer Protocols
TELE202 Lecture 14 TCP/UDP (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »TCP/UDP (1) »Source: chapter 17 ¥This Lecture »TCP/UDP (2) »Source: chapter.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
EEC-484/584 Computer Networks Lecture 15 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
OSI Model.
CSEE W4140 Networking Laboratory Lecture 6: TCP and UDP Jong Yul Kim
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Transport Layer.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
1 CCNA 2 v3.1 Module Intermediate TCP/IP CCNA 2 Module 10.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
Gursharan Singh Tatla Transport Layer 16-May
1 Protocol Interaction (ISO’s Open Systems Interconnection (OSI model)) the 7 layers.
What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host IP treats a computer as an endpoint of communication Best.
Process-to-Process Delivery:
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
1 Transport Layer Computer Networks. 2 Where are we?
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
The Saigon CTT Semester 1 CHAPTER 12 – 13 – 14 Le Chi Trung.
1 Semester 2 Module 10 Intermediate TCP/IP Yuda college of business James Chen
1 Chapter 1 OSI Architecture The OSI 7-layer Model OSI – Open Systems Interconnection.
6.1. Transport Control Protocol (TCP) It is the most widely used transport protocol in the world. Provides reliable end to end connection between two hosts.
Network Protocol Hierarchies
TCP : Transmission Control Protocol Computer Network System Sirak Kaewjamnong.
CS332, Ch. 26: TCP Victor Norman Calvin College 1.
University of the Western Cape Chapter 12: The Transport Layer.
SMUCSE 4344 transport layer. SMUCSE 4344 transport layer end-to-end protocols –transport code runs only on endpoint hosts encapsulates network communications.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 2.5 Internetworking Chapter 25 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 6 The Transport Layer.
Transport Layer3-1 Chapter 3: Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
1 TCP: Reliable Transport Service. 2 Transmission Control Protocol (TCP) Major transport protocol used in Internet Heavily used Completely reliable transfer.
1 End-user Protocols, Services and QoS. 2 Layering: logical communication application transport network link physical application transport network link.
Chapter 2 Applications and Layered Architectures Sockets.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
1 Chapter Overview Network Communications The OSI Reference Model.
1 Chapter Overview Network Communications The OSI Reference Model.
1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)
Individual Project 1 Sarah Pritchard. Fran, a customer of your company, would like to visit your company’s website from her home computer… How does your.
Advanced UNIX programming Fall 2002, lecture 16 Instructor: Ashok Srinivasan Acknowledgements: The syllabus and power point presentations are modified.
01_NF_Ch04 – OSI Transport Layer ( 傳輸層 ) Source: CCNA Exploration.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
© 2002, Cisco Systems, Inc. All rights reserved..
1 Computer Communication & Networks Lecture 23 & 24 Transport Layer: UDP and TCP Waleed Ejaz
Data Communications and Networks Chapter 6 – IP, UDP and TCP ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
CIS 173 Networking Week #9 OBJECTIVES Chapter #6 Network Communications Protocols.
1 Chapter 24 Internetworking Part 4 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
Process-to-Process Delivery:
Transport Protocols: TCP Segments, Flow control and Connection Setup
Process-to-Process Delivery: UDP, TCP
Transport Layer 9/22/2019.
Presentation transcript:

Interfaces and Services Each layer provides a service to the layer above it. A service is a set of primitive operations. Under UNIX, primitives are implemented as C function calls (the entities are processes): –e.g. Socket “ wrapper ” functions bind(), listen(), connect(), accept(), send(), recv(),... –e.g. TCP services to the application layer tcp_connect(), tcp_rcv(), tcp_sendmsg(), tcp_close(),... –e.g. UDP services to the application layer udp_sendmsg(), udp_recvmsg(), … –e.g. IP services to the transport layer ip_send_check(), ip_check_route(),...

Types of Services Two flavors : –Connection-oriented service –Connectionless service (datagram service) Quality of Service –reliable, unreliable Reliable connection-oriented services –message sequences (message boundaries preserved) –byte streams (just a stream of bytes)

Classes of Service Primitives Request –An entity wants the service to do some work. Indication –An entity is to be informed about an event. Response –An entity wants to respond to an event. Confirm –The response to an earlier request has come back.

Services vs. Protocols Service: Set of primitive operations. Protocol: Rules governing the format and the meaning of messages exchanged by peer entities. –e.g. Negotiation

TCP as an example TCP is a reliable, connection-oriented, byte- stream protocol. Reliability provided by mechanism call Positive Acknowledgement with Re-transmission (PAR). –A system using PAR sends the data again, unless it hears from the remote system that the data arrived okay. –Unit exchanged: segment. Provides checksum to verify that the data is undamaged. –If a data segment arrives damaged, then it is discarded. Sender will timeout and retransmit segment. –If the data segment is undamaged, a positive acknowledgement is sent back to the sender.

TCP example continued Logical end-to-end connection is established via handshake. –Handshake: control info is exchanged to establish a dialogue before data is transmitted. Segment header contains flags specifying control information. –TCP uses a three-way handshake. SYN ACK, data SYN, ACK Data xfer begun Host AHost B

TCP 3-way handshake Host A begins connection by sending host B a segment with SYN bit set. –SYN: synchronize sequence numbers. Host B responds to A with a segment that has the ACK and SYN bits set. B informs A of the starting sequence number. Host A replies with ACK along with the first actual data to be transferred.

More TCP When data transfer has concluded a three way handshake containing segments with the FIN bit set is used to close the connection. –FIN: No more data from sender. TCP views the data as a continuous stream of bytes. ACK performs both positive acknowledgement and flow control. –Not every packet is acknowledged (sequence number informs sender how many packets are acknowledged). –Window field informs remote end of the number of bytes that it is able to accept.

Server Side of Communication Setup Server calls listen() function. –Process blocks, kernel handles communication requests. Receives SYN segment. SYN/ACK is returned to the sender. Wait for final ACK. ACK is received. Connection is now established.

Client Side of Communication Setup Client used the connect() function to set up a connection with the server. This function sends a SYN segment to the server. –Process is blocked until SYN/ACK is received from the server. When the SYN/ACK is received, client sends back the concluding ACK. The client now considers the connection setup complete.

Hybrid Tanenbaum Reference Model Application Layer Transport Layer Data Link Layer Network Layer Physical Layer

Example Networks and Communication Services Novell NetWare X.25 Frame Relay ISDN ATM

Novell NetWare NetWare = network operating system (NOS) + related support services. Novell, Inc., early 1980 ’ s –Transition from mainframes to PC LANs. Client/Server model –clients: desktop PC ’ s. –servers: PC dedicated as servers. Early 1990 ’ s, NOS market share between 50 and 75 percent.

Technology Basics NetWare NOS environment specifies the upper five layers of the OSI reference model. Provides –file/printer sharing – –DBMS –etc.. Clients now run on a variety of systems. Remote procedure calls – transparent remote access

Media Access Layer Physical + Data Link NetWare runs on –Ethernet (IEEE 802.3) –Token Ring (IEEE 802.5) –FDDI –ARCnet –PPP

Network Layer Internet Packet Exchange (IPX) –Analogous to IP Encapsulation: The process of packaging upper-layer protocol information and data into a frame. IPX uses RIP (Routing info Protocol)

Transport Layer Sequence Packet Exchange (SPX) –like TCP –reliable, connection-oriented Offers IP support using UDP encapsulation of Novell packets (e.g. IPS,IPX packets). NetWare Core Protocol (NCP) services application requests (e.g. NetWare shell). –More of an application layer protocol. –Provides Network Transparency to Apps.

Communication Services X.25 –older public networks (~60 Kbs?) –Connection-oriented, proved virtual circuits. Frame Relay –bare bones virtual leased lines (~1.5 Mbps) ISDN –digital data over separate channels.