LAB 8 Task 3.2 Redistribute static ??

Hi,

Any idea why the following doesn't work ?

 

Rack1R5#sh run | s ipv6 router ospf 1|ipv6 route
ipv6 route ::/0 Null0

ipv6 router ospf 1
 log-adjacency-changes
 redistribute static

 

Rack1R1#sh ipv route ospf
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2

 

Thank you,
Ciprian.

 

 

Comments

  • Hi,

    Do you have your OSPFv3 neighborship up? I guess you have not configured router-id on R5 under the ospf process.  

     

  • I think you have not configured OSPFv3 Properly.

  • Hi,

    Any idea why the following doesn't work ?

     

    Rack1R5#sh run | s ipv6 router ospf 1|ipv6 route
    ipv6 route ::/0 Null0

    ipv6 router ospf 1
     log-adjacency-changes
     redistribute static

     

    Rack1R1#sh ipv route ospf
    IPv6 Routing Table - 6 entries
    Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
           U - Per-user Static route
           I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
           O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
           ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2

     

    Thank you,
    Ciprian.

     

     

    What are you trying to accomplish? If you want to inject a default route into OSPF like that, it will not work. Assuming you have configured a router-id under the OSPFv3 process and that the neighbor relationship has come up, you need to use the default information-originate command to do that.

    If you change your static route from ::/0 to something like ipv6 route 2001:123:123::/64 null0, that will get redistributed, but OSPF does not redistribute the default route.

    HTH

    Good luck!

     

  • Hi,

    OSPF neighbor relationship is UP :

    Rack1R1#sh ipv ospf neigh

    Neighbor ID     Pri   State           Dead Time   Interface ID    Interface
    150.1.5.5         1   FULL/  -        00:00:35    5               Serial0/0

    Rack1R1#sh run | s ipv6 router
    ipv6 router ospf 1
     log-adjacency-changes
    Rack1R1#sh run int s 0/0 | i ipv6
     ipv6 address 2001:CC1E:1:1515::1/64
     ipv6 address FE80::1 link-local
     ipv6 ospf network point-to-point
     ipv6 ospf 1 area 0
     frame-relay map ipv6 FE80::5 105
     frame-relay map ipv6 2001:CC1E:1:1515::5 105 broadcast

     

    Rack1R5#sh run | s ipv6 router
    ipv6 router ospf 1
     router-id 150.1.5.5
     log-adjacency-changes
     redistribute static
    ipv6 router rip RIPng
     redistribute ospf 1 metric 1
    Rack1R5#sh ipv ospf neigh

    Neighbor ID     Pri   State           Dead Time   Interface ID    Interface
    150.1.1.1         1   FULL/  -        00:00:38    6               Serial0/0/0
    Rack1R5#
    Rack1R5#
    Rack1R5#sh run int s 0/0/0 | i ipv6
     ipv6 address FE80::5 link-local
     ipv6 address 2001:CC1E:1:1515::5/64
     ipv6 ospf network point-to-point
     ipv6 ospf 1 area 0
     frame-relay map ipv6 FE80::1 501
     frame-relay map ipv6 2001:CC1E:1:1515::1 501 broadcast

     

    As opposed to SG I configured the connection as p2p, but I don't think that's the problem. What do you think ?

     

    Thanks,

    Ciprian.

  • Hi Ciprian,

    Actually OSPF doens't redistribute default routes by design, if you try configuring another static route here, it works! 

    Please look at here:

     

    R1#sh run | sec ipv6 route

     

    ipv6 route 2002::1/128 Null0

    ipv6 route ::/0 Null0

     

    ipv6 router ospf 1

     router-id 2.2.2.2

     log-adjacency-changes

     redistribute static



    R1#sh ipv6 ospf neighbor


    Neighbor ID     Pri   State           Dead Time   Interface ID    Interface

    1.1.1.1           1   FULL/BDR        00:00:36    8               Ethernet1/0



    R5#sh ipv6 route ospf



    IPv6 Routing Table - 5 entries

    Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP

           U - Per-user Static route

           I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary

           O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2

           ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2

    OE2  2002::1/128 [110/20]

         via FE80::CE01:AFF:FEB0:10, Ethernet1/0

    R5#


    We can see the 2002::1/128 route as OSPF E2 but not the default route since OSPF works similarly for both the Version 2 and 3.




    Hope this helps.



  • Thank you qqabdal, I didn't know ospfv3 doesn't redistribute the default network.

    Thanks again,

    Ciprian.

     

    PS : Using the command default-information originate worked without configuring the router-id command. It shouldn't have ?

  • Thank you Hari !

    So this is the same behavior as in OSPF v2, am I right ?

    Thanks,

    Ciprian.

  • Thank you Hari !

    So this is the same behavior as in OSPF v2, am I right ?

    Thanks,

    Ciprian.

    Exactly, both the version works similarly in this case.

    Good luck!

  • Thank you everyone for your support !!

    Ciprian.

  • Exactly, both the version works similarly in this case.

    Good luck!

    True, it works like OSPF for IPv4.

  • Thank you Hari !

    So this is the same behavior as in OSPF v2, am I right ?

    Thanks,

    Ciprian.

    Yes, it works like OSPFv2 for this particular case.

  • Thank you Hari !

    So this is the same behavior as in OSPF v2, am I right ?

    Thanks,

    Ciprian.

    As far as default route origination goes, OSPFv2 and OSPv3 is the same!

  • You are welcome. You don't need to explicitly configure the router-id, if you happen to have an interface with an IPv4 address configured that will suffice



    On 15/09/2013, at 11:51, "ciprian_s" <[email protected]> wrote:

    Thank you qqabdal, I didn't know ospfv3 doesn't redistribute the default network.

    Thanks again,

    Ciprian.

     

    PS : Using the command default-information originate worked without configuring the router-id command. It shouldn't have ?




    Internetwork Expert - The Industry Leader in CCIE Preparation

    http://www.internetworkexpert.com



    Subscription information may be found at:

    http://www.ieoc.com/forums/ForumSubscriptions.aspx
Sign In or Register to comment.