1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DHCP Search timeout / Multi-homing

Discussion in 'Windows XP' started by Jack B. Pollack, Apr 1, 2010.

  1. Jack B. Pollack

    Jack B. Pollack Flightless Bird

    I have a laptop that I use at several locations. Most of the locations use a
    DHCP, but a few require fixed IPs.
    I have the NIC set for DHCP with the alternate settings set to the fixed IP
    info. This works fin except it takes the computer 60 seconds or so before
    the search for DHCP times out and it defaults to the fixed settings.

    Is there a way to reduce the DHCP search timeout so it will default to the
    fixed settings faster?

    If not, I have been looking into multi-homing the NIC.
    I tried setting

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSetServices\Tcpip\Parameters\Interfaces\(MYNIC)
    IPADDRESS Key =
    0.0.0.0
    192.168.1.50

    SubNetMask Key =
    0.0.0.0
    255.255.255.0

    I rebooted, but if there is no DHCP server it is not using the static IP.
    I also did a ipconfig /all but do not see the fixed IP
     
  2. John Wunderlich

    John Wunderlich Flightless Bird

    "Jack B. Pollack" <N@NE.nothing> wrote in
    news:-O092gcZ0KHA.3676@TK2MSFTNGP05.phx.gbl:

    > I have a laptop that I use at several locations. Most of the
    > locations use a DHCP, but a few require fixed IPs.
    > I have the NIC set for DHCP with the alternate settings set to the
    > fixed IP info. This works fin except it takes the computer 60
    > seconds or so before the search for DHCP times out and it defaults
    > to the fixed settings.
    >
    > Is there a way to reduce the DHCP search timeout so it will
    > default to the fixed settings faster?
    >
    > If not, I have been looking into multi-homing the NIC.
    > I tried setting
    >
    > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSetServices\Tcpip\Parameter
    > s\Interfaces\(MYNIC) IPADDRESS Key =
    > 0.0.0.0
    > 192.168.1.50
    >
    > SubNetMask Key =
    > 0.0.0.0
    > 255.255.255.0
    >
    > I rebooted, but if there is no DHCP server it is not using the
    > static IP. I also did a ipconfig /all but do not see the fixed IP


    IMHO, the best solution for you is a networking switching program like:
    "Free IP Switcher 1.0"
    http://www.eusing.com/ipswitch/free_ip_switcher.htm

    Alternatively, you can set up several .bat files with a bunch of
    customized 'netsh' commands such as:

    netsh interface ip set address name="Local Area Connection" source=dhcp

    which you run depending on your location.

    HTH,
    John
     

Share This Page