Internet connection sharing: Ubuntu 9.10 Server on Windows 7 and VMWare

Posted by avesse on Server Fault See other posts from Server Fault or by avesse
Published on 2009-11-25T16:12:14Z Indexed on 2010/03/19 20:01 UTC
Read the original article Hit count: 435

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:

  1. Configured VMWare to use Host Only networking (I tried NAT as well).

  2. 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.

  3. 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.

© Server Fault or respective owner

Related posts about internet-connection

Related posts about vmware-workstation