M
M
MrKMV342015-08-19 00:31:16
virtual box
MrKMV34, 2015-08-19 00:31:16

How to set up a network bridge?

Hello.
The situation is as follows:
Host: ubuntu 14.04
Guest: Ubuntu Server 14.04
Virtual box
Installed openssh-server, network configured as follows:
2d2a512afdeb4d87a4d7d65a519b7c2c.png
3665012a49fe4601b3a7b2ae27ce9829.png
Guest ifconfig and ping 4a994166cf25479cb9c3c4a10761211c.png
output: Host ifconfig output: 68d45169d57e492dbec963b72e83874b.png
ect/network/interfaces:
b76d6a6761a94f7aab444f51a6ad228f.png
Internet from my mobile modem.
I can't ssh into the server from the host.
It is necessary to set up a network bridge, since in the future I plan to install nginx, wsgi, django and use it in web development

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2015-08-19
@karabanov

In the network adapter of the virtual machine, manually write the address from the same subnet as on the physical interface with which you bridge the virtual interface (a bridge is a kind of unmanaged switch).
UPD
That's how. Well then only NAT.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question