vmware guests not being able to reache the Internet
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
vmware guests not being able to reache the Internet
Hello,
I've set up the vmware-server on a Ubuntu-driven laptop (Thinkpad R40) in order to be able to run WinXP, and most things seem to work fine. However, I've not been able to get the network to function correctly, the Internet is unreachable.
I've been trying all kinds of configurations in the network-configuration of the server console, and nothing seems to work, among other things i tried setting the "Network Connection" to "Custom" pointing to /dev/wmnet0 which should be mapped to /dev/eth0, my wired ethernet connection. And that didnt solve anything either. Then I found this forum-page (http://www.ubuntuforums.org/showthread.php?t=183209) and found i hadn't installed the xinetd-package as told in the how-to. Said and done, I installed it and to be safe I also ran the vmware-config.pl application again after doing this, in case something had to be reconfigured in order to work.
After all of this was done, I still can't get in touch with the DHCP-server (at the ISP, I'm not running my own DHCP-server) using "ipconfig /renew" under WinXP. I've tried pinging other machines I have running (including the host of the server) with no sucess. At the moment the NIC-configuration is set to "Bridged" in the settings for the vm.
The one thing I'm noticing that might show something is badly configured from my side is that the icon showing nic-activity (the icon sitting next to the hdd and dvd (when running the vm in windowed mode) is showing no activity at all, whereas the hdd- and dvd-icons are flashing as they should.)
Anyone have any ideas on what i might have done wrong? I would be really grateful for any tips i might get.
PS. I hope my english isn't too bad, and if I've been unclear on anything, please tell me. DS.
I have thought about the idea of going the NAT way, but as i dont have any routers at hand nor the know-how to setup this kind of system, this is really a last resort for me, I would much rather set it up using the simpler bridged way. However, if you have a good tip on how to setup the NAT without using multiple NIC's i would be more then interested to know about it ... Thanks for taking the time to answer btw.
Trying NAT once again i got the same error as i did previously, namely this:
Code:
Could not open /dev/vmnet8: No such file or directory
Virtual device Ethernet0 will start disconnected.
However, feeling a bit strengthened from your recommendation, I tought i might as well try to set it up in the configuration. This proved to be much more easy than i expected, giving me the possibility to probe for an unused network (which i thought had to be done by assigning a static router ip as default gateway or something like that):
Code:
Configuring a NAT network for vmnet8.
Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes]
Probing for an unused private subnet (this can take some time)...
The subnet 192.168.162.0/255.255.255.0 appears to be unused.
The following NAT networks have been defined:
. vmnet8 is a NAT network on private subnet 192.168.162.0.
And that was pretty much it (almost the same steps did setup the "host-only" connection type as well).
This time around i didn't experince any errors like before, and when i started the web browser, i worked like a charm!
I can't thank you enough for this mate ... Well, once more, thank you
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83
Rep:
VMware with Suse 10.1
Did you do this from the bash shell command line or from somewhere inside VMware? In whichever case could you share detailed instructions as I'm getting the exact same error.
Thanks so much,
trox
Quote:
Originally Posted by 0p3r4
Trying NAT once again i got the same error as i did previously, namely this:
Code:
Could not open /dev/vmnet8: No such file or directory
Virtual device Ethernet0 will start disconnected.
However, feeling a bit strengthened from your recommendation, I tought i might as well try to set it up in the configuration. This proved to be much more easy than i expected, giving me the possibility to probe for an unused network (which i thought had to be done by assigning a static router ip as default gateway or something like that):
Code:
Configuring a NAT network for vmnet8.
Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes]
Probing for an unused private subnet (this can take some time)...
The subnet 192.168.162.0/255.255.255.0 appears to be unused.
The following NAT networks have been defined:
. vmnet8 is a NAT network on private subnet 192.168.162.0.
And that was pretty much it (almost the same steps did setup the "host-only" connection type as well).
This time around i didn't experince any errors like before, and when i started the web browser, i worked like a charm!
I can't thank you enough for this mate ... Well, once more, thank you
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83
Rep:
VMware with Suse 10.1
Ok,
Figured it out minutes after posting my problem. I:
Closed out VMWare Workstation.
Went back to the command line. Click here to see what I did from start to finish.
After the command line, I installed all the vmware tools and selected Bridge for my connection choices. I then restarted my virtual OS and it connected to the internet without issue.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.