Server Fault is a question and answer site for system and network administrators. 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

how would I assign 3 ips to one instance of a Virtualbox machine (Ubuntu 10.04)? I need to for development purposes.

share|improve this question
... the same way you would assign more than one IP to any other kind of machine (disable DHCP in the guest OS and assign the addresses manually. I'm not sure what you're asking here. – voretaq7 Feb 17 '11 at 22:30
up vote 1 down vote accepted

Virtual box allows you to assign 4 network adapters to a particular machine. In virtual Box Manager go to the machine and in the settings pane click on networking. You should be able to attach 2 more adapters from there.

share|improve this answer
Thanks this is what I was wondering about. – Darren Feb 17 '11 at 23:04
@Darren - your comment indicates that what you asked and what you wanted are two different things. Adding more network adapters gives you more IP addresses, but network adapters and IP addresses are two different things when it comes to assigning more of them. You can assign more IP addresses without assigning more adapters. – Mark Henderson Feb 17 '11 at 23:30

Inside Ubuntu, you can use the ip command to add IP addresses to an interface. Example: assign IP address to the network interface eth0:

sudo ip addr add dev eth0

If you decide to remove it:

sudo ip addr del dev eth0
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.