7 posts in this topic

Hello!

 

I would like ask, since I'm pretty unfamiliar with the VMware Player 5. I just injected a virtual machine (.vmdk), with Debian 7 & NGINX, PHP and fastCGI running on it. I want to test out some websites, etc on this virtual server. Currently I have it bridged to the host, and my question is how can I access pages served by this virtual web server on the host (Win7)?

 

I think the main problem is that I don't know VMware works. Is there any settings, config which I missed?

 

Thanks in advance.

 

PS: at the moment of screenshot ETH was turned of, due to I know know, NAT or bridges is the proper solution.

post-121358-0-75086100-1393338258.png

Share this post


Link to post
Share on other sites

If it was bridged to your host then your VM network interface should have an IP on your hosts network.. From what you show there is no IP address on the VMs eth0 - so no your not going to be able to access anything on that vm over a network.

 

BTW - something I never understand why would you be using player 5 - 6 has been out for quite some time.  Its not like it not free and you don't want to pay for the upgrade ;)

1 person likes this

Share this post


Link to post
Share on other sites

If it was bridged to your host then your VM network interface should have an IP on your hosts network.. From what you show there is no IP address on the VMs eth0 - so no your not going to be able to access anything on that vm over a network.

 

BTW - something I never understand why would you be using player 5 - 6 has been out for quite some time.  Its not like it not free and you don't want to pay for the upgrade ;)

 

Ah, so bridged is the answer. But sadly my network does not allow bridged VM-s, so this not possible. Sadly, while I messed around yesterday I somehow figured this out, coz with bridged I get dropped from my network. :(

 

BTW - I'm not using VMware Player that often to be honest, so yeah, installed it more then 1 years ago, then 5 was the newest version, and since the update function is blocked by my proxy service. But to be asking the right questions: Is 6 better then 5?

Share this post


Link to post
Share on other sites

Ah, so bridged is the answer. But sadly my network does not allow bridged VM-s, so this not possible. Sadly, while I messed around yesterday I somehow figured this out, coz with bridged I get dropped from my network. :(

 

BTW - I'm not using VMware Player that often to be honest, so yeah, installed it more then 1 years ago, then 5 was the newest version, and since the update function is blocked by my proxy service. But to be asking the right questions: Is 6 better then 5?

 

If you can't use bridged (or even NAT) and also you only need to access the VM from the host machine, then setting it as host-only will do. You'll be able to connect to the VM through the private network.

 

VMware Player 6 is obviously better... it has a "6" on the box  :D well it actually has better support for newer OS versions and hardware, and some extra features and performance improvements.

You might not notice any of that but it certainly isn't worse than 5 anyway, and being free it doesn't hurt to upgrade.

Share this post


Link to post
Share on other sites

If you can't use bridged (or even NAT) and also you only need to access the VM from the host machine, then setting it as host-only will do. You'll be able to connect to the VM through the private network.

 

VMware Player 6 is obviously better... it has a "6" on the box  :D well it actually has better support for newer OS versions and hardware, and some extra features and performance improvements.

You might not notice any of that but it certainly isn't worse than 5 anyway, and being free it doesn't hurt to upgrade.

 

Well, upgrade has to wait.

 

So, I started the host only connection, but, since obviously 192.168.xxx.yyy that was choosen by default wasn't really the right IP since there is actually a PC in my host network that runs with that. So now I tried to choose and IP address that is most likely not in my network and is fairly extreme: 1.1.1.1

 

Can I access this VM address in a browser, without interrupting my real networks connectivity?

post-121358-0-96936200-1393416494.png

Share this post


Link to post
Share on other sites

"Ah, so bridged is the answer. But sadly my network does not allow bridged VM-s"

 

And what network is that??  That makes Zero sense - its your machine right, how is it not your network?  Are you at a school or something?

 

Installed a Year ago and your just now trying to use a vm on it?

Share this post


Link to post
Share on other sites

Well, upgrade has to wait.

 

So, I started the host only connection, but, since obviously 192.168.xxx.yyy that was choosen by default wasn't really the right IP since there is actually a PC in my host network that runs with that. So now I tried to choose and IP address that is most likely not in my network and is fairly extreme: 1.1.1.1

 

Can I access this VM address in a browser, without interrupting my real networks connectivity?

 

192.168.x.x not being the right IP is not obvious at all, that depends on your network's mask. 

Your network is probably 192.168.0.x or 192.168.1.x with a 255.255.255.0 netmask, while the VM should have a 192.168.122.x IP (or similar).

 

Check you host's network configuration, you should have at least one virtual adapter there (likely vmnet0) with an assigned IP address. If you configure your VM's network adapter as NAT or host-only it should have an IP address in the same network as the host's vmnetx.

 

If VMware is assigning IPs in the range of your actual network to the virtual adapters then something's wrong with your VMware Player install.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.