On Sat, 12 Apr 2008 06:58:26 -0700 (PDT)
Gary Gendel <gary at genashor.com> wrote:

> I've been wondering about this for some time now...
> 
> If you have a typical consumer HW router, there is a limited number of 
> psuedo-static addresses that can be set.  Is it possible to set up machines 
> that can have a fixed ip address (outside the dynamic IP address space 
> returned by the router), but somehow still retrieve DHCP information to set 
> up the appropriate nameservers in resolv.conf?

I'm not completely sure what you mean by pseudo-static.  Do you mean
address where you create a fixed mapping between mac and IP at the
router and have DHCP server those back to you?  So you already have
that address configured but you want to query for other configuration
parameters.  RFC 2131 section 2.1 actually calls this out as the "first
service" of DHCP whereas the second service is allocation of
addresses.  OTOH if the device was so limited that you couldn't store
enough mac/ip pairs for your network I wonder if I would trust it to do
something as simple as be more then ++bootp?

> 
> Currently I hard-code these in resolv.conf but I have been hit twice when my 
> ISP changed its nameservers (of course they don't bother to warn you).  I 
> suppose the solution must periodically check to see if this information has 
> been updated.  It's an interesting puzzle.

Looking quickly at the man pages I didn't see how to do this directly
with our DHCP tools.  But if you can't find a program out there that
didn't do this already with the RFC reference above it looks to me like
you should be able to write one quickly.

                        mph

> 
> Gary
> 
> Message was edited by: 
>         ggendel
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> nwam-discuss mailing list
> nwam-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/nwam-discuss

Reply via email to