[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dhcp-client
Subject:    Linux Notebook & dynamic IP's (Was: Re: Linux + DSL + dynamic IP + dhclient-script?)
From:       Hermann Lauer <Hermann.Lauer () IWR ! Uni-Heidelberg ! De>
Date:       2000-11-29 14:45:52
[Download RAW message or body]

   *** From dhcp-client -- To unsubscribe, see the end of this message. ***


Hello all,

I munged around some time to get dhclient (3.0beta9) to work
with my notebook.

On Wed, Nov 29, 2000 at 08:55:34AM -0500, Ted Lemon wrote:
>    *** From dhcp-client -- To unsubscribe, see the end of this message. ***
> 
> 
> > SuSE 5.3, it was the first stable kernel until sometime after 6.3, which I 
> > also have but don't care that much for.
> 
> Urk.   Yes, ancient Linux kernels can be depended on not to work.   I
> suspect that this problem would go away if you upgraded, although I
> understand your desire not to.   If you don't lke 6.3, maybe NetBSD
> would be more to your liking... :')
> 
> > interface "eth1" {
> > fixed-address 10.255.255.10 ;
> > }
> 
> It's not a fixed address - the client doesn't really support such
> things.   You can define a lease in the config file, but I don't think
> the client will currently use it unless it can ping the router, and
> the semantics for expiring that lease aren't very helpful.

I found one bug with return values from scripts in dhclients code (I don't have my
laptop here at the moment, so I will send the patch later), after that
I got static leases working. So at the moment I can start dhclient and
it will get a lease from the net, if not it will fallback to a static
configured ip (wich I use at my home net with no dhcp avail.).

But the are two problems still unresolved:

1) How to expire such a lease say every hour (to recheck if dhcp is meanwhile
   available) ?
   Configuring a fixed expire time in the config file is not practical.
   I tried several of the lease-time, expire-time etc. options with no success.
   Maybe a better solution is the upcomming api to signal the dhclient
   to renew its lease? Any thoughts ?

2) I'm not shure how the timers are working - if the laptop suspends for
   some hours, the lease is first still valid (even if the lease time
   is over) and than suddenly the laptop changes the ip completely - without
   even one try to get the previous ip (i.e., no DHCPREQUEST, instead
   it uses DHCPDISCOVER). And the server (dhcpd-2.0) seems not to be smart enough
   to offer itself the same ip (of course only if it's still unused).
   I think that is also a iussue with the use of the timers.  

Anyways, many thanks to all workers on ISC dhclient - it has good features
compared to other clients I tried.

Greetings
	Hermann

-- 
Bildverarbeitungsgruppe des Interdiziplinaeren Zentrums fuer
wissenschaftliches Rechnen, Universitaet Heidelberg
INF 368; 69120 Heidelberg; Tel: (06221)54-8826, -6314  Fax: -8850
Email: Hermann.Lauer@iwr.uni-heidelberg.de

-----------------------------------------------------------------------
To unsubscribe from this list, visit http://www.isc.org/dhcp-lists.html
or send mail to dhcp-client-request@isc.org with the subject line of
'unsubscribe'.
-----------------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic