DHCP problem

I am working on a windows 2003 server it has been setup this way

                                                                   |------computer
Internet----DSL"modem"-----Router-----switch|------computer
                                                                   |------computer
                                                               
my objective  is to give all the clients computers Internet access through the
the server DHCP now this is how server is setup

Server TCP/IP settings =  Ip address: 192.168.1.2
                                      Subnet mask: 225.225.225.0
                                      Default gateway: 192.168.1.1
                                      Preferred DNS server : 192.168.1.2

Server is setup for

DHCP --scope from 192.168.1.10  to 192.168.1.254
Reservations: none

DNS server: Forward lookup zones is only setup for the AD intergrated pramary

AD: is also setup on this server

and is also setup as a file server

now the main problem is none of clients  are getting  Internet acess through the DHCP setup on the server. the modem ip adress is 192.168.1.1 and is also doing DHCP through 192.168.1.100 to 192.168.1.250 which I believe  it need to be turned off im not 100% sure on this + my mind is not working 100% likely  I also notice that the DHCP become active on the dhcp window if i click on it if i close the dhcp window and reopen it is not connected by default does anyone see anything particularly wrong on this setup that might be causing this problem thank you in advanced

best regard
natcom



LVL 8
natcomAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rindiCommented:
First, where in your network diagram above does your server sit? And yes, you need to turn of the DHCP server of router. Can you, after you have turned that off, reboot one of the computers and also post it's ipconfig /all here.
natcomAuthor Commented:
The Server is also connected to the switch now  the router is setup to obtain IP address automatically do I set this up to static IP address
of let said  192.168.1.1 for default gateway The Wan ip address? and for dns the isp DNS ?  and turn of the DHCP.?



thank you for replying
mmcmcmcCommented:
If you have AD installed on the server you must have a DNS server installed on this as well. You can then set up your DHCP on your server (like rindi said, turn of dhcp on the router) with dns pointing to your server and the default gateway to point at the router (192.168.1.1). The DNS server should then be set up to forward any request to your ISP's dns. The server itself should too have the same ip-settings as the clients.
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

rindiCommented:
The router will have at least 2 network connections. One is WAN and that should be connected to the ISP side. This would normally be setup to get the ip automatically. The other is LAN and should either be set to the static IP of 192.168.1.1, or if it is set to dynamic, you must make a reservation on your server's DHCP setting for the MAC address of that NIC to allways get the address 192.168.1.1.
dlonganDirector of ITCommented:

Router:
1) WAN IP set obtain IP auto (this is ISP specific and could be different)
2) Disable DHCP
3) LAN IP address should be 192.168.1.1 mask 255.255.255.0

Server:

1) DHCP Scope - define router option to point to 192.168.1.1 and dns option to point to 192.168.1.2
2) Configure DNS for you local domain and ensure you setup forwarding to your ISP dns servers
natcomAuthor Commented:
Rindi here is the info you ask

Windows IP Configuration

        Host Name . . . . . . . . . . . . : xxx
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection 2:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Intel(R) PRO/100 VE Network Connecti
on
        Physical Address. . . . . . . . . : xxx-xxx-xx
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.1.10
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :
        DHCP Server . . . . . . . . . . . : 192.168.1.2
        DNS Servers . . . . . . . . . . . : 192.168.1.2
        NetBIOS over Tcpip. . . . . . . . : Disabled
        Lease Obtained. . . . . . . . . . : Saturday, July 02, 2005 4:45:34 PM
        Lease Expires . . . . . . . . . . : Tuesday, July 12, 2005 7:45:34 PM

mmcmcmc: Dns is setup on this server only that was not setup for forward  isp dns  also im not sure what do you mean when you said The server itself should too have the same ip-settings as the clients. clients are all setup to get ip address from the DHCP

dlongan: I will make sure that is setup this way

I will get back with more info as soon as get back to work on this thank you all
ccomleyCommented:
Your DHCP Server is *not* giving out Default Gateway info.

Depending what you use as DHCP server this may not be automatic.

If the *router* is teh DHCP server I'd expect it to give itself out as DGway.

If you're using a Windows DHCP server you will need to open up the scope "options" page and add the default gateway and DNS servers to that that you wish the DHCP to give out to workstations.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mmcmcmcCommented:
The DNS forward is described here: http://www.petri.co.il/install_and_configure_w2k_dns_server.htm at the very end. It is shortly that if your server does not know the ip for a certain DNS, then it forwards the request to your ISP who then should know.
mmcmcmcCommented:
By the same IP-settings as the clients but without DHCP, it should look like this (copied from above)

Ethernet adapter Local Area Connection 2:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Intel(R) PRO/100 VE Network Connection
        Physical Address. . . . . . . . . : xxx-xxx-xx
        Dhcp Enabled. . . . . . . . . . . : No
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.1.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.1
        DHCP Server . . . . . . . . . . . : 192.168.1.2
        DNS Servers . . . . . . . . . . . : 192.168.1.2
        NetBIOS over Tcpip. . . . . . . . : Disabled
        Lease Obtained. . . . . . . . . . : Saturday, July 02, 2005 4:45:34 PM
        Lease Expires . . . . . . . . . . : Tuesday, July 12, 2005 7:45:34 PM
natcomAuthor Commented:
is this a sample on how the server need to look  ? how come the ip address and the default gateway are the same ? cause I think is like ccomley said that the DHCP is not doing what it supposed to do. the good thing is that I have about a week to get this done
natcomAuthor Commented:
if I turn off the router DHCP completely off not even the server  is able to access the Internet I will continue to work throughout the day on this and I    will pick the correct answer when this is all said and done
rindiCommented:
As ccomley has said, it should only be necessary to add the router address (192.168.1.1) in your dhcp server do that your clients will get the correct gateway address. After that they should be able to connect to the internet.
mmcmcmcCommented:
Sorry, the ip of the server should be 192.168.1.2 and you should set up all the options as static.

Ethernet adapter Local Area Connection 2:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Intel(R) PRO/100 VE Network Connection
        Physical Address. . . . . . . . . : xxx-xxx-xx
        Dhcp Enabled. . . . . . . . . . . : No
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.1.2
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.1
        DHCP Server . . . . . . . . . . . : 192.168.1.2
        DNS Servers . . . . . . . . . . . : 192.168.1.2
        NetBIOS over Tcpip. . . . . . . . : Disabled
        Lease Obtained. . . . . . . . . . : Saturday, July 02, 2005 4:45:34 PM
        Lease Expires . . . . . . . . . . : Tuesday, July 12, 2005 7:45:34 PM
rindiCommented:
You also need to set the ip address of the lan port on your router to 192.168.1.1 netmask 255.255.255.0.

The server's NIC has to be setup like this:

IP           192.168.1.2
netmask      255.255.255.0
gateway      192.168.1.1
dns servers  Those of your ISP
makanaCommented:
Can you double check the DHCP configuration as said on MS's Site?
do you use SP2?
natcomAuthor Commented:
this is a windows 2003 server enterprise edition only with sp1

rindi: I read some here that You must configure the would-be Domain Controller to use it's own IP address as the address of the DNS server, so it will point to itself when registering SRV records and when querying the DNS database.
natcomAuthor Commented:
if the Server ip address is setup to 192.168.1.2  what DHCP scope do you guys recommend also when turning the router to static IP address what static IP settings do you recommend it is possible to leave the router to obtain a IP address automatically and set the server outside of the DHCP arrange and also the DHCP scope ?
natcomAuthor Commented:
I am happy to announce that I managed this to work with your help. I will split the points according to the best answers once again thank you for your
support  also that was not need to turn off the Dhcp I managed this to work without turning off DHCP also my apologies for giving you the wrong information as the server was not the enterprise edition it is Windows 2003 Standard Edition  this is a very small business not many clients thank you once again
rindiCommented:
The server itself must know the outside dns server's addresses, but in DHCP server you have to put the server as DNS Server. That way your local PC's will first query your server, and if they need an ip on the internet, the server then passes on the query to your ISP's DNS servers.

The router, leave it at 192.168.1.1 and the scope should be about the number of PC's you'll want to serve. I'd reserve some static IP's for lan printers with direct lan connections etc, so the scope you wanted above should do, or maybe better start with 192.168.1.100-254, that is probably enough for your system.
rindiCommented:
Thanks too.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.