cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1553
Views
5
Helpful
7
Replies

Stuck with OSPF Pakcet Tracer

d.nicholls18
Level 1
Level 1

Hi All,

 

I'm new this this forum and am struggling with a project.

I have 3 routers and I am trying to allow them to work with OSPF.

They seem to be neighbours and have a full state but have no databases.

 

All passwords within the project are "cisco" without quotations.

 

Thanks for any help in advance!

1 Accepted Solution

Accepted Solutions

Hello,

 

it appears that you are only advertising the serial links in OSPF. On RouterStone, add:

 

RouterStone(config)#router ospf 1
RouterStone(config-router)#network 10.0.0.0 0.255.255.255 area 0

View solution in original post

7 Replies 7

Mark Malone
VIP Alumni
VIP Alumni
Hi
some of us dont have PT , any chance just uploading configs and screenshot of design as its a LAB , we can take a look
Otherwise one of the users with PT maybe be able to launch it take a look for you

R1: 

version 15.1

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname RouterStone

!

!

!

enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0

!

!

ip dhcp excluded-address 10.0.0.254

ip dhcp excluded-address 10.0.1.0

ip dhcp excluded-address 10.0.2.126

ip dhcp excluded-address 10.0.2.254

ip dhcp excluded-address 10.0.3.62

ip dhcp excluded-address 10.0.3.94

ip dhcp excluded-address 10.0.3.126

ip dhcp excluded-address 10.0.3.142

ip dhcp excluded-address 10.0.3.158

ip dhcp excluded-address 10.0.3.174

ip dhcp excluded-address 10.0.3.190

ip dhcp excluded-address 10.0.3.198

!

ip dhcp pool medical_equipment

network 10.0.0.0 255.255.255.0

default-router 10.0.0.254

ip dhcp pool VOIP

network 10.0.1.0 255.255.255.0

default-router 10.0.1.254

ip dhcp pool admin_staff

network 10.0.2.0 255.255.255.128

default-router 10.0.2.126

ip dhcp pool ip_cameras

network 10.0.2.128 255.255.255.128

default-router 10.0.2.254

ip dhcp pool doctors

network 10.0.3.0 255.255.255.192

default-router 10.0.3.62

ip dhcp pool printers

network 10.0.3.64 255.255.255.224

default-router 10.0.3.94

ip dhcp pool fire_systems

network 10.0.3.96 255.255.255.224

default-router 10.0.3.126

ip dhcp pool security_staff

network 10.0.3.128 255.255.255.240

default-router 10.0.3.142

ip dhcp pool mgmt_devices

network 10.0.3.144 255.255.255.240

default-router 10.0.3.158

ip dhcp pool video_conference

network 10.0.3.160 255.255.255.240

default-router 10.0.3.174

ip dhcp pool servers

network 10.0.3.176 255.255.255.240

default-router 10.0.3.190

ip dhcp pool help_kiosk

network 10.0.3.192 255.255.255.248

default-router 10.0.3.198

!

!

!

no ip cef

no ipv6 cef

!

!

!

!

license udi pid CISCO1941/K9 sn FTX15241I5B-

!

!

!

!

!

!

!

!

!

no ip domain-lookup

!

!

spanning-tree mode pvst

!

!

!

!

!

!

interface GigabitEthernet0/0

no ip address

duplex auto

speed auto

!

interface GigabitEthernet0/1

no ip address

duplex auto

speed auto

!

interface GigabitEthernet0/0/0

ip address 10.0.3.254 255.255.255.248

!

interface GigabitEthernet0/0/0.10

description medical_equipment

encapsulation dot1Q 10

ip address 10.0.0.254 255.255.255.0

ip access-group 1 out

!

interface GigabitEthernet0/0/0.30

description admin_staff

encapsulation dot1Q 30

ip address 10.0.2.126 255.255.255.128

!

interface GigabitEthernet0/0/0.40

description ip_cameras

encapsulation dot1Q 40

ip address 10.0.2.254 255.255.255.128

ip access-group 2 out

!

interface GigabitEthernet0/0/0.50

description doctors

encapsulation dot1Q 50

ip address 10.0.3.62 255.255.255.192

!

interface GigabitEthernet0/0/0.60

description printers

encapsulation dot1Q 60

ip address 10.0.3.94 255.255.255.224

ip access-group 3 out

!

interface GigabitEthernet0/0/0.70

description fire_systems

encapsulation dot1Q 70

ip address 10.0.3.126 255.255.255.224

ip access-group 4 out

!

interface GigabitEthernet0/0/0.80

description security_staff

encapsulation dot1Q 80

ip address 10.0.3.142 255.255.255.240

!

interface GigabitEthernet0/0/0.90

description video_conference

encapsulation dot1Q 100

ip address 10.0.3.174 255.255.255.240

!

interface GigabitEthernet0/0/0.110

description servers

encapsulation dot1Q 110

ip address 10.0.3.190 255.255.255.240

ip access-group 5 out

!

interface GigabitEthernet0/0/0.120

description help_kiosk

encapsulation dot1Q 120

ip address 10.0.3.198 255.255.255.248

!

interface GigabitEthernet0/0/0.150

description VOIP

encapsulation dot1Q 150

ip address 10.0.1.254 255.255.255.0

!

interface Serial0/1/0

ip address 172.16.5.1 255.255.255.252

clock rate 2000000

!

interface Serial0/1/1

ip address 172.16.5.5 255.255.255.252

clock rate 2000000

!

interface Vlan1

no ip address

shutdown

!

router ospf 1

router-id 1.1.1.1

log-adjacency-changes

passive-interface GigabitEthernet0/0/0

network 172.16.5.4 0.0.0.3 area 0

network 172.16.5.0 0.0.0.3 area 0

network 10.0.0.0 0.255.255.255 area 0

!

ip classless

!

ip flow-export version 9

!

!

access-list 1 permit 10.0.3.0 0.0.0.63

access-list 2 permit 10.0.3.128 0.0.0.15

access-list 3 permit 10.0.2.0 0.0.0.127

access-list 3 permit 10.0.3.0 0.0.0.63

access-list 3 permit 10.0.3.128 0.0.0.15

access-list 4 permit 10.0.3.128 0.0.0.15

access-list 5 permit 10.0.3.192 0.0.0.7

access-list 6 permit 172.16.5.4 0.0.0.3

access-list 7 permit 172.16.5.0 0.0.0.3

!

no cdp run

!

!

!

!

!

!

line con 0

password cisco

logging synchronous

login

!

line aux 0

password cisco

logging synchronous

login

!

line vty 0 4

password cisco

logging synchronous

login

!

!

!

end

 

R2:

 

version 15.1

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname StaffordRouter

!

!

!

enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0

!

!

!

!

!

!

no ip cef

no ipv6 cef

!

!

!

!

license udi pid CISCO1941/K9 sn FTX1524889K-

!

!

!

!

!

!

!

!

!

!

!

spanning-tree mode pvst

!

!

!

!

!

!

interface GigabitEthernet0/0

no ip address

duplex auto

speed auto

shutdown

!

interface GigabitEthernet0/1

no ip address

duplex auto

speed auto

shutdown

!

interface Serial0/1/0

ip address 172.16.5.2 255.255.255.252

clock rate 2000000

shutdown

!

interface Serial0/1/1

ip address 172.16.5.6 255.255.255.252

!

interface Vlan1

no ip address

shutdown

!

router ospf 10

log-adjacency-changes

!

router ospf 1

router-id 2.2.2.2

log-adjacency-changes

network 172.16.5.0 0.0.0.3 area 0

network 172.16.5.4 0.0.0.3 area 0

!

ip classless

!

ip flow-export version 9

!

!

!

no cdp run

!

!

!

!

!

!

line con 0

password cisco

logging synchronous

login

!

line aux 0

password cisco

logging synchronous

login

!

line vty 0 4

password cisco

logging synchronous

login

!

!

!

end

 

R3:

 

version 15.1

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname StokeRouter

!

!

!

enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0

!

!

!

!

!

!

no ip cef

no ipv6 cef

!

!

!

!

license udi pid CISCO1941/K9 sn FTX152452RD-

!

!

!

!

!

!

!

!

!

!

!

spanning-tree mode pvst

!

!

!

!

!

!

interface GigabitEthernet0/0

no ip address

duplex auto

speed auto

shutdown

!

interface GigabitEthernet0/1

no ip address

duplex auto

speed auto

shutdown

!

interface Serial0/1/0

no ip address

clock rate 2000000

shutdown

!

interface Serial0/1/1

ip address 172.16.5.2 255.255.255.252

!

interface Vlan1

no ip address

shutdown

!

router ospf 10

router-id 3.3.3.3

log-adjacency-changes

network 172.16.5.0 0.0.0.3 area 0

network 172.16.5.4 0.0.0.3 area 0

!

ip classless

!

ip flow-export version 9

!

!

!

no cdp run

!

!

!

!

!

!

line con 0

password cisco

logging synchronous

login

!

line aux 0

password cisco

logging synchronous

login

!

line vty 0 4

password cisco

logging synchronous

login

!

!

!

end

 

Screenshot:Capture.PNG

 

Hello,

 

it appears that you are only advertising the serial links in OSPF. On RouterStone, add:

 

RouterStone(config)#router ospf 1
RouterStone(config-router)#network 10.0.0.0 0.255.255.255 area 0

Hi Georg,
I have added this to Router Stone and it still appears to not be working. Did it work for you on my environment when you made this change?

Hello,

 

what exactly is not working ? I opened your file, all routers have adjacencies, but they could only reach each other and not any pf the local network because you did not advertise the 10.0.0.0 networks.

 

What are you trying to accomplish, that is, what do you expect to see ?

Hi Georg,
I made a noob mistake and created another OSPF (10) instead of 1 :)

It works now thank you very much for your help!

try unpassive the interface , if your trying advertise 10 range

no passive-interface GigabitEthernet0/0/0