During my CCIE R&S preparation for lab exam, I encounter a task that requested me to advertise a subnet into OSPF routing protocol, but without using network statement or redistribution command. Since back then I was a little confuse about this, I said to post here maybe it help others.

Please download the topology used in this example here. We have already OSPF prepared and the task request to advertise interface Loopack0 from R0 to OSPF without using network statement or redistribution command.

See how to do it here:

How to advertise subnet into OSPF without network or redistribution command
Tagged on:             

5 thoughts on “How to advertise subnet into OSPF without network or redistribution command

  • November 12, 2008 at 00:40
    Permalink

    Good writing. Keep up the good work. I just added your RSS feed my Google News Reader..

    Matt Hanson

    Reply
  • November 12, 2008 at 00:56
    Permalink

    Thanks Matt!
    It’s nice that you comment my posts even if I have not so many now. It will motivate me to write some more.

    Reply
  • January 17, 2011 at 14:03
    Permalink

    Hi Calin,

    Nice post! I was just wondering how about we use the interface command:

    int lo0
    ip ospf 1 area 0

    This should also meet the requirement of the lab, don't you think so?

    – James.

    Reply
  • June 6, 2011 at 22:04
    Permalink

    Hi calin,

    Nice try, but still it's not working for me. I did the same configuration as u said, but still i cant ping 2.2.2.2 from 1.1.1.1 and loopbacks are not even getting advertised in the routing table on the opposite side…. It is still needed to give network command to advertise loopbacks.

    Give me solution.

    Thanks,
    Azhar

    Reply
    • June 8, 2011 at 08:04
      Permalink

      Hello Azhar and thanks for visiting my page!

      Can you copy / paste here the OSPF / Loopback configuration?

      Also check the following:
      #show ip route -> check if the 1.1.1.1 and 2.2.2.2 are on the routing tables on the opposite routers
      #show ip ospf database -> if not in the routing table, check if the networks are in the OSPF database

      Best would be that you show here some config and then I can help you.

      Good luck!

Leave a Reply

%d bloggers like this: