2 Interfaces with different IP and gateways; clash?
Hi guys,
I am trying to migrate my webservers from one ISP to another, hence a need to change the IP. As I have sufficient network ports, I went ahead to set eth1 as the new IP, with the new gateway specified in the ifcfg-eth1 file.
The ifcfg-eth0 file contains the current ISP information.
eth0 is connected to a router, which gets its routing table via BGP from the ISP.
eth1 is connected directly to the new ISP.
Interestingly, once I configured appropriately, even before DNS change, my site cannot be accessed on the original IP (eth0). But if I configure my host file to direct the domain to the new IP, it will load.
Somehow, after inserting eth1 settings, eth0 will stop responding.
I have done this kind of migration before, and it went fine.
Not sure if I did anything wrong this time, but I was wondering if the BGP is an issue? First time I am dealing with BGP.
Also.. I tried specifying 2 gateways, one in each ifcfg file... though even without it I have no luck.
You guys any idea? Trying to do a migration as transparent as possible.
|