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

Slides:



Advertisements
Similar presentations
Computer Networks with Internet Technology William Stallings
Advertisements

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.
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is.
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)
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 COSC 541 Data Commun. System & Networks Yue Dou.
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.
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.
14 – Inter/Intra-AS Routing
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)
Homework 4 Out: Fri 2/26/2016 In: Fri 3/11/2016.
9 Network Layer Part VI Computer Networks Tutun Juhana
Routing Information Protocol (RIP)
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Chapter 4: Network Layer
COMP 3270 Computer Networks
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.
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.
Will Review Exam 3 Dr. Clincy Lecture.
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
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. RFC does not address How a router knows the address of another router. Up to network admin.

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

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) 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