TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS

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

Data & Computer Communication

Outline: Connecting Many Computers

Digital Communication Networks

A closer look at network structure:

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

ก ก Information Technology II

Raj Jain. The Ohio State University Columbus, OH

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

Review of Network Technologies

Revision of Previous Lectures

Chapter 16 Networking

Internetworking is connecting two or more computer networks with some sort of routing device to exchange traffic back and forth, and guide traffic on

Typical Network Uses

Cisco Cisco Certified Network Associate (CCNA)

CARRIER SENSE MULTIPLE ACCESS (CSMA):

More on Link Layer. Recap of Last Class. Interconnecting Nodes in LAN (Local-Area Network) Interconnecting with Hubs. Computer Networks 9/21/2009

CS1302 / Computer Networks

1: Review Of Semester Provide an overview of encapsulation.

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

CS3600 SYSTEMS AND NETWORKS

Basics of datacommunication

Introduction to Networking

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

A LAN is a high-speed data network that covers a relatively small geographic area. It typically connects workstations, personal computers, printers,

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

Lecture 7. Network Layer. Network Layer 1-1

Communication Networks

Introduction to Network Technologies & Layered Architecture BUPT/QMUL

Guide to Networking Essentials, 6 th Edition. Chapter 6: Network Reference Models and Standards

Chapter 2 Communicating Over the Network

Communicating over the Network

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

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

Internet Architecture and Protocol

Bridging and Switching Basics

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

Introduction to Wireless Networking ECE 401WN Spring 2008

IT 4504 Section 4.0. Network Architectures. 2008, University of Colombo School of Computing 1

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

Wireless Networks. Communication Networks

Lecture 2: Internet Structure

Networks 15.2 Multiplexing Technologies Access Networks 15.5 Common Peripheral Interfaces

Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright 2005

COMPONENTS OF DATA COMMUNICATION

CHAPTER -1. Introduction to Computer Networks

Principles behind data link layer services

ECE 650 Systems Programming & Engineering. Spring 2018

CSE3213 Computer Network I

Principles behind data link layer services:

Principles behind data link layer services:

Data Communication and Network. Introducing Networks

Defining Networks with the OSI Model. Module 2

Introduction to LAN Protocols

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

Special expressions, phrases, abbreviations and terms of Computer Networks

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

KINGS COLLEGE OF ENGINEERING

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

Network Architecture Models

Session 3 Networks I

Data Communication & Networks G Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

Computer Networks

Computer Communications and Network Basics p. 1 Overview of Computer Communications and Networking p. 2 What Does Computer Communications and

Chapter 1 Communication

M242 COMPUTER NETWORS AND SECURITY

LAN Interconnection and Other Link Layer Protocols

Chapter 11: Wide-Area Networks and the Internet

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

E&CE 358: Tutorial 1. Instructor: Sherman (Xuemin) Shen TA: Miao Wang

Chapter 1: Introduction

Computer Networks. More on Standards & Protocols Quality of Service. Week 10. College of Information Science and Engineering Ritsumeikan University

Router Router Microprocessor controlled traffic direction home router DSL modem Computer Enterprise routers Core routers

OSI and TCP/IP Models

Chapter 4 NETWORK HARDWARE

ITEC 3800 Data Communication and Network. Introducing Networks

Computer Networks. Introduction to Network. Dr. Adel Gaafar Abd Elrahim

Lecture 7: Internetworking See Chapter 3 of Colouris

Chapter -4 OSI Reference Model

Chapter 3. Underlying Technology. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

COMP750. Distributed Systems. Network Overview

Network Architecture

Introduction to LAN Protocols

Local Area Network Overview

Monash University SAMPLE EXAM. Faculty Of Information Technology. Computer Facilities and Network Management

ELC 537 Communication Networks

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski

Module 16: Distributed System Structures

COMS Introduction to Computers. Networking

Integrating Information Systems: Technology, Strategy, and Organizational Factors

CS321: Computer Networks Introduction to Computer Networks and Internet

Module 15: Network Structures

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

The Network Access Layer. In This Lecture. Network Access Layer. Hour 3

BROADBAND AND HIGH SPEED NETWORKS

Module 15: Network Structures

EEC-484/584 Computer Networks

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

Transcription:

TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS Communication Networks Allow Exchange of Information between Users telephone network for voice communication interconnected computers and peripherals, a computer network User: Human, application program in a PC, printer, file server Network: Network consists of point-to-point links between certain nodes. All node pairs not connected with dedicated point-to-point links; links can be shared Nodes are terminal (user) nodes or communication (network) nodes 1

printer switch (bridge) PC Hub Hub PC PC PC server A network of interconnected nodes for information exchange 2

Information: Voice, Audio, Image (picture), Video, Text, Data Information Format: Binary sequence of binary digits 00110110101000011110100. 1 byte = 8 bits Information Transmission Rate in bits per second (bps) and Bit Error Rate (BER), or bit error probability, characterize the performance of a link or connection through a network. Non-binary message, e.g. text or voice, may be converted to a binary representation. Text: "alphabet" is finite; assign unique binary pattern to each symbol or letter. The ASCII code assigns a 7-bit sequence to each of 128 symbols (upper/lower case letters, numerals, punctuation marks, special (control) symbols.) Voice: sample the time-waveform at uniform rate, convert (quantize) each sample to a finite-precision binary number. Approximation represented as binary sequence. 3

signal amplitude 011 011 010 010 011 011 011 010 001 001 001 001 001 000 000 000 000 000 100 100 100 time 101 101 101 101 110 111 110 Time between samples = T Example of Sampling/Quantization, Sampling rate 1/T, 3-bit or 8-Level Quantization In telephony, a sampling rate of 8 khz (80000 samples per sec) is used with 8 bits for each numerical sample value, giving a bit rate of 64 kbps General Result: Sampling Theorem: If waveform does not have frequencies beyond a maximum frequency of F Hz., then samples at a minimum sampling rate of 2F samples/sec contain all the information in the original waveform 4

Connectivity Between Terminal Nodes Circuit Switching: Common example: Public Switched Telephone Network (PSTN). Dedicated communication path established between two terminal nodes (e.g telephones) through set of network nodes, during call set-up. Resources are reserved for signaling (at 64 kbps in telephony) between the terminal nodes through this path. There is a call set-up delay overhead. Terminal Node Network Node Circuit Switching = dedicated path 5

Store and Forward Transmission of Packets: Packet: Group of bits, typically several hundred to several thousand long. Terminal node transmits its message as a sequence of individual packets through other network nodes to terminal node. Possible Packet Structure Header Bits User Data Bits Trailer Bits Source address Destination Address Sequence Number Error Control Packet forwarded from node to node within network; short packets reduce forwarding delay (complete packet received before forwarding). 6

Numerical Example of Store-and-Forward Switching 4 hops (point-to-point links) between two terminal nodes; 3200 Message Bits; Transmission rate 9600 bps on all links; 24 overhead bits [Header + Trailer] for each packet; 1024-bit fixed packet size; 1 ms. (0.001 sec) perhop signal propagation delay. 1 sec. call set-up time for circuit switched connection across 4 hops. What is total time to send the complete message using circuit switching and packet switching? What is the transmission delay for each bit between the terminal nodes? Circuit Switching: 3200 bits at 9600 bps 0.333 sec. message duration. total propagation delay 0.004 sec., Total time for message is 0.333+0.004 +1 = 1.337 sec. Transmission delay is 0.004 sec., since bits are not transmitted during call set-up. Packet Switching: Number of packets = 4 (1024-24 = 1000 bits of message data for first three packets, fourth packet has 200 bits of message data and 800 dummy bits) Packet duration = 1024/9600 = 0.107 sec. 7

Terminal Node Hop 1 Packet Duration time Node 2 Hop 2 Node 3 Hop 3 Node 4 Hop 4 Terminal Node Propagation Time per Hop 0.108 s Entire 1024-bit packet received by each node from preceding node in 1024/9600 + 0.001 = 0.108 s. Total message time is therefore 4 x 0.108 + 3 x 0.107 = 0.753 sec. (because there are 4 hops, and 3 packets in succession after the first complete packet is received at terminal node) Transmission delay is 4(0.001) + 3(0.107) = 0.325 sec. Note: Short packets reduce transmission delay due to store/forward nodes. There may also be processing delays at nodes. Shorter packets inefficient due to overhead bits. For circuit switching, set-up time can be a major contribution to message delay. 8

Datagram Packet Switching: Different packets of a message may take different paths. Packets routed from node to node independently of other packets, based on destination address and conditions in the network. (Analogy: U.S. Post Office mail transport!) Used in Wide Area Networks and in The Internet. More efficient use of links (different user packets at different times on same link; statistical multiplexing gain) Data rate conversions possible other considerations: no call set-up needed, packet delay vs. call blocking in congested conditions, packet prioritization possible, out-of sequence packets, Virtual Circuit Packet Switching: Message sent in the form of short fixed length packets (to minimize transmission delay); but a virtual circuit is established over some fixed path between terminal nodes during call initialization. Links forming this path may, however be shared by other user packets; the path is fixed for the whole message, but need not be used exclusively by it. (Asynchronous Transfer Mode (ATM) Networks: 53 byte packets) 9

The Internet World-wide interconnection of individual networks. Each host computer name (e.g. seas.upenn.edu) has unique corresponding 4-byte or 32-bit internet address (e.g. 130.91.5.147). Logical organization for Internet names and addresses. First one to three bytes of internet address is network identifier, rest form the specific host address on this network. Domain Name System (DNS) allows name servers to provide addresses corresponding to names, to requesting hosts. Internet Protocol or IP refers to network protocol that allows end-to-end delivery of packets between terminal nodes or hosts on the Internet. IP packets may be up to 64 kbytes long. Transmission Control Protocol (TCP) supervises packet transport. Allows error-free packet delivery in sequence for a given connection, by using error detection with re-transmission requests. Provides for congestion control by implementing flow-control procedures at the end-nodes. 10

Shared Ethernet - A Local Area Network (LAN) Concept: A packet communication scheme with the following features: Shared communication medium to which a number of computers (nodes) are connected. Medium may be a passive cable to which nodes are connected, or electronic "hub" to which nodes are connected by wire pairs. (e.g. 10Base-2 or 10Base-T ethernets). The network extends over a small geographical area (e.g. within a building). The medium allows a high bit transmission rate, say 10 Mbps or 100 Mbps. All nodes have equal access to the medium. Node can send packet successfully across medium to another node if medium is not carrying any other packet at the same time (i.e. no packet collision) 11

Coaxial Cable Packet put out by any node on cable seen by all nodes printer Hub Hub broadcasts any packet it receives to all nodes connected to it. PC PC 12

Medium Access Control: Carrier Sense Multiple Access/Collision Detection (CSMA/CD) If packet sent by node "collides" with another, result is garbled electrical signal. Nodes detect "collision" by monitoring nature of electrical activity on cable; or, electronic hub sees packet arrivals on more than one port, and sends out a "collision" signal that all nodes detect. Thus node knows when its packet has collided with another. It then backs off for a random time duration, and attempts to re-transmit. Before any packet transmission, node also senses for ongoing packet transmission to avoid colliding with it Collision detection is still necessary because a node may start its transmission just after another node has started, without knowing about that node's transmission because of propagation delay. If maximum transmission rate is R bps on medium, there are many nodes, and all nodes have messages to transmit (heavily loaded network), under optimum conditions on average a fraction η of R is the actual throughput in bps on the medium because of collision losses. The fraction η is called the efficiency, its value depends on the maximum propagation delay on the medium and on the packet length. Other LANs: Token Ring, Fiber Distributed Data Interface (FDDI), etc. 13

Ethernet Address: A unique 48-bit sequence for each ethernet device. Ethernet packets contain source and destination ethernet adresses. Ethernet address of a node is not related to its network address. Address Resolution Protocol: An ethernet node A can discover the ethernet address of another node B with network address "N" on the same network by sending a "broadcast" ethernet packet that is read by all other nodes. The packet message is "Node of network address N, please respond". The response is an ethernet packet and carries the ethernet address "Y" of the responding node B. Node A adds the information "Network Address N = Ethernet Address Y" to its own directory. 14

Interconnected Ethernets: Switch or Bridge: Device with two or more ports, each connected to an ethernet. Forms a bigger ethernet. Each port sees an ethernet connection. Packet incoming on a port is examined and may be copied out on another port. Switch can read ethernet addresses of packets but does not modify them. Switch has ethernet address lists associated with its ports (list of addresses each port has connection to.) Switch copies packet to another port if incoming packet addressed to node on that port. Copies to all ports (save the incoming) if address not in its lists. Updates lists as it learns who is connected where. Ethernet Address a Ethernet Address b Switch LAN 1 LAN 2 a: 1 c: 1 -- -- b:2 f: 2 -- -- 15

Routers: More sophisticated device with multiple ports each connected to a network. Assume the local networks are ethernets. Each router port has an ethernet address. Router forwards incoming ethernet packets based on network address of destination. Router modifies ethernet addresses in forwarded packet. Router makes decision on best outgoing path for packet when destination is not on an adjacent network connected to a port. LAN P Network Address X Ethernet address a [X,Y; data] [X,Y; data] Router R r1 r3 r2 s2 Router S [s2,b; X,Y; data] P sends ethernet packet [a,r1; X,Y; data] Q Network Address Y Ethernet address b LAN 16

Protocol Architecture TCP/IP Protocol Architecture Application Layer (e.g. FTP, SMTP) Transport Layer (TCP) Internet Layer (IP) LAN/Link Physical Layer OSI (Open System Interconnection) Reference Model Application Layer Presentation Session Transport Layer Network Layer Data Link Layer Physical Layer 17