Host-Only Network not working on VMware Workstation

Eyüp Alemdar picture Eyüp Alemdar · Jun 29, 2013 · Viewed 16.9k times · Source

I installed WMware Workstation 9.0.2 on Windows 8 pro x64. I created an Oracle linux 6.4 virtual machine. I'm connecting to internet using only wireless on windows and my gateway is (192.168.1.1). When i use NAT connection, everything works fine and i can connect to internet on the linux vm but i have to use host-only network. I configured to virtual network editor like that

Vmnet1 
Type:Host-only 
DHCP:Enabled 
Subnet-Adress:192.168.2.0 
Subnet-Mask:255.255.255.0

I configured connection like that in linux vm

IPV4 Settings
Ip-Adress:192.168.2.2  
NetMask:255.255.255.0 
Gateway:192.168.2.1 
DNS:192.168.2.1

But i couldnt connect to internet. I disabled firewall and antivirus on windows but didnt work again. I'm sorry cant show you screen image because of my low reputation. Pls give me anyadvice. Thx.

Answer

One Bad Panda picture One Bad Panda · Jun 30, 2013

Host-only networking in VMware Workstation creates a network between all virtual machines (whose network type is set to host-only as well) and the host computer computer (in your case, your Windows 8 machine).

This link provides more information on the topic of host-only networking.

If you're looking to provide internet connectivity, you can use either NAT Networking, or Bridged Networking.

NAT Networking will provide your GOS (Guest Operating System) with an IP that is NAT'ed from your Host. Bridged networking will allow your GOS to obtain an IP from your physical network (provided there's a DHCP -- usually your wired (or wireless) router serves as the DHCP server in most home networks). Hope that helps!