Darren Asked: 2011-02-18 14:29:19 +0800 CST2011-02-18 14:29:19 +0800 CST 2011-02-18 14:29:19 +0800 CST How to assign more than 1 ip to a Virtualbox machine? 772 how would I assign 3 ips to one instance of a Virtualbox machine (Ubuntu 10.04)? I need to for development purposes. virtualbox virtual-machines 2 Answers Voted Lekensteyn 2011-02-18T14:49:37+08:002011-02-18T14:49:37+08:00 Inside Ubuntu, you can use the ip command to add IP addresses to an interface. Example: assign IP address 10.0.0.2 to the network interface eth0: sudo ip addr add 10.0.0.2 dev eth0 If you decide to remove it: sudo ip addr del 10.0.0.2 dev eth0 Best Answer user9517 2011-02-18T14:34:17+08:002011-02-18T14:34:17+08:00 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.
Inside Ubuntu, you can use the
ip
command to add IP addresses to an interface. Example: assign IP address 10.0.0.2 to the network interface eth0:If you decide to remove it:
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.