M
M
Magi2015-10-06 17:25:00
FreeBSD
Magi, 2015-10-06 17:25:00

How to set up Internet access from a FreeBSD 10 guest from VirtualBox on Windows 10?

There is a home network: a router 192.168.1.1 to which a home computer with Windows 10 192.168.1.5 is connected and a server with FreeBSD 10.2 192.168.1.7 on which there will be a couple of sites. I originally planned to use it, but during the testing process it turned out that it was unlikely to cope with the load. Installed FreeBSD 10 (10.0.2.15) on Windows 10. With the default settings (via NAT in VB), freebsd goes from the virtual machine to the Internet, but is not visible from the host and local area. It is necessary to make sure that the guest axis is accessible from the local area (for transferring data from the old freebsd server), from the Windows host via ssh, and from the external Internet. I tried to set VB 192.168.1.10 on the virtual network adapter, in the Win network card settings I turned on Internet distribution, in VB - the network type in the bridge and in the virtual network adapter, in the guest freebsd I set 192.168.1.11, nameserver 192.168.1. 1 - no route to host. Tell me how to do all this correctly?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AVKor, 2015-10-06
@AVKor

With the default settings (via NAT in VB), freebsd from the virtual machine goes to the Internet

This is sufficient for data transfer.

S
simplebsd, 2015-10-15
@simplebsd

Select the bridge and select the wlan0 interface, if it is in the list, ip is static. I don’t know why, but this scheme works for me.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question