Link to home
Start Free TrialLog in
Avatar of SrikantRajeev
SrikantRajeev

asked on

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.
Avatar of Sandeep Gupta
Sandeep Gupta
Flag of India image

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.
ASKER CERTIFIED SOLUTION
Avatar of SrikantRajeev
SrikantRajeev

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
nope...
Avatar of SrikantRajeev
SrikantRajeev

ASKER

i believe Cisco OTV has this feature
Thanks