1 Chapter 22 Network layer Delivery, Forwarding and Routing (part2)

Slides:



Advertisements
Similar presentations
1 Chapter 22 Network layer Delivery, Forwarding and Routing.
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Reviewing Routing Operations.
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
1 Comnet 2010 Communication Networks Recitation 6 Routing.
Routing So how does the network layer do its business?
CSEE W4140 Networking Laboratory Lecture 4: IP Routing (RIP) Jong Yul Kim
CSEE W4140 Networking Laboratory Lecture 4: IP Routing (RIP) Jong Yul Kim
Unicast Routing Protocols: RIP, OSPF, and BGP
Delivery, Forwarding, and Routing
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Distance Vector Routing.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing.
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.
Delivery, Forwarding and
Distance Vector Routing Protocols Distance Vector Routing.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
1 13-Sep-15 S Ward Abingdon and Witney College Routing loops And other problems CCNA 2 Chapter 4.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Routing Protocols RIP, OSPF, BGP.
Count to infinity problem
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.
1 Routing Table  The seven fields Mask: for finding (sub)network address of the destination l Host-specific routing: (/32) l Default routing:
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.
Distance Vector Local Signpost Direction Distance Routing Table For each destination list: Next Node Distance Table Synthesis Neighbors exchange table.
22.1 Chapter 22 Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
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.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Ch 22. Routing Direct and Indirect Delivery.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
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.
Spring Routing: Part I Section 4.2 Outline Algorithms Scalability.
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.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
Powerpoint Templates Computer Communication & Network Week # 14.
22.1 Network Layer Delivery, Forwarding, and Routing.
Chapter 7 Packet-Switching Networks Shortest Path Routing.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Dynamic Routing Protocols part2
Routing Information Protocol (RIP)
COMP 3270 Computer Networks
Rip Routing Protocol.
Distance Vector Routing
Net 323 D: Networks Protocols
Delivery, Forwarding, and Routing
Routing: Distance Vector Algorithm
Net 323 D: Networks Protocols
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Net 323 D: Networks Protocols
Dynamic Routing Protocols part2
Delivery, Forwarding, and Routing
UNICAST ROUTING PROTOCOLS
Intradomain Routing Outline Introduction to Routing
RFC 1058 & RFC 2453 Routing Information Protocol
CCNA2 chap4 routing loops.ppt And other problems CCNA 2 Chapter 4
Communication Networks
EE 122: Intra-domain routing: Distance Vector
Communication Networks
Distance Vector Routing Protocols
Distance Vector Routing
Computer Networks Protocols
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Presentation transcript:

1 Chapter 22 Network layer Delivery, Forwarding and Routing (part2)

 Each AS can choose one or more intradomain(interior) routing protocol to handle routing inside the AS such as RIP and OSPF  One interdomain (exterior) routing protocol is usually chosen to handle routing between ASs ; BGP 2 Interior and Exterior routing protocols

3  Each node( router) maintains a set of triples (table): Destination, Cost and Next Hop  Node knows the cost to each neighbor ( the distance between itself and its immediate neighbors)  Directly connected neighbors exchange updates  periodically (on the order of several seconds -30s)  whenever table changes (called triggered update)  Each update is a list of pairs: Destination, Cost  Update local table if receive a “better” rout (smaller cost) Distance Vector Routing

Updating routing table When a node receives a two-column table from a neighbor, it needs to update its routing table. 1. The receiving node needs to add the cost between itself and the sending node to each value in the second column. 2. The receiving node needs to add the name of the sending node to each row as the third column (next node). 3. The receiving node needs to compare each row of its old table with the corresponding row of the modified version of the received table. a. If the next-node entry is different, the receiving node chooses the row with the smaller cost. If there is a tie, the old one is kept. b. If the next-node entry is the same, the receiving node chooses the new row. 4

5 Distance vector routing Initialization of tables in distance vector routing:  infinite ∞ ( unreachable).  Think the node as the cities and the lines as the roads connecting them

6 Sharing: Updating in distance vector routing Distance vector routing

7  The least cost route between any two nodes is the route with min distance.  Each node maintains a table which contains : Destination, Cost, Next hop

1.Each router shares its entire routing table with its neighbours. 2. Sharing:  periodically update :on the order of several seconds -30s-  Triggered update: The change can result from the following:  A node receives a table from a neighbor, resulting in changes in its own table after updating.  A node detects some failure in the neighboring links which results in a distance change to infinity ∞ 3.Each update is a list of pairs: Destination, Cost (two column routing table ) 8 Distance vector routing

Two-Node Loop Instability A problem with distance vector routing is instability, which means that a network using this protocol can become unstable

Solutions to two-node instability Defining Infinity. Most implementation of the distance vector protocol define the distance between each node to be 1 and define 16 as infinity. Therefore, the distance vector cannot be used in large systems Split Horizon. In this strategy, instead of flooding the table through each interface, each node sends only part of its table through each interface. If node B thinks that the optimum route to reach X is via A, it does not need to advertise this piece of information to A.

Solutions to two-node instability (cont.)

Split Horizon and Poison Reverse. This strategy is a combination between split horizon and poison reverse where node B can still advertise the value of X, but if the source of information is A, it can replace the distance with infinity as a warning: “Don’t use this value; what I know about this route comes from you.”