I'm running an Ubuntu guest OS on my Windows 7 laptop. Currently, I have it set up for bridged networking.

The guest is os is configured for a static ip of, which depending on the network I'm connected to, may not be available. When I want to view my development work I hit that up in my web browser.

I'm really looking for the following scenario:

1) My guest OS ip address stays constant. 2) I can access my guest os even if I don't have an internet connection, or a lan/router. 3) I can share files with my guest/host.

How does one accomplish this using VMware Workstation?


Add a host only network adapter to your virtual machine and assign a fixed IP to that interface. That will give your VM and host machine there own private network where they can have fixed IP addresses and it will work regardless of any external network connection.

You will still keep your exiting bridged connection for Internet access; you VM will have two network adapters - one for the internal host only net work and one for the bridged network.


Change the Guest config to NAT. Then it'll never have to change IP as it will always be on your laptop's private NAT network and it won't matter if the laptop is on a LAN or not. When your laptop has internet connection, the guest will too.

I should mention, though, that your laptop (the host) will be the only one that can browse sites on your guest (due to the nature of the NAT).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.