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.

Slides:



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

Eighth Edition by William Stallings
Routing: Cores, Peers and Algorithms
1 Fall 2005 Extending LANs Qutaibah Malluhi CSE Department Qatar University Repeaters, Hubs, Bridges, Fiber Modems, and Switches.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
CSCI 4550/8556 Computer Networks Comer, Chapter 11: Extending LANs: Fiber Modems, Repeaters, Bridges and Switches.
Computer Network 實踐資管 Wang-Jiunn Cheng 2004 PART VII-2 Wide Area Networks (WANs), Routing, and Shortest Paths.
Chapter 10 Introduction to Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
Routing.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
Delivery, Forwarding, and Routing
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.
Introduction to Computer Networks 09/23 Presenter: Fatemah Panahi.
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Exploring the Functions of Routing.
WAN Technologies.
DataLink Layer1 Ethernet Technologies: 10Base2 10: 10Mbps; 2: 200 meters (actual is 185m) max distance between any two nodes without repeaters thin coaxial.
Delivery, Forwarding and
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.
CECS 474 Computer Network Interoperability WAN Technologies & Routing
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
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.
 Network Segments  NICs  Repeaters  Hubs  Bridges  Switches  Routers and Brouters  Gateways 2.
Chapter 17 - Internetworking: Concepts, Architecture, and Protocols 1. Internetworking concepts 2. Router 3. protocol for internetworking 4. TCP/ IP layering.
Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach Third.
1 Chapter 10 Introduction to Metropolitan Area Networks and Wide Area Networks.
William Stallings Data and Computer Communications 7 th Edition Chapter 1 Data Communications and Networks Overview.
1 WAN Technologies and Routing. 2 Motivation Connect multiple computers Span large geographic distance Cross public right-of-way –Streets –Buildings –Railroads.
Chapter Overview Bridging Switching Routing.
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
Chapter 9 Hardware Addressing and Frame Type Identification 1.Delivering and sending packets 2.Hardware addressing: specifying a destination 3. Broadcasting.
Communication Networks - Overview CSE 3213 – Fall November 2015.
Routing and Routing Protocols
Internet Protocol: Routing IP Datagrams Chapter 8.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. © The McGraw-Hill Companies, Inc. Internetworking, WANs, and Dynamic Routing.
Chapter 11 Extending LANs 1. Distance limitations of LANs 2. Connecting multiple LANs together 3. Repeaters 4. Bridges 5. Filtering frame 6. Bridged network.
1 Version 3.1 Module 6 Routed & Routing Protocols.
SEPT, 2005CSI Part 3.1 Wide Area Networks (WANs), Routing, and Shortest Paths Robert L. Probert, SITE, University of Ottawa.
18-WAN Technologies and Dynamic routing Dr. John P. Abraham Professor UTPA.
1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability.
WAN Technologies. 2 Large Spans and Wide Area Networks MAN networks: Have not been commercially successful.
COMPUTER NETWORKS CS610 Lecture-17 Hammad Khalid Khan.
COMPUTER NETWORKS CS610 Lecture-15 Hammad Khalid Khan.
The Underlying Technologies
Ch 13 WAN Technologies and Routing
WAN Technologies and Routing
18-WAN Technologies and Dynamic routing
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing.
Wide Area Networks (WANs), Routing, and Shortest Paths
Ch. 12: WAN Technologies and Routing
Wide Area Networks (WANs), Routing, and Shortest Paths
Packet Switching Outline Store-and-Forward Switches
Wide Area Networks (WANs), Routing, and Shortest Paths
Wide Area Networks (WANs), Routing, and Shortest Paths
COMPUTER NETWORKS CS610 Lecture-16 Hammad Khalid Khan.
Routing.
Presentation transcript:

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 graphs 7. Constructing routing tables 8. Vector distance algorithm 9. Examples of WAN Sections 13.5, and will not be covered

Introduction LANs can be extended using techniques in previous chapter Cannot be extended arbitrarily far or to handle arbitrarily many computers –Distance limitations even with extensions –Eg, Ethernet can span a max distance of 2500m Need other technologies for larger networks

Characterizations of networks Local Area Network (LAN) - single building Metropolitan Area Network (MAN) - single city Wide Area network (WAN) - country, continent, planet

Differences between LAN and WAN Satellite bridge can extend LAN across large distances Still cannot accommodate arbitrarily many computers scalability: WAN must be scalable to long distances and many computers

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 –A small computer with network interfaces, memory and program dedicated to packet switching function

Connections to packet switches Packets switches may connect to computers and to other packet switches Typically high speed connections to other packets switches, lower speed to computers exact details depend on the WAN technology & desired speed

Packet switches as building blocks Packet switches can be linked together to form WANs WANs need not be symmetric or have regular connections Each switch may connect to one or more other switches and one or more computers

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 hierarchical addressing for efficiency –One part of address identifies destination switch –Other part of address identifies port on switch

Next-hop forwarding Packet switch must choose outgoing connection for forwarding –If destination is local computer, packet switch delivers computer port –If destination is attached another switch, this packet switch forwards to next hop through connection to another switch Choice based on destination address in packet

Choosing next hop Packet switch doesn't keep complete information about all possible destination Just keeps next hop So, for each packet, packet switch looks up destination in table and forwards through connection to next hop

Source independence Next hop to destination does not depend on source of packet Called source independence Allows fast, efficient routing Packet switch need not have complete information, just next hop –Reduces total information –all packets follow same path; 1 table required

Hierarchical address and routing Process of forwarding is called routing Next hop information is kept in routing table Note that many entries have same next hop all packets with identical first part of the destination address are forwarded to the same switch

Hierarchical address and routing In particular, all destinations on same switch have same next hop switch only need to examine first part of hierarchical address when forwarding a packet Thus, routing table can be collapsed: computation time reduced routing table can be shortened

WAN architecture and capacity More computers = 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

Routing in a WAN Both interior and exterior switches: –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

Modeling a WAN Use a graph: –Nodes model switches –Edges model direct connections between switches Captures essence of network, ignoring attached computers

Route computation with a graph Can represent routing table with edges: Graph algorithms can be applied to find routes

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

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; only use when > 1 entries with the same next-hop value (see node 3)

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 - at boot time –Dynamic routing - allow automatic updates by a program Static is simpler; doesn't accommodate changes to network topology Dynamic requires additional protocol(s); can work around network failures

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

Distributed route computation Pass information about network topology between nodes Update information periodically Each node re-computes shortest paths and next hops Inject changes into routing tables

Vector-distance algorithm Local information is next-hop routing table and distance from each switch Switches periodically broadcast topology information Other switches update routing table based on received information

Vector-distance algorithm (continued) In more detail: Each switch waits for next update message Iterate through entries in message (a message from another switch N contains the “distances” (costs) to all other switches from N) If entry has shorter path to destination: –Insert N as next hop to destination –Record distance as distance from next hop to destination PLUS distance from this switch to next hop

Each switch will: –construct a one-dimensional array (a vector) containing the “distances” (costs) to all other switches. –distribute the vector to its immediate neighbors. Each switch’s vector initially consists of –a distance of 0 for reaching itself –a distance of 1 for reaching directly connected switches (note: for hop count, the distance to directly connected switches is 1, there are cases where the distance is not 1, eg. 2, 5, 9, etc) –a distance of infinity for reaching other (indirectly connected) switches. When the algorithm converges, each switch knows for each destination switch –(1) the next switch closer to the destination, and –(2) the associated cost for this path. Vector-distance algorithm (continued)

Vector-distance algorithm: An Example D G A F E B C

Switch A’s initial routing table Switch B’s initial routing table Destination A B C D E F G Cost 0 1  1  Next Hop - B C - E F - Destination A B C D E F G Cost  Next Hop A - C -

D G A F E B C D G A F E B C D G A F E B C D G A F E B C

Vector-distance algorithm: An Example Switch C’s initial routing table Switch D’s initial routing table Destination A B C D E F G Cost  Next Hop A B - D - Destination A B C D E F G Cost  1 0  1 Next Hop - C - G

Vector-distance algorithm: An Example Switch E’s initial routing table Switch F’s initial routing table Destination A B C D E F G Cost 1  0  Next Hop A - Destination A B C D E F G Cost 1  0 1 Next Hop A - G Exercise: complete the initial routing table for switch G by yourself (note: you need not hand in)

Vector-distance algorithm: An Example Switch A’s routing table after receiving message from switches C & F Destination A B C D E F G Cost Next Hop - B C E F D G A F E B C

Examples of WAN technology ARPANET – Began in 1960s – Funded by Advanced Research Projects Agency, an organization of the US Defense Department – Incubator for many of current ideas, algorithms and internet technologies X.25 – Early standard for networking – From ITU, which was originally CCITT – Predates computer connections, used for terminal/timesharing connection

ATM - Asynchronous Transfer Mode – Designed as single technology for voice, video, data,... – Low jitter (variance in delivery time) and high capacity – Uses fixed size, small cells - 48 bytes data, 5 bytes header –a cell is a fixed sized packet of 53 bytes – Can connect multiple ATM switches into a network Frame Relay –service for delivering blocks of data –designed for frame relay in bridging LANs segments –Eg, for connection for frame relay between 2 offices in 2 different cities –Typically 56Kbps or 1.5Mbps; can run to 100Mbps SMDS - Switched Multi-megabit Data Service –faster speed than frame relay – Typically Mbps Examples of WAN technology

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 WAN technologies exist