Page 1 of 1

Network interface names

Posted: 24. Jul 2014, 23:15
by jernst
I'm confused about network interface names in (Arch Linux) guests.

I have two rather similar Arch guests running on the same (Mac) host. If I turn on all 4 network interfaces in the GUI for both:

guest 1 has: eth0, eth1, eth2, and enp0s10
guest 2 has: enp0s3, enp0s8, enp0s9, and enp0s10

Both lists look strange: mix of eth and enp in the first one, and a big gap from 3 to 8 in the other. They also differ from each other, and the software running on them is almost the same.

Why might that be?

Re: Network interface names

Posted: 24. Jul 2014, 23:17
by Perryg
Nothing. For a complete description of a specific guest OS you need to ask them.

Re: Network interface names

Posted: 24. Jul 2014, 23:40
by jernst
Let me ask differently then. How does VirtualBox present its virtual network adapters to the (any) OS?

Is it consistently "slot 0, port 1" and then ascending? Or ..?

Of the four Adapters available in the GUI, will, say, the second one always map onto to the same slot/port (and if so, which would that be), or be different based on whether, say, the first Adapter is enabled or not?

Re: Network interface names

Posted: 24. Jul 2014, 23:47
by Perryg
The adapter slots are shown in the network settings and what ever you set it to be. After that the naming in the guest is done in the. Any change in the MAC for any given adapter will trigger a different guest connection. This is done in the guest and has nothing to do with VirtualBox.

Edit: look at the *.vbox file and it will show you what is presented.