0

I have one Linux (Ubuntu) box and inside two Virtualbox guests (guest1 + guest2).

The host has two interfaces. (eth0 + eth1)

I need to define:

  • Host uses only eth0
  • Guest1 uses eth1
  • Guest2 uses eth0

Is this possible?

What is the best way and have it secured that the traffic from each interface won't mix with each other.

2 Answers 2

0

enter image description here

With virtualbox, you can use the bridged adapter option. If you specify the network card for eth1 in guest1 settings page, guest1 will only have access to that single interface. Likewise for guest2. For the host, as long as you specify the default gateway as eth0, it should use only eth0.

0

Unsure what this has to do with security versus a normal networking question so this is the simplest answer without getting into virtual switching on interfaces. Go to the settings of each machine, click on the network tab, then select "Bridged Adapater", then the specific adapter you want to assign to the guest hosts.

enter image description here

Above shows me selecting my ethernet card for networking.

enter image description here

Above shows me using my Wireless card for networking.

1
  • that part I know, but how to configure that the host uses eth0 only?
    – 10000000
    Nov 23, 2014 at 15:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .