Set Up Win2k8 with 2 NICS for DNS/DHCP/AD
Posted on 2010-11-10
Hello everyone, I'm trying to understand the basics of something that's always been a crapshoot, and that's setting up what I believe is referred to as a multi-homed box. At times this is a requirement so I want to learn how to do. As an example, theres some old devices that will only take 192.168.XXX.XXX IP's, but the main network is 168.18.223.XXX. So I need a good guide of what to do.
Citrix Xenserver 5.6
Windows Server 2008 installed as a VM (not R2)
W2k8 is set with one virtual card bridged to eth0 (network 0), so that it receives an IP via DHCP from the work network. This IP is a 168.18.223.xx, netmask 255.255.255.0, and a gateway of 126.96.36.199
DNS and DCHP and Active Directory need to be installed. I went with AD first, and let it install DNS. DNS was pointed to eth2 (network2), which is a 3rd physical card in the machine that is connected to a switch. The goal is for this switch to be connected with W2k8. This network2 is assigned a static IP of 192.168.25.1, netmask 255.255.255.0, no gateway, and a primary dns of 127.0.0.1. DNS was set to only listen to this interface.
I then installed DHCP. DHCP was set to a scope of 192.168.25.100-200, netmask 255.255.255.0. DNS was assigned two forwarders, my works main DNS servers, the same ones the w2k8 server uses to browse the web, which are 188.8.131.52, and 184.108.40.206. With all that set up, when I plug in a computer, the system gives me an IP (192.168.0.100), and I can resolve locally, but I can't get on the internet. So I know something with DNS is screwy. The plugged in system shows the DNS server is 192.168.25.1, which seems correct to me, as everything should go local first, then be forwarded if necessary. DHCP (under its scope) shows 003 Router as the networks gateway (220.127.116.11), 006 DNS as 192.168.25.1, and 015 as DNS Domain Name, which is my AD domain.
So can anyone finally put together the pieces of the puzzle and tell me what I'm missing? Because it all seems correct.