1 Chapter 14-16a Internet Routing Review. Chapter 14-16: Internet Routing Review 2 Introduction Motivation: Router performance is critical to overall.

Slides:



Advertisements
Similar presentations
Lecture 9 Overview. Hierarchical Routing scale – with 200 million destinations – can’t store all dests in routing tables! – routing table exchange would.
Advertisements

Computer Networks with Internet Technology William Stallings
Courtesy: Nick McKeown, Stanford
1 Interdomain Routing Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
Computer Networks with Internet Technology William Stallings
Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What’s inside a router 4.4 IP: Internet Protocol –Datagram format.
4a-1 CSE401: Computer Networks Hierarchical Routing & Routing in Internet S. M. Hasibul Haque Lecturer Dept. of CSE, BUET.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
1 6/14/ :27 CS575Internetworking & Routers1 Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers.
1 ELEN 602 Lecture 20 More on Routing RIP, OSPF, BGP.
CSE331: Introduction to Networks and Security Lecture 9 Fall 2002.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
CS335 Networking & Network Administration Tuesday, May 18, 2010.
Unicast Routing Protocols: RIP, OSPF, and BGP
CSEE W4140 Networking Laboratory Lecture 5: IP Routing (OSPF and BGP) Jong Yul Kim
Routing.
1 ECE453 – Introduction to Computer Networks Lecture 10 – Network Layer (Routing II)
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
The Routing & the IP network data link physical network data link physical network data link physical network data link physical network data link physical.
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Dr. John P. Abraham Professor University of Texas Pan American Internet Routing and Routing Protocols.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
Routing and Routing Protocols Routing Protocols Overview.
1 Chapter Overview Routing Principles Building Routing Tables.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
10/13/2015© 2008 Raymond P. Jefferis IIILect 07 1 Internet Protocol.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
Chapter 15 Interior Routing Protocols 1 Chapter 15 Interior Routing Protocols.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Border Gateway Protocol
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 13 Routing Protocols (RIP, OSPF, BGP)
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.
Chapter 16 Exterior Routing Protocols and Multicasting 1 Chapter 16 Exterior Routing Protocols And Multicasting.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
Routing protocols. Static Routing Routes to destinations are set up manually Route may be up or down but static routes will remain in the routing tables.
An internet is a combination of networks connected by routers. When a datagram goes from a source to a destination, it will probably pass through many.
Dynamic Routing Protocols II OSPF
1 7-Jan-16 S Ward Abingdon and Witney College Dynamic Routing CCNA Exploration Semester 2 Chapter 3.
4: Network Layer4b-1 OSPF (Open Shortest Path First) r “open”: publicly available r Uses Link State algorithm m LS packet dissemination m Topology map.
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
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.
Routing Protocols Brandon Wagner.
Top-Down Network Design Chapter 3.3 Selecting Switching and Routing Protocols Copyright 2010 Cisco Press & Priscilla Oppenheimer.
1 Border Gateway Protocol (BGP) and BGP Security Jeff Gribschaw Sai Thwin ECE 4112 Final Project April 28, 2005.
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
1 INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is referred.
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.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Chapter 4: Network Layer
Computer Networks Routing Algorithms.
Dynamic Routing Protocols II OSPF
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Chapter 4: Network Layer
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Routing.
Dynamic Routing Protocols II OSPF
Department of Computer and IT Engineering University of Kurdistan
Chapter 4: Network Layer
Chapter 4: Network Layer
Chapter 4: Network Layer
Routing.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Presentation transcript:

1 Chapter 14-16a Internet Routing Review

Chapter 14-16: Internet Routing Review 2 Introduction Motivation: Router performance is critical to overall performance and QoS in the Internet and private internetworks. Consider: Motivation: Router performance is critical to overall performance and QoS in the Internet and private internetworks. Consider: –selecting best routes (optimize delay, load) –maintaining routing tables (router overhead) –router-generated management traffic Topics: Topics: –Overview of Graph Theory –Interior Routing Protocols –Exterior Routing Protocols

Chapter 14-16: Internet Routing Review 3 Graph Theory and Networks Network Nodes Network Links Size of G: |E| = 10 Order of G: |V| = 6

Chapter 14-16: Internet Routing Review 4 Graph Theory and Networks Weighted Digraph to Represent Link Costs

Chapter 14-16: Internet Routing Review 5 Spanning Trees

Chapter 14-16: Internet Routing Review 6 Link Cost Determination Shortest-path distance approach Shortest-path distance approach –hop count –each link has equal cost of one unit Shortest-path length approach Shortest-path length approach –each link has associated cost in each direction –weighted digraph

Chapter 14-16: Internet Routing Review 7 Breadth-First Search Produces a spanning tree rooted in V 1 Finds shortest-path distance from V 1 to all V

Chapter 14-16: Internet Routing Review 8 Dijkstra’s Link-State Algorithm Based on breadth-first search Running time order of |V| 2

Chapter 14-16: Internet Routing Review 9 Bellman-Ford Distance Vector Algorithm Running time order of |V| x |E|

Chapter 14-16: Internet Routing Review 10 Ex: Dijkstra vs. Bellman-Ford Least-cost routing algorithms

Chapter 14-16: Internet Routing Review 11 Interior/Exterior Routing Protocols Host h2 a b b a a C A B d c A.a A.c C.b B.a c b Host h1 Interior routing within network (AS) A Exterior routing routingbetweennetworks A and B Interior routing within network (AS) B

12 Chapter 15 Interior Routing Protocols

Chapter 14-16: Internet Routing Review 13 Internet Routing Example

Chapter 14-16: Internet Routing Review 14 Routing Table Fixed vs. Adaptive Routing?

Chapter 14-16: Internet Routing Review 15 Routing Information Protocol (RIP) Distance Vector Algorithm Distance Vector Algorithm –typically uses simple link delay count metric Small networks Small networks –fast and simple –max hop count = 15 (RIPv1) Adaptive Adaptive –updates sent approximately every 30 seconds –links are invalidated if no update in 180 seconds Uses UDP transport (port 520) Uses UDP transport (port 520)

Chapter 14-16: Internet Routing Review 16 RIP Messages Command –1 for request –2 for reply Version –1: RIPv1, RFC 1058 –2: RIP-2, RFC 1723 Address Family ID –always 2 for IP addresses IP address –non-zero network portion –zero host portion Cost Metric –typically 1 (i.e. hop count)

Chapter 14-16: Internet Routing Review 17 Open Shortest Path First Protocol (OSPF) Link-State Algorithm Link-State Algorithm –Dijkstra’s Algorithm –uses flooding to advertise, request info Preferred for TCP/IP-based internets Preferred for TCP/IP-based internets –scale, TOS, hierarchy of areas, etc. –multiple metrics… monetary cost, reliability, throughput, delay, arbitrary Adaptive Adaptive –routers flood with new data when a significant change occurs Sent as payload in IP datagram Sent as payload in IP datagram

Chapter 14-16: Internet Routing Review 18 Open Shortest Path First Protocol (Scale, Hierarchy)

Chapter 14-16: Internet Routing Review 19 OSPF Messages Version –2: current version Type –1: “Hello”, for discovery –2: database structure –3: request link-state –4: update link-state –5: acknowledge update Length of message Router ID –unique in a single area Area ID –unique to an AS Internet checksum Authentication Info –Type of authentication –64 bit authentication value OSPF Header

20 Chapter 16a Exterior Routing Protocols

Chapter 14-16: Internet Routing Review 21 Exterior Routing RIP OSPF BGP

Chapter 14-16: Internet Routing Review 22 Border Gateway Protocol (BGP-4) Path Vector Algorithm Path Vector Algorithm –cost metrics not used or advertised –each router specifies a complete path to all other nodes (e.g., from node A to node Z = ADFHKXZ) Facilitates routing based on policy instead of cost metrics Facilitates routing based on policy instead of cost metrics –use preferred routes, providers (based on policy) –avoid competitors, poor performers, etc. Adaptive Adaptive –peers exchange updates on demand –nodes may choose not to participate Uses TCP transport (port 179) Uses TCP transport (port 179)

Chapter 14-16: Internet Routing Review 23 Border Gateway Protocol Example A B C W X Y legend: customer network (Stub AS) provider network  W, X, Y, A, B and C are networks  Paths are specified as, for example:  Path (w, y) = wACy  Path (x, y) = xCy  BGP routers advertise (update) only those routes that are specified by administrative policy  would A advertise …ABx… or …ACx… ?

Chapter 14-16: Internet Routing Review 24 BGP Messages Common Attributes Marker –synchronization and authentication mechanism Length of message Type –open –open: establish a neighbor relationship –update –update: send/withdraw route information –keepalive –keepalive: acknowledge or confirm relationship –notification –notification: error detected

Chapter 14-16: Internet Routing Review 25 Inter-Domain Routing Protocol (IDRP) Exterior routing protocol for IPv6 Exterior routing protocol for IPv6 Uses path-vector routing algorithm Uses path-vector routing algorithm ISO standard, defined within OSI protocol family ISO standard, defined within OSI protocol family –but, not dependent on OSI model –can be used with any internet protocol stack (such as TCP/IP) –provides a superset of BGP-4 functions –can aggregate routing info… “confederations” Utilizes an underlying internet protocol (like IP) with its own handshaking mechanism to exchange routing messages Utilizes an underlying internet protocol (like IP) with its own handshaking mechanism to exchange routing messages