How Do I migrate vmware servers between sites that are on two IP subnets that are routed

I have multiple buildings all connected with a private Fiber Network at gigabit speeds.  I have two vmware hosts and storage at one building and two wmware hosts and storage at another building.  Both buildings are on different subnets 192.168.0.0 and 192.168.1.0.  Both sites have communication with sonicwall firewalls/routers.  All storage is accessable to all hosts.  How do I migrate a vm from building A to Building B while still maintaining the same static ip address?
smfmediaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
smfmediaAuthor Commented:
Are all hosts managed by vCenter?  They are all managed by the same vCenter

The static IP address of the VM, is that going to work at Building B?  That is my question.  At this point NO it will not work.  The Subnet at Building A is 192.168.0.x and at Building B 192.168.1.x  Without the change I am looking for the IP will not work in another building and that is my problem.  How do I get that to work?

Do you mean migrate to a host or host and storage?  Migrate a vm from a host at Building A to a host at Building B

vMotion or Storage vMotion.  Both but that is not the issue.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
This is more a networking question rather than related to vmware migration.

You have the migration sorted as you can migrate the VM from Host at Building A to Host at Building B, or change storage, with vMotion and Storage vMotion.

If this VM is on the same subnet as the host, yes it will work because you already have network route from vCenter Building A Network to Building B Network.

If the VM is on another network you will need to extend this network to Building B, and connect this network to hosts at Building B, Create new Virtual Machine Portgroup, vSwitch, add new NiC etc

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.