troubleshooting Question

Disable networking for suspended VM before starting it

Avatar of Lars007
Lars007 asked on
NetworkingLinux DistributionsVMware
8 Comments1 Solution1055 ViewsLast Modified:

I have a SCO OpenServer 5.0.7 server running as a guest OS under VMware Server 1.0.10.  There are no vmware-tools for SCO 5 (except for the "V versions," which I do not have).  The host system is running CentOS 5.4

Every night, I have a perl script that suspends the VM and copies the VM files to a backup / test server and then starts up the VM again on the live server.

The problem is that I need a way to start up the suspended VM on the backup / test server without interfering with the live server.  Since they both have the same IP address, I cannot just start up the VM on the backup server, and, since the VM is suspended, I cannot change from Bridged to Host-only networking.

I am considering using IPTables on the host to accomplish this by blocking all in- and outgoing traffic to the IP of the VM, but I am not sure if this will prevent the VM from responding to ARP requests, etc.  

Preferably, I would like to turn off all networking for the VM  using vmware-cmd or similar, but I am not very knowledgeable in VMware.

Any help on this would be greatly appreciated.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros