Ch. 12: WAN Technologies and Routing

Slides:



Advertisements
Similar presentations
Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
Advertisements

Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
1 Fall 2005 Internetworking: Concepts, Architecture and TCP/IP Layering Qutaibah Malluhi CSE Department Qatar University.
Chapter 10 Introduction to Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
1 Chapter 10 Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
CSCI 4550/8556 Computer Networks Comer, Chapter 13: WAN Technologies and Routing.
1 Chapter 10 Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
WAN Technologies.
WAN Technologies & Topologies Lecture 8 October 4, 2000.
Chapter 13 WAN Technologies and Routing. LAN Limitations Local Area Network (LAN) spans a single building or campus. Bridged LAN is not considered a Wide.
Chapter 13: WAN Technologies and Routing 1. LAN vs. WAN 2. Packet switch 3. Forming a WAN 4. Addressing in WAN 5. Routing in WAN 6. Modeling WAN using.
CECS 474 Computer Network Interoperability WAN Technologies & Routing
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
LECTURE 9 CT1303 LAN. LAN DEVICES Network: Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
1 Chapter Wide Area Networks (WANs), Routing, and Shortest Paths.
Networks for Distributed Systems n network types n Connection-oriented and connectionless communication n switching technologies l circuit l packet.
WAN technologies and routing Packet switches and store and forward Hierarchical addresses, routing and routing tables Routing table computation Example.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Day 12 Chapter 13 WAN Technologies and Routing. Classification of Networks LAN – spans a single building or campus MAN – Spans a city WAN – Spans multiple.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
Chapter 12(13) - WAN Technologies and Routing Route computation with a graph Redundant routing information Default routes Building routing tables Computation.
The Network Layer.
William Stallings Data and Computer Communications
Communication Networks - Overview CSE 3213 – Fall November 2015.
Routing and Routing Protocols
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
18-WAN Technologies and Dynamic routing Dr. John P. Abraham Professor UTPA.
WAN Technologies. 2 Large Spans and Wide Area Networks MAN networks: Have not been commercially successful.
COMPUTER NETWORKS CS610 Lecture-17 Hammad Khalid Khan.
VCC Semester 1 CHAPTER 11. VCC  Content Layer 3 Devices ARP concept Network layer services Routed and routing protocols Protocol analyzer.
Data Communications Chapter 1 – Data Communications, Data Networks, and the Internet.
Network Layer Routing Networks: Routing.
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
Network Access and Transmission Methods
COMPUTER NETWORKS CS610 Lecture-15 Hammad Khalid Khan.
Packet Switching Networks & Frame Relay
CS408/533 Computer Networks Text: William Stallings Data and Computer Communications, 6th edition Chapter 1 - Introduction.
Computer Network Course objective: To understand Network architecture
Networking Devices.
The Underlying Technologies
Ch 13 WAN Technologies and Routing
Chapter Nine Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach Eighth.
COMPUTER NETWORKS CS610 Lecture-45 Hammad Khalid Khan.
Network Layer.
Introduction to Metropolitan Area Networks and Wide Area Networks
LAN Risanuri Hidayat.
CT1303 LAN Rehab AlFallaj.
WAN Technologies and Routing
18-WAN Technologies and Dynamic routing
Data and Computer Communications by William Stallings Eighth Edition
Chapter 4 Frame Relay Chapter 4 Frame Relay.
ECE453 – Introduction to Computer Networks
PRESENTATION COMPUTER NETWORKS
Network Layer Routing Networks: Routing.
Networking.
Network Architecture for Cyberspace
Wide Area Networks (WANs), Routing, and Shortest Paths
Networking.
Packet Switching Outline Store-and-Forward Switches
Wide Area Networks (WANs), Routing, and Shortest Paths
Wide Area Networks (WANs), Routing, and Shortest Paths
EEC4113 Data Communication & Multimedia System Chapter 1: Introduction by Muhazam Mustapha, July 2010.
COMPUTER NETWORKS CS610 Lecture-16 Hammad Khalid Khan.
Virtual LAN (VLAN).
Chapter 8 – Data switching and routing
Presentation transcript:

Ch. 12: WAN Technologies and Routing The objective of this chapter is to introduce: Packet switching network Physical addressing in a WAN Hierarchical address and routing WAN architecture and capacity Routing in a WAN Route computation Shortest path computation Examples of WAN Technologies: ARPANET, X.25, ISDN, Frame Relay, SMDS, ATM 4/8/2019

Introduction LANs can be extended using repeaters, bridges,.. LANs Can not be extended to handle arbitrarily many computers (size) and sites (distance) : Distance limitations even with extensions Broadcast is a problem CSMA/CD limitations Other technologies are needed for larger networks 4/8/2019

Network Devices (a) A repeater (b) A bridge (c) A router 4/8/2019

Characterizations of Networks Local Area Network (LAN) for a lab, building, campus ( few kms) Metropolitan Area Network (MAN) for a single city ( 10s kms) Wide Area network (WAN) for a country, continent ( 100-1000 kms) Internet (internetwork) which is a collection of interconnected networks by routers running TCP/IP suite (planet: > 500K hosts, 500 nets) Subnet: a collection of routers and communication lines owned by a network provider such as AOL,.. 4/8/2019

Differences Between LAN and WAN The key issue is scalability: WAN is able to grow as needed to connect many sites across large distances LAN can be extended across large distances using satellite bridge but cannot accommodate large no of computers LAN protocols such as: CSMA/CD and token passing can’t be used for large network Reliability issues: WAN has multiples links Management & security issues Applications 4/8/2019

Packet Switches To span long distances or many computers, network must replace shared medium with packet switches Each switch moves an entire packet from one connection to another Packet switching is a dedicated computer with network interfaces, memory and software to implement packet routing 4/8/2019

Connections to Packet Switches Packets switches connect to: Computers using lower speed connections Other packet switches using high speed connections Packet switch is a basic building block in WAN Therefore, packet switches linked together to form WAN Used to connect to other packet switches packet switch Used to connect to computers 4/8/2019

Forming a WAN Each switch may connect to one or more other switches and one or more computers WANs need not be symmetric or have regular connections high speed connections between switches computers connected to network 1 2 3 4 4/8/2019

Store and Forward Data delivery from one computer to another is accomplished through store-and-forward technology Packet switch stores incoming packet and forwards the packet to another switch or a computer Packet switch has internal memory Can hold packet (in queue)if outgoing connection is busy 4/8/2019

Physical Addressing in a WAN Similar to LAN Data transmitted in packets (equivalent to frames) Each packet has format with header Packet header includes destination and source addresses Many WANs use 2-part hierarchical addressing for efficiency One part of address identifies the destination switch (2,..) Other part of address identifies port on switch (.., 5) address (1,2) address (1,5) address (2,2) address (2,5) 1 2 4/8/2019

Next-Hop Forwarding Packet switch must choose outgoing connection for forwarding based on the destination address in packet: If destination is a local computer, packet switch delivers to the local computer port If destination is attached to another switch, this packet switch forwards to the next hop through connection to another switch 4/8/2019

Choosing Next Hop Packet switch doesn't keep complete information about all possible destination just keeps next hops information So, for each coming packet, packet switch looks up destination in the table and forwards through connection to the appropriate next hop Interface 1 Interface1 4 1 DESTINATION NEXT HOP (1,2) interface 1 (1,5) interface 1 (3,2) interface 4 (3,5) interface 4 (2,1) computer E (2,6) computer F (1,2) 3 (3,2) A C (1,5) B (3,5) D 2 (2,1) F (2,6) E 4/8/2019

Source Independence Source independence: next hop to destination does not depend on the source of the packet Allows fast and efficient routing Packet switch need not have complete information, just next hop Reduces total information Increases dynamic robustness: network can continue to function even if topology changes without notifying entire network 4/8/2019

Hierarchical Address and Routing Routing is the process of forwarding Information is kept in a routing table Note that many entries have same next hop In particular, all destinations on same switch have same next hop Thus, routing table can be collapsed by including switch no only: (1,1), (1,2), (1,3) (1,*) Using 1-part of a 2-part hierarchical address will: Reduce computation time to forward packets reduce the entire routing table 4/8/2019

Routing Table For Switch 2 1 3 2 (1,2) (1,5) D (3,2) (3,5) (2,1) (2,6) I1 I4 DESTINATION NEXT HOP (1,2) interface 1 (1,5) interface 1 (3,2) interface 4 (3,5) interface 4 (2,1) computer E (2,6) computer F DESTINATON NEXT HOP (1, anything) interface 1 (3, anything) interface 4 (2, anything) local computer 4/8/2019

WAN Architecture and Capacity More computers means more traffic Can add capacity to WAN by adding more links and packet switches Packet switches need not have computers attached Interior switch: no attached computers Exterior switch: attached computers 4/8/2019

Routing in a WAN Both interior and exterior switches must: Must have: Forward packets Need routing tables Must have: Universal routing: next hop for each possible destination Optimal routes: next hop in table must be on shortest path to destination 4/8/2019

Modeling a WAN Use a graph: Nodes model switches Edges model direct connections between switches Captures essence of network, ignoring attached computers 1 2 3 4 1 4 3 2 4/8/2019

Routing in a WAN 1 2 3 4 1 2 3 4 destin- next ation hop 1 - 2 (1,3) 1 - 2 (1,3) 3 (1,3) 4 (1,3) node 1 1 destin- next ation hop 1 (2,3) 2 - 3 (2,3) 4 (2,4) node 2 2 destin- next ation hop 1 (3,1) 2 (3,2) 3 - 4 (3,4) node 3 3 destin- next ation hop 1 (4,3) 2 (4,2) 3 (4,3) 4 - node 4 4 4/8/2019

Route Computation With a Graph Can represent routing table with edges: Graph algorithms can be applied to find routes destin- next ation hop 1 - 2 (1,3) 3 (1,3) 4 (1,3) 1 (2,3) 2 - 3 (2,3) 4 (2,4) 1 (3,1) 2 (3,2) 3 - 4 (3,4) 1 (4,3) 2 (4,2) 3 (4,3) 4 - node 1 node 2 node 3 node 4 4/8/2019

Redundant Routing Information Notice duplication of information in routing table for node 1: Switch 1 has only one outgoing connection; all traffic must traverse that connection destin- next ation hop 1 - 2 (1,3) 3 (1,3) 4 (1,3) 1 (2,3) 2 - 3 (2,3) 4 (2,4) 1 (3,1) 2 (3,2) 3 - 4 (3,4) 1 (4,3) 2 (4,2) 3 (4,3) 4 - node 1 node 2 node 3 node 4 4/8/2019

destin- next destin- next ation hop ation hop 1 - 1 - 2 (1,3) * (1,3) 1 - 2 (1,3) 3 (1,3) 4 (1,3) node 1 destin- next ation hop 1 - * (1,3) node 1 4/8/2019

destin- next ation hop 1 (2,3) 2 - 3 (2,3) 4 (2,4) node 2 destin- next 1 (2,3) 2 - 3 (2,3) 4 (2,4) node 2 destin- next ation hop 2 - 4 (2,4) * (2,3) node 2 4/8/2019

destin- next ation hop 1 (3,1) 2 (3,2) 3 - 4 (3,4) node 3 destin- next 1 (3,1) 2 (3,2) 3 - 4 (3,4) node 3 destin- next ation hop 1 (3,1) 2 (3,2) 3 - 4 (3,4) node 3 4/8/2019

destin- next ation hop 1 (4,3) 2 (4,2) 3 (4,3) 4 - node 4 destin- next 1 (4,3) 2 (4,2) 3 (4,3) 4 - node 4 destin- next ation hop 2 (4,2) 4 - * (4,3) node 4 4/8/2019

Default Routes Can collapse routing table entries with a default route If destination does not have an explicit routing table entry, use the default route: Use of default route is optional (see node 3) destin- next ation hop 1 - * (1,3) 2 - 4 (2,4) * (2,3) 1 (3,1) 2 (3,2) 3 - 4 (3,4) 2 (4,2) 4 - * (4,3) node 1 node 2 node 3 node 4 4/8/2019

Building Routing Tables How to enter information into routing tables: Manual entry: initialization file Dynamically: through runtime interface How to compute routing table information: Static routing: build routing table at boot time It is simpler; low overhead; doesn't accommodate changes to network topology Dynamic routing: allow periodic updates requires additional protocol(s); monitor traffic; modify routes as a result of network failures 4/8/2019

Computation of Shortest Path in a Graph Assume graph representation of network at each node Use Djikstra's algorithm to compute shortest path from each node to every other node Extract next-hop information from resulting path information Insert next-hop information into routing tables 4/8/2019

Weighted Graph Djikstra's algorithm can accommodate weights on edges (link) in the graph Shortest path is the path with lowest total weight (sum of weights of all edges) Shortest path not necessarily fewest edges (or hops) 1 2 3 3 11 4 6 2 9 3 8 6 5 5 7 4/8/2019

Synopsis of Djikstra's Algorithm Keep data structure with list of nodes and weights of paths to those nodes Use infinity to represent a node in the set S of nodes for which a path has not yet been computed At each iteration, find a node in S, compute the path to that node, and delete the node from S 4/8/2019

Distance Metrics Weights on graph edges reflect "cost" of traversing edge Time Dollars Hop count (weight == 1) Resulting shortest path may not have fewest hops 1 6 2 5 3 4 7 9 8 11 4/8/2019

Dynamic Route Computation Network topology may change dynamically Switches may be added Connections may fail Costs for connections may change Switches must update routing tables based on topology changes 4/8/2019

Distributed Route Computation Each packet switch computes its routing table locally Send result to neighboring packet switches Pass information about network topology between nodes Update information periodically in case of failures 4/8/2019

Vector-distance Algorithm Local information is next-hop routing table and distance from each switch Switches periodically broadcast routing information (destination, distance) Other switches update routing table based on received information 4/8/2019

Vector-Distance Algorithm (Continued) Wait for next update message Iterate through entries in message If entry has shorter path to destination: Insert source as the next hop to destination Record distance as distance from next hop to destination PLUS distance from this switch to next hop 4/8/2019

Link-state Routing (Shortest Path First) Separates network topology from route computation Switches send link-state information about local connections Each switch builds own routing tables Uses link-state information to update global topology Runs Djikstra's algorithm 4/8/2019

Comparison Vector-distance algorithm Link-state algorithm Very simple to implement May have convergence problems Used in RIP (Routing Inf. Protocol) Link-state algorithm Much more complex Switches perform independent computations Used in OSPF (Open Shortest Pass First) 4/8/2019

Examples of WAN Technologies: ARPANET Was the first large-scale store-forward packet-switched network in 1960s Funded by Advanced Research Projects Agency (ARPA), an organization of the DOD to be used in battlefield conditions that uses 56Kbps leased lines Left a legacy of concepts, algorithms, and terminology which lead to Internet with TCP/IP Software Interconnected NSFNET and ARPANET 4/8/2019

The CCITT X.25 Standard Standard set by ITU (International Telecom Union) which was originally CCITT (Consultative Committee for International Telegraphy & Telephony) in 1970s It is connection-oriented & supports both switched virtual circuits & permanent ones It was revised for computer communications in 1980, ‘84, 88, 92, and 93 Provides an interface between public packet networks & their customers X.25 comprises the first 3 layers: physical layer, the data link layer & the network layer It is probably the most widely used protocol standard in Europe 4/8/2019

Integrated Service Digital Network (ISDN) Integrates phone service with WAN service Digital signal over phone line transmits digitized voice and/or data Basic Rate Interface (BRI) provides 144Kbps B channel (Bearer) provides 64Kbps data transmission D channel (Delta) used for control (16Kbps) BRI includes 2 B channels and 1 D channel Audio digitized using pulse code modulation (PCM) BISDN provides 3 channels with 150 MPbs 4/8/2019

Frame Relay A significant advance over traditional PS & X.25 eliminate much of the overhead imposed on the end user systems and PS network to move bits at reasonable speed at a low cost No hop-by-hop flow control & error control; only end-to end Connection-based service; must contract with telco for circuit between two endpoints (as virtual leased line) Typically 56Kbps, 1.5, 2Mbps; can run to 100Mbps 4/8/2019

Frame Relay Variable size packets (Frames) may be up to 1600 bytes Lower delay & higher throughput, since internal processing is reduced, as is the protocol functionality at the user-network interface Call control signaling is on a separate logical connection from user data Multiplexing & switching of logical connections take place in layer 2 4/8/2019

SMDS: Switched Multi-megabit Data Service Known as Connectionless Broadband Data Service (CBDS) in Europe SMDS used to connect LANs SMDS is designed to handle bursty traffic (1.5-100Mbps) SMDS service: simple connectionless packet service It is a Connectionless data service public network Any SMDS station can send a frame to any other station on the same SMDS "cloud" 4/8/2019

ATM: Asynchronous Transfer Mode A cell-switching technology designed to provide: Universal information carrier for voice, video, & data Low jitters (variance in delivery time) and high capacity Small & fixed size cells: 48 octets data & 5 octets header Connection-oriented Can connect multiple ATM switches into a network Example services: video on demand, live TV from many sources, full motion multimedia E-mail, CD-quality music, high-speed data transport, LAN interconnection 4/8/2019

ATM Normal speed for ATM networks is 155 Mbps, 622 Mbps, and future gigabit speed The ATM Forum: an international group that guides the future of ATM 4/8/2019

Other Store-and Forward PS Networks Networks differ in routing, flow control, addressing, and in the way these functions are organized IBM’s System Networks Architecture (SNA) started in 1974 Digital Equipment’s DECnet in 1975 Siemens’ TRANDATA in 1978 Distributed Queue and Dual Bus (DQDB) is a MAN standard consists of two unidirectional buses (cables) to which all computers are connected 4/8/2019

Summary WAN can span arbitrary distances and interconnect arbitrarily many computers Uses packet switches and point-to-point connections Packets switches use store-and-forward and routing tables to deliver packets to destination WANs use hierarchical addressing Graph algorithms can be used to compute routing tables Many LAN technologies exist 4/8/2019

Comparison of Networking Services . Issue DQDB SMDS X.25 Frame relay ATM Connection oriented Yes No Yes Yes Yes Normal speed(Mbps) 45 45 .064 2 155 Switched No Yes Yes No Yes Fixed-size payload Yes No No No Yes Max payload 44 9188 128 1600 48 Permanent VCs No No Yes Yes No Multicasting No Yes No No Yes 4/8/2019