J
J
Just Anka)2020-10-12 12:15:16
virtual box
Just Anka), 2020-10-12 12:15:16

How to correctly configure NAT in Windows Server 2019 between virtual machines?

There is an SRV1 server on a virtual machine with two adapters (NAT and Host-only networks). Host-only networks - ACC1 settings are 192.168.1.1/24. It has DHCP with zone 192.168.1.2-192.168.1.10/24. The client machine (Host-only networks - ACC1) has a dynamic IP obtained from DHCP (192.168.1.2/24), and the firewall is disabled on it.
I installed Routing and Remote Access on the server (general settings - IPv4 Router, LAN and demand-dial routing and IPv4 Remote access server) and set NAT: for the INTERNET interface, I checked Public interface connected to the Internet and Enable NAT on this interface, and for the interface ACC1 marked only Private interface connected to private network. I'm trying to check Internet access on the client by ping ya.ru and it doesn't connect. Can you tell me where I made a mistake? I've looked all over and can't find a solution..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nApoBo3, 2020-10-12
@nApoBo3

1. For ping ya.ru, DNS is needed. Do you have it and is it registered?
2. Is the first machine listed as the gateway for the second?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question