Options

Packet Tracer OSPF RID

alliasneoalliasneo Member Posts: 186
Hey guys,

Just configuring OSPF and I added a loopback of 1.1.1.1 to one of my routers and then added the ospf config but the loopback wasn't chosen as the DR. Do you know if PT has a fault with using the loopback over other ip addresses configured? Am I right in thinking it should have chosen this loopback?
-this is on an ethernet segment so the DR and BDR is to be chosen.


thanks

Comments

  • Options
    EildorEildor Member Posts: 444
    alliasneo wrote: »
    Hey guys,

    Just configuring OSPF and I added a loopback of 1.1.1.1 to one of my routers and then added the ospf config but the loopback wasn't chosen as the DR. Do you know if PT has a fault with using the loopback over other ip addresses configured? Am I right in thinking it should have chosen this loopback?
    -this is on an ethernet segment so the DR and BDR is to be chosen.


    thanks

    Have you tried clearing the OSPF process using the "clear ip ospf process" command?
  • Options
    SubnetZeroSubnetZero Member Posts: 124
    Did you clear the OSPF process on your routers? The OSPF RID will not change until you reset the OSPF process. The same thing is true for DR/BDR elections since they aren't preemptive in nature.

    Try "clear ip ospf process"

    HTH

    While no trees were harmed in the transmission of this message, several electrons were severely inconvenienced
    :cool:
  • Options
    alliasneoalliasneo Member Posts: 186
    yeah I have just tried that but still the same:

    Router#clear ip ospf ?
    process Reset OSPF process
    Router#clear ip ospf pro
    Reset ALL OSPF processes? [no]: y


    00:01:52: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.0.1 on Serial2/0 from FULL to DOWN, Neighbor Down: Adjacency forced to reset


    00:01:52: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.0.1 on Serial2/0 from FULL to DOWN, Neighbor Down: Interface down or detached


    00:01:52: %OSPF-5-ADJCHG: Process 1, Nbr 172.168.0.1 on Serial3/0 from FULL to DOWN, Neighbor Down: Adjacency forced to reset


    00:01:52: %OSPF-5-ADJCHG: Process 1, Nbr 172.168.0.1 on Serial3/0 from FULL to DOWN, Neighbor Down: Interface down or detached


    00:01:52: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.0.1 on FastEthernet0/0 from FULL to DOWN, Neighbor Down: Adjacency forced to reset


    00:01:52: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.0.1 on FastEthernet0/0 from FULL to DOWN, Neighbor Down: Interface down or detached


    Router#
    00:01:55: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.0.1 on Serial2/0 from LOADING to FULL, Loading Done


    00:01:56: %OSPF-5-ADJCHG: Process 1, Nbr 172.168.0.1 on Serial3/0 from LOADING to FULL, Loading Done


    Router#
    Router#
    Router#
    Router#
    Router#
    Router#
    00:02:00: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.0.1 on FastEthernet0/0 from LOADING to FULL, Loading Done


    Router#
    Router#
    Router#sh ip ospf neigh


    Neighbor ID Pri State Dead Time Address Interface
    192.168.0.1 0 FULL/ - 00:00:36 192.168.0.1 Serial2/0
    172.168.0.1 0 FULL/ - 00:00:31 172.168.0.1 Serial3/0
    192.168.0.1 1 FULL/DR 00:00:31 20.20.20.1 FastEthernet0/0
    Router#
  • Options
    EildorEildor Member Posts: 444
    alliasneo wrote: »
    yeah I have just tried that but still the same:

    Router#clear ip ospf ?
    process Reset OSPF process
    Router#clear ip ospf pro
    Reset ALL OSPF processes? [no]: y


    00:01:52: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.0.1 on Serial2/0 from FULL to DOWN, Neighbor Down: Adjacency forced to reset


    00:01:52: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.0.1 on Serial2/0 from FULL to DOWN, Neighbor Down: Interface down or detached


    00:01:52: %OSPF-5-ADJCHG: Process 1, Nbr 172.168.0.1 on Serial3/0 from FULL to DOWN, Neighbor Down: Adjacency forced to reset


    00:01:52: %OSPF-5-ADJCHG: Process 1, Nbr 172.168.0.1 on Serial3/0 from FULL to DOWN, Neighbor Down: Interface down or detached


    00:01:52: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.0.1 on FastEthernet0/0 from FULL to DOWN, Neighbor Down: Adjacency forced to reset


    00:01:52: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.0.1 on FastEthernet0/0 from FULL to DOWN, Neighbor Down: Interface down or detached


    Router#
    00:01:55: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.0.1 on Serial2/0 from LOADING to FULL, Loading Done


    00:01:56: %OSPF-5-ADJCHG: Process 1, Nbr 172.168.0.1 on Serial3/0 from LOADING to FULL, Loading Done


    Router#
    Router#
    Router#
    Router#
    Router#
    Router#
    00:02:00: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.0.1 on FastEthernet0/0 from LOADING to FULL, Loading Done


    Router#
    Router#
    Router#sh ip ospf neigh


    Neighbor ID Pri State Dead Time Address Interface
    192.168.0.1 0 FULL/ - 00:00:36 192.168.0.1 Serial2/0
    172.168.0.1 0 FULL/ - 00:00:31 172.168.0.1 Serial3/0
    192.168.0.1 1 FULL/DR 00:00:31 20.20.20.1 FastEthernet0/0
    Router#

    edit: Never mind, misunderstood your question.
  • Options
    angel.oaangel.oa Member Posts: 45 ■■□□□□□□□□
    show ip ospf interface
    Currently reading :study:

    Routing TCP/IP, Volume 1 (2nd Edition)
    Implementing Cisco IP Routing (ROUTE) Foundation Learning Guide
    JNCIA - Junos Study Guide - Parts 1 & 2
  • Options
    EildorEildor Member Posts: 444
    That's strange... did you configure a manual RID?
  • Options
    alliasneoalliasneo Member Posts: 186
    Eildor wrote: »
    That's strange... did you configure a manual RID?


    No I don't believe so, here is the sh run on the router I thought was going to be the DR:

    Router#sh run
    Building configuration...


    Current configuration : 904 bytes
    !
    version 12.2
    no service timestamps log datetime msec
    no service timestamps debug datetime msec
    no service password-encryption
    !
    hostname Router
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    interface Loopback0
    ip address 1.1.1.1 255.255.255.255
    !
    interface FastEthernet0/0
    ip address 20.20.20.2 255.255.255.0
    duplex auto
    speed auto
    !
    interface FastEthernet1/0
    no ip address
    duplex auto
    speed auto
    shutdown
    !
    interface Serial2/0
    ip address 192.168.0.2 255.255.255.0
    !
    interface Serial3/0
    ip address 172.168.0.2 255.255.255.0
    !
    interface FastEthernet4/0
    no ip address
    shutdown
    !
    interface FastEthernet5/0
    no ip address
    shutdown
    !
    router ospf 1
    log-adjacency-changes
    network 192.168.0.0 0.0.0.255 area 30
    network 172.168.0.0 0.0.0.255 area 20
    network 20.20.20.0 0.0.0.255 area 50
    network 1.1.1.1 0.0.0.0 area 50
    !
    ip classless
    !
    !
    !
    no cdp run
    !
    !
    !
    !
    !
    line con 0
    line vty 0 4
    login
    !
    !
    !
    end







    and here is the sh ip osp int fa0/0:

    Router#sh ip ospf int fa0/0
    FastEthernet0/0 is up, line protocol is up
    Internet address is 20.20.20.2/24, Area 50
    Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
    Transmit Delay is 1 sec, State DR, Priority 1
    Designated Router (ID) 1.1.1.1, Interface address 20.20.20.2
    No backup designated router on this network
    Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:05
    Index 4/4, flood queue length 0
    Next 0x0(0)/0x0(0)
    Last flood scan length is 1, maximum is 1
    Last flood scan time is 0 msec, maximum is 0 msec
    Neighbor Count is 1, Adjacent neighbor count is 1
    Adjacent with neighbor 192.168.0.1
    Suppress hello for 0 neighbor(s)
    Router#




    Something really strange going on now though, I've let packet tracer sit for a while since re-opening it and now on Router 2:


    Router#sh ip ospf neigh


    Neighbor ID Pri State Dead Time Address Interface
    192.168.0.1 0 FULL/ - 00:00:37 192.168.0.1 Serial2/0
    172.168.0.1 0 FULL/ - 00:00:30 172.168.0.1 Serial3/0
    192.168.0.1 1 FULL/DROTHER 00:00:30 20.20.20.1 FastEthernet0/0
    Router#sh ip ospf neigh


    Neighbor ID Pri State Dead Time Address Interface
    192.168.0.1 0 FULL/ - 00:00:36 192.168.0.1 Serial2/0
    172.168.0.1 0 FULL/ - 00:00:39 172.168.0.1 Serial3/0
    192.168.0.1 1 FULL/DROTHER 00:00:39 20.20.20.1 FastEthernet0/0
    Router#sh ip ospf neigh


    Neighbor ID Pri State Dead Time Address Interface
    192.168.0.1 0 FULL/ - 00:00:32 192.168.0.1 Serial2/0
    172.168.0.1 0 FULL/ - 00:00:35 172.168.0.1 Serial3/0
    192.168.0.1 1 FULL/DROTHER 00:00:35 20.20.20.1 FastEthernet0/0
    Router#
  • Options
    EildorEildor Member Posts: 444
    Designated Router (ID) 1.1.1.1, Interface address 20.20.20.2

    Isn't that the expected result?

    Do a show ip ospf interface on one of the other routers.
  • Options
    fsanyeefsanyee Member Posts: 171
    try to reload the router.
Sign In or Register to comment.