Module 8. Routing. Version 2 ECE, IIT Kharagpur

Similar documents
Chapter 22 Network Layer: Delivery, Forwarding, and Routing 22.1

ICS 351: Today's plan. distance-vector routing game link-state routing OSPF

BGP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

Routing in the Internet

Network Layer, Part 2 Routing. Terminology

COM-208: Computer Networks - Homework 6

ETSF05/ETSF10 Internet Protocols Routing on the Internet

CSCE 463/612 Networks and Distributed Processing Spring 2018

ICS 351: Today's plan. OSPF BGP Routing in general

Routing, Routing Algorithms & Protocols

ITEC310 Computer Networks II

BTEC Level 3 Extended Diploma

Routing Protocols. Autonomous System (AS)

CSc 450/550 Computer Networks Internet Routing

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load

Inter-domain Routing. Outline. Border Gateway Protocol

BLM6196 COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS

Routing Algorithms. CS158a Chris Pollett Apr 4, 2007.

Network Layer: Routing

Why dynamic route? (1)

Chapter 7: Routing Dynamically. Routing & Switching

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

Chapter 4: Network Layer

Chapter 7 Routing Protocols

Routing Protocol. Seiya Tsubone. Apr The University of Tokyo. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25.

Routing Protocols. The routers in an internet are responsible for receiving and. forwarding IP datagrams through the interconnected set of

Chapter 4: outline. Network Layer 4-1

Routing Basics. What is Routing? Routing Components. Path Determination CHAPTER

OSPF Protocol Overview on page 187. OSPF Standards on page 188. OSPF Area Terminology on page 188. OSPF Routing Algorithm on page 190

CS 43: Computer Networks. 24: Internet Routing November 19, 2018

CHAPTER 4: ROUTING DYNAMIC. Routing & Switching

Helsinki University of Technology Telecommunications Laboratory. OSPF Routing Protocol Licenciate course seminar paper

Exercise 3. RIP and OSPF

ICMP, ARP, RARP, IGMP

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 16, 2017

Unicast Routing Protocols (RIP, OSPF, and BGP)

Planning for Information Network

Introduction to IP Routing. Geoff Huston

Routing. Problem: Given more than one path from source to destination, Features: Architecture Algorithms Implementation Performance

TDC 363 Introduction to LANs

Course Routing Classification Properties Routing Protocols 1/39

Chapter 4: Network Layer. Lecture 12 Internet Routing Protocols. Chapter goals: understand principles behind network layer services:

Basic Idea. Routing. Example. Routing by the Network

Routing in a network

Routing by the Network

Internet Routing Protocols Tuba Saltürk

CS 457 Networking and the Internet. Shortest-Path Problem. Dijkstra s Shortest-Path Algorithm 9/29/16. Fall 2016

Lecture 12. Introduction to IP Routing. Why introduction? Routing

Computer Networking Introduction

DATA COMMUNICATOIN NETWORKING

Chapter 4: Network Layer, partb

Open Shortest Path First (OSPF)

Overview 4.2: Routing

Routing. Advanced Computer Networks: Routing 1

ECE 333: Introduction to Communication Networks Fall 2001

Outline. Organization of the global Internet Example of domains Intradomain routing. Interdomain traffic engineering with BGP

Alcatel-lucent EXAM - 4A Alcatel-Lucent Interior Routing Protocols and High Availability. Buy Full Product.

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 14, 2013

CSE 461 Routing. Routing. Focus: Distance-vector and link-state Shortest path routing Key properties of schemes

IP Routing. Bharat S. Chaudhari International Institute of Information Technology Pune, India

2008 NDP Lectures 7 th Semester

Routing. 4. Mar INF-3190: Switching and Routing

Computer Networks II IPv4 routing

Lecture (03) RIP. By: Dr. Ahmed ElShafee. Dr. Ahmed ElShafee, ACU : Fall 2016, Practical App. Networks II

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation:

Lecture 4. The Network Layer (cont d)

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

Chapter 12. Routing and Routing Protocols 12-1

Routing. Routing. Overview. Overview. Routing vs. Forwarding. Why Routing

Unit 3: Dynamic Routing

IP Routing Tecnologie e Protocolli per Internet II rev 1

Routing in Switched Data Networks

C13b: Routing Problem and Algorithms

Chapter IV: Network Layer

Youki Kadobayashi NAIST

CSCI Topics: Internet Programming Fall 2008

Unit 9. Author: W.Buchanan. Routing Protocols (1)

Routing(2) Inter-domain Routing

Link State Routing & Inter-Domain Routing

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

Redes de Computadores. Shortest Paths in Networks

Keywords RIP, OSPF, IGP, EGP, AS, LSA

Intra-domain Routing

Routing Protocols. Technology Description BGP CHAPTER

Chapter 16 OSPF Version 3 Commands

CS555, Spring /5/2005. April 12, 2005 No classes attend Senior Design Projects conference. Chapter 4 roadmap. Internet AS Hierarchy

Youki Kadobayashi NAIST

Exam Questions 4A0-101

Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways)

CS321: Computer Networks Unicast Routing

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

Internetworking. different kinds of network technologies that can be interconnected by routers and other networking devices to create an internetwork

CS118 Discussion 1A, Week 7. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella

Routing. Directly Connected IP Networks. Data link layer routing. ifconfig command

Important Lessons From Last Lecture Computer Networking. Outline. Routing Review. Routing hierarchy. Internet structure. External BGP (E-BGP)

Chapter 8 Configuring OSPF

Transcription:

Module 8 Routing

Lesson 27 Routing II

Objective To explain the concept of same popular routing protocols. 8.2.1 Routing Information Protocol (RIP) This protocol is used inside our autonomous system and is based on distance vector routing using the Bellman-Ford algorithm for calculating the distance between nodes (routers).the routing tables at every node are updated every 30 seconds by transmitting routing table updates. The distance vector metric can be number of hops or time delay. The router has a table indicating the distance to each of its neighbor. The table at a router (node) has the first column to show the distance vector metric. The third column in the table indicates the next node. Let us consider a network as shown in Fig. 8.2.1 with distance metric (cost) shown as labels on the links. A s table indicates cost from A to different nodes (routers). For simplicity direct one hop cost is considered. Here, thus there is no question of next node. No connection or path via another node implies the cost to be infinity. Usually the minimum cost via the next node to is entered in the table when the route is via next node to destination. These tables are updated when a neighbor sends an update. This is shown in Fig.8.2.2. Let us consider, C sends an update to A. The table at A is modified by taking A s old table and C s input. For example, the cost from A to B was 4 in the old table. The cost from C to B as per information sent by C is 4. Cost from A to C in old table is 3. Thus the modified entry from A to B via C is 7 (3+4). Similarly all entries in the table are modified. Now the entries in the old table are compared with those in the modified table as shown. A new routing table at A is prepared by taking the smaller of the two costs. This process has to be continued for every update. This is how information from neighbors is shared. The maximum number of hops in RIP in an autonomous system is limited to 15. Thus 16 hops all defined as infinity. The neighbor node or the link is considered dead if a node does not hear any thing from it for 180 seconds. Topology changes is network are also communicated to the routers using the update vectors in the same manner as explained above. RIP is slow to react when a node fails.

Fig 8.2.1 Example network and initial routing table 8.2.2 Open Shortest Path First (OSPF) This is another interior routing protocol that is quite popular because of the drawbacks of RIP. To handle routing efficiently and in a timely manner, OSPF divides an autonomous system into areas. Area is a collection of networks within an autonomous system. Routers inside an area flood the area with routing information. At the border of an area, special routers called area border routers summarize the information about the area and send it to other areas. There is a special area within the autonomous system known as backbone. All the areas inside an autonomous system must be connected to the backbone. The routers within a backbone are known as backbone routers. A backbone router can also be an area border router. Each area has an area identification number. The area ID for the backbone is zero.

Fig. 8.2.2 Updating distance vector routing table Link State Routing Central to the operation of OSPF is the use of the link-state routing, which is used by each router to share knowledge about its neighbor. The three keys to understanding how this method works are as follows: 1. Sharing knowledge about the neighborhood. Each router sends the state of its neighborhood to every other router in the area. 2. Sharing with every other router. Each router sends the state of its neighborhood to every other router in the area by a process known as flooding. Each neighbor sends the packets to all its neighbors and so on. Every router that receives the packet sends copies to its neighbors. Eventually every router has received a copy of the same information. 3. Sharing when there is no change. Each router shares information only when there is a change. This rule contrasts with distance vector routing, where information is sent out at regular intervals regardless of change. This characteristic results in a lower traffic than required by distance vector routing.

OSPF Overview In OSPF terminology, a connection is called a link. Four types of links are defined: point-to-point, transient, stub and virtual. The purpose of the link (network) is just to connect two routers. A transient system is a network with several routers attached to it. The data can enter through any one router and leave through any router. In this case each router has many neighbors. A stub link is a network that is connected to only one router. The data packets enter the network through this single router and leave the network through this same router. The link between the router and the network is directed only from the router to the network. A point to point links connects two routers without any other host or router in between. A virtual link may be created when a link between two routers is broken. A transient network carries data that neither originates nor terminates on an end system attached to this network. OSPF uses Dijkstra s link state based routing. This algorithm results in a least cost shortest path route. The algorithm is based on finding the closest node to the source node which may either be a direct path between the two nodes or it may include a path containing a source node and the closest intermediate nodes plus a direct link from the last intermediate closest node to the next closest node. In Dijkstra s algorithm each node must have complete topological information about the network.so each node has to know the links costs of all links in the network. In the Bellman-Ford algorithm a node has to know the link costs only from its neighbors. OSPF is used for large heterogeneous IP network. Questions 1. Explain the RIP algorithm. 2. Discuss features of the OSPF algorithm 3. Compare the distance vector routing and the link state routing. 4. Compare RIP and OSPF routing techniques.