Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Server has 2 I.P. addresses, which one will clients use?

Status
Not open for further replies.

Dublin73

IS-IT--Management
Apr 26, 2005
236
US
Hi,

I have a bit of a dilemma...

2 seperate subnets in 2 seperate offices. One Active Directory domain.

Subnet A has a network ID of 130.140.0.0/24
Subnet B has a network ID of 153.213.4.0/24

Subnet B needs to see 2 hosts on the Subnet A network. This is done via NAT at our firewall.The 2 hosts on subnet A are...

SERVER1 I.P. address: 130.140.0.22
SERVER2 I.P. address: 130.140.0.23

Subnet B sees these two servers as addresses 192.168.0.22 and 192.168.0.23. This is because of the 2 static NAT mappings on the firewall.

192.168.0.22 NATs to 130.140.0.22
192.168.0.23 NATs to 130.140.0.23

In the Advanced TCP/IP settings of the two servers, SERVER1 and SERVER2, there are two IP addresses, the 130.140.0.x address and the 192.168.0.x address.

The clients on Subnet A ( again, they are on the 130.140.0.0/24 network ) should ping the two servers and resolve the two servers by their 130.140.0.0/24 address.

This is not always the case. Sometimes the client PCs on Subnet A will ping SERVER1 and SERVER2 and will resolve them to their 192.168.0.x addresses, even though they are physically sitting on the same switch and subnet as the servers, the 130.140.0.0/24 network. The client PCs will continue to resolve the servers IP address to the 192.168.0.x addresses, until we flush out the local cash... ipconfig /flushdns.

How do I get the subnet A clients to always resolve the servers to their 130.140.0.x addresses and the subnet B clients to always resolve the servers to their 192.168.0.x addresses?

thanks in advance to anyone kind enough to help!

 
You'd need a separate DNS server for each subnet, pointing to the correct IP for these servers, and have the clients point to the correct DNS server.
 
Sorry, I should have mentioned that. We do have a DNS and DHCP server on each subnet. These DNS servers are Windows w/ Active Directory Integrated DNS. So they contain the same DNS information, including two "A" records for each of these two servers.

The local clients on each subnet are using their local DNS server for name resolution. They're being pointed to their local DNS server through option "006 DNS Servers" in DHCP.

thanks for responding.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top