cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
726
Views
15
Helpful
11
Replies

Cannot get ospf to come up :(

Gabe215
Level 1
Level 1

Basically i have a bunch of hosts in diff vlans hanging off a switch going to a router then to another router and the same thing on the opposite end. 

Host......switch.......router........router........switch....host

Im doing some basic Vlan familiarization but cannot get my 2 routers talking via ospf  

attached is the zip file of the pkz........someone help and tell me what im doing wrong. 

i got the vlans doing the interrouting stuff on one side and the end goal is to get them pinging across the routers to the other vlans. 

attached is the .pkt

thanks a bazillion

11 Replies 11

chrihussey
VIP Alumni
VIP Alumni

Couldn't read the packet capture for some reason. Regardless, it would be best to post the router configs as that would make it a lot easier to determine what is going on.

What do you mean couldnt read the packet capture? Did the .pkt not pop up? its using 7.0 pt 

Suppose to look something like this

Hello,

I opened your .pkt file. Paul Driver was right. You need to use a cross-connect (4th from the left, the black dotted line) to connect both interfaces. Once I did that, the neighbors came up.

Thanks gpauwen! I totally forgot to check the physical layer. Great catch!

interface GigabitEthernet0/0

ip address 192.168.1.1 255.0.0.0

duplex auto

speed auto

!

interface GigabitEthernet0/1

no ip address

duplex auto

speed auto

!

interface GigabitEthernet0/1.10

encapsulation dot1Q 10

ip address 10.0.0.1 255.0.0.0

!

interface GigabitEthernet0/1.20

encapsulation dot1Q 20

ip address 20.0.0.1 255.0.0.0

!

interface GigabitEthernet0/1.30

encapsulation dot1Q 30

ip address 30.0.0.1 255.0.0.0

!

interface GigabitEthernet0/1.40

encapsulation dot1Q 40

ip address 40.0.0.1 255.0.0.0

!

interface GigabitEthernet0/2

no ip address

duplex auto

speed auto

shutdown

!

interface Vlan1

no ip address

shutdown

!

router ospf 1

log-adjacency-changes

network 192.0.0.0 0.255.255.255 area 0

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

interface GigabitEthernet0/0

no ip address

duplex auto

speed auto

!

interface GigabitEthernet0/0.10

encapsulation dot1Q 10

ip address 10.0.0.1 255.0.0.0

!

interface GigabitEthernet0/0.20

encapsulation dot1Q 20

ip address 20.0.0.1 255.0.0.0

!

interface GigabitEthernet0/0.30

encapsulation dot1Q 30

ip address 30.0.0.1 255.0.0.0

!

interface GigabitEthernet0/0.40

encapsulation dot1Q 40

ip address 40.0.0.1 255.0.0.0

!

interface GigabitEthernet0/1

ip address 192.168.1.2 255.0.0.0

duplex auto

speed auto

!

interface GigabitEthernet0/2

no ip address

duplex auto

speed auto

shutdown

!

interface Vlan1

no ip address

shutdown

!

router ospf 1

log-adjacency-changes

network 192.0.0.0 0.255.255.255 area 0

1- Are OSPF neighbors established between the routers? (sh ip ospf nei)

2- You cannot have the same networks on both sides of a L3 link. Meaning you cannot have the 10, 20, 30 & 40 networks behind R0 and R1. Change the networks behind R1 to 50, 60, 70 & 80 for this scenario.

3- You need to add these networks into the OSPF configuration so the routers know to advertise them to each other:

RO:

router ospf 1

network 10.0.0.0 0.255.255.255 area 0

network 20.0.0.0 0.255.255.255 area 0

network 30.0.0.0 0.255.255.255 area 0

network 40.0.0.0 0.255.255.255 area 0

R1:

router ospf 1

network 50.0.0.0 0.255.255.255 area 0

network 60.0.0.0 0.255.255.255 area 0

network 70.0.0.0 0.255.255.255 area 0

network 80.0.0.0 0.255.255.255 area 0

Yep youre right. Good catch! Wow im loving these forums. Keep doing what youre doing and school us daily! 

Hello

Is this in a lab environment?

Note: A physical RTR to RTR connection will require a crossover cable to be attached between each device

Once you have done that on both rtrs configure the interface addressing and then enable basic ospf

router ospf1
network 0.0.0.0 0.0.0.0 area 0

res
Paul


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

Grrrr and i was racking my brain why the darn thing wouldnt come up. Seems my ip addressing needs a bit of work also. 

Thanks man. Good catch. You da man!

Hello

please mark your post as answered if applicable so it may be able to assist others in the future 

res

paul


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
Review Cisco Networking for a $25 gift card