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



On Thu, 25 Aug 2005 13:45:18 -0300, Derek Broughton
<news@xxxxxxxxxxxxxx> wrote:

>Jeff Liebermann wrote:
>
>> On Thu, 25 Aug 2005 08:57:56 -0300, Derek Broughton
>> <news@xxxxxxxxxxxxxx> wrote:
>>
>>>Not what I was suggesting. All DHCP servers I have used have an option to
>>>offer IP "X" to MAC address "Y" - if the DHCP server in the Linksys could
>>>do that (either with or without 3rd party firmware), then it would solve
>>>his problem.
>>
>> That's called "static DHCP" where the MAC address of a client is
>> reserved for only that client. That works just fine for insuring that
>> the IP address does not change. However, it does NOT reserve the
>> gateway IP address, or the DNS IP addresses which are the current
>> problem. In other words, it would do nothing to solve the moving DNS
>> servers IP's.
>
>That didn't sound like the OP's problem.
>
>He wrote:
>
>> Is there a way to fix the address on the router using a table which
>> would associate the IP with the computer's MAC address (so the router
>> DHCP will always give the same IP to a given computer) ?

>He wanted to give his local machines fixed (or at least predictable) IPS.
>Seems to me that this would do the job - along with your previous
>suggestion to set the local computers' DNS server to the router.

Please go up one paragraph where he wrote:
"My problem is my provider updates the DNS addresses several time
a day so I need them to be updated automatically or I will
sometimes lose the name resolution."

What you quoted was his proposed solution to the moving DNS servers
supplied by his ISP. That solution (static DHCP) will not do anything
for the moving DNS server problem. Note that one of my proposed
solutions is to simply ignore the shifting DNS servers and find a
different DNS server that doesn't change. That should best be done in
the WRT54G WAN config, but could also be setup in the client PC's.

Incidentally, this is a great example of why I wanna know what the
problem that the OP is trying to solve, and not the place where the OP
thinks they are stuck.


--
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: [RFC] Automated generation of /etc/resolv.conf from the rc.d script
    ... DNS servers we learn from DHCP. ... +# resolv. ... Implement creation of namedforwarders file via /etc/rc.d/resolv ... +as the first DNS server when building of the forwarders file is enabled. ...
    (freebsd-current)
  • Re: How to keep a static IP and let DNS addresses be dynamically updated on Linksys WRT54GS ?
    ... >>Not what I was suggesting. ... All DHCP servers I have used have an option to ... > would associate the IP with the computer's MAC address (so the router ...
    (alt.internet.wireless)
  • Re: Why adding secondary IP to NIC of DNS servers failed ?
    ... network on the 1.0.0.x subnet and some DNS servers on the 200.1.1.x subnet, ... When you added the 1.0.0.x address to the DNS server, ... If you don't have the 1.0.0.x application servers and the 1.0.0.x DNS ... If only the 1.0.0.x network is having trouble, ...
    (microsoft.public.windows.server.dns)
  • Re: Why adding secondary IP to NIC of DNS servers failed ?
    ... I thought you said the 200.1.1.x network was having problems. ... between the 1.0.0.x application servers and the DNS servers? ... Can you ping the DNS server from the application server? ... confers no rights. ...
    (microsoft.public.windows.server.dns)
  • Re: NAT and AD
    ... I've always used a router/firewall to handle NAT. ... Are you using DHCP? ... Change the IPs on the servers ... forwarders in your DNS server itself to point to your ISP's DNS servers. ...
    (microsoft.public.win2000.active_directory)