OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Wu Jina (jinawucnYAHOO.COM.CN)
Date: Sun Jul 22 2001 - 22:44:00 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hello, Sina.

    I think it is not right. How to calculate the nexthop, these is a very
    clear description in RFC.

    About the second case, I think the the logice maybe like this:

    1. If the parent is the router, then the algorithem will follow the
       the first case.

    2. If the parent is the network, then:

       a. Check if this network connect the root and current destination
          router directly, then OSPF calculate the next hop following the
          RFC.

       b. If this network don't connect the root and current destination
          router directly, then the nexthop of the destination router only
          inherit the parent network's nexthop.

    In your finger:

        R1 R2 R3
        | | |
        ---------------------------
        root DR Destination

    I convert the finger link this:

                       -----------
                       | R1 | root
                       -----------
                            |
                    ----------------- N1
                     | |
                 --------- ----------
                 | R2 | | R3 |
                 --------- ----------
                   DR DROTHER

    R1 is root, R2 is the DR, R3 is the CurrentRouter, but I think in SPF
    calculation, the parent of R3 is not R2, is N1, and DR/BDR is only used
    for send/receive packet, is not for SPF calculate.

    Thanks.

    Jina.