Internal networking mode:unable to use yum to update
Posted: 4. Apr 2014, 10:51
I want to create a private network of two Linux guests.
The internal betworking feature of VirtualBox is great for this. But it doesn't allow me to connect to the internet from the Linux guests. For example, if i want to update packages using yum.
My idea is to create two network adapters for each guest: one adapter as NAT, one adapter as Internal network.
To update the Linux guest: enable NAT adapter, disable Internal Network adapter.
Then switch back when the guest is updated using yum.
A bit of hacking of the /etc/hosts file should get this working, I think.
Any easier solutions for this?
The internal betworking feature of VirtualBox is great for this. But it doesn't allow me to connect to the internet from the Linux guests. For example, if i want to update packages using yum.
My idea is to create two network adapters for each guest: one adapter as NAT, one adapter as Internal network.
To update the Linux guest: enable NAT adapter, disable Internal Network adapter.
Then switch back when the guest is updated using yum.
A bit of hacking of the /etc/hosts file should get this working, I think.
Any easier solutions for this?