Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am running a Ubuntu Linux VM using VMware Player on a Windows 7 host.

I don't want to connect directly to the network or use NAT; I need host-only networking but also need Internet access. How can I do this?

share|improve this question

migrated from stackoverflow.com Aug 16 '11 at 6:52

This question came from our site for professional and enthusiast programmers.

    
Please explain what you are trying to achieve, because I think you are approaching it the wrong way. –  jcrawfordor Aug 16 '11 at 7:45

2 Answers 2

At the end of the day you will have to either use some form of NAT or Bridge. If you can't/don't want to let VMWare do it for you, you can have windows do it by enabling Internet Connection Sharing (ICS) on the host's connection.

1. Go to Control Panel -> Network and Internet ->Network and Sharing Center
2. Click on 'Change adapter settings'
3. Right click the connection you wish to share (the one which does have access to the net)
4. Click properties
5. Go to the sharing tab at the top of the window
6. Check the first checkbox
7.(optional) select the VMWare adapter responsible for the host only connection with the guest from the drop down box.
share|improve this answer
    
All ICS really does is... NAT. just in a different place. –  jcrawfordor Aug 16 '11 at 7:44
    
You're right, edited answer to reflect that. Thanks –  Tarek Fadel Aug 16 '11 at 8:27

"Host-only networking provides a network connection between the virtual machine and the host computer, using a virtual Ethernet adapter that is visible to the host operating system. This approach can be useful if you need to set up an isolated virtual network." - Host-only networking

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.