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

Similar documents
Routing Protocols. Autonomous System (AS)

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

Why dynamic route? (1)

Unit 3: Dynamic Routing

Chapter 7 Routing Protocols

BTEC Level 3 Extended Diploma

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

Introduction to Dynamic Routing Protocols

CHAPTER 4: ROUTING DYNAMIC. Routing & Switching

Internet Routing Protocols Tuba Saltürk

Basic Idea. Routing. Example. Routing by the Network

Chapter 7: Routing Dynamically. Routing & Switching

Routing by the Network

CSc 450/550 Computer Networks Internet Routing

Routing in the Internet

Two types of routing protocols are used in internetworks: interior gateway protocols (IGPs) and exterior gateway protocols (EGPs).

Chapter 6 Reading Organizer

Routing Protocols and

Lab 4: Routing using OSPF

Planning for Information Network

Which of the following describe the process identifier that is used to run OSPF on a router? (Choose two)

Symbols. Numerics I N D E X

9.1. Routing Protocols

Top-Down Network Design

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.

IP Routing Tecnologie e Protocolli per Internet II rev 1

Routing Protocol Type Primarily IGP or EGP RIP Distance-Vector IGP EIGRP OSPF IS-IS BGP

A study of WAN design, routing protocols and connectivity between Head office to Branch office

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

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

REDDIG II Computer Networking Training

Introduction to OSPF

Table of Contents 1 Static Routing Configuration RIP Configuration 2-1

2008 NDP Lectures 7 th Semester

CCNA 3 (v v6.0) Chapter 5 Exam Answers % Full

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

Distance Vector Routing Protocols

Determining IP Routes. 2000, Cisco Systems, Inc. 9-1

Part II. Chapter 3. Determining IP Routes

Open Shortest Path First (OSPF)

Routing Protocols. Technology Description BGP CHAPTER

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

Computer Networks ICS 651. IP Routing RIP OSPF BGP MPLS Internet Control Message Protocol IP Path MTU Discovery

Routing. Info 341 Networking and Distributed Applications. Addresses, fragmentation, reassembly. end-to-end communication UDP, TCP

TDC 363 Introduction to LANs

Table of Contents 1 OSPF Configuration 1-1

Introduction to OSPF

Antonio Cianfrani. Routing Protocols

Vendor: Alcatel-Lucent. Exam Code: 4A Exam Name: Alcatel-Lucent Interior Routing Protocols and High Availability.

The most simple way to accelerate a Router is at 9.8 m/sec/sec.

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

IP Protocols. ALTTC/Oct

Routing, Routing Algorithms & Protocols

Module 8. Routing. Version 2 ECE, IIT Kharagpur

Network Protocols. Routing. TDC375 Winter 2002 John Kristoff - DePaul University 1

Overview. Information About Layer 3 Unicast Routing. Send document comments to CHAPTER

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

Chapter 4: outline. Network Layer 4-1

Nortel Ethernet Routing Switch 5000 Series Configuration IP Routing Protocols. Release: 6.1 Document Revision:

TCPIP Protocol Suite & Utilities. Revision no.: PPT/2K403/02

Chapter 4: Advanced Internetworking. Networking CS 3470, Section 1

Chapter 4: Network Layer

shortcut Tap into learning NOW! Visit for a complete list of Short Cuts. Your Short Cut to Knowledge

CSCE 463/612 Networks and Distributed Processing Spring 2018

RIP Configuration. RIP Overview. Operation of RIP. Introduction. RIP routing table. RIP timers

Network Protocols. Routing. TDC375 Autumn 03/04 John Kristoff - DePaul University 1

Operation Manual Routing Protocol. Table of Contents

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

CS321: Computer Networks Unicast Routing

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

Computer Networking Introduction

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

Network Layer: Routing

PrepAwayExam. High-efficient Exam Materials are the best high pass-rate Exam Dumps

COMPARATIVE ANALYSIS OF ROUTING PROTOCOLS

CIS 83 Midterm Spring 2004 Answer Sheet Name Score Grade Question Answer Question Answer

Introduction to OSPF

IPv4 and Routing. based on Chapter 8 of CompTIA Network+ Exam Guide, Mike Meyers

Redesde Computadores(RCOMP)

Operation Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents

IRT0030 ANDMESIDE LOENG 5. Indrek Rokk

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

Exam : : Building Scalable Cisco Internetworks (BSCI) Title. Ver :

ROUTING PROTOCOLS. Mario Baldi Routing - 1. see page 2

Youki Kadobayashi NAIST

Logging neighbor state changes 38 Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of

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

4A Alcatel-Lucent. Alcatel-Lucent Interior Routing Protocols and High Availability

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

ICMP, ARP, RARP, IGMP

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

CSCD 330 Network Programming Spring 2018

CSCD 330 Network Programming Spring 2017

Internet Routing : Fundamentals of Computer Networks Bill Nace

Configuring Networking Protocols

ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP

EXAM TOPICS COVERED IN THIS CHAPTER INCLUDE:

Introduction to OSPF OSPF. Link State Routing. Link State. Fast Convergence. Low Bandwidth Utilisation

Table of Contents. Cisco Introduction to EIGRP

Routing Architecture. Objectives. Module 2 Routing Fundamentals. Author: Rolf Augstein January 2006

Transcription:

Routing Protocol Seiya Tsubone The University of Tokyo Apr. 25. 2013 Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 1 / 60

Table of Contents 1 The Concept of Routing 2 RIP 3 OSPF 4 BGP Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 2 / 60

The Concept of Routing The Concept of Routing Routing is the process of selecting paths to transfer IP packets. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 3 / 60

The Concept of Routing Direct Connected Network In direct connected network, packets are transfered by using Layer 2 Protocol. MAC address, ARP, Ethernet... Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 4 / 60

The Concept of Routing IP packets are transfered from router to router hop-by-hop. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 5 / 60

Routing Table The Concept of Routing Among networks, routers use Routing Table. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 6 / 60

The Concept of Routing Matching with Routing Table Perfect Match Partial Match ( in this case, Longest Match is adopted.) Default Gateway Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 7 / 60

Perfect Match The Concept of Routing Entry : 203.183.224.3 Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 8 / 60

Partial Match The Concept of Routing Entry : 203.183.224.205 Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 9 / 60

Default Gateway The Concept of Routing Entry : 61.122.116.136 Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 10 / 60

The Concept of Routing To Make Routing Table Static Routing Dynamic Routing Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 11 / 60

Static Routing The Concept of Routing Static Routing is achieved by manually adding routes to the routing table. The route is fixed(not changed). Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 12 / 60

The Concept of Routing Static Routing Problems Traffic can not be arrived if network structure changed or an incident occured on the route. When the network is large, it takes a lot of costs to manage the routing tables. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 13 / 60

Dynamic Routing The Concept of Routing The router updates the routing table by exchaning routing information among routers in response to conditions. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 14 / 60

The Concept of Routing Dynamic Routing Algorithms Distance Vector Method Link State Method Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 15 / 60

The Concept of Routing Distance Vector Method Adjacent routers exchange routing information. Based on that infromation, routers make the table, then calculate the shortest path by using Bellman-Ford algorithm. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 16 / 60

The Concept of Routing Features of Distance Vector Method Simple and easily implemented. It takes long time to prevail the routing information among all routes in the network. Infinity counting problem. Can not judge quolity of path (Bandwidth etc... ). Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 17 / 60

The Concept of Routing Link State Method Routers have LSDB(Link State Data Base) and know network topology. Routers exchange LSA(Link State Advertisement). Based on topology, each router calculate the shortest path by Dijkstra s algorithm. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 18 / 60

The Concept of Routing Features of Link State Method Faster caluculation compared to Distance Vector Method. If the network becomes large, efficiency is down. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 19 / 60

The Concept of Routing Dijkstra s algorithm Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 20 / 60

The Concept of Routing Dynamic Routing Protocol Divide broadly into two categories. IGP - Interior Gateway Protocol EGP - Exterior Gateway Protocol Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 21 / 60

The Concept of Routing AS - Autonomous System a collection of connected Internet Protocol (IP) routing prefixes under the control of one or more network operators that presents a common, clearly defined routing policy to the Internet(e.g. ISP,WIDE) Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 22 / 60

The Concept of Routing AS number AS has a unique number assigned by NIC(Network Information Center) NIC includes JPNIC. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 23 / 60

The Concept of Routing IGP within an AS (autonomous system). RIP, IGRP, EIGRP, OSPF Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 24 / 60

The Concept of Routing EGP among AS (autonomous system). EGP, BGP Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 25 / 60

RIP RIP Routing Information Protocol using Distance Vector Method. version 1 and 2 Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 26 / 60

RIP RIP v1 Features Regular Update Delete path information Avoid Routing Loop Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 27 / 60

RIP Packet RIP using UDP port 520. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 28 / 60

RIP Metric the number of router hops metric is between 0 to 16 Each time passing a router, metric is counted up. The number 16 represents that the network is unreachable. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 29 / 60

RIP Regular Update When Regular Update received, routers update the table based on Destination IP Address Next Hop Address Metric Elapsed time since last update Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 30 / 60

Elapsed Time RIP To broadcast regular update(update message) every 30 seconds to the next hops. If elapsed time exceeds 180 seconds, routers recognize the routing path is dead. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 31 / 60

Removing Path RIP If elapsed time exceeds 180 seconds, routers recognize the routing path is dead( not removed). If elapsed time exceeds 120 seconds, routers remove the routing path. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 32 / 60

Triggered Update RIP To reduce the time of removing dead path, If the network structure changed, routers quickly send path information to next routers. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 33 / 60

Avoid Loop RIP Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 34 / 60

Split Horizon RIP Not send the routing update to sender back Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 35 / 60

Poizoned Riverse RIP If a path is down, send information whose metric is 16. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 36 / 60

RIP Unavoidable Infinity Counting However using Split Horizon and Poizoned Riverse, unavoidable infinity counting occured. Countermeasure is only reducing time to convergence by Triggerd Update. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 37 / 60

RIP v2 RIP RIP v1 is classful routing protocol, but RIP v2 is classless. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 38 / 60

Class RIP Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 39 / 60

RIP Problems on RIP Take a long time to convergence. The maximum of the metric is 15. Can not detect the true shortest path (e.g. considering bandwidth). Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 40 / 60

RIP IGRP and EIGRP Interior Gateway Routing Protocol Enhanced Interior Gateway Routing Protocol Cisco Inc. developed this protocol. Only use with Products of Cisco Inc. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 41 / 60

OSPF OSPF Open Shortest Path First using Link State Method. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 42 / 60

OSPF Features of OSPF not use Transport Protocol. use Unicast and Multicast. Metric is cost considering bandwidth or delay Routing Loop does not happen. Saving bandwidth and convergence is fast. Hierarchial routing for large-scale network Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 43 / 60

OSPF OSPF Packets Hello Database Description Link State Request Link State Update Link State Acknowledgement Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 44 / 60

OSPF LSA and LSDB In OSPF network, each router has information of network topology as LSDB(Link State Data Base). LSA(Link State Advertisement) is an entry of LSDB. LSA types. Router-LSA Network-LSA Network-Summary-LSA ASBR-Summary-LSA AS-External-LSA Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 45 / 60

OSPF Behaviour of OSPF Detect Neighbors. Elect Designated Routers. Synchronize LSDB. Each router calculate the shortest path based on LSDB. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 46 / 60

Detect Neighbors OSPF One router send hello packet with multicast, another one which received the packet responses, then connection established. This process is like TCP. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 47 / 60

OSPF Elect Designated Routers Instead of establishing adjacency with all neighbors, each router establishes one with DR and BDR router. Electing process is too complex... Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 48 / 60

OSPF Synchronize LSDB Routers can detect diffrence among their LSDB by exchanging Database Description Packets. If there is diffrence, router send Link State Request Packet to make up a lack. The router which received that packet returns Link State Update Packet. Finally, Link State Acknowledgment Packet is sent. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 49 / 60

OSPF Router-LSA and Network-LSA Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 50 / 60

OSPF Routing among Areas OSPF supports Routing among Areas for large-scale network. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 51 / 60

OSPF Features of Routing among Areas Router-LSA and Network-LSA are flooding within an area. LSDB are managed by each area. Routers within an area know only LSDB of their own area. The shortest path are structured by each area. Routing of other area is caluculated by Distance Vector Method. Thanks to Backbone Area, Loop Routing can be avoided. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 52 / 60

BGP BGP Border Gateway Protocol Path Vector Method TCP(port 179) Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 53 / 60

Path Vector Method BGP Routing Loop can be avoided by memoring path(as number). Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 54 / 60

BGP Behaviour of BGP Establish TCP Connection Exchange Basic Information Exchange Routing Information Confirm Keep Alive Update Diffrence Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 55 / 60

BGP Establish TCP Connection Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 56 / 60

BGP Exchange Basic Information Using OPEN Message. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 57 / 60

BGP Exchange Routing Information Using UPDATE Message. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 58 / 60

Confirm Keep Alive BGP Using KEEPALIVE Message. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 59 / 60

Update Diffrence BGP Using UPDATE Message. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 60 / 60