K
K
kondrash0552014-05-16 10:35:37
virtual box
kondrash055, 2014-05-16 10:35:37

Virtualbox, ubuntu - host, freebsd - guest - how to set up host network?

Good afternoon. There is such an assembly on free-bsd - internet control server. I was puzzled by the installation on virtualbox. There is even a short manual for setting up the network. doc.a-real.ru/docu/vbox I do everything according to the instructions, there are two network connections on ubuntu, two real (!) network cards. In bridge mode, the guest system must receive the Internet and distribute it to the local network. Question: what network settings should be done in the host system?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
H
Heizenberg, 2014-05-16
@kondrash055

external IP 93.25.240.123/24 to the network card of the host eth0 - this is a link from the provider on the external network card of the virtual machine (dc0) bridge will not work. most likely there is only one IP from the provider, we make an external network card (dc0) nat on the virtual machine. On the internal network card of the host (eth1), we set any address from the range 192.168.1.2-253, and on the internal network card of the virtual machine (dc1), as a rule, one of the extreme addresses is 192.168.1.1 or 192.168.1.254 because it most likely also should be the gateway for an internal network.

K
kondrash055, 2014-05-16
@kondrash055

One network card with a static address from the provider. 93.25.240.123/24 Gateway 93.25.240.1
local network to the second network 192.168.1.1/24 gateway 192.168.1.1 The virtual machine will act as a gateway

S
sonik_spb, 2014-05-16
@sonik_spb

In theory, there is no need to make any settings on the host. The maximum is to disable the dhtsp client on the link from the provider and leave the interface without settings.
On the internal one, as usual, 192.168.1.* with the settings for the gateway (your vm).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question