+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 20
O/S Deployment Thread, WDS & DHCP Error! Help was working yesterday! in Technical; I got WDS working nicely as it should just before the holiday. I then had a computer which i needed ...
  1. #1
    jamin100's Avatar
    Join Date
    Feb 2008
    Location
    Birmingham
    Posts
    1,066
    Thank Post
    150
    Thanked 99 Times in 79 Posts
    Rep Power
    33

    WDS & DHCP Error! Help was working yesterday!

    I got WDS working nicely as it should just before the holiday. I then had a computer which i needed to inject some nic drivers using imagex. I did this fine and the computer went on to image fine.

    I then come to deploy an image to my test computer (which i have already successfully images a few times) but im now getting a dhcp error

    "WDSclient: an error occured while trying to obtain an IP address from the DHCP server. Please check to ensure that there is an operational DHCP server on this network segment"

    If i shift+f10 i dont have an IP address and cant ping any of my servers.
    Last edited by jamin100; 8th June 2011 at 11:30 AM.

  2. #2
    jamin100's Avatar
    Join Date
    Feb 2008
    Location
    Birmingham
    Posts
    1,066
    Thank Post
    150
    Thanked 99 Times in 79 Posts
    Rep Power
    33
    UPDATE:

    Nothing is now working! I cant deploy any images at all as i keep getting the same DHCP error.

    What ive tried:
    Created a new boot image from the Vista DVD
    moved DHCP to a different server (still not on the same one as WDS)


    This is crazy as I imaged a netbook with WDS yesterday and it worked fine!

  3. #3
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,988
    Thank Post
    120
    Thanked 283 Times in 261 Posts
    Rep Power
    107
    Is there a rogue DHCP server affecting it? The clients maybe ok but a PXE boot might be a little more sensitive to such things.

  4. Thanks to ChrisH from:

    jamin100 (8th June 2011)

  5. #4
    jamin100's Avatar
    Join Date
    Feb 2008
    Location
    Birmingham
    Posts
    1,066
    Thank Post
    150
    Thanked 99 Times in 79 Posts
    Rep Power
    33
    Quote Originally Posted by ChrisH View Post
    Is there a rogue DHCP server affecting it? The clients maybe ok but a PXE boot might be a little more sensitive to such things.
    Not that I can tell but how would I check?

  6. #5
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,988
    Thank Post
    120
    Thanked 283 Times in 261 Posts
    Rep Power
    107
    You would have to run something like wire shark and filter for DHCP messages such as offer and acceptance of DHCP leases or in my case in the past an old dhcp server on a Censornet box would be active with no scope and the clients would always find it first. After it refused to give an IP address multiple time the clients finally found the windows DHCP server.
    I would just do a port mirror on your switch of the client you are trying to boot up or run it from your workstation and check general traffic on the network for it. If you do the port mirror you can see exactly what the client is/isn't receiving.

  7. Thanks to ChrisH from:

    jamin100 (8th June 2011)

  8. #6
    jamin100's Avatar
    Join Date
    Feb 2008
    Location
    Birmingham
    Posts
    1,066
    Thank Post
    150
    Thanked 99 Times in 79 Posts
    Rep Power
    33
    It doesnt look like there is from what I can tell.
    Its really bugging me though as I was going to use WDS to deploy my images in the summer rather than ghost!

  9. #7
    jamin100's Avatar
    Join Date
    Feb 2008
    Location
    Birmingham
    Posts
    1,066
    Thank Post
    150
    Thanked 99 Times in 79 Posts
    Rep Power
    33
    UPDATE:
    one of the machines (a new netbook) that wasnt working this morning is now working fine
    What i have done:

    Code:
    1. Mounted index 2 of the boot.wim file.
    
    2. Renamed setup.exe to setupx.exe in the root of the image.
    
    3. Edited \windows\system32\startnet.cmd in the mounted image
    
    @echo off
    
    @echo Loading WinPE...
    wpeinit
    
    @echo Starting networking...
    :testagain
    ping -n 1 SERVERNAME > NUL
    if %errorlevel% == 0 goto pingok
    REM wait 3 sec. and try it again
    ping -n 3 127.0.0.1 >nul
    goto testagain
    :pingok
    
    @echo Running Setup...
    x:\setupx.exe /wds /wdsdiscover /wdsserver:SERVERNAME
    4. Saved and unmounted index 2 and added to WDS.
    I then tried to deploy an image but it just hung on starting Networking

    So i just tried another clean boot.wim that i have on the WDS server and to my surprise it works!

    So i tried the same procedure with another 2 machines, both different spec but they are still failing on getting an IP from the DHCP server! ?

    WDS does work fine with a VirtualMachine though

  10. #8
    jamin100's Avatar
    Join Date
    Feb 2008
    Location
    Birmingham
    Posts
    1,066
    Thank Post
    150
    Thanked 99 Times in 79 Posts
    Rep Power
    33
    This still isnt working

    Here's where im at so far;

    I have 2 machines (1 hp, 1 NEC) that I have previously imaged through WDS fine.
    When booting into the deployment bit of WDS they cannot get an IP from the DHCP server
    If they boot into windows they get a IP address fine
    Ipconfig wont assign them an IP either
    I have injected the drivers into the boot.wim and still not working.
    DHCP seems to be working fine.
    PXE boot is enabled in the BIOS

    I'm now out of ideas...

  11. #9

    Join Date
    Jan 2008
    Location
    South West
    Posts
    1,806
    Thank Post
    215
    Thanked 266 Times in 216 Posts
    Rep Power
    68
    what about your switch? Have you enabled STP fast start on your ports. I find this causes DHCP issues with ghost etc but windows is running long enough to eventually pick up an ip.

  12. #10
    jamin100's Avatar
    Join Date
    Feb 2008
    Location
    Birmingham
    Posts
    1,066
    Thank Post
    150
    Thanked 99 Times in 79 Posts
    Rep Power
    33
    Quote Originally Posted by chazzy2501 View Post
    what about your switch? Have you enabled STP fast start on your ports. I find this causes DHCP issues with ghost etc but windows is running long enough to eventually pick up an ip.
    Thanks, thats my next port of call. I've asked link2ICT to enable fast port spanning on the cicso switches we have. Just waiting for them to get back to me now . . ..

  13. #11

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,722
    Thank Post
    867
    Thanked 664 Times in 437 Posts
    Rep Power
    501
    Network Drivers?

    I#ve had this where it PXE boots into WDS/WInPE but then loses its drivers, meaning you may need to inject some drivers into the Boot Image or WIM if its an image file

  14. #12

    Join Date
    Jan 2008
    Location
    South West
    Posts
    1,806
    Thank Post
    215
    Thanked 266 Times in 216 Posts
    Rep Power
    68
    Incase anyone is wondering this is a really nice explanation of STP and what fast start does.

    Spanning Tree

    If you have recently migrated from a hub environment to a switch environment, startup connectivity delays can appear because a switch works much differently than a hub. A switch provides connectivity at the data link layer, not at the physical layer. The switch uses a bridging algorithm in order to decide if packets that are received on a port need to be transmitted out other ports. The bridging algorithm is susceptible to physical loops in the network topology. Because of this susceptibility to loops, switches run the protocol STP that causes loops to be eliminated in the topology. When you run STP, all ports that are included in the spanning tree process become active much slower than they otherwise become active as STP detects and blocks loops. A bridged network that has physical loops, without STP, breaks. Despite the time that the process involves, STP is beneficial. STP that runs on Catalyst switches is an industry-standard specification (IEEE 802.1D).

    After a port on the switch has linked and joined the bridge group, STP runs on that port. A port that runs STP can be in one of five states:

    blocking


    listening


    learning


    forwarding


    disabled


    STP dictates that the port starts out blocking, and then immediately moves through the listening and learning phases. By default, the port spends approximately 15 seconds listening and 15 seconds learning. During the listening state, the switch tries to determine where the port fits in the spanning tree topology. The switch especially wants to know whether this port is part of a physical loop. If the port is part of a loop, the port can be chosen to go into blocking mode. The blocking mode means that the port does not send or receive user data in order to eliminate loops. If the port is not part of a loop, the port proceeds to the learning state, in which the port learns which MAC addresses live off this port. This entire STP initialization process takes about 30 seconds.

    If you connect a workstation or a server with a single NIC card or an IP phone to a switch port, the connection cannot create a physical loop. These connections are considered leaf nodes. There is no reason to make the workstation wait 30 seconds while the switch checks for loops if the workstation cannot cause a loop. Cisco added the PortFast or fast-start feature. With this feature, the STP for this port assumes that the port is not part of a loop and immediately moves to the forwarding state and does not go through the blocking, listening, or learning states. This command does not turn STP off. This command makes STP skip a few initial steps (unnecessary steps, in this circumstance) on the selected port.
    Taken from here:

  15. #13
    Jamo's Avatar
    Join Date
    Jan 2009
    Posts
    1,354
    Thank Post
    66
    Thanked 175 Times in 147 Posts
    Rep Power
    60
    So the machine works in Windows on the same port that PXE doesn't? You should be able to eliminate the STP issue by restarting into PXE rather than powering off and on I would think?

    When booting into the deployment bit of WDS they cannot get an IP from the DHCP server
    If they boot into windows they get a IP address fine
    Ipconfig wont assign them an IP either

    You can get to the deployment part of WDS using PXE then? Do you have driver compatability issues? ie a dodgy one?

  16. #14
    jamin100's Avatar
    Join Date
    Feb 2008
    Location
    Birmingham
    Posts
    1,066
    Thank Post
    150
    Thanked 99 Times in 79 Posts
    Rep Power
    33
    Quote Originally Posted by Jamo View Post
    So the machine works in Windows on the same port that PXE doesn't? You should be able to eliminate the STP issue by restarting into PXE rather than powering off and on I would think?

    You can get to the deployment part of WDS using PXE then? Do you have driver compatability issues? ie a dodgy one?
    Thanks,

    Right, the pc will boot into windows and get an IP fine through DHCP.
    PXE booting also works as it download the boot image from the WDS server
    However when loading the boot image it says that there is an error getting an IP address from the DHCP server. If if get into a command prompt I cant force it to find an ip either with ipconfig.

    I have injected the drivers for the computer into the boot.wim

  17. #15


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,728
    Thank Post
    229
    Thanked 873 Times in 750 Posts
    Rep Power
    299
    when booted from wds what DOES ipconfig show does it know theres a network card there or just return blank?
    Last edited by sted; 16th June 2011 at 09:08 AM.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. using the same wds server for xp and windows 7 deployment
    By ful56_uk in forum O/S Deployment
    Replies: 6
    Last Post: 16th June 2010, 10:06 AM
  2. [WDS] WDS Windows Deployment Services to image an iMac?
    By eddyc in forum O/S Deployment
    Replies: 0
    Last Post: 24th April 2010, 11:59 AM
  3. [WDS] Schdule WDS image deployment?
    By adamchapman in forum O/S Deployment
    Replies: 1
    Last Post: 15th February 2010, 07:58 AM
  4. file missing or corrupt after WDS deployment
    By goodhead in forum Windows
    Replies: 4
    Last Post: 6th November 2009, 07:47 PM
  5. Windows Deployment Services (WDS) Image Error
    By adamchapman in forum How do you do....it?
    Replies: 1
    Last Post: 3rd September 2009, 09:59 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •