• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Sharing Network with VirtualBox Over Secure Network

ndh777

Android Expert
I'm running Windows 7 and recently installed VirtualBox and Ubuntu 12.04 in it. I run it every now and then especially when I'm at school.

When I'm at home or another location, I allow VB to share my host computer's connection by going into Settings and telling it to be a "Bridged" connection and pointed that connection to my wireless modem when on WiFi and point it to my Ethernet modem when connecting via Ethernet.

At school...it's a different story. My college's WiFi is available strictly to students and this service only allows, pretty much, basic internet browsers network privileges (to stop the use of other third party applications such as Bitorrent). This also extends to VB and won't allow access to Ubuntu to use the web via any setting I set it to!

Is there anything that I can do to allow share of network connection with VB?
 
What about the NAT setting in virtualbox?

I know my school uses VMware quite a lot for different things, and that always works (bridged mode).
 
What about the NAT setting in virtualbox?

I know my school uses VMware quite a lot for different things, and that always works (bridged mode).

NAT mode should work. It is effectively using your host as the gateway router.

In bridge mode, the virtual client is creating a virtual ethernet mac address that is probably requesting a DHCP request.

The difference is NAT, all traffic is seen as one machine (your host) while bridge, traffic is seen as two (or more depending on how many VM you run) machines.

Another difference is with NAT, it is harder to access the virtual guest from your main machine if you want to copy files back and forth. You will need to change routes to the virtual adapter if your Operating system doesn't already do that.
 
I'll try using it and let you guys know how it goes tomorrow. Thank you for the answers.
 
Is your VM getting an IP address in bridge mode? Or you can connect but the internet is not working.
 
Woah! Using NAT actually worked. I'm at school right now using Ubuntu over my school's wifi with no problems.

Thank you!
 
Back
Top Bottom