cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2158
Views
0
Helpful
16
Replies

OSPF LAB and odd ABR behavior

steeilers
Level 1
Level 1

All,

 

Thanks in advance,

 

I am implementing multi area OSPF in packet tracer and I'm getting weird problems. Please see attached topology image. My area 5 AVVChandler MX84 router which is the area 5 router works just fine, it gets all routes for all networks.

 

AVVCH-MX84#show ip route

Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

 

Gateway of last resort is not set

 

10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks

O IA 10.12.0.0/24 [110/3] via 10.12.8.2, 00:06:05, GigabitEthernet0/2

C 10.12.8.0/24 is directly connected, GigabitEthernet0/2

L 10.12.8.1/32 is directly connected, GigabitEthernet0/2

O IA 10.24.0.0/24 [110/3] via 10.12.8.2, 00:06:05, GigabitEthernet0/2

O IA 10.160.213.0/24 [110/3] via 10.12.8.2, 00:06:05, GigabitEthernet0/2

O IA 10.252.0.0/24 [110/2] via 10.12.8.2, 00:06:25, GigabitEthernet0/2

O IA 192.168.128.0/24 [110/3] via 10.12.8.2, 00:06:05, GigabitEthernet0/2

 

My area 4 MX84 for North Phoenix is working fine generating all routes

 

When I look at the 

:show ip ospf database I can see they is getting all the routes from the ABR.

 

After double, tripple, and quadruple checking the ABR settings on all my ABR and all my inter-area routers all the config is the same

 

Now for areas 1, 2, 3 They populate one route from their ABR, which is the area 0 backbone network

 

AVVSurprise example from mx84

AVVSur-MX84#show ip route

Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

 

Gateway of last resort is not set

 

10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks

C 10.12.0.0/24 is directly connected, GigabitEthernet0/2

L 10.12.0.5/32 is directly connected, GigabitEthernet0/2

O IA 10.252.0.0/24 [110/2] via 10.12.0.6, 00:07:55, GigabitEthernet0/2

 

You can see the neighbor for AVV Surprise MX84 

AVVSur-MX84#show ip ospf neighbor

 

 

Neighbor ID Pri State Dead Time Address Interface

5.5.5.5 1 FULL/BDR 00:00:31 10.12.0.6 GigabitEthernet0/2

 

you can see here it database isn't getting all the routes from it's ABR

AVVSur-MX84#show ip ospf database

OSPF Router with ID (6.6.6.6) (Process ID 1)

 

Router Link States (Area 3)

 

Link ID ADV Router Age Seq# Checksum Link count

6.6.6.6 6.6.6.6 699 0x80000002 0x003eaf 1

5.5.5.5 5.5.5.5 699 0x80000002 0x009b58 1

 

Net Link States (Area 3)

Link ID ADV Router Age Seq# Checksum

10.12.0.5 6.6.6.6 699 0x80000001 0x000119

 

Summary Net Link States (Area 3)

Link ID ADV Router Age Seq# Checksum

10.252.0.0 5.5.5.5 740 0x80000001 0x009ea4

 

If you check his ABR AVV Surprise eLAN you see he has all the routes, but he isn't sharing

AVVSurprise-eLAN#show ip ospf database

OSPF Router with ID (5.5.5.5) (Process ID 1)

 

Router Link States (Area 0)

 

Link ID ADV Router Age Seq# Checksum Link count

5.5.5.5 5.5.5.5 784 0x80000003 0x007758 1

9.9.9.9 9.9.9.9 784 0x80000003 0x00545a 1

7.7.7.7 7.7.7.7 778 0x80000003 0x00bce0 1

3.3.3.3 3.3.3.3 774 0x80000004 0x00501c 1

1.1.1.1 1.1.1.1 774 0x80000002 0x0081cd 1

 

Net Link States (Area 0)

Link ID ADV Router Age Seq# Checksum

10.252.0.166 9.9.9.9 774 0x80000004 0x0072f2

 

Summary Net Link States (Area 0)

Link ID ADV Router Age Seq# Checksum

10.12.0.0 5.5.5.5 814 0x80000001 0x00e94a

10.12.8.0 9.9.9.9 819 0x80000001 0x001903

192.168.128.0 7.7.7.7 819 0x80000001 0x0089ce

10.160.213.0 1.1.1.1 819 0x80000001 0x003b9e

10.24.0.0 3.3.3.3 820 0x80000001 0x00959a

 

Router Link States (Area 3)

 

Link ID ADV Router Age Seq# Checksum Link count

5.5.5.5 5.5.5.5 779 0x80000002 0x009b58 1

6.6.6.6 6.6.6.6 779 0x80000002 0x003eaf 1

 

Net Link States (Area 3)

Link ID ADV Router Age Seq# Checksum

10.12.0.5 6.6.6.6 779 0x80000001 0x000119

 

Summary Net Link States (Area 3)

Link ID ADV Router Age Seq# Checksum

10.252.0.0 5.5.5.5 820 0x80000001 0x009ea4

 

AVV Surprise eLAN neighbors

Neighbor ID Pri State Dead Time Address Interface

9.9.9.9 1 FULL/DR 00:00:37 10.252.0.166 GigabitEthernet0/0

1.1.1.1 1 2WAY/DROTHER 00:00:37 10.252.0.71 GigabitEthernet0/0

7.7.7.7 1 FULL/BDR 00:00:37 10.252.0.199 GigabitEthernet0/0

3.3.3.3 1 2WAY/DROTHER 00:00:37 10.252.0.24 GigabitEthernet0/0

6.6.6.6 1 FULL/DR 00:00:37 10.12.0.5 GigabitEthernet0/1

AVVSurprise-eLAN#

 

AVV Surprise elan config for verification 

interface GigabitEthernet0/0

ip address 10.252.0.165 255.255.255.0

duplex auto

speed auto

!

interface GigabitEthernet0/1

ip address 10.12.0.6 255.255.255.0

duplex auto

speed auto

 

router ospf 1

router-id 5.5.5.5

log-adjacency-changes

network 10.252.0.0 0.0.0.255 area 0

network 10.12.0.0 0.0.0.255 area 3

 

AVV Surprise MX84 info for verification 

 

interface GigabitEthernet0/2

ip address 10.12.0.5 255.255.255.0

duplex auto

speed auto

 

router ospf 1

router-id 6.6.6.6

log-adjacency-changes

network 10.12.0.0 0.0.0.255 area 3

 

Like i said I have double, tripple, and quadruplely checked my config, and it matches with the areas that are working. Kinda going crazy, I feel like packet tracer is acting buggy, please ignore the ASAs they are phase 2 for setting up failover VPN tunnels that are statically set with higher admin distance than ospf for alternate route if elan goes down. Anyone have any thoughts? Sorry for information overload.

 

I haven't confirmed 100% but when i reload the save i feel the working areas change, and the ones not working correctly change, will need to reload to see if something is weird with packet tracer, thanks again,

 

Steven

 

 

 

16 Replies 16

Hello,

the DR and BDR election is not preemptive, which means that it all depends on which router comes online first, that is likely why your router ID approach did not work as intended. Since you are studying that stuff, I would do the following: make sure routers with ID 1.1.1.1 and 3.3.3.3 are online first, then boot the other routers. In theory, they all should have 1.1.1.1 as DR and 3.3.3.3 as BDR after that...

Ya, i actually thought my router-id were causing the problem today while i was waiting for your reply i did a second lab that ended up working since I made my backbone router id 15.15.15.15 and set it up first. Attached is .pkt changed to .jpg if you want to see it,

Review Cisco Networking for a $25 gift card