Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I'd like to run some servers as VBoxHeadless machines. NAT networking with port mapping seems more than enough for me and using bridging is unnecessary. But how can I specify an IP address I want a particular machine to use?

I've only found VBoxManage modifyvm --natnet1 command, which I can use to specify a subnet (as 192.168.0/24 for example). But I want to specify an exact IP address.

share|improve this question

Just statically assign the IPs on the VMs within the NAT range. Just because the VMs are within a NAT network does not mean the VMs must be set for DHCP.

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.