vmware - cannot connect to internet from virtual machine -


i using vmware player use ubuntu 14.04 unable internet connection in virtual machine though system connected internet. original os in system windows 7. can suggest way out.

depending on how connected network, try either bridged or nat mode vm's network adapter. keep in mind may lose connectivity host machine vm. in case you'll need network adapter.

in cases nat should work. in case host machine's ip visible network, , ports allocated vm communicate outside world. problem can't connect vm host machine if need to. add adapter mentioned above , connect ip address. have 2 adapters - 1 internet , other host-to-guest.

in bridge mode vm visible outside network, network configuration required enables vm ip address , participate in network (for example, network administrators may block unknown mac addresses). host machine talks vm computer on network.

update question additional information if suggestion not work: guest os, how host computer connected network, current configuration of vm's network adapters. home or workplace computer?

update

so guess if connected corporate lan, nat work while bridge not. add interface 1) add adapter in vmware player; 2) add interface in ubuntu. assuming existing interface eth0, edit /etc/network/interfaces, adding these lines:

auto eth1 iface eth1 inet dhcp 

then restart networking service:

sudo /etc/init.d/networking restart 

update 2

another reason not being able connect internet may proxy server. make sure proxy configuration in vm same in host machine.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -