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

Can't get Static DHCP to stick

Discussion in 'DD-WRT Firmware' started by clarkkent333, Sep 28, 2005.

  1. clarkkent333

    clarkkent333 Network Guru Member

    I'm trying to set up my new wrt-54g w/DD-WRT 22-r2 to port forward for a variety of applications but I can't seem to get the Static DHCP to stick. I've got it setup properly, when I go into Status/Local Network and click on the DHCP Clients Table it's in there. Problem is, there is another IP in there (I assume the one that the router originally handed out) and it's running all my ports through that. I can't seem to delete it out of the Client Table. Any suggestions on what to do would be greatly appreciated. Thanks.
     
  2. bigjohns

    bigjohns Network Guru Member

    Once you assign static IP via DHCP in the router, you have to go to the connected PC and do an IP release.

    On windows machines, open a command window and type:

    Ipconfig /release

    Then, wait about a minute, and type:

    IPCONFIG /RENEW

    That will kick the old address out of the computer, and when the computer renews it should be assigned the static address reserved in the router.
     
  3. JensG

    JensG Network Guru Member

    I have a setup where all(4) my connected clients get assigned static IP's from the router, and my clients just changed IP when I set it up in the router. No double IP's and no release/renew from my side.

    I have set the DHCP Starting IP Address in the Setup section to start after the IP's I'm assigning static.
     
  4. clarkkent333

    clarkkent333 Network Guru Member

    Well I tried the Ipconfig commands and it still picked up the same original 192.168.1.102 from the router and not the new static ip.
     
  5. bigjohns

    bigjohns Network Guru Member

    NOTE: DHCP range MUST include the 'reserved' addresses.

    This is because these are "reserved" addresses, not static assignments.

    If you wish to just use static addressing, assign a static address on your computer in it's network settings dialogs. These addresses do not need any special treatment in the router.

    John
     
  6. clarkkent333

    clarkkent333 Network Guru Member

    So I went into the Network Configuration and took it off obtain IP automatically. Then entered in my static IP that I assigned it as well as the other info obtained when I ran an ipconfig /all command. It seems to have taken but I'm curious if I will have problems with this method later on. Is there a better way to do this or is the manual entering the only solution?
     
  7. JensG

    JensG Network Guru Member

    I have no problems with assigning addresses x.x.x.100 to 103 static, and then having the DHCP Server Starting IP Address be x.x.x.105.

    When the static IP's are assigned from the computers own network settings, they can't be seen in the routers log.
     

Share This Page