Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson.

Slides:



Advertisements
Similar presentations
NETWORKING AND INTERNETWORKING
Advertisements

Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson.
OCT Master of Information System Management 1 Organizational Communications and Distributed Object Technologies Lecture 3: Internetworking.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson.
Distributed Systems CS Networking Lecture 4, Sep 14, 2011 Majd F. Sakr, Vinay Kolar, Mohammad Hammoud.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson.
Professor Michael J. Losacco CIS 1150 – Introduction to Computer Information Systems Communications and Networks Chapter 8.
Slides for Chapter 3: Networking and Internetworking
Chapter 10 Introduction to Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson.
Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson.
CSE331: Introduction to Networks and Security Lecture 6 Fall 2002.
Review on Networking Technologies Linda Wu (CMPT )
OCT1 Internetworking Basics Sources: “Computer Networks” by Peterson and Davie “Distributed Systems” by Coulouris, Dollimore, Kindberg.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
1 K. Salah Module 1.0: Introduction Definition Communication Model Type of networks –WAN –MAN –LAN, WLAN –PAN, WPAN Networking Technologies Network Switching.
1 Chapter 10 Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
1 Computer Networks Course: CIS 3003 Fundamental of Information Technology.
IP Network Basics. For Internal Use Only ▲ Internal Use Only ▲ Course Objectives Grasp the basic knowledge of network Understand network evolution history.
From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Exercises for Chapter 3: Networking.
Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson.
Networking and Internetworking Jenhui Chen Assistant Professor
From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Slides for Chapter 3: Networking.
Common Devices Used In Computer Networks
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.
Chapter 2 – X.25, Frame Relay & ATM. Switched Network Stations are not connected together necessarily by a single link Stations are typically far apart.
1 Next Few Classes Networking basics Protection & Security.
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.
Ch 1. Computer Networks and the Internet Myungchul Kim
1 CHAPTER 8 TELECOMMUNICATIONSANDNETWORKS. 2 TELECOMMUNICATIONS Telecommunications: Communication of all types of information, including digital data,
Computer Security Workshops Networking 101. Reasons To Know Networking In Regard to Computer Security To understand the flow of information on the Internet.
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
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Routing Fundamentals and Subnets Introduction to IT and Communications Technology CE
CSC 116 – Computer Networks Fall 2015 Instructor: Robert Spengler.
1 Distribuerede systemer og sikkerhed – 21. februar 2002 From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3, © Addison-Wesley.
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني.
1 12-Jan-16 OSI network layer CCNA Exploration Semester 1 Chapter 5.
Networks and the Internet Topic 3. Three Important Networking Technologies Networks, Internet, WWW.
Slides for Chapter 3: for CS Only Networking and Internetworking Pages –
1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability.
OCT Master of Information System Management 1 Organizational Communications and Distributed Object Technologies Networking & Internetworking Routing.
Distributed Systems Lecture 10 Networking and routing 1.
Lecture 11 Networking and routing
Distributed Systems CS
Connecting Network Components
Networking Devices.
Slides for Chapter 3: Networking and Internetworking
Distributed Systems CS
Distributed Systems CS
Distributed Systems CS
Distributed Systems CS
Slides for Chapter 3: Networking and Internetworking
Networking B.Ramamurthy Chapter 3 12/5/2018 B.Ramamurthy.
Distributed Systems CS
Networking B.Ramamurthy Chapter 3 1/11/2019 B.Ramamurthy.
System Models and Networking Chapter 2,3
Networking and Internetworking Chapter 3
Network Architecture for Cyberspace
Distributed Systems CS
Slides for Chapter 3: Networking and Internetworking
Slides for Chapter 3: Networking and Internetworking
Distributed Systems CS
Presentation transcript:

Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson Education 2005

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Networking Issues (1) z Performance: yLatency (time between send and start to receive) yData transfer rate (bits per second) yTransmission time = latency + length / transfer rate ySystem bandwidth, throughput: total volume of traffic in a given amount of time yUsing different channels concurrently can make bandwidth > data transfer rate ytraffic load can make bandwidth < data transfer rate ynetwork speed < memory speed (about 1000 times) ynetwork speed > disk speed (high-speed network file servers can beat local disks)

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Networking Issues (2) z scalability z reliability y corruption is rare ymechanisms in higher-layers to recover errors yerrors are usually timing failures, the receiver doesn't have resources to handle the messages z security yfirewall on gateways (entry point to org's intranet) yencryption is usually in higher-layers zmobility--communication is more challenging: locating, routing,... zquality of service--real-time services zmulticasting--one-to-many communication

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Types of Networks (1) zLocal Area Networks (LAN) yfloor/building-wide ysingle communication medium yno routing, broadcast ysegments connected by switches or hubs yhigh bandwidth, low latency yEthernet - 10Mbps, 100Mbps, 1Gbps yno latency guarantees (what could be the consequences?) yPersonal area networks (PAN) [ad-hoc networks]: blue tooth, infra-red for PDAs, cell phones, …

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Types of Networks (2) zMetropolitan Area Networks (MAN) ycity-wide, up to 50 km yDigital Subscriber Line (DSL): Mbps, 5.5km from switch yCable modem: 1.5 Mbps, longer range than DSL

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Types of Networks (3) zWide Area Networks (WAN) yworld-wide yDifferent organizations yLarge distances yrouted, latency seconds y1-10 Mbps (upto 600 Mbps)

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Types of Networks (4) zWireless local area networks (WLAN) yIEEE (WiFi) y Mbps, 1.5km x (1997): upto 2 Mbps, 2.4 GHz x a (1999): upto 54 Mbps, 5 GHz, 60 feet x b (1999): upto 11 Mbps, 2.4 GHz, 300 feet [most popular] x g (2003): upto 54 Mbps, 2.4 GHz [backward compatible with b, becoming more popular] zWireless metropolitan area networks (WMAN) yIEEE (WiMax) y Mbps, 5-50km

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Types of Networks (5) zWireless wide area networks (WWAN) yworldwide yGSM (Global System for Mobile communications) y9.6 – 33 kbps y3G (“third generation”): kbps to 2Mbps

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Types of Networks (6) zInternetworks yconnecting different kinds of networks yrouters, gateways

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network performance ExampleRangeBandwidth (Mbps) Latency (ms) Wired: LANEthernet1-2 km MANATM250 km WANIP routingworldwide InternetworkInternetworldwide Wireless: WPANBluetooth ( ) m WLANWiFi (IEEE ) km WMANWiMAX (802.16)550 km WWAN GSM, 3G phone netsworldwide

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network principles (1) zPacket transmission ymessage: logical unit of informatio ypacket: transmission unit yrestricted length: sufficient buffer storage, reduce hogging

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network principles (2) zData Streaming yaudio/video yNeed 120 Mbps (1.5 Mbps compressed) yplay time: the time when a frame need to be displayed yfor example, 24 frames per second, frame 48 must be display after two seconds yIP protocol provides no guaranteesIPv6 (new) includes features for real-time streams, stream data are treated separately yResource Reservation Protocol (RSVP), Real-time Transport Protocol (RTP)

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network principles (3) zSwitching schemes (transmission between aribitrary nodes) yBroadcast: ethernet, token ring, wireless yCircuit switching: wires are connected yPacket switching: xstore-and-forward xdifferent routes x“store-and-forward” needs to buffer the entire packet before forwarding yFrame relay xSmall packets xLooks only at the first few bits xDon’t buffer/store the entire frame

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network principles (4) zProtocols yKey components xSequence of messages xFormat of messages

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network principles (5) zProtocol layers, why? Layer n Layer 2 Layer 1 Message sent Message received Communication medium SenderRecipient

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network principles (6) zEncapsulation in layered protocols

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network principles (7) zISO Open Systems Interconnection (OSI) model

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network principles (8) yInternet layers xApplication = application + presentation xTransport = transport + session

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network principles (9) zPacket assembly yheader and data ymaximum transfer unit (MTU): 1500 for Ethernet y64K for IP (8K is common because of node storage) zports: destination abstraction (application/service protocol) zaddressing: transport address = network address + port yWell-known ports (below 1023) yRegistered ports ( ) yPrivate (up to 65535)

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network principles (10) zPacket delivery (at the network layer) y Datagram packet xone-shot, no initial set up xdifferent routes, out of order xEthernet, IP y Virtual circuit packet xinitial set up for resources xvirtual circuit # for addressing xATM zSimilar but different pairs of protocols at the transport layer (connection-oriented and connectionless)

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network principles (11) zRouting yLAN? yRouting Algorithm xdecide which out-going link to forward the packet for circuit switching, the route is determined during the circuit setup time for packet switching, each packet is routed independently xupdate state of the out-going links yRouting Table x fields: link, cost (e.g. hop count) x a record for each destination

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network principles (12) zRouter example Hosts Links or local networks A DE B C Routers

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network principles (13): Routing tables Routings from DRoutings from E ToLinkCostToLinkCost A B C D E local A B C D E Routings from ARoutings from BRoutings from C ToLinkCostToLinkCostToLinkCost A B C D E local A B C D E A B C D E

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network principles (14) zRouter information protocol (RIP) y"Bellman-Ford distance vector" algorithm ySender: send table summary periodically (30s) or changes to neighbors yReceiver: update the table on new destinations, lower cost routes, changes in cost xdoes the remote table has a better route? xremote note is more authoritative (has more up-to-date info)? xwhen a link is faulty, set cost to infinity yRIP-1 (RFC 1058) yMore recent algorithms xmore information, not just neighbors xlink-state algorithms, each node responsible for finding the optimum routes

Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005 Network principles (15): Pseudocode for RIP routing algorithm zTl is the table local table; Tr is the received remote table Send: Each t seconds or when Tl changes, send Tl on each non-faulty outgoing link. Receive: Whenever a routing table Tr is received on link n: for all rows Rr in Tr { if (Rr.link != n) { Rr.cost = Rr.cost + 1; Rr.link = n; if (Rr.destination is not in Tl) add Rr to Tl; // add new destination to Tl else for all rows Rl in Tl { if (Rr.destination = Rl.destination and (Rr.cost < Rl.cost or Rl.link = n)) Rl = Rr; // Rr.cost < Rl.cost : remote node has better route // Rl.link = n : remote node is more authoritative }