Routing: Cores, Peers and Algorithms

Slides:



Advertisements
Similar presentations
RIP V1 W.lilakiatsakun.
Advertisements

Cisco S3 C5 Routing Protocols. Network Design Characteristics Reliable – provides mechanisms for error detection and correction Connectivity – incorporate.
Routing: Exterior Gateway Protocols and Autonomous Systems Chapter 15.
CSC 600 Internetworking with TCP/IP Unit 6a: IP Routing and Exterior Routing Protocols (Ch. 14, 15) Dr. Cheer-Sun Yang Spring 2001.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Routing Protocol.
The University of Sydney 1 Routing Architecture and Protocols NETS3303/3603 Week 6.
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Internetworking.
CSCI 4550/8556 Computer Networks Comer, Chapter 25: Internet Routing.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Chapter 25 Internet Routing Internetworking Technology How routing tables are built initially How routing software updates the tables as needed. Propagation.
COS 420 Day 20. Agenda Group Project Discussion Protocol Definition Due April 12 Paperwork Due April 29 Assignment 3 Due Assignment 4 is posted Last Assignment.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Exterior Gateway Protocols: EGP, BGP-4, CIDR Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
Routing and Routing Protocols
Routing.
COS 420 Day 17. Agenda Finished Grading Individualized Projects Very large disparity in student grading No two students had same ranking for other students.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.
Chapter 27 Q and A Victor Norman IS333 Spring 2015.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Exploring the Functions of Routing.
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-1.
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
Each computer and router interface maintains an ARP table for Layer 2 communication The ARP table is only effective for the broadcast domain (or LAN)
1 Internet Protocol: Forwarding IP Datagrams Chapter 7.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Routing Algorithms (Ch5 of Computer Network by A. Tanenbaum)
Jan 29, 2008CS573: Network Protocols and Standards1 NAT, DHCP Autonomous System Network Protocols and Standards Winter
Routing and Routing Protocols Dynamic Routing Overview.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
1 CSCI 233 Internet Protocols Class 6 Dave Roberts.
Introduction to Routing and Routing Protocols By Ashar Anwar.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
M.Menelaou CCNA2 ROUTING. M.Menelaou ROUTING Routing is the process that a router uses to forward packets toward the destination network. A router makes.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking BGP, Flooding, Multicast routing.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
 Network Segments  NICs  Repeaters  Hubs  Bridges  Switches  Routers and Brouters  Gateways 2.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Static versus Dynamic Routes Static Route Uses a protocol route that a network administrators enters into the router Static Route Uses a protocol route.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
Routing and Routing Protocols
Internet Protocol: Routing IP Datagrams Chapter 8.
Cisco Systems Networking Academy S2 C 11 Routing Basics.
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
IP Routing Principles. Network-Layer Protocol Operations Each router provides network layer (routing) services X Y A B C Application Presentation Session.
COS 420 Day 15. Agenda Finish Individualized Project Presentations on Thrusday Have Grading sheets to me by Friday Group Project Discussion Goals & Timelines.
Routing in the Inernet Outcomes: –What are routing protocols used for Intra-ASs Routing in the Internet? –The Working Principle of RIP and OSPF –What is.
Transport Layer3-1 Network Layer Every man dies. Not every man really lives.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
CSE 421 Computer Networks. Network Layer 4-2 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside.
COMPUTER NETWORKS CS610 Lecture-17 Hammad Khalid Khan.
1 Computer Networks Chapter 5. Network layer The network layer is concerned with getting packets from the source all the way to the destination. Getting.
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
COMP 3270 Computer Networks
WAN Technologies and Routing
THE NETWORK LAYER.
Introduction to Internet Routing
Routing.
ECE453 – Introduction to Computer Networks
Routing.
Presentation transcript:

Routing: Cores, Peers and Algorithms Chapter 14

The Origin of Routing Tables Routers form the base of an internet and handle all traffic except for direct delivery from one host to another We have two questions: What should be in routing tables? How do routers get the information for the tables? Initial routes may be determined: from secondary storage into main memory at startup from a set of addresses of connecting networks

The Origin of Routing Tables In small internets, the routing tables may be established and modified by hand In large internets, automated approaches are necessary

Routing with Partial Information Hosts usually have two routes in their routing table A route for the local network A default route for nonlocal datagrams Example of road signs with partial information, page 255 Extreme Architectural Approaches Star shaped topology with one road to each town, one central point Arbitrary roads with signs for all towns at each intersection

Routing with Partial Information The two extreme architectural approaches fail Star - one machine would have to work as switch between all Arbitrary - to keep all routing information at all sites is cumbersome and difficult to change A third approach Half of the cities lie in the east and half in the west A bridge spans a river that separates the east and west Road signs in the east list all destinations in the east, and only points to the west, and so on

Original Internet Architecture and Cores When TCP/IP was developed, research sites were connected to the ARPANET (Internet backbone) Routing tables were initialized and modified by hand To begin automation for routing,: a small central set of routers kept complete information about all possible destinations a larger set of outlying routers kept partial information allows local administrators to make local changes default routes at the outlying routers could indicate a central intersection

Core Routers Those early routers were either: Core routers controlled by Internet Network Operations Center or Noncore routers controlled by inividual groups Core routers communicated among themselves information was consistent and the system was reliable Sites assigned an Internet network address agreed to advertise that address to the core system

Core Routers The early Internet core routing system consisted of routers connecting local area networks to the ARPANET See Figure 14.1 Hosts on the local networks passed nonlocal traffic to the core router Routing information was exchanged between core routers Default routes were not used; would be inefficient

Core Routers This approach became impractical because: the Internet outgrew a single, centrally managed long-haul backbone protocols needed to maintain consistency among core routers became nontrivial maintaining correct routing information became difficult

Peer Backbones NSFNET attached to ARPANET through a single router in Pittsburgh The core had explicit routes to all destinations in NSFNET Routers inside NSFNET knew local destinations and used a default route (the Pittsburgh router) to send all non-NSFNET traffic to the core Multiple connections were added between NSFNET and ARPANET as shown in Figure 14.4 and the two became peer backbone networks, or peers

Peer Backbones With such an architecture, how do we route with peer backbones? Routing loops are possible as in Figure 14.5 Core systems work best for internets with a single, centrally managed backbone Expanding the topology to multiple backbones makes routing complex

Automatic Route Propagation The original Internet core system propagated complete routing information to all core routers Today, many routers continue to communicate routing information We need ways to automatically determine routes, and to continually update the information needed to determine the routes

Distance Vector Routing (aka Bellman-Ford) A router keeps a list of all known routes in a table When it boots, the routing table is initialized with an entry for each directly connected network Each entry identifies a network and the distance to it, usually in hops - See Figure 14.6 Periodically, all routers send a copy of their routing table to any other router it can reach directly If a shorter path is found in one of these, the current path is replaced with the shorter one

Distance Vector Routing See Figure 14.7 which shows an existing table for router K, and an update from router J Is this a good choice? Easy to implement If routes change rapidly, routes may not stabilize Some routers may have incorrect information Message size is proportional to the number of networks in an internet

Gateway to Gateway Protocol GGP was used by original core routers to exchange routing information - no longer used Designed to travel in IP datagrams like TCP and UDP Messages had a fixed format header identifying message type

Distance Factoring Distance values were small, and the same values tended to be repeated often To reduce the message size, avoid sending copies of the same distance number The list of pairs (Network, Distance) is sorted by distance each distance is represented once and all networks at that distance follow

Reliability Most routing protocols use connectionless transport Routing protocols that use UDP or IP must compensate for failures by using checksums sequence numbers for out of order delivery

Link-State Routing Primary alternative to distance vector routing Tests the status of all neighbor routers Short message asking if neighbor is alive If the neighbor responds, the link is up, else down Routers periodically broadcast a message with the status of each of its links Indicates whether communication is possible between pairs of routers When link status information arrives at a router, it modifies its view of the internet

Shortest Path First When link status changes, the router recomputes routes by applying Dijkstra’s Shortest Path algorithm SPF computes the shortest paths to all destinations from a single source Advantages each router computes routes independently messages are propagated unchanged size does not depend on number of networks in internet

Summary Hosts and routers usually contain partial routing information The Internet used a core routing architecture in which cores had complete network information Routing information is exchanged periodically using distance-vector or link state algorithms

For Next Time Read Chapter 15