I am currently announcing 8 /24 Subnets over BGP. I am planning to move our servers to a other datacenter, but i want to keep all IPs.
Is it possible that i announce the prefixes on 2 locations and tell that traffic from IP 220.127.116.11 should go to location A and traffic from IP 18.104.22.168 should go to location B?
There is no direct connection between the 2 datacenters, no traffic exchanger is possible.
Location A isnt stable, there are nearly everyday network problems. Location B is stable and should not get disturbed because of location A.
I know i can announce the prefix on multiple locations, but then the shorter path will be used. I need a way to tell other routers that the IP X is on location A and IP Y is on location B.
What would be the best way to perform this using BGP?