Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

connect virtual machine to internet

I have windows 7 connected to the wireless router which is connected to a wired router that is connected  to internet.

Windows 7-->Wireless router-->wired router-->internet

on windows 7 I have installed vmware workstation
 I have installed windows 2008R2 on vmware workstation
I have disabled firewall on windows2008.

the windows 2008 cannot connect to internet, I have tried to:
 The bridged option of  Network adapter and did not connect to internet
The NAT option and did not connect to internet.

I wonder what else should I do to get the VM machine(windows 2008 ) to connect to internet.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Bawer
Bawer
Flag of Afghanistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

<<only NAT option will work in the case of internet, or if you want to bridge then you have to assign an IP from your own actual range.>>

NAT option didn't work either..
what do you mean by assign an IP from your own actual range?

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

yes my windows 7 pc obtains an IP automatically through its wireless Lan adapter.

I used my windows 7 pc obtained IP address as the default gateway of the virtual machine (windows2008) , but still cannot connect or even ping the DG.
Avatar of jskfan

ASKER

it says destination host unreachable
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

unfortunately it didn't work using vmware editor either
when you set the WIndows 2008 VM to obtain an IP address automatically, what error do you get, or what IP address is assigned to the VM?

what IP address is assigned to the Win  7 workstation?
Avatar of jskfan

ASKER

I have done some changes, I can get the Ip address in the same subnet as my physical machine  Windows 7.

windows 7 has the IP 192.168.1.67 /24, DG 192.168.1.254
windows 2008 VM machine has 192.168.1.68/24 DG 192.168.1.254

I can't ping each other machine so far
Avatar of jskfan

ASKER

but for some reason it doesn't stay stable, the IP in VM switches to 169.254.x.x
IP
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

wow, for now I got it to work,I hope it will stay working.

control panel items\troubleshooting\network and internet
clicked internet connections wizard and it fixed it.
I can connect to internet now.
Avatar of jskfan

ASKER

thanks