16 comments on “OSPF : Challenge backup (easy)

  • Hi Lorenzo,

    Difficult to do this on the same LAN ( OSPF cost affects on receive. So if you make ‘ip ospf cost XX’ on port, it will affect all costs…


  • You will influence the return path, not the forward path.

    You will have :


    Type escape sequence to abort.
    Tracing the route to

    1 288 msec 400 msec 1124 msec
    2 636 msec 260 msec 436 msec


  • Mhh…you are right.
    If R1 is high end router, you can run OSPF LFA. Otherwise I have no idea 🙂

  • Create two different vlans (one for each router) with subinterfaces and the trath each one as different interface with different weigth.

    What do you think about that?

  • OSPF prefers Intra-Area routes over Inter-Area routes.

    So, what we can do… Put R4 and R3’s fastethernet interface on an other area. Area 1 for example. R4’s loopback still on area 0 :

    R4#sh run | inc interface (Fa|Lo)|_ip ospf
    interface Loopback0
    ip ospf 1 area 0
    interface FastEthernet0/0
    ip ospf 1 area 0
    interface FastEthernet0/1
    ip ospf 1 area 1

    And from R1 :
    R1#sh ip route ospf is subnetted, 1 subnets
    O [110/21] via, 00:13:56, FastEthernet0/0 is subnetted, 2 subnets
    O [110/20] via, 00:18:25, FastEthernet0/0
    O IA [110/20] via, 00:15:28, FastEthernet0/0


    Type escape sequence to abort.
    Tracing the route to

    1 40 msec 28 msec 20 msec
    2 28 msec 36 msec 40 msec

    Am I right ?

    • You can do this way, but there is a solution to make prefer R2 in the same area (area 0).
      Have fun to fond the solution.


  • Changing the interfaces network type of LAN to Point-to-Multipoint, so we can manually put a lower cost with the neighbor command to R2 ?

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.