Page 1 of 1

Bridge host NIC into virtual network

Posted: 18. Oct 2020, 15:56
by oTR
Hi
I'm wondering about solution of this network issue. I got Debian linux based host with two NIC cards: eth0 and eth1. There's also two Virtual machines:

1. With 2 Virtual cards, 1st NATed to physical eth0, 2nd into virtual network 'intnet'
2. With 1 Virtual card into 'intnet'

I want to bridge eth1 from my host into 'intnet'. Is that possible?

Re: Bridge host NIC into virtual network

Posted: 18. Oct 2020, 16:18
by scottgus1
You can always add another network card to guest 1 or 2, using Bridged to eth1. But you'd have to make a Linux "bridge" inside the guest OS to connect the guest's new card into 'intnet'. Linux "bridges" are not the same as Virtualbox Bridged, and I have tried making a working Linux "bridge" and have never succeeded.

Bridged puts the guest network card into the physical LAN being Bridged to, with the default option to get IP address from the LAN. See Virtualbox Networks: In Pictures: Bridged Adapter

Is the ultimate goal to have 'intnet' be part of the LAN, so that 'intnet' gets IP addresses from the LAN? If so you might be able to skip 'intnet' and just put another network card into both guests, Bridged to eth1.