LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   vmware guests not being able to reache the Internet (https://www.linuxquestions.org/questions/linux-networking-3/vmware-guests-not-being-able-to-reache-the-internet-470512/)

0p3r4 08-03-2006 02:47 PM

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.

Edit: added link to forum mentioned above

EclipseAgent 08-03-2006 03:52 PM

Try using NAT instead of Bridged.

Does that work?

0p3r4 08-03-2006 05:19 PM

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.

EclipseAgent 08-03-2006 05:23 PM

Open up VMWare, and on the Network Card Settings.. instead of using "Bridged" try "NAT"

0p3r4 08-03-2006 05:48 PM

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 :D

trox 09-11-2006 03:45 AM

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 :D


trox 09-11-2006 04:18 AM

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.

Hope this helps someone. Lovin it!


All times are GMT -5. The time now is 06:55 AM.