[ previous ] [ next ] [ threads ]
 From:  Joey Morin <jmorin at icomm dot ca>
 To:  Adam Nellemann <adam at nellemann dot nu>
 Cc:  Fred Wright <fw at well dot com>, <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall] DHCP server - static clients only
 Date:  Thu, 24 Jun 2004 15:43:38 -0400 (EDT)
This one time, at band camp, Adam Nellemann said:

> What if m0n0wall were to treat ALL DHCP leases as (semi-)static, in that
> once a given host (MAC) was assigned an IP from the dynamic pool,
> m0n0wall would create a (semi-permanent) static mapping for it, and save
> this to the CF. Then, whenever that host requests an IP, the same one
> would be used (regardless of any crashes in the meantime). In case no
> more dynamic IPs (that haven't previously been made "semi-permanent")
> are available, the oldest, unused, of these semi-static mappings could
> be erased. In addition (if at all necessary) m0n0wall might once in a
> while (say once a day) "prune" any semi-static mappings that have not
> been in use for the period (or some other reasonable interval).

this is precisely what many cable and dsl ISPs do.  rogers here in
ontario, for example.  as long as you're not down for more than 4 days,
you get the same IP next time you connect.