Isp Routing

download Isp Routing

of 39

Transcript of Isp Routing

  • 7/25/2019 Isp Routing

    1/39

    Routing BasicRouting Basic

    Routing is delivering the incoming packets to the

    destination.

    Routing involves two basic activities:-

    Determination of optimal path to the destination.

    Transport or delivery of packets to the

    destination.

  • 7/25/2019 Isp Routing

    2/39

    Routing BasicRouting Basic

    Two methods of delivery of packets

    Direct Delivery

    Indirect Delivery

  • 7/25/2019 Isp Routing

    3/39

    Direct DeliveryDirect Delivery

    In Direct Delivery the final destination of the packet is ahost connected to the same physical network as the

    sender.

    This will occur when the source and the destination are

    located in the same physical network or if the delivery is

    between the last and the destination host.

    The sender uses the destination I address to find the

    destination!s physical address.

    The I software then delivers the destination I address

    with the destination"s physical address to the data #ink.

  • 7/25/2019 Isp Routing

    4/39

    To rest of Internet

    Direct Delivery

    $ost %

    $ost &

    Direct Delivery

  • 7/25/2019 Isp Routing

    5/39

    Indirect deliveryIndirect delivery

    If the destination is not on the same network as

    the sender the packet goes from router to router. The packet travels until reaches the router

    connected to the same physical network as its

    final destination.

    The last delivery is always direct delivery.

  • 7/25/2019 Isp Routing

    6/39

    R3

    Indirectdelivery

    Indirect delivery

    Indirect delivery

    Direct delivery

    $ost %

    $ost &

    R1

    R2

    Indirect Delivery

  • 7/25/2019 Isp Routing

    7/39

    Routing MethodsRouting Methods

    Routing re'uires a host or a router to have a

    routing table. (everal techni'ues can make the si)e of the

    routing table manageable.

    They are:*e+t $op Routing

    *etwork (pecific Routing

    $ost specific Routing

    Default Routing.

  • 7/25/2019 Isp Routing

    8/39

    Routing MethodsRouting Methods

    *e+t hop routing:

    In this method the routing table holds only the address ofthe ne+t hop, instead of holding complete route

    information.

    *etwork (pecific Routing:

    Instead of having an entry for every host connected to thesame physical network, only one entry to define the address

    of the network.

    $ost (pecific Routing:

    The host address is given in the routing table.

    Default Routing:

    Instead of listing all networks in the entire Internet a host

    can ust have one entry called the default address.

  • 7/25/2019 Isp Routing

    9/39

    R1

    Network 2 Network 3*etwork

    R2

    Destn *e+t $op

    $ost & R

    Destn *e+t $op

    $ost & R/

    Destn *e+t $op

    $ost & ----

    $ost %

    $ost &

    Next Hop Routing

  • 7/25/2019 Isp Routing

    10/39

    N2N1

    S A B C

    D E

    R1

    Destn *e+t $op

    % R

    & R

    0 R

    D R

    1 R

    Destn *e+t $op

    */ R

    Network Specific Routing

    Host Specific Routing

  • 7/25/2019 Isp Routing

    11/39

    *

    */*2

    RR2

    R/

    Destn *e+t $op

    $ost & R2

    */ R

    *2 R2

    &

    %

    Host Specific Routing

  • 7/25/2019 Isp Routing

    12/39

    */*

    R1

    R1

    Internet

    Dest *e+t $op

    */ R

    Default R/

    R i B iR i B i

  • 7/25/2019 Isp Routing

    13/39

    Routing BasicRouting Basic

    3hen looking for the route, the router must first

    check for direct delivery, then host specific delivery,then network specific delivery and finally default

    delivery.

    % host or a router keeps a routing table,

    with an entry for each destination , to route

    I packets.

    The routing table may be4 (tatic

    4 Dynamic

  • 7/25/2019 Isp Routing

    14/39

    Static RoutingStatic Routing

    (tatic routing table mappings are established

    manually by the network administrator.

    (tatic routing system cannot react to networkchanges.

    They are not suitable for Today!s large

    Internetwork.

    D i iD i ti

  • 7/25/2019 Isp Routing

    15/39

    Dynamic routingDynamic routing

    &y using Routing protocol the routers can

    automatically update any change in the routeDynamically. This is known as Dynamic routing.

    In large 3%* with multiple links between

    networks Routers perform more effectively when

    they under stand how the network is linked.

    Routers does this by e+changing information

    with other Routers.

    %s as result Routers create Routing Table thatshows the best path between the various links.

    R ti B iR ti B i

  • 7/25/2019 Isp Routing

    16/39

    Routing BasicRouting Basic

    3ide variety of Routing rotocols can be found

    (ome are roprietary or (ingle vendor for their own

    products.5thers are open that have been standardised by official

    sanctioning %gencies.

    %mong the roprietary are

    I6

    I7R

    5pen rotocols 8They are standardised by Internet %ctivity

    &oard 8I%&9 and I(5RI

    5(

    Intermediate (ystem to Intermediate (ystem

  • 7/25/2019 Isp Routing

    17/39

    Routing AlgorithmsRouting Algorithms

    %ll dynamic routing protocols are based on some

    algorithms. %lgorithms must be able to 'uickly determine the

    *etwork topology.

    This process is called 0onvergence.

    0onvergence must take place rapidly.

    1ach algorithm has a different impact on *etwork

    and Routers.

    Routing algorithms use a variety of ;etrics

    that affect calculation of 5ptimal Routs.

  • 7/25/2019 Isp Routing

    18/39

    0ommonly used algorithms are

    Distance

  • 7/25/2019 Isp Routing

    19/39

    3hen there are multiple routes to the same destination,a router must have a mechanism for calculating the

    best path.

    % metric is a variable assigned to routers as a

    means of ranking them from best to worst or from

    most preferred to least preferred.

    Different routing protocols use different and

    sometimes multiple metrics.

    Path DeterminationPath Determination

    M t iM t i

  • 7/25/2019 Isp Routing

    20/39

    MetricsMetrics

    The following are the metrics used.

    $op 0ount

    &andwidth

    #oad

    Delay

    Reliability

    0ost

    Di t V t P t lDistance Vector Protocol

  • 7/25/2019 Isp Routing

    21/39

    Distance Vector ProtocolDistance Vector Protocol

    In Distance

  • 7/25/2019 Isp Routing

    22/39

    Distance Vector ProtocolDistance Vector Protocol

    Routers create a network map by communicating in a

    periodic and progressive se'uence with other. This information e+change helps them determine the

    scope of their network in a series of router hops that

    reveals more information about the network.

    3hen the router is started it knows only the networks it

    is connected directly.

    Then advertises information about its immediate

    connections to the other routers directly connected. The Distance vector routing protocol uses second hand

    information from their neighbor.

    Link Status ProtocolLink Status Protocol

  • 7/25/2019 Isp Routing

    23/39

    Link Status ProtocolLink Status Protocol

    &ased on (hortest ath irst or Dikstra %lgorithm.

    (ending of link state advertisements 8#(%s9 to all other routers

    within the same hierarchical area.

    ( routers send link-state data to all routers.

    The routers perform two task

    irst they use the link-state data to build a complete table ofrouter and network connections.

    Then each router calculates the optimal path to each link.

    3hen a router detects changes in the state of its direct link the

    router broadcast the change to all others through a process called

    flooding.

    Routing BasicRouting Basic

  • 7/25/2019 Isp Routing

    24/39

    Routing BasicRouting Basic

    Routing protocols are divided into

    Interior Gatewa Routing !rotoco" #IG!$

    Exterior Gatewa Routing !rotoco" #EG!$

    Routing BasicRouting Basic

  • 7/25/2019 Isp Routing

    25/39

    Routing BasicRouting Basic

    Interior Gateway ProtocolInterior Gateway Protocol

  • 7/25/2019 Isp Routing

    26/39

    Interior Gateway ProtocolInterior Gateway Protocol

    Interior 7ateway rotocol are used within an %utonomous

    (ystem to dynamically determine the best route.

    They are

    Distance %ector

    4Routing Infor&ation !rotoco" #RI!$

    4 Routing Infor&ation !rotoco" 2 #RI! 2$

    'ink Status !rotoco"

    4 (pen S)ortest pat) first#(S!*$

    4 Internet Gatewa Routing !rotoco" #IGR!$

    4 En)ance+ IGR!

    4 Integrate+ Inter&e+iate Sste& to Inter&e+iate Sste&

  • 7/25/2019 Isp Routing

    27/39

    !terior Gateway Protocol!terior Gateway Protocol

    1+terior 7ateway protocol is known as inter domain

    rotocol.

    =sed to e+change routing information between

    different %utonomous systems. administration.

    1+terior gateway protocols re'uire the following three

    sets of information before routing can begin.

    % list of neighbor 8or eer9 routers with which to

    e+change routing information.

    % list of *etworks to advertise as directly reachable.The %utonomous system number of the #ocal

    Router.

  • 7/25/2019 Isp Routing

    28/39

    !terior Gateway Protocol!terior Gateway Protocol

    1+terior 7ateway rotocol 8179

    &order 7ateway rotocol 8&79

    &order 7ateway rotocol > 8&7 >9

    Routing In"ormation ProtocolRouting In"ormation Protocol

  • 7/25/2019 Isp Routing

    29/39

    Routing In"ormation ProtocolRouting In"ormation Protocol

    RI is a Distance

  • 7/25/2019 Isp Routing

    30/39

    Routing In"ormation ProtocolRouting In"ormation Protocol

    RI maintains only the best route to a destination.

    3hen a new information provides a better route

    this will replace old route information. RI uses single routing metric 8$op count9.

  • 7/25/2019 Isp Routing

    31/39

  • 7/25/2019 Isp Routing

    32/39

    RIP %RIP %

  • 7/25/2019 Isp Routing

    33/39

    RIP %RIP %

    (upport

  • 7/25/2019 Isp Routing

    34/39

    Interior Gateway Routing ProtocolInterior Gateway Routing Protocol

    Developed by 0I(05 in the mid B@?!s.

    I7R uses a combination of matrics4 Internetwork Delay

    4 &andwidth 8/?? bps to ? gigabits9

    4 Reliability4 #oad 8

  • 7/25/2019 Isp Routing

    35/39

    nhanced IGRPnhanced IGRP

    3ith (oftware Release B./ 0isco introduced1I7R.

    It combines advantage of #ink status with the

    Distance vector protocols.1I7R incorporates the Diffusing =pdate

    %lgorithm.

    #eatures o" IGRP#eatures o" IGRP

  • 7/25/2019 Isp Routing

    36/39

    #eatures o" IGRP#eatures o" IGRP

    ast 0onvergence : 1I7R stores all of its

    neighbors routing tables so that it can 'uickly

    adapt to alternate route.

    If no appropriate route e+ists 1I7R 'ueries

    its neighbor routers to discover an alternate

    route.(upports

  • 7/25/2019 Isp Routing

    37/39

    &'en Shortest Path #irst&'en Shortest Path #irst

    =sing #ink (tate algorithm.

    Introduced in B@B

    ;uch lower traffic overhead.

    1limination of count to infinity problem.

    =sing cost as metric, ;etric can be as large as

    CAA2A.

    (upport

  • 7/25/2019 Isp Routing

    38/39

    &'en Shortest Path #irst&'en Shortest Path #irst

    1ach Router builds a database of the *etwork.

    1+change only when tables are updated

    rovides #oad balancing.

    4 ;ultiple routes to a single destination.

    #ooping is not formed since each router hasthe complete information.

    aster convergence.

    (ending link (tate advertisement to all otherrouters.

  • 7/25/2019 Isp Routing

    39/39

    0..(undaram

    (D1 0omputer

    R7; TT0, 0hennai C?? ?/E