简体   繁体   中英

assign ip to vmware player

I have a dedicated windows server 2008

I'm installed vmware player 5 on it and ubuntu 10.04 in vwmare now i buyed a new ip

ip is :

IP: 78.157.60.141

private: 192.168.150.50

I want to set this ip to vwmare

my question is how I must do that ?

i don't have any acsess to defualt gateway in adress 192.168.150.1

hosting tell to me i most set the ip of vmware in range of this private ip

when i assign the ip with this command

start /wait vnetlib.exe -- stop nat
start /wait vnetlib.exe -- stop dhcp
start /wait vnetlib.exe -- set vnet vmnet8 mask 255.255.255.0 
start /wait vnetlib.exe -- set vnet vmnet8 addr 192.168.150.0 
start /wait vnetlib.exe -- update dhcp vmnet8
start /wait vnetlib.exe -- update nat vmnet8
start /wait vnetlib.exe -- update adapter vmnet8 
start /wait vnetlib.exe -- start dhcp
start /wait vnetlib.exe -- start nat
start /wait vnetlib.exe -- stop dhcp

And then I set the network of vmware player in net mode

now ubuntu auth1 cannot connect and ubuntu is in offline mode

how I can solve this ?

Go to VMware player setting -> In Network Adapter change from NAT to Bridged. Then you can set your IP. Now your IP appears to outside network. Hope that will solve your issue

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM