1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

OSPF Simulator Lab Setup

Discussion in 'Routing & Switching' started by hjimenez, Sep 13, 2015.

  1. hjimenez

    hjimenez New Member

    1
    0
    1
    I have an example simulator problem with the following setup.

    DEVICE INTERFACE IP ADDRESS SUBNET
    ---------------------------------------------------------------------------------------------------------------------------
    Router 1 F0/0 24.17.2.1 255.255.255.240
    S0/0 24.17.2.17 255.255.255.240

    Router 2 F0/0 24.17.2.2 255.255.255.240

    Router 4 S0/0 24.17.2.18 255.255.255.240

    Now this lab was originally stated to set these interfaces with RIPv2 (to practice writing ACL later on). However, I wanted to use OSPF since I need to practice OSPF setup. However, I ran into problems.

    I setup Router1 in global configuration mode with the following commands:
    router ospf 100
    router-id 1.1.1.1
    network 24.17.2.0 0.0.0.15 area 0
    end

    I setup Router2 in global configuration mode with the following commands:
    router ospf 100
    router-id 2.2.2.2
    network 24.17.2.0 0.0.0.15 area 0
    end

    I setup Router4 in global configuration mode with the following commands:
    router ospf 100
    router-id 4.4.4.4
    network 24.17.2.0 0.0.0.15 area 0
    end

    The problem is that this configuration spews out errors from Router1 and Router2
    Router1 error message:
    OSPF: Detected router with duplicate router ID 2.2.2.2 in area 0

    Router2 error message:
    OSPF: Detected router with duplicate router ID 1.1.1.1 in area 0

    Note: There are no error messages from Router4

    I strongly suspect that it has to do with the IP addresses having the same class network. How do I work around this to complete an OSPF configuration? Again, this came from a question that originally posed these IP addresses to be used for RIP. Why can't I use this for OSPF?

    Thanks,
    hjimenez
     

    Attached Files:

  2. pupito

    pupito New Member

    1
    0
    1
    Sounds like best if you cleared all ospf config first and started afresh

    If you type 'show ip ospf' on router 1 + 2, what appears?
     

Share This Page

Loading...