Unable to create virtual machines under FreeBSD's VirtualBox
Manish Jain
bourne.identity at hotmail.com
Thu Jul 11 22:07:28 UTC 2019
Hi Rusty,
Thanks for responding.
I am using NAT under Settings -> Network, although I do not have any idea about NAT or bridges.
What I do is put the following in /boot/loader.conf :
aio_load=YES
if_bridge_load=YES
if_tap_load=YES
nmdm_load=YES
Then I put the following in /etc/rc.conf :
cloned_interfaces="tap0 bridge0"
ifconfig_bridge0="addm re0 addm tap0 up"
The setup above should permit my Realtek ethernet card to be made available to my
virtual machines. My Realtek ethernet card connects to a modem using static IP configuration.
Interestingly, my Windows vm can access the internet freely. The Linux vm's are in a mess on the internet front.
Looking forward to help.
Thank you & Regards,
Manish Jain
On 2019-07-12 03:20, Rusty Nejdl wrote:
On 2019-07-11 16:40, Manish Jain wrote:
That did it ! Thanks so much, Damjan.
Still it only solves part of the mess. Now my Windows 10 vm works nicely, thanks again. But my Linux vm's are unable to ping the internet, not even 8.8.8.8
Do you (or anyone else) have any idea what to do for the Linux virtual machines such that they can access the internet ?
Regards,
Manish Jain
What is the setup you are using for the network? On my system, I bridge to my inside interface that has DHCP running on it so the VM is assigned an IP just like any machine on my network and can ping out to the internet as well.
Rusty Nejdl
More information about the freebsd-emulation
mailing list