Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to give my VMware based virtual machines IP addresses so that they are recognized over internet(such that they act as webservers). I tried by setting the bridged mode enabled under Network settings of the VMs but that lead to internet not at all working in the VM. DHCP is enabled as I checked it through ipconfig/all on my host computer(Win7).

How do I make these VMware instances available to the internet with fixed IP addresses?

share|improve this question
What happens when you assign static IPs? – Darius Feb 22 '12 at 16:40
I dont know how to assign static IPs & where to do that..(!?) – user01 Feb 22 '12 at 16:46
If Win 7 is your guest OS, you can go to Control Panel\All Control Panel Items\Network and Sharing Center and click on Local Area Connection then Properties and then you want to check IPv4 and assign IP there. – Darius Feb 22 '12 at 16:53
IPv4 is already checked over there.. & how do I assign the IPs over there? do I need to assign IPs for host as well as the VMs ? how do I do that ? – user01 Feb 22 '12 at 17:00
Here is a guide from "How To Geek" on how to do that How to Assign a Static IP Address in XP, Vista, or Windows 7 I would still like for you to try to answer all the questions that mastashale57 mentioned. – Darius Feb 22 '12 at 19:53

You'll need to do a variety of steps for troubleshooting:

  • Did the VM's get the right DHCP addresses?
  • Are you able to ping the gateway?
  • Are you able to ping the DNS server(s)?
    • If so, have you tried to use nslookup?
  • Can you ping/connect other machines on the network?
  • Did you install any software that would prevent network access?
  • Are your guest machines Win7? Did you configure the type of network you're on?

Just a few things that popped into my head. Please comment back with any pertinent details so we can help further.

share|improve this answer
thanks.. following suggestions by Darius, after assigning static IP address I am able to ping from host to guest & vice versa as I think I should now be able to configure this VM(ubuntu server) as a webserver that can respond to requests by any computer on internet, right – user01 Feb 22 '12 at 20:17
now I am able to ping other VMs, host, DNS & gateway! – user01 Feb 22 '12 at 20:19
Could you please tell me how do I get a public IP for my VMs so that it could be configured on my website's DNS & VMs could be used as webserver? – user01 Feb 22 '12 at 20:45
Chances are, you have a public address from your ISP, albeit a dynamic one. Sign up for – Carlos Feb 22 '12 at 20:58
Well, here's the deal, in the off-chance that your Dynamic IP address from your ISP changes/expires/is-refreshed, then you'll have to manually refresh all your DNS records which can be a hassle and takes at least 24 hours to propagate throughout the Net. With a DynDNS service, even if your DHCP lease expires and you're given a new one, DynDNS allows you to maintain connectivity to your exposed services without missing a beat. You don't have to sign up for those services to host something but they're surely convenient. – Carlos Feb 22 '12 at 21:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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