IP Routing. Following figure illustrates a simple routing example.

Similar documents
Router and Routing Basics

Administrative Distance

Distance Vector Routing Protocols. Routing Protocols and Concepts Ola Lundh

Introduction to Dynamic Routing Protocols

Table of Contents. Cisco How Does Load Balancing Work?

Routing in Small Networks. Internet Routing Overview. Agenda. Routing in Large Networks

Chapter 4. Distance Vector Routing Protocols

Configuring RIP. Overview. Routing Update Process CHAPTER

O /27 [110/129] via , 00:00:05, Serial0/0/1

ITRI CCL. IP Routing Primer. Paul C. Huang, Ph.D. ITRI / CCL / N300. CCL/N300; Paul Huang 1999/6/2 1

Routing with OSPF. Introduction

Routing Protocols (RIP, OSPF, BGP)

Link-State Routing Protocols

BGP. 1. Internet Routing

Using the Border Gateway Protocol for Interdomain Routing

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

GregSowell.com. Mikrotik Routing

Configuring a Gateway of Last Resort Using IP Commands

Route Discovery Protocols

Layer 3 Routing User s Manual

Border Gateway Protocol (BGP)

Objectives. Router as a Computer. Router components and their functions. Router components and their functions

Route Optimization. rek Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 1

BGP Best Path Selection Algorithm

- IGRP - IGRP v1.22 Aaron Balchunas

IP Routing Configuring RIP, OSPF, BGP, and PBR

OSPF Version 2 (RFC 2328) Describes Autonomous Systems (AS) topology. Propagated by flooding: Link State Advertisements (LSAs).

Understanding Route Redistribution & Filtering

- Route Redistribution -

Exterior Gateway Protocols (BGP)

How To Understand Bg

CCNA2 Chapter 11 Practice

OSPF Configuring Multi-Area OSPF

Routing Protocols. Interconnected ASes. Hierarchical Routing. Hierarchical Routing

Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur

Based on Computer Networking, 4 th Edition by Kurose and Ross

CompTIA Exam N CompTIA Network+ certification Version: 5.1 [ Total Questions: 1146 ]

IP Routing Configuring Static Routes

Border Gateway Protocol (BGP-4)

Internet Protocol version 4 Part I

APNIC elearning: BGP Basics. Contact: erou03_v1.0

Chapter 10 Link-State Routing Protocols

CCNA Exploration 4.0: (II) Routing Protocols and Concepts. Chapter 1: Introduction to Routing and Packet Forwarding

Table of Contents. Cisco Configuring a Basic MPLS VPN

EIGRP Commands. Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols IP2R-141

The Internet. Internet Technologies and Applications

Introduction to TCP/IP

Inter-domain Routing. Outline. Border Gateway Protocol

CCNA 2 v5.0 Routing Protocols Final Exam Answers

A Case Study Design of Border Gateway Routing Protocol Using Simulation Technologies

CS551 External v.s. Internal BGP

DYNAMIC MULTIPOINT VPN HUB AND SPOKE INTRODUCTION

Internet Control Message Protocol (ICMP)

For internal circulation of BSNLonly

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

Introducing Basic MPLS Concepts

Introduction to Routing and Packet Forwarding. Routing Protocols and Concepts Chapter 1

Evaluation of possible applications of dynamic routing protocols for load balancing in computer networks

Cisco Discovery 3: Introducing Routing and Switching in the Enterprise hours teaching time

ISOM3380 Advanced Network Management. Spring Course Description

Using OSPF in an MPLS VPN Environment

BGP as an IGP for Carrier/Enterprise Networks

Active measurements: networks. Prof. Anja Feldmann, Ph.D. Dr. Nikolaos Chatzis Georgios Smaragdakis, Ph.D.

Configuring BGP. Cisco s BGP Implementation

- Enhanced Interior Gateway Routing Protocol -

Inter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to:

- Routing Information Protocol -

- Multiprotocol Label Switching -

Advanced Networking Routing: RIP, OSPF, Hierarchical routing, BGP

Cisco Configuring Basic MPLS Using OSPF

SolarWinds Technical Reference

Kingston University London

Computer Networks Administration Help Manual Sana Saadaoui Jemai Oliver Wellnitz

EIGRP Routing Protocol & Configuration

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

basic BGP in Huawei CLI

DEGREE THESIS. Improving Network Performance by Implementing the Path Control Tools. Derick Kolle Nduge, Augustine Chika, Mohammednur Ibrahim

Juniper Exam JN0-343 Juniper Networks Certified Internet Specialist (JNCIS-ENT) Version: 10.1 [ Total Questions: 498 ]

How To Configure InterVLAN Routing on Layer 3 Switches

Dynamic Routing Protocols II OSPF. Distance Vector vs. Link State Routing

How To Set Up Bgg On A Network With A Network On A Pb Or Pb On A Pc Or Ipa On A Bg On Pc Or Pv On A Ipa (Netb) On A Router On A 2

Understanding Route Aggregation in BGP

Packet Tracer 3 Lab VLSM 2 Solution

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Masterkurs Rechnernetze IN2097

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

BGP Terminology, Concepts, and Operation. Chapter , Cisco Systems, Inc. All rights reserved. Cisco Public

A REPORT ON ANALYSIS OF OSPF ROUTING PROTOCOL NORTH CAROLINA STATE UNIVERSITY

Course Contents CCNP (CISco certified network professional)

Border Gateway Protocol BGP4 (2)

CSC458 Lecture 6. Homework #1 Grades. Inter-domain Routing IP Addressing. Administrivia. Midterm will Cover Following Topics

Comparison of RIP, EIGRP, OSPF, IGRP Routing Protocols in Wireless Local Area Network (WLAN) By Using OPNET Simulator Tool - A Practical Approach

Border Gateway Protocol, Route Manipulation, and IP Multicast

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

CLASSLESS INTER DOMAIN ROUTING - CIDR

- Multicast - Types of packets

Textbook Required: Cisco Networking Academy Program CCNP: Building Scalable Internetworks v5.0 Lab Manual.

Lesson 5-3: Border Gateway Protocol

BSCI Chapter Cisco Systems, Inc. All rights reserved.

Transcription:

Routing protocol shares routing update that contains network information. Routers keep this information in routing tables. Routing tables are used to determine the best path for packet. Routing protocols uses several concepts to determine the best path. In this tutorial we will explain these terms in detail with examples. IP Routing IP routing is the process of moving data packets between different networks. By default two different IP networks cannot communicate with each other. They need a mediator device that can switch packet between them. Router takes this responsibility. Routers interfaces are associated with different networks. This association is kept in routing table. Routers use it to take switching decision. Following figure illustrates a simple routing example. 10.0.0.0/8 Network is connected on router s F0/1 interface. 20.0.0.0/8 Network is connected with router s F0/2 interface. Laptop sends a packet to PC. Router receives this packet in F0/1 interface. Router checks destination address field in packet. Packet has 20.0.0.2/8 address in destination address field. IP address 20.0.0.2/8 belongs to 20.0.0.0/8 network. Router checks routing table for matching network. Routing table has an entry for 20.0.0.0/8 network. 20.0.0.0/8 Network is associated with F0/2 interface of router. Based on this information router moves this packet from F0/1 to F0/2. F0/2 interface sends this packet to its destination. It is the easiest example of IP routing. In above example we used only one router to explain the process. In real life there could be several routers in the way of destination address. These routers may create certain path to the destination. Routing protocols insure that packet takes the best path from these paths.

To accomplish this task, a router will need to perform following: Learn about the directly connected routers on its interface Find the networks that they have Build routing table from this information Choose best network from routing table to send the packet No additional configuration is required for directly connected networks. Router already knows how to get it. Such as in above example both networks 10.0.0.0/8 and 20.0.0.0/8 were directly connected to the router s interfaces. Routers learn about remote networks from an administrator or from neighbor routers. Static routing When routers learn from an administrator, it is called static routing. In static routing we have to add all network locations manually. If any change occurs in network, administrator is responsible to update it by hand in all routers. Advantage of static routing It is easy to implement. It is most secure way of routing, since no information is shared with other routers. It puts no overhead on resources such as CPU or memory. Disadvantage of static routing It is suitable only for small network. If a link fails static route cannot reroute the traffic. Dynamic routing When routers learn from neighboring router through the routing protocols, it is called dynamic routing. In dynamic routing routers add network locations automatically form the routing information. If any change occurs in network, affected routers update others via routing information. Advantage of dynamic routing It is suitable for all type of networks. Automatically build routing tables. Reroute the traffic from possible network, in link failure condition. Disadvantage of dynamic routing It is hard to implement. It is less secure, since it shares routing updates with other routers. It puts additional overhead on resources such as CPU, memory and link bandwidth.

Depending on network requirement we can use either static routing or dynamic routing. Even more we can use a combination of both dynamic and static routing. Routing updates Routing update is a mechanism of sharing information with neighboring routers. In a particular time duration router advertise its routing information through broadcast or multicast. Different protocols have different time intervals. Some protocols use broadcast for routing updates while some uses multicast. Routing updates contain all necessary information for routing protocol such as learned network, timers, AS, AD, matrix values, interface details etc. Autonomous System Autonomous System (AS) is a collection of routers that share same routing table information. AS is a boundary line for routing protocol. It could be your company, or group of companies. It is defined by a numeric value. To distinguish between different AS, Internet Assigned Numbers Authority (IANA) provides a range from 1 to 65535. There are two types of AS, private and public. Private AS numbers are used for internal network. Public AS numbers are used for internet backbone. Interior Gateway Protocols Interior gateway protocols (IGPs) are used to share routing updates between routers in same AS. Some examples of IGPs are RIPv1, RIPv2, EIGRP, IGRP, and OSPF. Exterior Gateway Protocols Exterior gateway protocols (EGPs) are used to share routing updates between different AS. Example of EGPs is Border Gateway Protocol (BGP).

Administrative Distance Administrative distance (AD) is the trustworthiness of routing update received from a neighbor router. If a router receives two routing updates for same path from two different routing protocols then router will check the AD value to choose the best path. AD is a numeric value from 0 to 255. If one update has lower AD value than other, then the route with the lowest AD will be placed in the routing table Route source Default AD value Direct connected interface 0 Static route 1 EIGRP 90 IGRP 100 OSPF 110 RIP 120 External EIGRP 170 Unknown 255 Lower AD value is more believable by router. 0 is considered as the most trustworthiness network while 255 is considered as invalid route and it will be never used. Metric If two routing updates for same network have same AD value then metric will use to choose the best path. Metric is a measurement to calculate best path. Route with the lowest metric will be chosen. Different routing protocols use different metrics. It may use single metric or multiple metrics. For example EIGRP uses bandwidth, delay, load, MTU and reliability while RIP only uses hop count as metric. Routing Protocol Metric Description EIGRP Bandwidth Capacity of link in Kbps EIGRP Delay Time to reach in destination EIGRP Load Path that is least utilize EIGRP MTU Path that support largest frame size EIGRP Reliability Path that have least down time OSPF Cost Inverse of bandwidth links RIP Hop count Hops ( Routers) in the way of destination Routing Protocols There are three types of routing protocols:- 1. Distance Vector 2. Link State 3. Hybrid

Distance Vector Distance vector routing protocol uses distance (metric value) and direction (vector) to find the best path to destination network. Router receives routing update from neighboring router and these neighboring routers receive updates from their neighboring routers until the destination network. Every router in the way of destination network called hop. Each time a packet goes through a router, it add one in hop count value. Route with the least hop count value will be chosen as best path and will be placed in routing table. RIP is the example of distance vector routing protocol. These protocol shares entire routing table to the directly connected neighbors. Link State Link state routing protocols use more composite metric to locate the best path for destination network. It maintains three separate tables. First table keeps track of directly connected neighbors. Second table determines the entire network topology. Third is the routing table that keeps actual path. OSPF is the example of link state protocol. Link state protocols share their own links to all other routers in network. Hybrid Hybrid routing protocols are the mix of distance vector and link state protocol. To locate more accurate path, it uses aspect from both distance vector and link state. EIGRP is the example of hybrid routing protocols. All three types of protocol have their own advantage and disadvantage. They take different approach in sharing routing updates and in choosing the best path. In next articles of this section we will explain these protocols in details with examples. For more articles please visit our site ComputerNetworkingNotes.com