Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.

Slides:



Advertisements
Similar presentations
Network Layer4-1 Hierarchical Routing scale: with 200 million destinations: r can’t store all dest’s in routing tables! r routing table exchange would.
Advertisements

Lecture 9 Overview. Hierarchical Routing scale – with 200 million destinations – can’t store all dests in routing tables! – routing table exchange would.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 22 Omar Meqdadi Department of Computer Science and Software Engineering University.
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.
Chapter 11 Unicast Routing Protocols
Unicast Routing Protocols: RIP, OSPF, and BGP
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Unicast Routing Protocols: RIP, OSPF, and BGP
Routing.
14 – Inter/Intra-AS Routing
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
TCP/IP Protocol Suite1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Chapter 14 Routing Protocols (RIP, OSPF, and BGP)
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.
14 – Inter/Intra-AS Routing Network Layer Hierarchical Routing scale: with > 200 million destinations: can’t store all dest’s in routing tables!
Routing Information Protocol (RIP). Intra-and Interdomain Routing An internet is divided into autonomous systems. An autonomous system (AS) is a group.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Dynamic Routing Protocols  Function(s) of Dynamic Routing Protocols: – Dynamically share information between routers (Discover remote networks). – Automatically.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Routing Protocols RIP, OSPF, BGP.
Routing/Routed Protocols. Remember: A Routed Protocol – defines logical addressing. Most notable example on the test – IP A Routing Protocol – fills the.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
Code : STM#520-1 Samsung Electronics Co., Ltd. OfficeServ7400 Router Operation Distribution EnglishED01.
Review Routing fundamental W.lilakiatsakun. Review Routing Fundamental VLSM VLSM Route Summarization Route Summarization Static & Dynamic Routing Static.
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
RIP2 (Routing Information Protocol) Team Agile. Routing Protocols Link State – OSPF – ISIS Distance vector – RIP (version 1 and 2) – IGRP (Cisco Proprietary)
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 13 Routing Protocols (RIP, OSPF, BGP)
資 管 Lee Lesson 10 RIP, OSPF, and BGP. 資 管 Lee Routing in Internet An internet is divided into autonomous systems. An autonomous system(AS) is a group.
1 Chapter 14 Routing Protocols (RIP, OSPF, and BGP) Chapter 14 Routing Protocols (RIP, OSPF, and BGP) Mi-Jung Choi Dept. of Computer Science and Engineering.
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.
7400 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. -0/35- OfficeServ 7x00 Enterprise IP Solutions Quick Install Guide.
Chapter 14 1 Unicast Routing Protocols There isn’t a person anywhere that isn’t capable of doing more than he thinks he can. - Henry Ford.
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.
1 Kyung Hee University Chapter 11 Unicast Routing Protocols (RIP, OSPF, and BGP)
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.
(How the routers’ tables are filled in)
Routing Protocols Brandon Wagner.
Routing Protocols COSC 541 Data Commun. System & Networks Yue Dou.
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
1 Chapter 14-16a Internet Routing Review. Chapter 14-16: Internet Routing Review 2 Introduction Motivation: Router performance is critical to overall.
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.
RIP Routing Protocol. 2 Routing Recall: There are two parts to routing IP packets: 1. How to pass a packet from an input interface to the output interface.
1. 2  An autonomous system is a region of the Internet that is administered by a single entity.  Examples of autonomous regions are:  UVA’s campus.
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.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Homework 4 Out: Fri 2/24/2017 In: Fri 3/10/2017.
Chapter 4: Network Layer
Dynamic Routing Protocols part2
Chapter 14 Routing Protocols (RIP, OSPF, and BGP)
Routing Protocols (RIP, OSPF, BGP)
(How the routers’ tables are filled in)
Routing Information Protocol (RIP)
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
Dynamic Routing Protocols part2
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
Chapter 13 Routing Protocols (RIP, OSPF, and BGP)
Chapter 11 Unicast Routing Protocols (RIP, OSPF, and BGP)
Chapter 13 Routing Protocols (RIP, OSPF, and BGP)
Chapter 4: Network Layer
Chapter 4: Network Layer
Chapter 4: Network Layer
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
Computer Networks Protocols
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Presentation transcript:

Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical routing –Internet = network of networks –Each network admin may want to control routing in its own routing network. –Hierarchical routing solves Scale problems. Administrative autonomy.

Routing Protocols RIP, OSPF, BGP Dynamic protocols –Sharing neighborhood information Use different metrics. RIP (one hop count, how many networks a packet crosses), Networks are treated equally BGP (depend on the policy, set by administrator) OSPF (TOS, minimize delay, maximize throughput)

Routing Information Protocol RFC Distance vector algorithm (Bellman-Ford) –Sharing knowledge about the entire AS –Shares only with neighbors –Shares at regular intervals (different from DVA) Receive a RIP message (a response) Add one hop for each advertised dest Repeat If (dest not in routing table) Add the advertised info to the table Else If (next-hop is the same) Replace with the advertised one Else If (advertised hop count < one in the table) Replace entry in the routing table Return

Initializing and Updating Routing Table DestinationMetricGateway DestDG Rule to implement RIP based in DVA If Information is not from G –Update to reflect minimum cost If Information is from G –Always update

RIP message format RIP messages uses UDP datagrams on port 520 –Implemented in Unix systems by the ‘routed’ daemon. Size of datagram limited to 512 bytes (allow advertisement of 25 routes. Command: 8 bits –Request (1), reply (2) Version: 1 or 2 Family: of protocol used for TCP/IP it is 2 Network address : 32 bytes Distance: hop count from the advertising router to the destination network Response: solicited or unsolicited.

RIP message example

RIP timers Periodic timer: control advertising of regular update messages (25-35 sec) Expiration timer: governs the validity of a route (180 sec) –Every time an update (on a 30 sec average) is received the timer is reset –If no update received within this timer the metric is set to 16 Garbage timer: 120 sec –A route can be advertised with a 16 metric for 120 sec before it get purged Allow neighbors to have knowledge of the invalidity of a route

Slow Convergence Problem Solved by limiting number of hops to 15, 16 means That the destination is unreachable

RIP Instability Triggered Updates Split Horizons Poison reverse

Border Gateway Protocol (RFC 1771) Based on the path vector routing. Distance-vector protocol not preferred for inter-AS routing (exterior routing protocol) –Assumes all routers have a common distance metrics to judge route preferences. If routers have different meanings of a metric, it may not be possible to create stable, loop free routes. –A given AS may have different priorities from another AS. –Gives no information about the ASs that will be visited. Link-state routing protocol –Different metrics. –Flooding is not realistic. Path vector routing –No metrics, –Information about which networks can be reached by a given router and ASs to be crossed. Differs from DVA –Path vector approach does not include a distance or cost estimate –Lists all of the ASs visited to reach destination network.

BGP (continued) Messages are sent over TCP connections on port 179. Functional procedures –Neighbor acquisition (open message, acceptance through Keepalive message) –Neighbor reachability (periodic Keepalive messages) –Network reachability (broadcast an update message) Each routers maintains a database of networks that can be reached + preferred route to this network. RFC does not address How a router knows the address of another router. Up to network admin.

BGP (cont.) Loop Prevention in BGP: –Checks the Path before updating its database. (If its AS is in the path ignore the message) Policy Routing: –If a path consist of an AS against the policy of the current AS, message discarded. Example of Network ReachabilityExample of Message adverstisements

BGP message format (Open, Keepalive, Update, Notification

Open Shortest Path First (RFC 1247) Uses IP, has a value in the IP Header (8 bit protocol field) Interior routing protocol, its domain is also an autonomous system Special routers (autonomous system boundary routers) or backbone routers responsible to dissipate information about other AS into the current system. Divides an AS into areas Metric based on type of service –Minimum delay (rtt), maximum throughput, reliability, etc..

OSPF (type of links)

OSPF (link state advertisement) Router Link Network Link

OSPF (LSA cont.) Summary link to Network Summary link to AS boundary router External Link

Shortest Path Calculation

Types of OSPF packets and header format

Link State Update Packet A router link example LSA header not covered Refer to RFC 1247

A Network Link Example

Summary Links state Advertisements Summary link to network Summary link to AS boundary External Link