How to get my virtual machine (VirtualBox) accessible on a company network?

3

I created an Arch Linux VM guest using VirtualBox on my Windows desktop at work. I'm planning to use it for Django development because there are no Unix machines available to use as a workstation at work.

From the VM guest I can ping/SSH to other machines in the network, but not the other way around. It's like even though the guest machine has an IP address on the network and a hostname, neither is recognizable.

Augie

Posted 2011-07-11T20:02:22.850

Reputation: 33

This is probably more a superuser question. What is your network adapter set to? HostOnly, NAT, Bridged? just reread after I posted. Was thinking vmware, so this might not apply – Rob Goodwin – 2011-07-11T20:05:36.170

Answers

5

For your VM to be accessible on the network you need:

  • Change the Network mode from NAT to bridge
  • If no DHCP server is present, statically assign an available IP address that belongs to your network
  • Check for security in guest machine (this is not related to VirtualBox but to networking)

ghm1014

Posted 2011-07-11T20:02:22.850

Reputation: 231