1 Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3, © Addison-Wesley.

Slides:



Advertisements
Similar presentations
CCNA3: Switching Basics and Intermediate Routing v3.0 CISCO NETWORKING ACADEMY PROGRAM Switching Concepts Introduction to Ethernet/802.3 LANs Introduction.
Advertisements

Ethernet “dominant” LAN technology: cheap $20 for 100Mbs!
Ethernet – CSMA/CD Review
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
CS 582 / CMPE 481 Distributed Systems Communications.
1 Chapter 9 Computer Networks. 2 Chapter Topics OSI network layers Network Topology Media access control Addressing and routing Network hardware Network.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
TDC /502, Summer II Unit 2: Underlying Technologies Transmission media (Section 3.1. Read on your own) Local Area Networks (LANs) –Ethernet.
Protocols and the TCP/IP Suite
Chapter 14 LAN Systems Ethernet (CSMA/CD) ALOHA Slotted ALOHA CSMA
Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson.
04/26/2004CSCI 315 Operating Systems Design1 Computer Networks.
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
EE 4272Spring, 2003 Chapter 14 LAN Systems Ethernet (CSMA/CD)  ALOHA  Slotted ALOHA  CSMA  CSMA/CD Token Ring /FDDI Fiber Channel  Fiber Channel Protocol.
Review on Networking Technologies Linda Wu (CMPT )
CS335 Networking & Network Administration Tuesday, April 20, 2010.
ECS 152A 1. Introduction. A Communications Model Source —generates data to be transmitted Transmitter —Converts data into transmittable signals Transmission.
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
COMPUTER NETWORKS.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
SIMS-201 LAN Basics, MANs, WANs.
IP Network Basics. For Internal Use Only ▲ Internal Use Only ▲ Course Objectives Grasp the basic knowledge of network Understand network evolution history.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Chapter 6 High-Speed LANs Chapter 6 High-Speed LANs.
1 Token Passing: IEEE802.5 standard  4 Mbps  maximum token holding time: 10 ms, limiting packet length  packet (token, data) format:  SD, ED mark start,
Networking and Internetworking Jenhui Chen Assistant Professor
9/11/2015 5:55 AM1 Ethernet and CSMA/CD CSE 6590 Fall 2010.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Slide 15-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter Networks.
Introduction1-1 Data Communications and Computer Networks Chapter 5 CS 3830 Lecture 27 Omar Meqdadi Department of Computer Science and Software Engineering.
Network Technologies & Principles 1 Communication Subsystem. Types of Network. Principles of Network. Distributed Protocols.
Networks for Distributed Systems n network types n Connection-oriented and connectionless communication n switching technologies l circuit l packet.
ACM 511 Chapter 2. Communication Communicating the Messages The best approach is to divide the data into smaller, more manageable pieces to send over.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Distributed System MK- Networking and Internetworking Moh. Noor Al ‘Azam
Token Passing: IEEE802.5 standard  4 Mbps  maximum token holding time: 10 ms, limiting packet length  packet (token, data) format:  SD, ED mark start,
Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3, © Addison-Wesley.
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
William Stallings Data and Computer Communications 7 th Edition Chapter 1 Data Communications and Networks Overview.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_b Protocol Layering Instructor: Dr. Li-Chuan Chen Date: 09/15/2003 Based in part upon slides of Prof.
1 Networking Chapter Distributed Capabilities Communications architectures –Software that supports a group of networked computers Network operating.
Data and Computer Communications Ninth Edition by William Stallings Data and Computer Communications, Ninth Edition by William Stallings, (c) Pearson Education.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Network Protocols n ISO OSI 7-layer model n TCP/IP suite l TCP/UDP l IP l Ethernet/Token Ring l ICMP.
1 Networks – basics zA network consists of: yTransmission media (wire, cable, …). yHardware devices (routers, switches, …). ySoftware components (protocol.
Chapter 3: Networking and Internetworking 1. Introduction Networking issues for distributed systems: Performance,scalability,reliability,security,mobility,
William Stallings Data and Computer Communications
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
Lecture Topics: 11/27 Networks Layered Model Ethernet IP.
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
1 Distribuerede systemer og sikkerhed – 21. februar 2002 From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3, © Addison-Wesley.
Protocol Layering Chapter 11.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
1 Ethernet CSE 3213 Fall February Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Data Link Layer Lower Layers Local Area Network Standards
High Speed LANs – Ethernet and Token Ring
Chapter 14 LAN Systems Ethernet (CSMA/CD) ALOHA Slotted ALOHA CSMA
Protocols and the TCP/IP Suite
Data and Computer Communications by William Stallings Eighth Edition
ECEN “Internet Protocols and Modeling”
Slides for Chapter 3: Networking and Internetworking
Networking B.Ramamurthy Chapter 3 1/11/2019 B.Ramamurthy.
Network Architecture for Cyberspace
Protocols and the TCP/IP Suite
EEC4113 Data Communication & Multimedia System Chapter 1: Introduction by Muhazam Mustapha, July 2010.
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Presentation transcript:

1 Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3, © Addison-Wesley 2001 Presentation based on slides by Coulouris et al; modified by Jens B Jørgensen and Jonas Thomsen, University of Aarhus

2 Networks – basics zA network consists of: yTransmission media (wire, cable, …). yHardware devices (routers, switches, …). ySoftware components (protocol stacks, drivers, …). yAll together defines a communication subsystem. zTerminology: yHost: Computers and other devices that use a network. yNode: Any computer or switching device attached to a network. ySubnet: Set of interconnected nodes xUnit of routing xCollection of nodes that can be reached on the same physical network

3 Networks – Design issues (1/2) zPerformance y(Network) Latency – time for one bit to traverse the network. xSoftware overheads, routing delays, load, physical distance yData Transfer Rate – how many bits pr. sec. can traverse the network. xPhysical characteristics of the network. yOverload lead to degrading performance. zScalability yAddress range, routing tables. zReliability yThe physical media is generally reliable (except for wireless) yLow level vs. application level reliability (mostly application)

4 Networks – Design issues (2/2) zSecurity yA need to produce a secure network environment xFirewalls (protect resources inside, control the use of external resources, runs on a gateway) zMobility yMovement of mobile devices require addressing and routing schemes to adapt. zQuality of service yMeet deadlines, guaranteed bandwidth, bounded latencies yDynamically: Specify minimum acceptable qos. and desired optimum. zMulticasting yTypical communication in between pairs of processes yNeed for one-to-many communication (N x one-to-one is not enough)

5 Networks – types zLAN: Local Area Network yNo routing, shared bandwidth, low latency, speeds like disc access xEthernet, token ring zWAN: Wide Area Network yDifferent organization, long distance, routing, high latency xTelephone networks, dedicated links, internet backbone zMAN: Metropolitan Area Network yLimited distance xxDSL, cable modem, fibre xADSL, StofaNet, Bolignet Aarhus, Djurslandsnet zWireless Network yWLAN (IEEE x) yWPAN (infrared, Bluetooth) yMobile networks (GSM, GPRS, UMTS) zInternetworks yLinking of different networks to provide common data communication facilities, independent of involved components, routers / gateways

6 Networks – Comparison of types RangeBandwidth (Mbps)Latency (ms) LAN1-2 kms10 – – 10 WANworldwide0.010 – [1] 100 – 500 MAN2-50 kms1 – Wireless LAN km2 – 54 [2] 5 – 20 Wireless WANworldwide0.010 – 2100 – 500 Internetworldwide0.010 – 2100 – 500 [1]: OC-192 over ATM: (OC-x (Optical Carier level x). OC-1 = 51,84 Mbps). [2]: IEEE a:

7 Networks – packet transmission zMessage: Sequence of data items of arbitrary length. zMessages subdivided into packets of restricted length yAllocate sufficient buffer space yAvoid occupying communication channel for long time during large transfers. zSwitching schemes: yBroadcast xEverything is transmitted to every node (non-switched Ethernet) yCircuit switching xPlain Old Telephone System yPacket switching xStore and forward yATM / Frame relay xAvoid switching delays, small packets (frames), switched after reception of a few bytes (5 bytes in ATM)

8 Protocols – basics zProtocol: Set of rules and formats to be used for communication between processes in order to perform a given task. zShould include specification of: ySequence of messages that must be exchanged. yFormat of the data in the messages. zImplemented by a pair of software modules in the sending and receiving computers.

9 Protocols – layers Layer n Layer 2 Layer 1 Message sent Message received Communication medium SenderRecipient zProvides a service to the layer above zExtends the service of the layer below

10 Protocols – encapsulation and headers

11 Protocols – the ISO Open Systems Interconnection (OSI) model zA framework for definition of protocols y – not a definition for a specific protocol!

12 Protocols – internetwork layers

13 Protocols – network layer routing (WAN) zPacket delivery: yDatagram xOne shot, different routes yVirtual Circuit x‘Call’ setup, same route during ‘call’ yDon’t confuse with Connection oriented / less!!! zRouting algorithms yRouters know next hop yAdaptive routing (change route if links break) zCongestion yQueues fill up, longer delays, dropped packets yControl: Informing nodes of congestion, choke packet, transmission control (TCP)

14 Internet protocols – Internetworking zInternetwork: Network which integrates a number of different subnets. zNeeds: yUnified internetwork addressing scheme (Internet: IP addresses) yProtocol defining format of internetwork packets and specifying rules for handling (Internet: IP protocol). yInterconnecting components that route packets to their destinations (Internet: Internet routers).

15 Internet protocols – the TCP/IP protocol suite Messages (UDP) or Streams (TCP) Application Transport Internet UDP or TCP packets IP datagrams Network-specific frames Message Layers Underlying network Network interface

16 Internet protocols – encapsulation and headers Application message TCP header IP header Ethernet header Ethernet frame port TCP IP

17 Internet protocols – IP zInternet Protocol. zTransmits datagrams from one host to another, if necessary via intermediate routers. zUnreliable, best-effort delivery semantics. zAddress resolution: Conversion of Internet addresses to network addresses (for a given network, e.g. ARP for Ethernet). zRouting: Each router in the Internet implements IP-layer software to provide a routing algorithm.

18 Internet protocols – IP packet layout and addressing

19 Internet protocols – TCP and UDP zBoth: Process to process communication zUDP features: yTransport-level replica of IP. yNo guarantee of delivery. yNo setup cost, no acknowledgement messages. yMessage size up to 64 Kbytes (8 Kbytes in praxis). zTCP features: yReliable delivery. yArbitrarily long sequences of bytes (stream). yConnection-oriented. yMechanisms: Sequencing, flow control, retransmission, buffering, checksum.

20 Ethernet (IEEE 802.3) – Basics zCarriers Sense Multiple Access with Collision Detection (CSMA/CD) zXerox – Ethernet zRandom Access y Stations access medium randomly z Contention yStations contend for time on medium

21 Ethernet – ALOHA zSender yGo ahead and send! yRetransmit if no ACK zProblems yCollisions yLow utilization (18%) zSlotted ALOHA is an improvement (max utilization 37%)

22 Ethernet – CSMA zCarrier Sense Multiple Access zObservations yPropagation time is much less than transmission time yAll stations know that a transmission has started almost immediately zSender yFirst listen for clear medium (carrier sense) yIf medium idle, transmit yIf two stations start at the same instant, collision yWait reasonable time yRetransmit if no ACK zMax utilization depends on propagation time (medium length) and frame length

23 Ethernet – CSMA/CD zCarrier Sense Multiple Access – Collision Detection zObservation: With CSMA, collision occupies medium for duration of transmission zSender yIf medium idle, transmit yIf busy, listen for idle, then transmit yStation listens whilst transmitting yIf collision detected, transmit jam signal, then cease transmission zAfter jam, wait random time then start again yBinary exponential back off

24 Ethernet – CSMA/CD Operation

25 Ethernet – Collision Detection zBus yCollision produces much higher signal voltage than signal yCollision detected if cable signal greater than single station signal zStar yActivity on more than one input is collision ySpecial collision presence signal

26 Summary zNetworks. zProtocols. zInternet protocols (TCP/IP). zEthernet