I have a sad network left behind by some careless administrators - I am in the process of figuring out exactly what services are running where, not excluding the possibility that some services are running from two places at once, which is tons of fun.
There are two Windows Server 2003 servers, one Windows Server 2008 server with Exchange 2010 on it and a SonicWall TZ210 between the LAN and the WAN. Computers connected via DHCP reveal the gateway IP address that corresponds to the SonicWall unit, however it doesn't have DHCP enabled.
Where and how might I discover what is running DHCP so I could administer it? I am also concerned about internal DNS and Windows domain services as there appears to be confusing information on the network that conflicts with itself.
ipconfig /all
will show you the location of your DHCP server. There's a line item that says "DHCP Server
"If you want to use ninja skills, you can use the command
ipconfig /all | find /i "DHCP Server"
Your gateway is not always the same thing (server, firewall, proxy, whatever) as your DHCP server. To find your DHCP server, go to the status of your network connection and go to the details and find the "DHCP Server" address.
Chances are good that it's a Windows DHCP server, so if you open up the DHCP MMC snapin and click on Action => Managed authorised DHCP servers it should hopefully list the DHCP servers that are authorised in Active Directory. You can then manage the DHCP server(s) from that same console and see what scopes and options you have defined.
One can also list all of the authorized DHCP servers in the domain by issuing the command, e.g. if you need to have it inventoried via script:
There is also a way to view all of the authorized DHCP servers in the domain via ADSI Edit tool.
"CN=NetServices,CN=Services,CN=Configuration,DC=yourdomain,DC=com"
.On Windows-based networks, the dhcp server is almost never on the gateway and almost always on the domain controller(s). What you're describing sounds like a perfectly normal network setup to me.
I moved the DHCP server from my sole Windows server to my router. I just configured DHCP on the router then that night turned it off on Windows and on on the router. No problems.