07-13-2013 02:37 AM - edited 03-04-2019 08:26 PM
Hi,
Our main data center running with OSPF routing protocol with Area 0 configured and 7 remote sites are connected to that. This main router is ABR.
The requirment is that if the main router failed (Disaster )then how can we move the Area 0 to the DR site and make all the remote sites reconect to the DR Router.
07-13-2013 05:59 AM
You can just put the DR router in area 0 and make it an ABR. Make sure also that the cost to go to the DR is higher than the primary site.
Regards
07-13-2013 11:39 AM
Thanks Harold,
Can u provide me sample scenarios with configuration.
07-13-2013 03:40 PM
Have a look at this diagram. Gi0/0 has a higher priority
07-15-2013 04:59 AM
U meant to say DR routers should have the same Mirrored config as HQ and all branches routers with the link connected to the DR ospf cost should be higher than the one connected to the HQ as your diagrams explains.
In our setup core switch in HQ is 6500 VSS with ABR config. Area 0 extends to Border ISP router . Border ISP router WAN port configured with multiple sub-interfaces with each goes to different Branches.
All the branch link configred as NSSA . see the core config
Any one in HQ failed I want all traffics goes to DR.
Core switch
router ospf 1
log-adjacency-changes
area 6 nssa no-summary
passive-interface Vlan6
network 20.3.1.1 0.0.0.0 area 1
network 20.3.2.1 0.0.0.0 area 1
network 20.3.22.1 0.0.0.0 area 1
network 20.4.1.1 0.0.0.0 area 0
network 20.5.1.1 0.0.0.0 area 1
network 20.6.1.2 0.0.0.0 area 1
network 20.7.1.1 0.0.0.0 area 1
network 20.7.2.1 0.0.0.0 area 1
network 20.7.3.1 0.0.0.0 area 1
network 20.8.21.1 0.0.0.0 area 6
network 20.9.1.1 0.0.0.0 area 1
network 150.16.1.3 0.0.0.0 area 1
network 150.16.2.1 0.0.0.0 area 1
network 150.17.0.1 0.0.0.0 area 0
!
HQ ISP router
router ospf 1
area 2 nssa no-summary
area 3 nssa no-summary
area 4 nssa no-summary
area 6 nssa no-summary
area 7 nssa no-summary
area 8 nssa no-summary
area 9 nssa no-summary
area 10 nssa no-summary
area 41 nssa no-summary
area 42 nssa no-summary
network 20.4.1.3 0.0.0.0 area 0
network 20.8.3.1 0.0.0.0 area 10
network 20.8.22.1 0.0.0.0 area 2
network 20.8.23.1 0.0.0.0 area 3
network 20.8.24.1 0.0.0.0 area 4
network 20.8.25.1 0.0.0.0 area 0
network 20.8.26.1 0.0.0.0 area 6
network 20.8.27.1 0.0.0.0 area 7
network 20.8.28.1 0.0.0.0 area 8
network 20.8.29.1 0.0.0.0 area 9
network 20.8.41.1 0.0.0.0 area 41
network 20.8.42.1 0.0.0.0 area 42
network 20.8.210.1 0.0.0.0 area 193
network 150.17.0.98 0.0.0.0 area 0
neighbor 20.8.25.2
neighbor 20.8.22.2
neighbor 20.8.23.2
neighbor 20.8.24.2
neighbor 20.8.26.2
neighbor 20.8.27.2
neighbor 20.8.28.2
neighbor 20.8.29.2
neighbor 20.8.41.2
neighbor 20.8.42.2
----------------------------
DR Router
router ospf 1
area 2 nssa no-summary
area 3 nssa no-summary
area 4 nssa no-summary
area 5 nssa no-summary
area 6 nssa no-summary
area 7 nssa no-summary
area 8 nssa no-summary
area 9 nssa no-summary
redistribute connected subnets
redistribute static subnets
network 20.8.12.1 0.0.0.0 area 2
network 20.8.13.1 0.0.0.0 area 3
network 20.8.14.1 0.0.0.0 area 4
network 20.8.15.0 0.0.0.255 area 0
network 20.8.17.1 0.0.0.0 area 7
network 20.8.18.1 0.0.0.0 area 8
network 20.8.19.1 0.0.0.0 area 9
network 20.26.2.20 0.0.0.0 area 0
network 20.66.0.1 0.0.0.0 area 5
neighbor 20.8.15.1
neighbor 20.8.12.2
neighbor 20.8.13.2
neighbor 20.8.14.2
neighbor 20.8.17.2
neighbor 20.8.18.2
neighbor 20.8.19.2
neighbor 20.8.16.2
!
Branch router
router ospf 1
log-adjacency-changes
area 8 nssa
redistribute static subnets
network 20.8.18.2 0.0.0.0 area 8
network 20.8.28.2 0.0.0.0 area 8
network 20.103.200.1 0.0.0.0 area 8
network 20.103.202.1 0.0.0.0 area 8
network 20.103.203.1 0.0.0.0 area 8
network 20.106.0.254 0.0.0.0 area 8
network 272.17.0.100 0.0.0.0 area 8
neighbor 20.8.28.1
neighbor 20.8.18.1
Branch router 2 interfaces connected to 2 isps
interface GigabitEthernet0/0
description Link ISP1
bandwidth 1000
ip address 20.8.18.2 255.255.255.0
ip flow monitor test-flow input
ip flow monitor test-flow output
ip ospf network point-to-multipoint non-broadcast
duplex auto
speed auto
priority-group 10
crypto map GETVPN_MAP
!
interface FastEthernet0/1/0
bandwidth 2000
ip address 20.8.28.2 255.255.255.0
ip flow monitor test-flow input
ip flow monitor test-flow output
ip ospf network point-to-multipoint non-broadcast
duplex auto
speed auto
crypto map GETVPN_MAP
07-15-2013 05:31 AM
It will be better if you can post rough topology for better understanding and explain as per topology what exactly is required.
07-16-2013 04:03 AM
HQ data center switch 6500 VSS and 2 routers each one from different ISP connected to their branch sites. If HQ router or switch failed they need to redirect the traffic to the DR site that also has the same switch without vss and 2 routers. Now we have to manipulate it with ospf for the redundnacy. Pls can u give the correct ospf config.
07-16-2013 11:21 AM
Yes you have to have same config like HQ on DR and adjust the cost on the branch side. I think on branch router there will be 4 subinterfaces, 2 for HQ & 2 for DR. Adjust the cost assuming that branch has 4 ways to reach particualr prefix.
To configure cost:
Branch(config-if)#ip ospf cost ?
<1-65535> Cost
Regds,
Ankit Gupta
07-16-2013 09:59 PM
can any one tell me plz how we convert eigrp into ospf without route redistribution........
waitng your rply
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide