virtualbox and ubuntu adding ethernet

Karl Auer kauer at biplane.com.au
Mon Mar 9 07:57:26 UTC 2015


On Mon, 2015-03-09 at 07:29 +0000, AMER wrote:
> I am using VirtualBox with Ubuntu v 14 installed in it.
> I have created 4 virualbox ports vboxnet0,1,2,3.
> I would like to add 2 new ethernet ports in Ubuntu to assign each
> ethernet port to a vboxnet , I am already having eth0 and eth1, I
> would like to add 2 more ethernet ports

They should already be there - just unplumbed. Add suitable stanzas
in /etc/network/interfaces.

When you run ifconfig in the guest OS, do you see the extra interfaces?

And just to clarify, do you mean that your VM has four ports, and you
would like Ubuntu, which is the guest OS installed on the VM, to be able
to use all four ports, so that you have something like eth0, eth1, eth2
and eth3? Bear in mind that for some kinds of virtual port - such as
bridged - you need to have actual real ethernet ports on the host
machine!

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4
Old fingerprint: EC67 61E2 C2F6 EB55 884B E129 072B 0AF0 72AA 9882






More information about the ubuntu-users mailing list