I recently set up an AD DC on Windows Server 2019 VM and am in the process of adding one Windows 10 vm client to the DC. (I am working in vmware workstation pro and working with a NAT adapter option).
However, I keep running into issues with the Windows 10 vm client--as soon as I set my static ip address it disconnects from the internet.
For reference, I first used DHCP and wrote down the ip address, mask, and default gateway assigned for the client. Then I entered excatly that to set the static IP address, and used the ip address of my server as the DNS server. I believe this is the correct way to configure a static address on a client, but as soon as I hit "OK" it disconnect from the internet.
When I try to join the client to the server, I get the error message "An AD DC Domain Controller for the domain xyz.local cannot be contacted. Ensure that the domain name is typed correctly".
I have a feeling it's related to the issue with the internet not connecting when I set the static ip address. I tried pinging the domain name from command prompt, but I get the error "Ping request could not find host xyz.local. Please check the name and try again".
It seems there is absolutely no connection at all. Nslookup also doesn't work and I can't look up the domain name and simply times out after several attempts.
I hope I can get some help soon as I'm falling behind on my projects because of this:(