Local Area Networks (LANs): Packets, Frames and Technologies Gail Hopkins. Part 3: Packet Switching and. Network Technologies.

Similar documents
2. LAN Topologies Gilbert Ndjatou Page 1

Data Communication. Chapter # 1: Introduction. By: William Stalling

Data Communication. Introduction of Communication. Data Communication. Elements of Data Communication (Communication Model)

Networking interview questions

Chapter 6 Connecting Device

INTRODUCTION DATA COMMUNICATION TELECOMMUNICATIONS SYSTEM COMPONENTS 1/28/2015. Satish Chandra satish0402.weebly.com

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

LAN. CS 4/55231 Internet Engineering. Kent State University Dept. of Computer Science

TYPES OF COMPUTER NETWORKS


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

INTRODUCTION TO ICT.

Revision of Previous Lectures

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

Outline: Connecting Many Computers

Introduction to Computer Science (I1100) Networks. Chapter 6

Introduction to Computer Networks INTRODUCTION TO COMPUTER NETWORKS

Local Area Network(LAN)

Data Link Layer, Part 5. Medium Access Control

Computer Networks (Introduction to TCP/IP Protocols)

Local Area Network Overview

Layer 2 functionality bridging and switching

Introduction. High Speed LANs. Emergence of High-Speed LANs. Characteristics of High Speed LANS. Text ch. 6, High-Speed Networks and

Area Covered is small Area covered is large. Data transfer rate is high Data transfer rate is low

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

Communicating over the Network

Transfer of data from one device to another via some form of transmission medium.

Computer Networks and Internet

A local area network that employs either a full mesh topology or partial mesh topology

Chapter Topics Part 1. Network Definitions. Behind the Scenes: Networking and Security

What is a Network? A connection of two or more computers so that they can share resources.

ET4254 Communications and Networking 1

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

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY

Introduction to LAN Protocols

Lecture 6: Example LAN: Ethernet

CHAPTER 2 - NETWORK DEVICES

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

Reminder: Datalink Functions Computer Networking. Datalink Architectures

WAN Technologies CCNA 4

CHAPTER -1. Introduction to Computer Networks

Overview of Networks

CS610- Computer Network Solved Subjective From Midterm Papers

Principles behind data link layer services

PPP. Point-to-Point Protocol

Sharing Channels CS 118

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

Chapter Seven. Local Area Networks: Part 1. Data Communications and Computer Networks: A Business User s Approach Seventh Edition

Chapter 8 LAN Topologies

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

LAN Overview (part 2) Interconnecting LANs - Hubs

KIBABII UNIVERSITY COLLEGE DEPARTMENT COMPUTER SCIENCE & IT ANSWER ALL QUESTIONS IN SECTION A AND ANY TWO QUESTIONS IN SECTION B

Comp277 Assignment 1 Fall 2011 Due 20 th December 2011 at 11:00am

Internetworking Part 1

BROADBAND AND HIGH SPEED NETWORKS

Connecting to the Network

Introduction to Wireless Networking ECE 401WN Spring 2008

Extending the LAN. Context. Info 341 Networking and Distributed Applications. Building up the network. How to hook things together. Media NIC 10/18/10

ECE 333: Introduction to Communication Networks Fall Lecture 1: Introduction

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

Introduction. Computer Networks: Introduction 1

Computer-to-Computer Networks (cont.)

Introduction. Computer Networks Term B10

Computer Networks Question Bank

Review of Topology and Access Techniques / Switching Concepts

Chapter 9 Introduction to Networks

Typical Network Uses

PLANEAMENTO E GESTÃO DE REDES INFORMÁTICAS COMPUTER NETWORKS PLANNING AND MANAGEMENT

Chapter 4 NETWORK HARDWARE

Data Link Protocols. TCP/IP Suite and OSI Reference Model

Dr./ Ahmed Mohamed Rabie Sayed

Introduction. IP Datagrams. Internet Service Paradigm. Routers and Routing Tables. Datagram Forwarding. Example Internet and Conceptual Routing Table

DATA SECURITY MANAGEMENT. Chris Hare INSIDE. What is a Network? Network Devices; Hubs; Repeaters; Bridges; Routers; Switches; Network

Principles behind data link layer services:

Principles behind data link layer services:

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

Interface The exit interface a packet will take when destined for a specific network.

CS343: Data Communication LAN Overview

Ethernet. ITS323: Introduction to Data Communications CSS331: Fundamentals of Data Communications

Ethernet. Contents. ITS323: Introduction to Data Communications CSS331: Fundamentals of Data Communications. IEEE 802 LANs.

IP Packet Switching. Goals of Todayʼs Lecture. Simple Network: Nodes and a Link. Connectivity Links and nodes Circuit switching Packet switching

06/02/2006. Local & Metropolitan Area Networks 1. INTRODUCTION. Why Study Local and Metropolitan Area Networks? ACOE322. Lecture 1 Introduction

ITP 140 Mobile Applications Technologies. Networks

Introduction to Networks and the Internet

Chapter 15 Local Area Network Overview

NETWORK SECURITY ITEC 435

BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU 2017

Contention Protocols and Networks

Ch. 4 - WAN, Wide Area Networks

ITEC 3800 Data Communication and Network. Introducing Networks

Different network topologies

Types of Computer Networks. ICS 614: Computer Networks Concepts and Principles 11

Data Link Layer, Part 3 Medium Access Control. Preface

Text Book. 1. Computer Networks & Internets by Douglas E Comer. 2. Data and Computer Communication by William Stalling, 5th or above edition.

ECE 650 Systems Programming & Engineering. Spring 2018

More on LANS. LAN Wiring, Interface

Prepared by Agha Mohammad Haidari Network Manager ICT Directorate Ministry of Communication & IT

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

Growth. Individual departments in a university buy LANs for their own machines and eventually want to interconnect with other campus LANs.

You have to remember that

Transcription:

Part 3: Packet Switching and Gail Hopkins Local Area Networks (LANs): Packets, Frames and Technologies Gail Hopkins Introduction Circuit Switching vs. Packet Switching LANs and shared media Star, bus and ring topologies Packets and frames Control data and byte stuffing Circuit Switching A communication mechanism that establishes a path between sender and receiver Guaranteed isolation from paths used by other senders and receivers Usually associated with telephone technology Now use electronic devices to establish circuits Circuit Switching (2) Each circuit doesn t necessarily correspond to a physical path Multiple circuits can be multiplexed over shared media Virtual Circuit Circuit Switched Paradigm Three general properties: Point-to-point communication Separate steps for circuit creation, use and termination Performance equivalent to an isolated physical path 1

Packet Switching Main alternative to circuit switching Forms the basis for the Internet Uses statistical multiplexing Communication from multiple sources competes for use of shared media Packet Switching (2) A packet switching system requires the sender to divide each message into blocks of data packets This is the main difference between packet switching and other forms of statistical multiplexing The size of a packet varies, depending on the packet switching technology Different technologies have different maximum sizes Packet Switched Paradigm Three general properties: Arbitrary, asynchronous communication No set-up required before communication begins Performance varies due to statistical multiplexing among packets Advantages of Packet Switching Helps in detecting transmission errors Gives fair access for a shared connection between many computers An Example of Fair Access A wants to send a 5 megabyte file to C A B B wants to send a 10 kilobyte file to D 5000000x8 = 40000000bits 40000000/56000=714s /60 = 11.9 min 1000 byte packet shared resource 8000/56000=0.143s network speed is 56,000 bits per second 10000x8 = 80000bits 80000/56000=1.43s C D Packets and Time Division Multiplexing computer 1 computer 2 computer 3 computer 1 computer 2 computer 3 multiplexing occurs Packet networks use a form of TDM (a) (b) Computer 1 using channel to send a packet Computer 2 using channel to send a packet 2

Local and Wide Area Networks Shared Communication Channels Packet switching technologies commonly classified according to the distance they span Name Expansion Description LAN Local Area Network Least expensive; spans a single room or building MAN Metropolitan Area Network Medium expense; spans a major city WAN Wide Area Network Most expensive; spans sites in multiple cities Shared LANs invented in the 1960s Rely on computers sharing a single medium Computers coordinate their access Low cost But not suitable for wide area - communication delays inhibit coordination Locality of reference LANs now connect more computers than any other form of network The reason LANs are so popular is due to the principle of locality of reference physical locality of reference - computers more likely to communicate with those nearby temporal locality of reference - computer is more likely to communicate with the same computers repeatedly LAN Topologies LANs may be categorised according to topology computers connected to network star hub Part 32 Packet Transmission Switching and LAN Topologies (2) Connection from one computer to another ring Bus (shared cable) mesh bus Pros and Cons of Different Topologies Star is more robust but hub may be a bottleneck Ring enables easy coordination but is sensitive to a cable being cut Bus requires less wiring but is also sensitive to a cable being cut 3

Disadvantages of Meshes Poor scalability (a) (b) Links = N 2 N 2 Example Bus Network: Ethernet (non-switched) Single coaxial cable - the ether - to which computers connect IEEE standard specifies details data rates maximum length and minimum separation frame formats electrical and physical details (c) Conceptual Flow of Ethernet Data Sending computer transmits bits of a frame Ethernet Cable (shared bus) Destination computer receives a copy of each bit Signal propagates along the entire cable Transmitter has exclusive use of the medium Example Mesh Network Mobile Ad-Hoc Network (MANET) Type of Ad-Hoc network Self configuring Each node has to discover the topology of its network Announces its presence and listens for broadcasts from neighbouring nodes Learns from these broadcasts about nearby nodes and how to reach them May send broadcasts itself about nodes it can reach Mobile Ad-Hoc Network (MANET) Each computer can act as a router Computers can connect to each other via multiple hops Self healing Can still operate when links are broken Has to deal with mobility issues Example Use of MANET Vehicular Ad-Hoc Network (VANET) Node is electronic device in car Can receive and relay messages from other devices, e.g. traffic information Differs from typical MANET Nodes (cars) tend to move in an organised fashion Follow roads Node movement can be characterised 4

Part 32 Packet Transmission Switching and Example Star Network - ATM fibre carrying data to switch ATM switch (electronic) ATM switch computers attached to switch computer fibre carrying data to computer Asynchronous Transfer Mode Uses pairs of optical fibers to connect computers to a central hub Packet Identification, Demultiplexing, MAC Addresses In packet switching systems, demultiplexing uses an identifier known as an address Each computer is assigned a unique address IEEE has created a standard for addressing Each packet contains the address of the intended recipient Addresses and Network Interface Hardware To ensure each address is unique, IEEE allocates an address for each piece of network interface hardware Network Interface Card (NIC) in PC contains a unique IEEE address assigned when device was manufactured Address Type Unicast Broadcast Multicast Types of Addresses Meaning and Packet Delivery Uniquely identifies a single computer, and specifies that only the identified computer should receive a copy of the packet Corresponds to all computers, and specifies that each computer on the network should receive a copy of the packet Identifies a subset of the computers on a given network, and specifies that each computer in the subset should receive a copy of the packet Addressing In the IEEE addressing scheme, each address consists of 48 bits Aka Media Access Control address (MAC address) The term Ethernet address is also used by networking professionals, because 48-bit addresses originated with Ethernet technology Destination address contained in a header in each packet Packets and Hardware Frames Each type of hardware defines its own format/wrapping for a packet called a frame Packet is logical Frame is actual In a packet-switched network each frame corresponds to a packet Frame has two conceptual parts: Header contains metadata, e.g. An address Payload contains data being sent 5

Part 32 Packet Transmission Switching and A Simple Example of Framing header block of data in frame (payload) A frame may include unused control data values to mark both its beginning and end Advantage is error detection: transmitter crashes => will not arrive receiver crashes => marks next valid frame Disadvantages: requires two extra characters per frame cannot carry arbitrary values (e.g, and ) Byte Stuffing So control characters can be included in data Reserve a special character to mark the occurrence of control characters Transmitter scans data block and replaces all occurrences of control characters. Receiver performs the reverse mapping. Character in data Characters sent esc x esc y esc esc z An Example of Byte Stuffing esc Frame before byte stuffing (a) esc z esc x esc y esc z (b) Frame after byte stuffing esc Summary Circuit switching technologies Packet switching and LANs LAN topologies Packets and Frames Byte stuffing Reading: Chapter 13, Computer Networks and Internets, Comer, 5 th Edition, 2009 6