Created a virtual machine virtual box with Windows 2003, in the settings the virtual box connected to the internal network.
Set up a local network on this machine:
ip 10.1.2.14 mask 255.255.255.0 host 10.1.2.1
Created a virtual box virtual machine with Windows XP, connected in the virtual box settings to the internal network and to the virtual host adapter.
Configured internal network:
ip 10.1.2.1 mask 255.255.255.0
Configured network with virtual adapter:
ip 10.1.1.1 mask 255.255.255.0 In cmd entered:
route add 10.1.1.0 MASK 255.255.255.0 10.1.1.1 route add 10.1.2.0 MASK 255.255.255.0 10.1.2.1
Set up windows 10 on "real computer":
ip 10.1.1.10 mask 255.255.255.0
As a result, ping
sec 10.1.2.14 10.1.1.10
answers, and on ping with
10.1.1.10 10.1.2.14
no and ping
from 10.1.1.10
not responding
10.1.1.1
Have I set everything up correctly?