Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is "connnection sharing" necessary in windows-7 host to allow VirtualBox's Ubuntu guest connect to internet through (default) NAT interface? My network administrator (on the machine at work) has disabled "conenction sharing" and some answers in threads( suggest it is necessary.

Note It seems I face "proxy issues" in the cocorporation where I work. We are behind some kind of http proxy so my browser works but (probably) no other connections are allowed.

Note2 Connection sharing has nothing to do with my problem. I solved it after investigating proxy settings: it turned out that I should set http_proxy environment variable on guest Ubuntu ( and my problem is immediately solved.

share|improve this question
Are you experiencing a particular issue with VirtualBox networking or is this more of a curiosity / planning for the future sort of issue? – Goyuix Jan 23 '13 at 20:33
Issue: After installing ubuntu guest with default network connection settings (NAT) I still cannot connect internet from guest. Host uses (working) wireless. I want to upgrade guest and I'm not interested in connecting host<->guest for other purposes. – lenagold Jan 23 '13 at 20:42
Could you please include the output of ifconfig from your Ubuntu guest in your original question? – Goyuix Jan 23 '13 at 20:45
ifconfig output: (.png link) – lenagold Jan 24 '13 at 6:20
up vote 2 down vote accepted

Short answer: No. VirtualBox does not require the connection sharing feature of Windows to have NAT function properly.

The answer you have pointed to on is answering a more complex networking scenario where the guest requires additional network access beyond what NAT can easily provide.

share|improve this answer

I see no reason why it would need that. And a test confirms this.

(Screenshot of virtual box and a freshly installed -5 min ago- VM, happily pinging a server on the internet. The host of the VM has internet sharing disabled).

enter image description here

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.