I have an odd issue with a freshly installed Win2012R2 server (Actually a VM running on VMWare).
The server has 2 nics (Both enabled), one on VLAN101 the other on vlan102. The configuration:
Nic0
IP 10.1.101.123
Mask 255.255.255.0
Gateway 10.1.101.1
DNS1: 10.1.105.11
DNS2: 10.1.105.12
NIC1
IP 10.1.102.54
Mask 255.255.255.0
No gateway configured
No DNS configured
When I try to join our AD Domain, I get an error that the domaincontroller DNS lookup fails.
Pinging the domain controller with PING PDC.Some.Domain fails indeed. PING PDC succeeds...
When I disable the 2nd NIC (The one without gateway and without DNS servers configured) the PING to PDC.Some.Domain succeeds!
Why is the 2nd NIC (That has no DNS/gateway configured) get used for nameresolution?!?
I have tried changing metrics, giving NIC0 a metric of 10 and NIC1 a metric of 20, but that doesn't help...
I have also changed the provider order in advanced settings so that NIC0 is listed before NIC1: STill no joy...
Any idea why this is happening and how I can fix this?