cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7980
Views
5
Helpful
21
Replies

OSPF not working

Alex Hall
Level 1
Level 1

I have two routers connected with serial interfaces and to begin with I was unable to ping either router, anyway I want to configure OSPF 100 with the routers on area 0 the current configs are

 

Router 1:

Building configuration...

 

Current configuration : 1077 bytes

!

version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname HQ

!

!

!

enable secret 5 $1$mERr$Kf7LJHoCqrlN7frh/vXzO1

enable password ttf1234

!

!

!

!

!

!

ip cef

no ipv6 cef

!

!

!

username ttfadmin privilege 15 secret 5 $1$mERr$sGPHml/Zec.vL6mmhKJAd0

!

!

!

!

!

!

!

!

no ip domain-lookup

!

!

spanning-tree mode pvst

!

!

!

!

!

!

interface FastEthernet0/0

no ip address

duplex auto

speed auto

shutdown

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

shutdown

!

interface Serial0/0/0

ip address 10.10.10.2 255.255.255.252

ip ospf 100 area 0

!

interface Serial0/0/1

ip address 10.20.20.2 255.255.255.252

ip ospf 100 area 0

clock rate 64000

!

interface Vlan1

no ip address

shutdown

!

router ospf 100

log-adjacency-changes

network 10.10.10.0 0.0.0.3 area 0

network 10.20.20.0 0.0.0.3 area 0

neighbor 10.10.10.1

neighbor 10.20.20.1

!

ip classless

!

ip flow-export version 9

!

!

!

!

!

!

!

!

line con 0

!

line aux 0

!

line vty 0 4

password ttf12345

login local

!

!

!

end

 

 

Router 2:

Building configuration...

 

Current configuration : 1044 bytes

!

version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname Adelaide

!

!

!

enable secret 5 $1$mERr$KZJUS7CY9GPgCalBziSwO1

enable password ttf123456

!

!

!

!

!

!

ip cef

no ipv6 cef

!

!

!

username ttfadmin privilege 15 secret 5 $1$mERr$sGPHml/Zec.vL6mmhKJAd0

!

!

!

!

!

!

!

!

!

!

spanning-tree mode pvst

!

!

!

!

!

!

interface FastEthernet0/0

no ip address

duplex auto

speed auto

shutdown

!

interface FastEthernet0/1

ip address 192.168.1.1 255.255.255.0

ip ospf 100 area 0

duplex auto

speed auto

!

interface Serial0/0/0

ip address 10.10.10.1 255.255.255.252

ip ospf 100 area 0

!

interface Serial0/0/1

no ip address

clock rate 2000000

shutdown

!

interface Vlan1

no ip address

shutdown

!

router ospf 100

log-adjacency-changes

network 192.168.1.0 0.0.0.255 area 0

network 10.10.10.0 0.0.0.3 area 0

neighbor 10.20.20.2

!

ip classless

!

ip flow-export version 9

!

!

!

!

!

!

!

!

line con 0

!

line aux 0

!

line vty 0 4

password ttf1234567

login

!

!

!

end

 

------------------------

 

Router 1 also has another router it's connected to but it's just a mirror of router 2, I'm not sure what I've done wrong, can someone provide some help, please excuse the ignorance I'm new to this.

 

Thanks in advance.

21 Replies 21

Hello,

 

try GNS3, it is free, and uses real, full IOS images...

 

https://gns3.com/

 

Okay I'll give it a go and get back to everyone thanks

I tried it in GNS3 and it still didn't work, I have no idea where to go now, I've using two new routers and doing the config from scratch but nothing.

Hello
You have confirmed your using simulation software and the latest being GNS3 and you still dont obtain connectivity?

 

Now GNS3 by default uses encapsulation on its serial interfaces that requires nothing appended to it (clocking or,controller state), just the correct ip addressing and the very basic ospf1 config (below) and if this isnt working it has to be the software your using.

 

r1

int ser0/0/0
ip address 10.10.10.1 255.255.255.252
no shut

 

r2

nt ser0/0/0
ip address 10.10.10.2 255.255.255.252
no shut

both rtrs
router ospf 1
network 10.10.10.0 0.0.0.3 area 0


 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Well I have to submit the lab using packet tracer, do you have any ideas as to why the config currently wouldn't be working?

Hello

It should work - Can you post the pkt file please?


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Sure the routers I've been talking about are HQ and Adelaide, HQ being router 1 and Adelaide being router 2 the Sydney router is going to mirror Adelaide.

Review Cisco Networking products for a $25 gift card