Re: How to keep a static IP and let DNS addresses be dynamically updated on Linksys WRT54GS ?



On Wed, 24 Aug 2005 12:03:46 -0700, Jeff Liebermann
<jeffl@xxxxxxxxxxxxxxxxxxxxxx> wrote:


>You can try it yourself. Setup your router with a DHCP server using
>whatever address you find useful such as 192.168.1.1. Connect with a
>typical Windoze client which gets its IP address from the DHCP server
>in the router. Now, dive into the routers DHCP server configuration
>and change the /24 IP block to something like 192.168.111.1. This
>should probably be done with a 2nd computah, but it will work using
>just one machine. Now, do whatever you find entertaining on the
>router to get the client to expire the lease prematurely and get a new
>IP address in the correct /24 block. You can reboot, thrash,
>broadcast, curse, or whatever, the stupid Windoze DHCP client will
>just sit there on the wrong IP address until 50% of the lease time has
>expired. It will then try to renew the lease and get a DHCPNAK which
>will eventually convince it to ask for a new IP address. This is the
>same as:
> ipconfig /release
> ipconfig /renew
>My point is that the renewal has to be initiated by the client, not by
>the DHCP server.

Well, I lied a bit. If your Windoze client has the "detect network
connections" check box set, rebooting the router will cause the
ethernet connection to disconnect. This signals Windoze clear the
DHCP assigned IP values and get a new set of IP/DNS/Gateway IP
addresses. This is the same effect as rebooting the router to get a
new set from the ISP. So, if we eliminated rebooting the router or
rebooting client as an option, the above DHCP test is still valid.


--
Jeff Liebermann jeffl@xxxxxxxxxxxxxxxxxxxxxx
150 Felker St #D http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
AE6KS 831-336-2558
.



Relevant Pages

  • Re: Troubles with DHCP when using wireless access
    ... You need to configure BOOTP/client on the router giving the ... IP Helper (or DHCP server) address as 192.168.1.10 ... > connecting to a subnet with IPs in the 192.168.1.xxx range. ...
    (microsoft.public.windows.server.networking)
  • Re: Internet Connection Sharing Problem
    ... My ICS host has a dial up connection to my ISP. ... the host connects to a D-link router used as a Wireless Access Point for my ... The network is running fine and I can access the client drives and printers ... client must get its TCP/IP configuration from the host's DHCP server. ...
    (microsoft.public.windowsxp.network_web)
  • RE: How do I create a Backup Domain Controller?
    ... I agree with Ada that DHCP server to assign tcp/ip settings is a good ... I also think replace a advanced router could be a good idea. ... displayed on the client via command "ipconfig /all". ...
    (microsoft.public.windows.file_system)
  • Re: [SLE] Cannot talk to netgear WGT624 wireless router ??
    ... static ip for running a web server and email. ... dhcpcd = the client daemon, requests IP leases from the dhcp server ... either router can probably be configured as follows: ... a client to the modem's built-in routing capability and dhcp server. ...
    (SuSE)
  • Re: Urgent! New router and big disaster
    ... it's quite possible you misconnected the nics when you put the server ... just File and Printer Sharing and the Microsoft Client ... running the internet connection wizard, ... I wonder if I may have missed a firewall setting on the router as well. ...
    (microsoft.public.windows.server.sbs)