0

How do I configure a VM instance to be accessible via IP address anywhere, right now the IP address of the VM is only accessible on my local server machine via the local IP assigned by VMware. E.g.: I want to access the VM from any machine on my local network http://VMINSTANCEIPADDRESS:80

4

Go to VMware Workstation and select the virtual machine you wish to make changes to.

With the virtual machine selected go to > Edit virtual machine settings (a new window will open)

On this window select Network Adapter > under Network Connection select > Bridged.

What Bridged does is connect the vm directly to the network

3
  • 1
    What is the "Replicate physical network connection state" check box?
    – Daniel
    Sep 7 '09 at 19:19
  • 1
    Replicate the physical network connection state for mobile users — If you use virtual machines on a laptop or other mobile device, enable this new link state propagation feature if you use bridged network connections (not NAT). As you move from one wired or wireless network to another, the IP address is automatically renewed. Sep 7 '09 at 23:20
  • @LuisVentura: I'm trying to configure exactly as you suggested but after switching from the default NAT to bridged mode, the internet stops working in VM instances Feb 21 '12 at 9:53
1

If you set the networking connector to use the "bridged" setting and then restart the networking in the host (rebooting should do this), then the IP assigned to the VM will come from your router (assuming it is using DHCP), not from within VMWare, and the address should be routable from anywhere in the local network. If you are using static IP, set the VMWare network connector to bridged and assign the VM a static IP as you would normally (varies by OS), reboot and proceed as above.

1
  • After switching from the default NAT to bridged mode, the internet stops working in VM instances Feb 21 '12 at 9:54

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.