How to configure a connection virtual machine (on PC 1) — vin7 (comp 2)?

There are 2 physical computer.
Comp 1: the System is Linux Mint Cinnamon 18.3, a virtual machine with vin7 x86 Virtual Box.
Comp 2: the System Vin7 x64.
In the computer 1 is 2 network cards:
1 - 100 Mbps connected to the router.
2 - 1 Gbit/s connected directly to the PC 2. The IP 192.168 hammered manually.x.x, subnet mask filled in.
By default, the virtual machine is configured with NAT and the IP of the system 10.x.x.x
On comp 2 is one network card, manually filled in the IP and subnet mask, the connection with the computer 1.
How to configure the adapters virtual machine to virtual machine - comp 2 worked?
June 8th 19 at 17:26
2 answers
June 8th 19 at 17:28
In the virtual machine configuration (what have you - Virtual Box, I suppose) under "Network" there are different modes of network access from the virtual machine.
Yes, I have Virtual Box. I know that there are different setting modes of the adapters. In fact the question of how to configure them exactly? - Opal16 commented on June 8th 19 at 17:31
the easiest thing to do is to configure "bridge": to give the virtual machine access to the real network adapter.
then the tune will be about the same as if you network 2 computers on the network. - efrain.Rolfso commented on June 8th 19 at 17:34
June 8th 19 at 17:30
put the mode "bridge (bridge)" in the network N1 , in this case the dev will be seen as another network device to obtain ip via dhcp from router and all that.
the most convenient mode.
the computer 2 is not connected to the router, you need another way - Opal16 commented on June 8th 19 at 17:33
in the settings VirtualBox to enable the second network connection, the bridge connecting it to the second network card.
guest to set the ip and mask, i.e. 192.168.*.* as another uchastninki network with vtorym the computer.

ie on the first network connection and the guest is to look in the direction of the router.
and the second network connection to the second computer. - efrain.Rolfso commented on June 8th 19 at 17:36

Find more questions by tags VirtualBoxComputer networks