VirtualBox with Linux / accessing the internet

guest2013-1

guest
Joined
Aug 22, 2003
Messages
19,800
Reaction score
13
I have a Windows 7 machine running VirtualBox with CentOS 6

Normally I'd put the Network Adapter on Bridged Mode, but I'm currently at work, and we have Active Directory/DHCP setup here, so if I do put it on Bridged Mode, the sites on CentOS (I work with PHP/API stuff), resolve, but it can't pull data from it.

I assume it's because the CentOS machine is a "new" machine on the network and through Active Directory I'm denied internet access through this "new" machine.

Putting it in NAT pushes the CentOS machine on a different IP set (10. something) and obviously can't access anything (not even the host machine)

Anyone can offer some advice?
 
If you NAT it then it should work as the network should only see the IP of your Win7 machine.
 
If you NAT it then it should work as the network should only see the IP of your Win7 machine.

The NAT works, it just appears that the "hosts" file on my Windows 7 machine (even though it pings the VBox successfully) can't reach the VBox but tries to go through the company Firewall. The Firewall obviously rejects the made-up domain I use as a test for whatever I'm developing.

I disabled my company network (the one with the internet) and I could access the VBox with the made-up domain successfully. The VBox can't access the internet though, even if everything is connected.

I'll check out the port forwarding thing just now
 
Top
Sign up to the MyBroadband newsletter
X