Internet connection sharing: Ubuntu 9.10 Server on Windows 7 and VMWare
- by avesse
I'm trying to get Internet Connection Sharing (ICS) working between my Windows 7 RTM host and a Ubuntu 9.10 Server running on VMWare Workstation 6.5, but I have not been able to get it right.
Here's what I have done:
Configured VMWare to use Host Only networking (I tried NAT as well).
Enabled ICS on my host's network connection, allowing VMnet1. After enabling it, Windows informed me that its VMnet1 IP has changed to 192.168.137.1.
So in VMWare's Virtual Network Editor I configured VMnet1:
Subnet 192.168.137.0
Mask 255.255.255.0
I did the same for DHCP.
For NAT i set 192.168.137.1 as Gateway.
I cannot ping any sites or get access through apt-get/aptitude install/update, although domains do get resolved to IPs.
I have also tried using a static IP in Ubuntu.
I don't know if it makes a difference, but my external IP is locked to my host's MAC address.