Link to home
Create AccountLog in
Avatar of AXISHK
AXISHK

asked on

VMPlayer

I have installed VMPlayer on my Window 7 and intall Centos on the VMPlayer.

Any idea how to make the Window 7 communicate with Centos in VMPlayer ?  Will I need to setup gateway on the virtual Centos, especailly when my Window 7 doesn't connect to Internet ?

Tks
SOLUTION
Avatar of alienvoice
alienvoice
Flag of Australia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
Avatar of Gary Case
Gary Case
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Bridged Networking in the VM - may help you.
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of AXISHK
AXISHK

ASKER

Try and also use Bridge but doesn't work.

On my Window 7 (host) , there are 3 adapaters

Wireless : 192.168.43.2

VMnet1: 192.168.133.1

VMnet 8: 192.168.118.1

On my Centos (guest), only a lo interface is shown.
inet6 addr:127.0.0.1

Do I need to configure anything on the Centos :

Tks
It seems that in your centos vm is no network adapter. Do you have a network card added to your vm configuration?
Avatar of AXISHK

ASKER

Fixed the problem by setting up the file /etc/sysconfig/network-scripts/ifcfg-eth0 to dhcp. It has been assigned with different  subnet 192.168.118.0

Any idea why there are VM adapter ? It seems that those are never used ... Tks

VMnet1: 192.168.133.1
VMnet 8: 192.168.118.1
VMnet1 ==> Host-only
VMnet8 ==> NAT

I think you have your network type as NAT in your Centos vm. Change it to Bridged to get your machine directly connected to your physical network.
Avatar of AXISHK

ASKER

Does it mean VMplayer will pick the adapter automatically, base on the selection VMnet1 & VMnet8 ?

Tks
The VMWare adapters that Windows "sees" are the adapters VMWare can assign to virtual machines -- which is assigned depends on the internal settings of the virtual machine.   Your issue with no network adapter was likely because you didn't have a network adapters assigned and enabled for your Centos machine -- but it seems you've now resolved that.
No, you have the choice which network connection type you want:
User generated image
I've just spotted you mention a wireless card?

is this a laptop with a wireless card, there is a known issue with wireless cards a desktop hypervisor compatibility, they do not behave as expected, and Bridge and NAT may not function correctly if using a Wireless card.
Avatar of AXISHK

ASKER

So, eiterh VMnet1 & VMnet8 will be used respectively depending on my network setting. I will need to care what IP address is assigned to it and my VM guests will use either one for communication. Correct ?
VMnet1 - used by Host Mode
VMnet8 - used by NAT Mode

these are virtual networks, created by the VMware Player install.
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of AXISHK

ASKER

Tks.