Options

OSPF Problem

MAXDUETMAXDUET Registered Users Posts: 9 ■□□□□□□□□□
Hi i have problem with OSPF it is not building relationship with other router so there is no ip route from ospf . rip is working good .Hello packet are not being exchanged so no neighbors.hello /dead interval is is same .process id is same but still it is not advertising the network ? any one ?

Comments

  • Options
    Jon_CiscoJon_Cisco Member Posts: 1,772 ■■■■■■■■□□
    Few things. Real equipment? Are the lights on?
    Any debug options availabe to you?

    First thing I think of is same subnet, same area, same hellos. Make sure you can communicate over the link and nothing is passive.
    Show ip protocols show the correct networks?

    Sorry all random just trying to brainstorm quick for you.

    Good Luck
  • Options
    MAXDUETMAXDUET Registered Users Posts: 9 ■□□□□□□□□□
    No its a packet tracer,


    R1-Leuven#show run
    Building configuration...


    Current configuration : 2242 bytes
    !
    version 15.1
    no service timestamps log datetime msec
    no service timestamps debug datetime msec
    service password-encryption
    !
    hostname R1-Leuven
    !
    !
    !
    enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
    !
    !
    !
    !
    ip cef
    no ipv6 cef
    !
    !
    !
    username admin privilege 15 secret 5 $1$mERr$35ledLVmCv0mTZg5ZsTXv.
    !
    !
    license udi pid CISCO1941/K9 sn FTX15247G45
    !
    !
    !
    !
    !
    !
    !
    !
    !
    ip ssh version 2
    no ip domain-lookup
    ip domain-name imran.be
    !
    !
    spanning-tree mode pvst
    !
    !
    !
    !
    !
    !
    interface GigabitEthernet0/0
    no ip address
    duplex auto
    speed auto
    !
    interface GigabitEthernet0/0.130
    description vlan 130
    encapsulation dot1Q 130
    ip address 172.16.0.193 255.255.255.192
    !
    interface GigabitEthernet0/0.140
    description vlan 140
    encapsulation dot1Q 140
    ip address 172.16.1.1 255.255.255.224
    !
    interface GigabitEthernet0/1
    no ip address
    duplex auto
    speed auto
    !
    interface GigabitEthernet0/1.110
    description vlan 110
    encapsulation dot1Q 110
    ip address 172.16.0.1 255.255.255.128
    !
    interface GigabitEthernet0/1.120
    description vlan 120
    encapsulation dot1Q 120
    ip address 172.16.0.129 255.255.255.192
    !
    interface Serial0/0/0
    description Serial to Core
    ip address 172.16.3.26 255.255.255.252
    !
    interface Serial0/0/1
    description Serial to Diest
    ip address 172.16.3.49 255.255.255.252
    clock rate 2000000
    !
    interface FastEthernet0/1/0
    switchport mode access
    shutdown
    !
    interface FastEthernet0/1/1
    switchport mode access
    shutdown
    !
    interface FastEthernet0/1/2
    switchport mode access
    shutdown
    !
    interface FastEthernet0/1/3
    switchport mode access
    shutdown
    !
    interface Vlan1
    no ip address
    shutdown
    !
    router ospf 1
    router-id 2.2.2.2
    log-adjacency-changes
    network 172.16.0.0 0.0.0.127 area 0
    network 172.16.0.128 0.0.0.63 area 0
    network 172.16.0.192 0.0.0.63 area 0
    network 172.16.1.0 0.0.0.31 area 0
    default-information originate
    neighbor 1.1.1.1
    !
    ip classless
    !
    ip flow-export version 9
    !
    !
    !
    no cdp run
    !
    banner motd ^C Authorized Access Only!! ^C
    !
    !
    !
    !
    line con 0
    password 7 0822455D0A16
    logging synchronous
    login
    !
    line aux 0
    password 7 0822455D06
    login
    !
    line vty 0 4
    password 7 0822455D0A16
    logging synchronous
    no login
    transport input ssh
    line vty 5 15
    password 7 0822455D0A16
    logging synchronous
    login
    !
    !
    !
    end




    R2-Diest#show running-config
    Building configuration...


    Current configuration : 2233 bytes
    !
    version 15.1
    no service timestamps log datetime msec
    no service timestamps debug datetime msec
    service password-encryption
    !
    hostname R2-Diest
    !
    !
    !
    enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
    !
    !
    !
    !
    ip cef
    no ipv6 cef
    !
    !
    !
    username admin privilege 15 secret 5 $1$mERr$35ledLVmCv0mTZg5ZsTXv.
    !
    !
    license udi pid CISCO1941/K9 sn FTX1524UHMO
    !
    !
    !
    !
    !
    !
    !
    !
    !
    ip ssh version 2
    no ip domain-lookup
    ip domain-name imran.be
    !
    !
    spanning-tree mode pvst
    !
    !
    !
    !
    !
    !
    interface GigabitEthernet0/0
    no ip address
    duplex auto
    speed auto
    !
    interface GigabitEthernet0/0.230
    description vlan 230
    encapsulation dot1Q 230
    ip address 172.16.2.129 255.255.255.192
    !
    interface GigabitEthernet0/0.240
    description vlan 240
    encapsulation dot1Q 240
    ip address 172.16.2.225 255.255.255.240
    !
    interface GigabitEthernet0/1
    no ip address
    duplex auto
    speed auto
    !
    interface GigabitEthernet0/1.210
    description vlan 210
    encapsulation dot1Q 210
    ip address 172.16.2.1 255.255.255.128
    !
    interface GigabitEthernet0/1.220
    description vlan 220
    encapsulation dot1Q 220
    ip address 172.16.2.193 255.255.255.224
    !
    interface Serial0/0/0
    description serial to Leuven
    ip address 172.16.3.50 255.255.255.252
    !
    interface Serial0/0/1
    description serial to Core
    ip address 172.16.3.30 255.255.255.252
    !
    interface FastEthernet0/1/0
    switchport mode access
    shutdown
    !
    interface FastEthernet0/1/1
    switchport mode access
    shutdown
    !
    interface FastEthernet0/1/2
    switchport mode access
    shutdown
    !
    interface FastEthernet0/1/3
    switchport mode access
    shutdown
    !
    interface Vlan1
    no ip address
    shutdown
    !
    router ospf 1
    router-id 1.1.1.1
    log-adjacency-changes detail
    network 172.16.2.0 0.0.0.127 area 0
    network 172.16.2.192 0.0.0.31 area 0
    network 172.16.2.128 0.0.0.63 area 0
    network 172.16.2.224 0.0.0.15 area 0
    default-information originate
    neighbor 2.2.2.2
    !
    ip classless
    !
    ip flow-export version 9
    !
    !
    !
    no cdp run
    !
    banner motd ^C Authorized Access Only!! ^C
    !
    !
    !
    !
    line con 0
    password 7 0822455D0A16
    logging synchronous
    login
    !
    line aux 0
    password 7 0822455D06
    login
    !
    line vty 0 4
    password 7 0822455D0A16
    logging synchronous
    no login
    transport input ssh
    line vty 5 15
    password 7 0822455D0A16
    logging synchronous
    login
    !
    !
    !
    end




    R2-Diest#
















    R2-Diest con0 is now available












    Press RETURN to get started.






















    Authorized Access Only!!


    User Access Verification


    Password:
    Password:


    R2-Diest>ena
    R2-Diest>enable
    Password:
    R2-Diest#show rum
    ^
    % Invalid input detected at '^' marker.

    R2-Diest#show run
    Building configuration...


    Current configuration : 2233 bytes
    !
    version 15.1
    no service timestamps log datetime msec
    no service timestamps debug datetime msec
    service password-encryption
    !
    hostname R2-Diest
    !
    !
    !
    enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
    !
    !
    !
    !
    ip cef
    no ipv6 cef
    !
    !
    !
    username admin privilege 15 secret 5 $1$mERr$35ledLVmCv0mTZg5ZsTXv.
    !
    !
    license udi pid CISCO1941/K9 sn FTX1524UHMO
    !
    !
    !
    !
    !
    !
    !
    !
    !
    ip ssh version 2
    no ip domain-lookup
    ip domain-name imran.be
    !
    !
    spanning-tree mode pvst
    !
    !
    !
    !
    !
    !
    interface GigabitEthernet0/0
    no ip address
    duplex auto
    speed auto
    !
    interface GigabitEthernet0/0.230
    description vlan 230
    encapsulation dot1Q 230
    ip address 172.16.2.129 255.255.255.192
    !
    interface GigabitEthernet0/0.240
    description vlan 240
    encapsulation dot1Q 240
    ip address 172.16.2.225 255.255.255.240
    !
    interface GigabitEthernet0/1
    no ip address
    duplex auto
    speed auto
    !
    interface GigabitEthernet0/1.210
    description vlan 210
    encapsulation dot1Q 210
    ip address 172.16.2.1 255.255.255.128
    !
    interface GigabitEthernet0/1.220
    description vlan 220
    encapsulation dot1Q 220
    ip address 172.16.2.193 255.255.255.224
    !
    interface Serial0/0/0
    description serial to Leuven
    ip address 172.16.3.50 255.255.255.252
    !
    interface Serial0/0/1
    description serial to Core
    ip address 172.16.3.30 255.255.255.252
    !
    interface FastEthernet0/1/0
    switchport mode access
    shutdown
    !
    interface FastEthernet0/1/1
    switchport mode access
    shutdown
    !
    interface FastEthernet0/1/2
    switchport mode access
    shutdown
    !
    interface FastEthernet0/1/3
    switchport mode access
    shutdown
    !
    interface Vlan1
    no ip address
    shutdown
    !
    router ospf 1
    router-id 1.1.1.1
    log-adjacency-changes detail
    network 172.16.2.0 0.0.0.127 area 0
    network 172.16.2.192 0.0.0.31 area 0
    network 172.16.2.128 0.0.0.63 area 0
    network 172.16.2.224 0.0.0.15 area 0
    default-information originate
    neighbor 2.2.2.2
    !
    ip classless
    !
    ip flow-export version 9
    !
    !
    !
    no cdp run
    !
    banner motd ^C Authorized Access Only!! ^C
    !
    !
    !
    !
    line con 0
    password 7 0822455D0A16
    logging synchronous
    login
    !
    line aux 0
    password 7 0822455D06
    login
    !
    line vty 0 4
    password 7 0822455D0A16
    logging synchronous
    no login
    transport input ssh
    line vty 5 15
    password 7 0822455D0A16
    logging synchronous
    login
    !
    !
    !
    end
  • Options
    MAXDUETMAXDUET Registered Users Posts: 9 ■□□□□□□□□□
    its packet tracer .i paste the running_config here but it need to be approved it says . the rip v2 worked perfet but ospf is not advertising any network
  • Options
    networker050184networker050184 Mod Posts: 11,962 Mod
    I'm assuming the routers are connected over the serial interfaces? How are you expecting neighbors to form without adding those interfaces to your OSPF process?
    An expert is a man who has made all the mistakes which can be made.
  • Options
    MAXDUETMAXDUET Registered Users Posts: 9 ■□□□□□□□□□
    ahn wait may be im mixing. im taking about ipv4 ospf . in ipv6 we add the interface but what im doing here . simply going to

    router ospf 1
    network XXXXXXXX wildcard area 0

    is some thing im mixxing it up ?
    and yest they are interconnected with serial andboth are connected to core router . and i add static summry route on the core router.
  • Options
    networker050184networker050184 Mod Posts: 11,962 Mod
    Which one of these would cover the serial interfaces?

    router ospf 1
    router-id 1.1.1.1
    log-adjacency-changes detail
    network 172.16.2.0 0.0.0.127 area 0
    network 172.16.2.192 0.0.0.31 area 0
    network 172.16.2.128 0.0.0.63 area 0
    network 172.16.2.224 0.0.0.15 area 0
    default-information originate
    neighbor 2.2.2.2
    An expert is a man who has made all the mistakes which can be made.
  • Options
    MAXDUETMAXDUET Registered Users Posts: 9 ■□□□□□□□□□
    OMG; THERE is no serial interface added ... im really sorry i forgot to add serial interfaces
    and after adding it it build a relationship . thnx

    one more thing what should be the process on core route ospf or static route summary?
Sign In or Register to comment.