DHCP server

Discussion in 'Server Networking' started by Joe, Jan 23, 2004.

  1. Joe

    Joe Guest

    My DHCP server is not detected on a network.
     
    Joe, Jan 23, 2004
    #1
    1. Advertisements

  2. Could we have more details please? What device is running DHCP? What
    operating system are the clients? What type of network connection? Did this
    ever work?
    Any error messages? Anything in the event logs?

    --

    Thanks,
    Marc Reynolds
    Microsoft Technical Support

    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Marc Reynolds [MSFT], Jan 23, 2004
    #2
    1. Advertisements

  3. Joe

    Joe Guest

    The device that is running the DHCP server is a Windows
    2003 server and it is domain controller. The clients
    operating system is Win XP. This works only if I insert a
    static IP. The trouble is that a can´t ping the domain
    controller nor any machine on the network. Forthermore,
    the IP that was attributed to the machine is a Private IP
    Addressing - APIPA. I've gone over the DHCP server and
    found no errors in the log files.
     
    Joe, Jan 23, 2004
    #3
  4. Joe

    sharad Guest

    Is your win 2003 server multihomed?
    Does it have more than one NIC?
    Did you Authorise DHCP Server?
    Can the Server ping the client?
    further posting the results of ipconfig /all from the
    server would help in faster responses to your
    problem.

    Sharad


    The device that is running the DHCP server is a Windows
    2003 server and it is domain controller. The clients
    operating system is Win XP. This works only if I insert a
    static IP. The trouble is that a can´t ping the domain
    controller nor any machine on the network. Forthermore,
    the IP that was attributed to the machine is a Private IP
    Addressing - APIPA. I've gone over the DHCP server and
    found no errors in the log files.
     
    sharad, Jan 23, 2004
    #4
  5. Try moving your DHCP server to a machine that is not an AD machine. This
    was the only way I could get DHCP to work on my network after upgrading
    servers to 2003.

    Colin
     
    Colin Halliday, Jan 25, 2004
    #5
  6. Joe

    Joe Guest

    My windows server is not multihomed.
    It has more than one NIC.
    The server cannot ping the client.
    Here is an ipconfig /all of the server in question:

    Windows IP Configuration

    Host Name . . . . . . . . . . . . : netserver
    Primary Dns Suffix . . . . . . . : mic.pt
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    DNS Suffix Search List. . . . . . : mic.pt


    Ethernet adapter Local Area Connection:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Intel(R) PRO/1000
    MT Network Connection
    Physical Address. . . . . . . . . : 00-02-B3-E9-0B-87
    DHCP Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 10.1.0.2
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 10.1.0.1
    DNS Servers . . . . . . . . . . . : 10.1.0.2
    62.48.131.10
    Primary WINS Server . . . . . . . : 10.1.0.2

    Ethernet adapter Local Area Connection 2:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Intel 8255x-based
    PCI Ethernet Adapter (10/100)
    Physical Address. . . . . . . . . : 00-02-B3-E9-0B-17
    DHCP Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 10.1.0.3
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . :
    DNS Servers . . . . . . . . . . . : 10.1.0.2
    Primary WINS Server . . . . . . . : 10.1.0.2
     
    Joe, Jan 26, 2004
    #6
  7. Joe

    sharad Guest

    Did you authorise the DHCP server?
    What scope you have added? And did you
    authorize the scope too?

    Sharad
    My windows server is not multihomed.
    It has more than one NIC.
    The server cannot ping the client.
    Here is an ipconfig /all of the server in question:

    Windows IP Configuration

    Host Name . . . . . . . . . . . . : netserver
    Primary Dns Suffix . . . . . . . : mic.pt
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    DNS Suffix Search List. . . . . . : mic.pt


    Ethernet adapter Local Area Connection:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Intel(R) PRO/1000
    MT Network Connection
    Physical Address. . . . . . . . . : 00-02-B3-E9-0B-87
    DHCP Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 10.1.0.2
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 10.1.0.1
    DNS Servers . . . . . . . . . . . : 10.1.0.2
    62.48.131.10
    Primary WINS Server . . . . . . . : 10.1.0.2

    Ethernet adapter Local Area Connection 2:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Intel 8255x-based
    PCI Ethernet Adapter (10/100)
    Physical Address. . . . . . . . . : 00-02-B3-E9-0B-17
    DHCP Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 10.1.0.3
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . :
    DNS Servers . . . . . . . . . . . : 10.1.0.2
    Primary WINS Server . . . . . . . : 10.1.0.2
     
    sharad, Jan 26, 2004
    #7
  8. Joe

    Joe Guest

    The DHCP server is authorized .
    I didn't add any new scope. The only scope that I have is
    the following: 10.1.0.1 - 10.1.0.244
    Authorizing the DHCP server also authorizes the scope?
    If not, where do I go to authorize the scope.
     
    Joe, Jan 26, 2004
    #8
  9. Joe

    sharad Guest

    Sorry, I actually meant, 'Active' the scope (not 'Authorize) When you start
    DHCP Manager do you see a down arrow around it? If yes, then scope is not
    activated and you need to select it first by single click, then right click
    and select 'Activate'.

    However, from what you inform it must be already activated, you can just
    check to be sure.

    However, your NICs have static IP addresses of 10.1.0.2 and 10.1.03.
    So either you should add these two IP's in exclusion range, or you should
    change the scope to Start IP 10.1.0.4 , end IP 10.1.0.254.

    If the DHCP is authorized, scope is activated, then , is the DHCP Bound
    to NIC 1 (having IP of 10.1.0.2)?
    To check, in DHCP manager, right click on your servername, chose properties.
    Click on Advance Tab. There click on Bindings. Check that it, binding
    for 10.1.0.2 is checked.

    Sharad

    The DHCP server is authorized .
    I didn't add any new scope. The only scope that I have is
    the following: 10.1.0.1 - 10.1.0.244
    Authorizing the DHCP server also authorizes the scope?
    If not, where do I go to authorize the scope.
     
    sharad, Jan 26, 2004
    #9
  10. Joe

    Joe Guest

    Yes, I checked the scope is active.

    My NICs have static IP's and these IP's are included in an
    exclude IP range: 10.1.0.1 - 10.1.0.10.

    The binding for 10.1.0.2 is checked, I verified.
    (not 'Authorize) When you start
     
    Joe, Jan 26, 2004
    #10
  11. Joe

    sharad Guest

    What excactly the NIC 2 (10.1.0.3) does?
    Try, disabling that NIC for some time,
    and then check, by rebooting a client machine
    if it can then get dynamic IP from DHCP.

    Sharad
    Yes, I checked the scope is active.

    My NICs have static IP's and these IP's are included in an
    exclude IP range: 10.1.0.1 - 10.1.0.10.

    The binding for 10.1.0.2 is checked, I verified.
    (not 'Authorize) When you start
     
    sharad, Jan 26, 2004
    #11
  12. Joe

    Joe Guest

    I tried disabling NIC 2 (10.1.0.3) and rebooting a client
    machine but DHCP does not responde.

    the purpose of NIC 2 is just another connection to the
    switch.
     
    Joe, Jan 26, 2004
    #12
  13. Joe

    sharad Guest

    Well Joe, from all your replies, it seems you have done
    all the settings correct for the DHCP, and you also told that
    there are no any errors for DHCP.
    In the event viewer, for Application and Sytem, are there any
    errors reported? Even if they are not related to DHCP,
    please inform the Event IDs, if any errors found.

    Also check and make sure that File & Printer Sharing is
    enabled for NIC 1 (10.1.0.2).

    If no any other errors in event viewer then mostly File & Printer
    Sharing is already enabled on NIC 1. If this is the case already
    (i.e. no errors in event viewer, file and printer sharing is enabled
    for at least NIC1 (it can be enabled on both too)),
    and from the fact that you earlier mentioned that even with
    static IP set for the client (which I assume was in same subnet
    10.1.0.x), server can not ping the client and vice versa, I would
    suspect, either the cables problem, or the network switch proplem.
    To know if it is a network swtich problem, I would assing static
    IP to two Clients, in the same subnet. If they can ping each other
    network switch is OK, if they can't network switch has a porblem.

    Another way to check if it is a cable / or network switch problem,
    I would get a new cross over cable, remove the cable from NIC 1
    to network switch and instead connect a client machine with cross
    over cable from server NIC1, to client's machine, and will check
    if now the client is able to obtain dynamic IP from the DHCP.
    If this also doesn't work, then problem is with the server, but what
    problem.. no clue at all. If this work, then I would start looking at
    the cables from Server to the network switch, or at the network
    switch itself.

    Sharad


    I tried disabling NIC 2 (10.1.0.3) and rebooting a client
    machine but DHCP does not responde.

    the purpose of NIC 2 is just another connection to the
    switch.
     
    sharad, Jan 26, 2004
    #13
  14. Joe

    Joe Guest

    Sharad,

    I check to make sure that File & Printer Sharing is
    enabled for NIC 1 (10.1.0.2) and is was. There are no
    errors in the event viewer.

    Another thing, when I give the cliente machine a static IP
    that belongs to the scope range I defined I can ping the
    domain controller and the DHCP server.


    Their are no errors on the
     
    Joe, Jan 26, 2004
    #14
  15. Joe

    sharad Guest

    Well Joe,
    Everything seems to be in order, and yet the DHCP just
    doesn't work.

    Now do the client machines and the server plug in to the
    same network switch (or even cascaded network switched is also ok)?
    If not is there any router in between them?
    Are the network switches normal network switches (like a function of
    a hub) providing one to many connection, or is a special device proving
    router capbilities too in addition to network switch function?

    I would suggest to check by connecting a client machine,with a cross
    over cable and directly pluging it in to NIC 1, if the DHCP still
    does not give dynamic IP then something wrong in the server itself.

    Sharad


    Sharad,

    I check to make sure that File & Printer Sharing is
    enabled for NIC 1 (10.1.0.2) and is was. There are no
    errors in the event viewer.

    Another thing, when I give the cliente machine a static IP
    that belongs to the scope range I defined I can ping the
    domain controller and the DHCP server.


    Their are no errors on the
     
    sharad, Jan 27, 2004
    #15
  16. Joe

    Joe Guest

    Hello Sharad,

    I connected a client machine with a cross
    over cable directly pluging it into NIC 1 but the result
    is that the DHCP server continues not giving dynamic IPs.
    This is a very dificult situation. I would not suppose
    that there is softing wrong with the server because the
    server has been exaustively tested.
     
    Joe, Jan 27, 2004
    #16
  17. Joe

    sharad Guest

    Hi Joe,

    Thanks, for your quick and all understanding responses.
    I am at loss at present, what exactly is happening.
    Some servers (hardware) come with two NICs
    (mostly for NAT, RRAS), in many cases two NICs
    are not necessary.
    You have two NICs, having static IP in same subnet, which
    is not necessary as such.
    As a last suggestion from me, try as follow.

    A. NIC 2 (10.1.0.3) set to DHCP enabled IP
    Instead of static IP set it to obtain IP dynamically reboot the
    server. Check that NIC 2 has got an IP address and
    if yes, is it in 10.1.0.x subnet or not. (mostly it could be again 10.1.0.3
    that's OK
    because though same IP it has now got it from DHCP),
    (Also for this both the NICs must be connected to the same network
    switch.)
    If it gets the IP in 10.1.0.x subnet check the clients by rebooting
    mostly then they should be able to obtain IP from DHCP.

    If that doesn't work (i.e. NIC 2 doesn't get automatic IP in 10.1.0.x
    subnet then Try B. below)

    B: NIC 2, set to static IP in a different subnet:
    1. Set the static IP of your NIC2 (10.1.0.3) in some different
    subnet, give it as 192.168.0.1
    2. Make DHCP to bind only to 10.1.0.2
    3. Reboot the Server.
    4. Then try first with connecting a client PC with crossover cable
    connected to NIC 1 of the server, if DHCP then works.
    5. If it does, try it normal way, i.e. connecting NIC 1 to network
    switch.

    If nothing work, then a shot in the dark:
    set NIC 1 IP to 10.1.0.1 instead of 2,
    NIC 2 let it be 192.168.0.1 (and not in same subnet as 10.1.0.x)

    If none of above works I will keep an eye on this issue, if I get in to
    something that can help you, I will post it.

    Best Regard and more important Best of Luck

    Sharad

    Hello Sharad,

    I connected a client machine with a cross
    over cable directly pluging it into NIC 1 but the result
    is that the DHCP server continues not giving dynamic IPs.
    This is a very dificult situation. I would not suppose
    that there is softing wrong with the server because the
    server has been exaustively tested.
     
    sharad, Jan 27, 2004
    #17
  18. Joe

    Joe Guest

    Hello Sharad, I've got good news. The problem is solved
    thanks to you.

    I applied solution A like you told me and bulls eye it
    works. So the trick to it was to give an IP through DHCP
    to the second NIC.

    Once again, thank you very much for your great knowledge
    and help.

    Just one more thing: Is it possible for me to send a
    problem straight to you in this newsgroup?
     
    Joe, Jan 27, 2004
    #18
  19. Joe

    sharad Guest

    Hi Joe,
    Glad to know it finally worked!!
    Well, the exact problem is that, if a DHCP server has more than one NIC,
    which have static IP in the same subnet, it gets confused about assiging the
    dyamic IP addresses, since on both NICs different clients may requests, and
    it may land up in giving same IPs to clients
    conneting from different NICs. (The scope is valid for one NIC only and
    having same scope for two NICs, in the same subnet, will create a problem.)
    This is the reason why I asked you earlier to disable NIC2 and then try. But
    I thought that on win 2003 just disabling the NIC would work and there won't
    be a need
    to reboot the server after diabling the NIC, so I didn't ask you to reboot
    the server after disabling NIC2. Had I asked that time to reboot, it would
    aslo have worked!
    So in short, for DHCP to work, the NICs should not have STATIC IP in the
    same subnet. So the solution given in B would also have worked. y
    In future, if you go for RRAS (NAT) with two NICs, which needs static IP for
    both the NICs, make sure that NIC 2 IP will not be same subnet as NIC 1
    (i.e. with subnet mask of 255.255.255.0 and NIC 1 IP in 10.1.0.x subnet,
    NIC2 IP should not be in subnet 10.1.0.x, however, it could be in 10.1.1.x
    subnet.)

    Now, you want to contact me directly, it is not possible contacting "in this
    group and still directly to me" you will have to send me
    an email on my e-mail address. But first let me tell you frankly that " I am
    not an expert", I don't have any certifications
    for microsoft or any software company for that matter, my job is not really
    (and never was) software related, I just happen
    to be a default administrator of our small network, I did not do any
    software courses, it is just my interest that I try to
    learn as much I can. I landed in to this (or any newsgroup for that matter),
    because I had problems and didn't know what to
    do, and someone told me to post question in this news group. Now I have
    subscribed to this (networking), DNS and General
    news group. This is a time, that I have some spare time these days that I
    can contribute and follow further, in these news groups,
    within another 2 weeks I won't get that much time (my job is somethig else,
    not this).
    You can e-mail me any time at , since I never did any
    course in any kind of software, I may or may not
    be able to understand the problem, may or may not be able to give any
    suggession and most important I travel a lot (more than
    15 days a month I am out) so may not even read mails for days.
    So do not forget to post the problem / questions on the newsgroup as well.
    But whenever I have any chance, I would be glas to receive
    mails with problems, even if I can not do anything, it helps me to improve
    my knowledge.
    (I am posting such long reply, since I doubt that, anyone else, apart from
    you will see/read it ;) )

    Thanks and Best Regards

    Sharad

    Hello Sharad, I've got good news. The problem is solved
    thanks to you.

    I applied solution A like you told me and bulls eye it
    works. So the trick to it was to give an IP through DHCP
    to the second NIC.

    Once again, thank you very much for your great knowledge
    and help.

    Just one more thing: Is it possible for me to send a
    problem straight to you in this newsgroup?
     
    sharad, Jan 28, 2004
    #19
  20. Joe

    sharad Guest

    Sorry, the email address is
    mispelled it, in previous reply.
     
    sharad, Jan 29, 2004
    #20
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.