Guest with two network interface

Discussions about using Linux guests in VirtualBox.

Guest with two network interface

Postby mn » 12. Nov 2017, 10:30

I want to install a centos with two network interface. One is connected to the internet and the other will be used for some "pxe enabled" guests.
There are some documents on the web on how to configure for this purpose. However, I didn't find them useful!

In the VB setting, I entered host network manager and created a vboxnet0 with 192.168.1.10/24 and the DHCP server set to disable (Fig 1)
Then in the network setting, I enabled the first NIC for Host-only adapter (Fig 2) and the second NIC is set to NAT (Fig 3).

After booting the Centos, I ran ifconfig and saw enp0s3 which has no IP (I think this is the first NIC) and the enp0s8 which has 10.0.3.15 (which I think is the second NIC). I also see a virbr0 with IP 192.168.122.1 which I don't understand what is that!! (Fig 4)

Any idea about that?
Attachments
Fig3.jpg
Fig3.jpg (68.07 KiB) Viewed 50 times
Fig2.jpg
Fig2.jpg (67.09 KiB) Viewed 50 times
Fig1.jpg
Fig1.jpg (50 KiB) Viewed 50 times
Last edited by mn on 12. Nov 2017, 10:32, edited 1 time in total.
mn
 
Posts: 63
Joined: 17. Feb 2013, 21:33

Re: Guest with two network interface

Postby mn » 12. Nov 2017, 10:31

Fig 4 has been attached in this post.
Attachments
Fig4.jpg
Fig4.jpg (103.32 KiB) Viewed 49 times
mn
 
Posts: 63
Joined: 17. Feb 2013, 21:33


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 11 guests