I have two servers set up with ESXi, on an internal WAN only.
Physical host server #1 is 10.1.0.51
On server #1 is a domain called DomainA with subnet of 126.96.36.199/16.
Physical host server #2 is 10.1.0.55
On server #2 is a domain called DomainB with subnet of 188.8.131.52/16
All machines, host and clients are on the same infrastructure (10.1.0.0/23). We require the infrastructure to be this way to reduce the number of fiber that is utilized.
Both virtual servers are running DHCP and DNS. The problem is that when DHCP is turned on it is not consistent of which ip subnet is assigned. For example, if DomainA and DomainB DHCP are turned on, the workstation even though in DomainB will be assigned an IP address from DomainA. If one DHCP service is turned off then of course the remaining server assigns the IP addresses, disregarding which Domain the workstation is in.
I have checked the DNS and DHCP for any references to the others domain. I have looked in Active Directory for trusts. I have looked at the ESXi installation but do not know enough about it to know if there is an issue. Did not fill in any of the info requested for DNS on the ESXi server as they are on the 10. 1. 0 infrastructure IP range.
Does anyone have any ideas what I can do or should have done? Thanks.