BGP - Same IP Segments in 2 DC

I have 2 DC. I want to have the same IP Segment in both the locations.
For ex the segment is 10.10.10.0/24
Both the DC will be having this segment.
The primary servers in the primary DC will have IP 10.10.10.1
The secondary servers in the backup DC will also have IP 10.10.10.2
In case my primary server is down the users will be able to access the server in backup DC with out changing the IP Address.

Let me know can this be achieved via BGP as routing protocol.
Let me know how to achieve this.
LVL 1
SrikantRajeevAsked:
Who is Participating?
 
SrikantRajeevConnect With a Mentor Author Commented:
Will HSRP works over the WAN between 2 DC in different locations
0
 
Sandeep GuptaConsultantCommented:
first thing BGP is not a routing protocol.

You can simply do HSRP..I am giving you an example

Primary DC LAN interface

interface <<LAN>>
 description primary DC LAN
 ip address 10.10.10.1 255.255.255.0
 no ip proxy-arp
 standby 0 ip 10.10.10.3
 standby 0 priority 200
 standby 0 preempt
 standby 0 track <<Primary DC WAN interface>> decrement 20
 no shut

Secondary DC LAN interface

!
interface <<LAN>>
 description Secandary DC LAN
 ip address 10.10.10.2 255.255.255.0
 standby 0 ip 10.10.10.3
 standby 0 preempt
 no snmp trap link-status
 no shut
!
note: I took 10.10.10.3 as HSRP IP. You can take any IP from same subnet as HSRP IP but do not use it anywhere else.
0
 
Sandeep GuptaConsultantCommented:
nope...
0
 
SrikantRajeevAuthor Commented:
i believe Cisco OTV has this feature
0
 
SrikantRajeevAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.