Tuesday, July 7, 2020

OSPF with redundancy

https://ibb.co/108c8Jx

I have configured GRE tunnel between all routers to each other router except those in the same network (sales 1 to sales 2 for example). I have also configured all interfaces for OSPF in all routers and did DR/BDR election with making the 1st router of each segment the DR. However, OSPF forms neighborship between Sales 2 and Main 2/Admin 2 and Main 2. Admin 2 and Sales 2 do not form a neighborship also. I have also segregated the ospf into 3 different areas being,

Area 0
Tunnel 1, Tunnel 2, Tunnel 5, Tunnel 6

Area 1

Tunnel 3, Tunnel 4, Tunnel 7, Tunnel 8

Area 2

Tunnel 9, Tunnel 11, Tunnel 10, Tunnel 12

I do not understand why this is happening

I have attached the configs

MainRouter1#sh run | section ospf

ip ospf priority 200

ip ospf priority 200

router ospf 50

router-id 1.1.1.1

log-adjacency-changes

redistribute static subnets

network 172.16.1.192 0.0.0.3 area 0

network 172.16.1.196 0.0.0.3 area 0

network 172.16.1.200 0.0.0.3 area 1

network 172.16.1.204 0.0.0.3 area 1

MainRouter1#sh run | section ospf

ip ospf priority 200

ip ospf priority 200

router ospf 50

router-id 1.1.1.1

log-adjacency-changes

redistribute static subnets

network 172.16.1.192 0.0.0.3 area 0

network 172.16.1.196 0.0.0.3 area 0

network 172.16.1.200 0.0.0.3 area 1

network 172.16.1.204 0.0.0.3 area 1

MainRouter2#show run | section ospf

router ospf 50

router-id 2.2.2.2

log-adjacency-changes

redistribute static subnets

network 172.16.1.208 0.0.0.3 area 0

network 172.16.1.212 0.0.0.3 area 0

network 172.16.1.216 0.0.0.3 area 1

network 172.16.1.220 0.0.0.3 area 1

MainRouter2#show run | section interface

interface Tunnel5

ip address 172.16.1.209 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.18

interface Tunnel6

ip address 172.16.1.213 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.19

interface Tunnel7

ip address 172.16.1.217 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.34

interface Tunnel8

ip address 172.16.1.221 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.35

interface GigabitEthernet0/0

ip address 172.16.1.179 255.255.255.248

duplex auto

speed auto

standby version 2

standby 1 ip 172.16.1.177

standby 1 preempt

interface GigabitEthernet0/1

ip address 172.16.1.188 255.255.255.248

duplex auto

speed auto

standby version 2

standby 2 ip 172.16.1.185

standby 2 priority 110

standby 2 preempt

interface GigabitEthernet0/0/0

ip address 200.200.100.6 255.255.255.240

interface FastEthernet0/1/0

switchport mode access

switchport nonegotiate

interface FastEthernet0/1/1

switchport mode access

switchport nonegotiate

interface FastEthernet0/1/2

switchport mode access

switchport nonegotiate

interface FastEthernet0/1/3

switchport mode access

switchport nonegotiate

interface Vlan1

no ip address

shutdown

AdminRouter1#show run | section ospf

ip ospf priority 200

router ospf 50

router-id 5.5.5.5

log-adjacency-changes

redistribute static subnets

network 172.16.1.200 0.0.0.3 area 1

network 172.16.1.216 0.0.0.3 area 1

network 172.16.1.96 0.0.0.31 area 1

network 172.16.1.224 0.0.0.3 area 2

network 172.16.1.232 0.0.0.3 area 2

AdminRouter1#show run | section interface

interface Loopback1

ip address 172.16.1.197 255.255.255.248

interface Tunnel3

ip address 172.16.1.202 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.5

interface Tunnel7

ip address 172.16.1.218 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.6

interface Tunnel9

ip address 172.16.1.226 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.18

interface Tunnel11

ip address 172.16.1.234 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.19

interface GigabitEthernet0/0

ip address 172.16.1.98 255.255.255.224

ip ospf priority 200

duplex auto

speed auto

standby version 2

standby 1 ip 172.16.1.97

standby 1 preempt

interface GigabitEthernet0/1

no ip address

duplex auto

speed auto

shutdown

interface GigabitEthernet0/0/0

ip address 200.200.100.34 255.255.255.240

interface Vlan1

no ip address

shutdown

AdminRouter2#show run | section ospf

router ospf 50

router-id 6.6.6.6

log-adjacency-changes

network 172.16.1.204 0.0.0.3 area 1

network 172.16.1.220 0.0.0.3 area 1

network 172.16.1.96 0.0.0.31 area 1

network 172.16.1.228 0.0.0.3 area 2

network 172.16.1.236 0.0.0.3 area 2

AdminRouter2#show run | section interface

interface Loopback1

ip address 172.16.1.178 255.255.255.248

interface Tunnel4

ip address 172.16.1.206 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.5

interface Tunnel8

ip address 172.16.1.222 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.6

interface Tunnel10

ip address 172.16.1.230 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.18

interface Tunnel12

ip address 172.16.1.238 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.19

interface GigabitEthernet0/0

no ip address

duplex auto

speed auto

shutdown

interface GigabitEthernet0/1

ip address 172.16.1.99 255.255.255.224

duplex auto

speed auto

standby version 2

standby 1 ip 172.16.1.97

standby 1 priority 110

standby 1 preempt

interface GigabitEthernet0/0/0

ip address 200.200.100.35 255.255.255.240

interface Serial0/1/0

no ip address

clock rate 2000000

shutdown

interface Serial0/1/1

no ip address

clock rate 2000000

shutdown

interface Vlan1

no ip address

shutdown

SalesRouter1#show run | section ospf

ip ospf priority 200

router ospf 50

router-id 3.3.3.3

log-adjacency-changes

network 172.16.1.192 0.0.0.3 area 0

network 172.16.1.208 0.0.0.3 area 0

network 172.16.1.128 0.0.0.15 area 0

network 172.16.1.224 0.0.0.3 area 2

network 172.16.1.228 0.0.0.3 area 2

SalesRouter1#show run | section interface

interface Tunnel1

ip address 172.16.1.194 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.5

interface Tunnel5

ip address 172.16.1.210 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.6

interface Tunnel9

ip address 172.16.1.225 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.34

interface Tunnel10

ip address 172.16.1.229 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.35

interface GigabitEthernet0/0

ip address 172.16.1.130 255.255.255.240

ip ospf priority 200

duplex auto

speed auto

standby version 2

standby 1 ip 172.16.1.129

standby 1 priority 110

standby 1 preempt

interface GigabitEthernet0/1

no ip address

duplex auto

speed auto

shutdown

interface GigabitEthernet0/0/0

ip address 200.200.100.18 255.255.255.240

interface Vlan1

no ip address

shutdown

SalesRouter2#show run | section ospf

router ospf 50

router-id 4.4.4.4

log-adjacency-changes

network 172.16.1.196 0.0.0.3 area 0

network 172.16.1.212 0.0.0.3 area 0

network 172.16.1.128 0.0.0.15 area 0

network 172.16.1.232 0.0.0.3 area 2

network 172.16.1.236 0.0.0.3 area 2

SalesRouter2#show run | section interface

interface Tunnel2

ip address 172.16.1.198 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.5

interface Tunnel6

ip address 172.16.1.214 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.6

interface Tunnel11

ip address 172.16.1.233 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.2

interface Tunnel12

ip address 172.16.1.237 255.255.255.252

mtu 1476

tunnel source GigabitEthernet0/0/0

tunnel destination 200.200.100.3

interface GigabitEthernet0/0

no ip address

duplex auto

speed auto

shutdown

interface GigabitEthernet0/1

ip address 172.16.1.131 255.255.255.240

duplex auto

speed auto

standby version 2

standby 1 ip 172.16.1.129

interface GigabitEthernet0/0/0

ip address 200.200.100.19 255.255.255.240

interface Vlan1

no ip address

shutdown



No comments:

Post a Comment