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

Slides:



Advertisements
Similar presentations
Introduction to OSPF.
Advertisements

Designing OSPF Networks
Computer Networks with Internet Technology William Stallings
Chapter 11 Unicast Routing Protocols
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
Unicast Routing Protocols: RIP, OSPF, and BGP
Unicast Routing Protocols: RIP, OSPF, and BGP
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
CCNP Network Route OSPF Part -I OSPF: Open Shortest Path First Concept of OSPF: 1. It is a link state routing protocol. 2. There are basically only 2 ISIS.
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.
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.
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)
Introduction to OSPF Nishal Goburdhan. Routing and Forwarding Routing is not the same as Forwarding Routing is the building of maps Each routing protocol.
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)
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.
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.
14 – Inter/Intra-AS Routing
Homework 4 Out: Fri 2/24/2017 In: Fri 3/10/2017.
Chapter 4: Network Layer
CS 5565 Network Architecture and Protocols
Dynamic Routing Protocols II OSPF
Dynamic Routing Protocols part2
Chapter 14 Routing Protocols (RIP, OSPF, and BGP)
Routing Protocols (RIP, OSPF, BGP)
(How the routers’ tables are filled in)
9 Network Layer Part VI Computer Networks Tutun Juhana
Routing Information Protocol (RIP)
Chapter 4: Network Layer
Distance Vector and Link State RIP OSPF
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Routing.
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 5: Dynamic Routing
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.
Dynamic Routing Protocols II OSPF
Will Review Exam 3 Dr. Clincy Lecture.
Chapter 13 Routing Protocols (RIP, OSPF, and BGP)
Chapter 11 Unicast Routing Protocols (RIP, OSPF, and BGP)
Dynamic Routing and OSPF
Chapter 13 Routing Protocols (RIP, OSPF, and BGP)
Chapter 4: Network Layer
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
Routing.
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 1058 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 If (advertised hop count < one in the table) Replace entry in the routing table Return http://www.faqs.org/rfcs/rfc1058.html Distance vector algorithm (Bellman-Ford) Sharing knowledge about the entire AS Shares only with neighbors Shares at regular intervals (different from DVA)

Initializing and Updating Routing Table Destination Metric Gateway Dest D G 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.

Characteristics Inter-AS communication Propagation of reachable information Next HOP paradigm Policy support Reliable transport Path information Incremental update Support for classless addressing Authentication

BGP (cont.) Example of Network Reachability Example of Message adverstisements 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.

BGP message format (Open, Keepalive, Update, Notification

OSPF Open Shortest Path First Link State or SPF technology Developed by the IETF’s OSPF working group (RFC 1247) Designed for TCP/IP Fast Convergence Variable length netmasks Non-contiguous subnets No need for periodic updates Route authentication OSPF is defined in RFC2328 Open standard Load balancing area

Need for a Link State Protocol Problems with Distance Vector Protocol -Large update packets -Slow response to topological changes -Count to Infinity Problem -Slow Convergence

X Fast Convergence Detection plus LSA/SPF R2 Alternate Path N1 N2 R1 Primary Path

OSPF Areas Group of contiguous nodes/networks Per area topology DB Backbone Area Area 2 Area 3 Group of contiguous nodes/networks Per area topology DB Invisible outside the area Reduces routing traffic Backbone Area is contiguous All others areas must connect to the backbone Virtual Links

Router Classification Area 0 Area 2 Area 3 IR ABR/BR To another AS ASBR Internal Router (IR) Area Border Router (ABR) Backbone Router (BR) Autonomous System Border Router (ASBR) IR/BR Area 1

OSPF Route Types Intra-Area Route Inter-Area Route External Route ABR Intra-Area Route All routes within an area Inter-Area Route Routes announced from area to another by an ABR External Route Routes imported into OSPF from another protocol or Static routes ASBR To Another AS

Uses IP Multicast to Send/Receive changes Multi-Access networks All routers must accept packets sent to the AllSPFRouters (224.0.0.5) address All DR and BDR routers must accept packets sent to the All DRouters (224.0.0.6) address Hello packets are sent to the All SPF Routers address (Unicast for point-to-point and virtual links)

OSPF (type of links)

OSPF (link state advertisement) Network Link Router 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