Redirect IP traffic to 2nd datacenter
Posted on 2012-04-07
I have servers and public IP addresses in 2 distant datacenters, with 100 Mbps fiber optic connectivity between them:
- DataCenter 1 with 32 public IP addresses, ISP controls the IP segment
Web Servers are here
Vyatta router here, static routing
- DataCenter 2 with 254 public IP addresses, BGP, my own routing segment
No web servers here, only routers, VPN...etc
Mikrotik RouterOS here, BGP+Static routing
Well, what I would like to do is to setup a dozen of WEB sites in DC1, but bind them to public IP addresses from DC2. Mainly for SEO optimization.
The method and performance is not important - important is only the principle, that these web sites must resolve to DC2's IP address and load themselves from DC1, where actual web server is located.