Reference Model. (virtual network service) (virtual session) Session. Session. (messages) Transport. Transport. (end-to-end packets) Network.

Similar documents
Network Architecture

Network Architecture. TOC Architecture

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

The Transmission Control Protocol (TCP)

ECE 333: Introduction to Communication Networks Fall 2001

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

QUESTION BANK EVEN SEMESTER

Transport Layer TCP & UDP Week 7. Module : Computer Networks Lecturers : Lucy White Office : 324

CCNA R&S: Introduction to Networks. Chapter 7: The Transport Layer

Network Architecture Models

CS1302-COMPUTER NETWORKS UNIT I -DATA COMMUNICATION PART A

Data Networks. Lecture 1: Introduction. September 4, 2008

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Digital Communication Networks

I. INTRODUCTION. each station (i.e., computer, telephone, etc.) directly connected to all other stations

KINGS COLLEGE OF ENGINEERING

ECE 333: Introduction to Communication Networks Fall 2002

Network Model: Each layer has a specific function.

and Networks Data Communications Second Edition Tata McGraw Hill Education Private Limited Managing Director SoftExcel Services Limited, Mumbai

Midterm Review EECS 122. University of California Berkeley

Defining Networks with the OSI Model. Module 2

CCNA Exploration Network Fundamentals. Chapter 04 OSI Transport Layer

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

OSI Transport Layer. Network Fundamentals Chapter 4. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Lecture-4. TCP/IP-Overview:

Chapter -4 OSI Reference Model

Cisco Cisco Certified Network Associate (CCNA)

OSI Model. Teran Subasinghe MBCS, Bsc.(Hons) in Computer Science - University of Greenwich, UK

The Open System Interconnect model

Review. Review. Review. How to Send a Message over a Network? LAN LAN. LAN Routing Addressing Reliable Data Transfer Congestion Control LAN

Business Data Networks and Security 10th Edition by Panko Test Bank

CS 421: Computer Networks SPRING MIDTERM I April 7, minutes

OSI Transport Layer. objectives

Local Area Networks and the Network Protocol Stack

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING B.E. ECE UNIT I DATA COMMUNICATION PART A

CPE 548 Exam #1 (50 pts) February 17, 2016

Network.... communication system for connecting end- systems. End-systems a.k.a. hosts PCs, workstations dedicated computers network components

Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan

Network Model. Why a Layered Model? All People Seem To Need Data Processing

Data Link Layer. Goals of This Lecture. Engineering Questions. Outline of the Class

Chapter 12 Network Protocols

Introduction to Open System Interconnection Reference Model

5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A

Time : 3 hours. Full Marks: 70. The figures in the margin indicate full marks. Answer from all the Groups are directed. Group A.

Chapter 2 Network Models 2.1

6.1 Internet Transport Layer Architecture 6.2 UDP (User Datagram Protocol) 6.3 TCP (Transmission Control Protocol) 6. Transport Layer 6-1

The MAC Address Format

B.Sc. (Hons.) Computer Science with Network Security B.Eng. (Hons) Telecommunications B.Sc. (Hons) Business Information Systems

TSIN02 - Internetworking

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

CS164 Final Exam Winter 2013

cs144 Midterm Review Fall 2010

L6: OSI Reference Model

Fundamentals of Networking. OSI & TCP/IP Model. Kuldeep Sonar 1

1: Review Of Semester Provide an overview of encapsulation.

Peer-to-Peer Protocols and Data Link Layer. Chapter 5 from Communication Networks Leon-Gracia and Widjaja

CCNA Exploration1 Chapter 7: OSI Data Link Layer

CS1302 / Computer Networks

Chapter 1 Communication

ELC 537 Communication Networks

CCNA 1 v3.11 Module 11 TCP/IP Transport and Application Layers

Computer Communication Networks

Announcements. No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

Data & Computer Communication

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

CPEG514 Advanced Computer Networks. Atef Abu Salim University of Nizwa Spring 2013/2014

Next Steps Spring 2011 Lecture #18. Multi-hop Networks. Network Reliability. Have: digital point-to-point. Want: many interconnected points

Chapter 09 Network Protocols

Outline: Connecting Many Computers

CIS 551 / TCOM 401 Computer and Network Security. Spring 2007 Lecture 8

1. (10 points): For each of the following, choose exactly one best answer.

ECE 650 Systems Programming & Engineering. Spring 2018

TSIN02 - Internetworking


Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer

QUESTION BANK UNIT-I

The Data Link Layer. 32 PART I Networking Basics

Data Link Control Protocols

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space provided.

CSCI-131 Networking: the End-to-End Layer. Rodrigo Fonseca March 12 th, 2013

TCP and Congestion Control (Day 1) Yoshifumi Nishida Sony Computer Science Labs, Inc. Today's Lecture

QUESTION BANK ENGINEERS ACADEMY. Computer Networks Computer Network Basics Segentation is done in. 12. Session layer is used for

Configure Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) Service Settings on a Switch

UDP, TCP, IP multicast

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

CMPE150 Midterm Solutions

Page 1. Review: Internet Protocol Stack. Transport Layer Services EEC173B/ECS152C. Review: TCP. Transport Layer: Connectionless Service

Networks. Distributed Systems. Philipp Kupferschmied. Universität Karlsruhe, System Architecture Group. May 6th, 2009

ISO/OSI Reference Model. Data Link Layer. 7. Application. 6. Presentation. 5. Session. 4. Transport. 3. Network. 2. Data Link. 1.

OSI Reference Model. Computer Networks lab ECOM Prepared By : Eng. Motaz Murtaja Eng. Ola Abd Elatief

Data Link Technology. Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science

Lecture 8 The Data Link Layer part I. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

4.0.1 CHAPTER INTRODUCTION

Peer entities. Protocol Layering. Protocols. Example

CS3600 SYSTEMS AND NETWORKS

ECE/CSC 570 Section 001. Final test. December 11, 2006

Chapter 7: Data Link Control. CS420/520 Axel Krings Page 1

Chapter 7: Data Link Control. Data Link Control Protocols

Transcription:

Reference Model Application Application (virtual network service) Presentation Presentation Session Transport (virtual session) (messages) (end-to-end packets) Session Transport Data link control Physical interface (modem) (packets) (packets) (packets) (bit pipe) Physical Physical interface interface (bit pipe) Physical Physical interface interface (bit pipe) Data link control Physical interface (modem) waveforms waveforms waveforms Physical link Physical link Physical link user's machine node of subnet node of subnet user's machine 1

Physical (modem) modulator & demodulator interface (RS-232-C,X.21) Data link control (bit pipe) Data link control modem modem modem modem Physical interface Physical interface modem Physical link Service provided to : (unreliable) bit pipe. Function: waveform design Timing of the bit sequence (1) Synchronous bit pipe ^ ^ ^ LQIR LGH LQIR (2) Intermittent bit pipe XVXD\ WKH FDVH LQ KLJKVSHHG QHWZRUN ^ LQIR LGH ^ LQIR (3) Asynchronous characters RFD DUHD QHWZRUNV E\WHV RU FKDUDFWHUV 2 VRZ FRPPXQLFDWLRQ HJ WHUPLQD WR FRPSXWHU

Interface between the module & modem DTE to DCE communications DTE 1 Local interface Control and signaling DCE 1 Transmission media DCE 2 Local interface Control and signaling DTE 2 DTE = Data Termination Equipment DCE = Data Communications Equipment Packets Packets Date link Date link control control Frames Frames Virtul synchronous unreliable bit pipe RS-232-C interface Modem Modem RS-232-C interface Interface wires Communication link Interface wires 3

Data link control () packet reliable packet link frame packet unreliable bit pipe header trailer Modem Black box Modem Function: framing, error control, retransmissions. Packets are accepted from the network adds header & trailer to form a frame supplies frames (and idle fill for a synchronous bit pipe) to lower also detects error and requests retransmission. 4

Each network node (PSE) or host (external site) has a network module, plus one module for each part. PH Packet Packet Transport & higher s of link 1 of link 2 of link 3 FH PH Packet FT PH = Packet Header FH = Flame Header FT = Frame Trailer Service it provides: end-to end packet transfer. Functions: routing & flow control. can also generate its own packets The network may be missing (e.g. in multiaccess communication systems.) 5

Function of network Routing: Source host Transport Destination host Transport end-to end packet link PSE PSE PSE PSE PSE network Packets may be delivered to the higher s in the correct order (virtual circuit service) or out of order (datagram service). FLW CNTRL: make sure the destination can absorb packets; withhold flow of packets when congestion arises. INFRMATIN BRADCAST: congestion + queueing delays, status of links and node, etc.. 6

MAC sub (Medium Access Control) user 1 user 2... user N multiaccess channel Virtul reliable packet link MAC MAC MAC Virtual bit pipe Modem Modem Modem multiaccess channel (possible collisions) Service: intermittent synchronous bit pipe. Function: MAC sub allocates the channel to each node, resolves collision, etc.. 7

Transport Source host (sesssion ) Transport virtual end-to-end message link message virtual end-to-end packet link Destination host (sesssion ) Transport 1 packet 2 packet Functions: 1. Break messages into packets (and reassemble at the destination). 2. Multiplex sessions with same destination node. 3. Split high rate sessions into multiple sessions. 4. Error control. 5. Flow control. 8

Internet sub Needed at node ( called gateways ) where two incompatible networks are joined together. Gateway Internet sub "usual" network "usual" network Function: routing and flow control between networks, conversion of packet format etc. Usually viewed as the top part of the network If gateways connect two LANs of the same type they are called bridges 9

Routing in an internet Source host Destination host Gateways s 10

Session : provides billing, access right, login functions. Presentation : provides character code conversion, data encryption, data compression. Application : provides specific information transfer services to user (e.g. ftp, rlogin, e-mail, telnet, etc) 11

Headers at each +RVW message 7UDQSRUW D\HU +RVW 7UDQSRUW D\HU message 7+ 3DFNHW 7+ 3DFNHW 7+ 3DFNHW 7+ 3DFNHW 7+ 3DFNHW 7+ 3DFNHW 1HWZRUN D\HU 1HWZRUN D\HU 1HWZRUN D\HU 3+ 7+ 3DFNHW 3+ 7+ 3DFNHW 3+ 7+ 3DFNHW '/& '/& '/& '/& )+ 3+ 7+ 3DFNHW )+ 3+ 7+ 3DFNHW )+ 3+ 7+ 3DFNHW )+ 3+ 7+ 3DFNHW Each looks only at its own header. 12

Internet's protocol graph FTP HTTP NV TFTP TCP UDP IP NET NET... NET 1 2 n FTP = File Transfer Protocol HTTP = Hyper-Text Transport Protocol NV = Video TFTP = Trivial File transport Protocol TCP = Transport Control Protocol UDP = User Datagram Protocol IP = Internet Protocol 13

ARQ: Retransmission Strategies ARQ = Automatic Repeat request. (transport ) Assume: 1. Error detection is infallible. 2. Channel preserves order of packets. 3. Packets may be arbitrarily delayed or even lost. 4. Feedback channel is error prone also. A B We want B to accept all packets sent by A only once, and in the correct order. 14

Model of frame transmission Packet departure time at A A packet 1 packet 2 packet 3 (transmitter) packet 4 packet 5 time B (receiver) Packet arrival time at B Packet 2 is lost. Packet 4 contains errors. Packet 1, 3, 5 are accepted by node B. 15

Pure Stop and Wait Protocol A packet 0 (transmitter) CRC packet 1 CRC packet 1 CRC time ACK NAK B (receiver) packet 0 accepted packet 1 accepted After sending a packet, A waits for ACK or NAK. if ACK received, A sends next packet. if NAK received, A sends same packet. If neither ACK or NAK arrives, A times-out and retransmits same packet(frame). ACK = acknowledge NAK = negative acknowledge CRC = cyclic redundancy check code 16

The use of timeouts for lost packets requires sequence numbers. A packet 0 (transmitter) CRC time out packet 0 CRC time B (receiver) ACK time packet 0 accepted packet 1 or 0? Request numbers are required on ACKs to distinguish packet asked: A 0 packet 0 timeout 0 packet 0 1 packet 1 (transmitter) B (receiver) packet 0 accepted ACK ACK? time time 17

Example using sequence number A $ 0 packet 0 0 packet 0 1 packet 1 2 packet 2 3 packet 3 B # 1 1 2 3 Request Numbers Instead of sending ACK or NAK, the receiver sends the number of the packet currently awaited. Sequence numbers and request numbers can be sent module 2 (because packets n & n+2 cannot be simultaneously in the system.) A $ 0 packet 0 0 packet 0 1 packet 1 0 packet 2 1 packet 3 B # 1 1 0 1 18

This works correctly for all combinations of delay and timeout assuming that: 1. packets travel in order on links. 2. CRC never fails to detect errors. 3. The system is correctly initialized B accepts 1,0 packet 1 but A doesn't know it 0,0 1,1 Initial state with B looking for what A is sending 0,1 B accepts packet but A doesn't know it yet Node A discovers that B has accepted packet 0 and stars to send packet 1 61 RI $ 51 RI % 19