Digital Communication Networks

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

Introduction and Layered Network Architecture. EEE 538 Dr. Nail Akar Bilkent University Electrical and Electronics Engineering Department

Digital Communication Networks

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

TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS

Revision of Previous Lectures

Objectives. Learn how computers are connected. Become familiar with different types of transmission media

Computer Communication Networks

CS321: Computer Networks Introduction to Computer Networks and Internet

Outline: Connecting Many Computers

Lecture 2: Internet Structure

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

Internetworking Part 1

Review of Network Technologies

Introduction to Wireless Networking ECE 401WN Spring 2008

Network Architecture Models

SUBJECT: DATA COMMUNICATION AND NETWORK SEMESTER: V SEMESTER COURSE: BCA SUBJECT TEACHER: Dr.K.Chitra Assistant Professor, Department of Computer

Computer Networks

Communicating over the Network

Communication Networks - 3 general areas: data communications, networking, protocols

CS-461 Internetworking. Dr. Mohamed Aboutabl

Data Communication and Network. Introducing Networks

A closer look at network structure:

Basics of datacommunication

TCP/IP THE TCP/IP ARCHITECTURE

Network Architecture. TOC Architecture

Lecture 2 Communication services The Trasport Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Module 1. Introduction. Version 2, CSE IIT, Kharagpur

Internet Architecture and Protocol

Point-to-Point Network Switching. Computer Networks Term B10

Computer Network Fundamentals (IT 221)

Computer Networks Question Bank

Announcements. TAs office hours: Mohamed Grissa: Mohamed Alkalbani:

Introduction. The fundamental purpose of data communications is to exchange information between user's computers, terminals and applications programs.

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

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

ITEC 3800 Data Communication and Network. Introducing Networks

Network Architecture

ECE 650 Systems Programming & Engineering. Spring 2018

Ch. 4 - WAN, Wide Area Networks

Computer Networks. ENGG st Semester, 2010 Hayden Kwok-Hay So

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

Networking interview questions

Lecture 7. Network Layer. Network Layer 1-1

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

Introductions. Computer Networking Lecture 01. January 16, HKU SPACE Community College. HKU SPACE CC CN Lecture 01 1/36

Lecture 2. Computer Networks Models. Network Models 1-1

Computer Networks (Introduction to TCP/IP Protocols)

CSE3213 Computer Network I

Internet Architecture & Performance. What s the Internet: nuts and bolts view

CSC 401 Data and Computer Communications Networks

CCNA 1: Chapter 2 Exam Answer v %

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

Data & Computer Communication

8. Networks. Why networked embedded systems General network architecture. Networks. Internet-enabled embedded systems Sensor networks

Chapter 7. Local Area Network Communications Protocols

Network Superhighway CSCD 330. Network Programming Winter Lecture 13 Network Layer. Reading: Chapter 4

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

Introduction to Open System Interconnection Reference Model

DATA COMMUNICATION AND NETWORKS

Reminder: Datalink Functions Computer Networking. Datalink Architectures

Network Protocols. Terms you ll need to understand: Techniques you ll need to master:

HW3 and Quiz. P14, P24, P26, P27, P28, P31, P37, P43, P46, P55, due at 3:00pm with both soft and hard copies, 11/11/2013 (Monday) TCP), 20 mins

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

Chapter 6: Network Communications and Protocols

CS348: Computer Networks Introduction to Computer Networks and Internet

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

1: Review Of Semester Provide an overview of encapsulation.

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

Networks 15.2 Multiplexing Technologies Access Networks 15.5 Common Peripheral Interfaces

Introduction to Networks and the Internet

Chapter 11: Wide-Area Networks and the Internet

Introduction to Networks

Principles behind data link layer services

Defining Networks with the OSI Model. Module 2

Computer Communication & Networks / Data Communication & Computer Networks Week # 03

Distributed Queue Dual Bus

CHAPTER 17 - NETWORK AMD DISTRIBUTED SYSTEMS

1. IPv6 is the latest version of the TCP/IP protocol. What are some of the important IPv6 requirements?

Introduction to Networking

Chapter 10 Switching in Data Networks. School of Information Science and Engineering, Shandong University Associate Prof.

Part 5: Link Layer Technologies. CSE 3461: Introduction to Computer Networking Reading: Chapter 5, Kurose and Ross

IT4405 Computer Networks (Compulsory)

Chapter 15 Networks. Chapter Goals. Networking. Chapter Goals. Networking. Networking. Computer network. Node (host) Any device on a network

ECE 333: Introduction to Communication Networks Fall 2001

CSCD 433/533 Advanced Networks

Switching and Forwarding Reading: Chapter 3 1/30/14 1

Chapter 1 Communication

QUESTION BANK EVEN SEMESTER

2 Network Basics. types of communication service. how communication services are implemented. network performance measures. switching.

System Programming. Introduction to computer networks

Announcements. CS 5565 Network Architecture and Protocols. Outline for today. The Internet: nuts and bolts view. The Internet: nuts and bolts view

Operating Systems CS 571

CS455: Introduction to Distributed Systems [Spring 2018] Dept. Of Computer Science, Colorado State University

Network Models. Behrouz A. Forouzan Data communication and Networking Fourth edition

Networking. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island

Advanced Computer Networks Spring Set #1

Principles behind data link layer services:

Principles behind data link layer services:

Transcription:

Digital Communication Networks MIT PROFESSIONAL INSTITUTE, 6.20s July 25-29, 2005 Professor Muriel Medard, MIT Professor, MIT Slide 1

Digital Communication Networks Introduction Slide 2

Course syllabus Monday AM: Introduction to layering, the physical layer PM: The data link layer Tuesday AM: Delay models and queueing PM: Higher layer protocols: TCP/IP, ATM Wednesday AM: Routing PM: More routing, flow control Thursday AM: Multiple access PM: LANs, MANs, SANs, and switching Friday AM: Wireless Networks PM: Optical Networks Slide 3

Logistics Morning lectures: 9:00am - 12:00pm (break around 10:15) Lunch: on your own, 12:00-1:30pm Afternoon lecture: 1:30-4:30 (break around 2:45) Friday: start at 9:00 and end at 3:30pm (lunch: 11:45-12:30) Social: Dinner on Thursday evening Slide 4

Reference textbooks Computer Networks, by Peterson and Davie Most current on the internet Data Networks, by Bertsekas and Gallager Strong on probabilistic modeling and analysis Network Optimization: Continuous and Discrete Models, by Dimitri P. Bertsekas Network algorithms and routing, network flows, optimization theory Introduction to Probability, by Dimitri P. Bertsekas and John N. Tsitsiklis Slide 5

Data Networks Fundamental aspects of network Design and Analysis: Architecture Layering Topology design Protocols Pt.-to-Pt. Multiple access End-to-end Algorithms Error recovery Routing Flow Control Analysis tools Probabilistic modeling Queueing Theory Slide 6

Network Applications Resource sharing Computing Mainframe computer (old days) Today, computers cheaper than comm (except LANS) Printers, peripherals Information DB access and updates E.g., Financial, Airline reservations, etc. Services Email, FTP, Telnet, Web access Video conferencing DB access Client/server applications Slide 7

Network coverage areas Wide Area Networks (WANS) Span large areas (countries, continents, world) Use leased phone lines (expensive!) 1980 s: 10 Kbps, 2000 s: 2.5 Gbps User access rates: 56Kbps 155 Mbps typical Shared comm links: switches and routers E.g, IBM SNA, X.25 networks, Internet Local Area Networks (LANS) Span office or building Single hop (shared channel) (cheap!) User rates: 10 Mbps 1 Gbps E.g., Ethernet, Token rings, Apple-talk Metro Area networks (MANS) Storage area networks Slide 8

Network services Synchronous Session appears as a continuous stream of traffic (e.g, voice) Usually requires fixed and limited delays Asynchronous Session appears as a sequence of messages Typically bursty E.g., Interactive sessions, file transfers, email Connection oriented services Long sustained session Orderly and timely delivery of packets E.g., Telnet, FTP Connectionless services One time transaction (e.g., email) QoS Slide 9

Switching Techniques Circuit Switching Dedicated resources Packet Switching Shared resources Virtual Circuits Datagrams Slide 10

Circuit Switching Each session is allocated a fixed fraction of the capacity on each link along its path Dedicated resources Fixed path If capacity is used, calls are blocked E.g., telephone network Advantages of circuit switching Fixed delays Guaranteed continuous delivery Disadvantages Circuits are not used when session is idle Inefficient for bursty traffic Circuit switching usually done using a fixed rate stream (e.g., 64 Kbps) Difficult to support variable data rates Slide 11

Problems with circuit switching Many data sessions are low duty factor (bursty), (message transmission time)/(message interarrival time) << 1 Same as: (message arrival rate) * (message transmission time) << 1 The rate allocated to the session must be large enough to meet the delay requirement. This allocated capacity is idle when the session has nothing to send If communication is expensive, then circuit switching is uneconomic to meet the delay requirements of bursty traffic Also, circuit switching requires a call set-up during which resources are not utilized. If messages are much shorter than the call set-up time then circuit switching is not economical (or even practical) More of a problem in high-speed networks Slide 12

Circuit Switching Example L = message lengths λ = arrival rate of messages R = channel rate in bits per second X = message transmission delay = L/R R must be large enough to keep X small Bursty traffic => λx << 1 => low utilization Example L = 1000 bytes (8000 bits) λ = 1 message per second X < 0.1 seconds (delay requirement) => R > 8000/0.1 = 80,000 bps Utilization = 8000/80000 = 10% With packet switching channel can be shared among many sessions to achieve higher utilization Slide 13

Packet Switched Networks Messages broken into Packets that are routed To their destination PS PS PS PS Packet Network PS PS PS Buffer Packet Switch Slide 14

Packet Switching Datagram packet switching Route chosen on packet-by-packet basis Different packets may follow different routes Packets may arrive out of order at the destination E.g., IP (The Internet Protocol) Virtual Circuit packet switching All packets associated with a session follow the same path Route is chosen at start of session Packets are labeled with a VC# designating the route The VC number must be unique on a given link but can change from link to link Imagine having to set up connections between 1000 nodes in a mesh Unique VC numbers imply 1 Million VC numbers that must be represented and stored at each node E.g., ATM (Asynchronous transfer mode) Slide 15

Virtual Circuits Packet Switching For datagrams, addressing information must uniquely distinguish each network node and session Need unique source and destination addresses For virtual circuits, only the virtual circuits on a link need be distinguished by addressing Global address needed to set-up virtual circuit Once established, local virtual circuit numbers can then be used to represent the virtual circuits on a given link: VC number changes from link to link Merits of virtual circuits Save on route computation Need only be done once at start of session Save on header size Facilitate QoS provisioning More complex Less flexible 3 6 VC13 VC7 VC3 5 8 Node 5 table VC4 VC3 VC7 (3,5) VC13 -> (5,8) VC3 (3,5) VC7 -> (5,8) VC4 (6,5) VC3 -> (5,8) VC7 2 9 Slide 16

Circuit vs packet switching Advantages of packet switching Efficient for bursty data Easy to provide bandwidth on demand with variable rates Disadvantages of packet switching Variable delays Difficult to provide QoS assurances (Best-effort service) Packets can arrive out-of-order Switching Technique Network service Circuit switching => Synchronous (e.g., voice) Packet switching => Asynchronous (e.g., Data) Virtual circuits => Connection oriented Datagram => Connectionless Slide 17

Circuit vs Packet Switching Can circuit switched network be used to support data traffic? Can packet switched network be used for connection oriented traffic (e.g., voice)? Need for Quality of service (QoS) mechanisms in packet networks Guaranteed bandwidth Guaranteed delays Guaranteed delay variations Packet loss rate Etc... Slide 18

7 Layer OSI Reference Model Application Application Virtual network service Presentation Presentation Virtual session Session Session Virtual link for end to end messages Transport Transport Virtual link for end to end packets Network Network Network Network Data link Control Virtual link for reliable packets DLC DLC DLC DLC Data link Control physical interface Virtual bit pipe phys. int. phys. int. phys. int. phys. int. physical interface Physical link Slide 19 External Site subnet node subnet node External site

Layers Presentation layer Provides character code conversion, data encryption, data compression, etc. Session layer Obtains virtual end to end message service from transport layer Provides directory assistance, access rights, billing functions, etc. Standardization has not proceeded well here, since transport to application are all in the operating system and don't really need standard interfaces Focus: Transport layer and lower Slide 20

Transport Layer The network layer provides a virtual end to end packet pipe to the transport layer. The transport layer provides a virtual end to end message service to the higher layers. Slide 21 The functions of the transport layer are: 1) Break messages into packets and reassemble packets of size suitable to network layer 2) Multiplex sessions with same source/destination nodes 3) Resequence packets at destination 4) recover from residual errors and failures 5) Provide end-to-end flow control

Network layer The network layer module accepts incoming packets from the transport layer and transit packets from the DLC layer It routes each packet to the proper outgoing DLC or (at the destination) to the transport layer Typically, the network layer adds its own header to the packets received from the transport layer. This header provides the information needed for routing (e.g., destination address) Transport layer Each node contains one network Layer module plus one Link layer module per link Network layer DLC layer link 1 DLC layer link 2 DLC layer link 3 Slide 22

Link Layer Responsible for error-free transmission of packets across a single link Framing Determine the start and end of packets Error detection Determine which packets contain transmission errors Error correction Retransmission schemes (Automatic Repeat Request (ARQ)) Slide 23

Physical Layer Responsible for transmission of bits over a link Propagation delays Time it takes the signal to travel from the source to the destination Signal travel approximately at the speed of light, C = 3x10 8 meters/second E.g., LEO satellite: d = 1000 km => 3.3 ms prop. delay GEO satellite: d = 40,000 km => 1/8 sec prop. delay Ethernet cable: d = 1 km => 3 µs prop. delay Transmission errors Signals experience power loss due to attenuation Transmission is impaired by noise Simple channel model: Binary Symmetric Channel P = bit error probability Independent from bit to bit In reality channel errors are often bursty 0 1 P 1-P 1-P P 0 1 Slide 24

Internet Sub-layer A sublayer between the transport and network layers is required when various incompatible networks are joined together This sublayer is used at gateways between the different networks It looks like a transport layer to the networks being joined It is responsible for routing and flow control between networks, so looks like a network layer to the end-to-end transport layer In the internet this function is accomplished using the Internet Protocol (IP) Often IP is also used as the network layer protocol, hence only one protocol is needed Slide 25

Internetworking with TCP/IP FTP client FTP Protocol FTP server TCP TCP Protocol TCP ROUTER IP IP Protocol IP Protocol IP IP Ethernet driver Ethernet Protocol Ethernet driver token ring driver token ring Protocol token ring driver Ethernet token ring Slide 26

Encapsulation user data Appl header user data Application IP header TCP header TCP header IP datagram application data TCP segment application data Ethernet IP TCP Ethernet header header header application data trailer 14 20 20 4 Ethernet frame 46 to 1500 bytes TCP IP Ethernet driver Ethernet Slide 27