[ previous ] [ next ] [ threads ]
 From:  "Quark IT - Hilton Travis" <hilton at quarkit dot com dot au>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] DHCP server - static clients only
 Date:  Thu, 24 Jun 2004 19:21:53 +1000
Hi Melvin,
Nope, what he wants is more likely to be the standard "static mapping"
that DHCP allows.  I'm not in front of my box right now, but AFAIR
m0n0wall allowed static mapping.  What *may* work is setting the DHCP
scope to allow the 4 needed IPs, then reserve them all to particular MAC
addresses, and then nothing should be assigned to other machines, as
these IPs are reserved, and there are no additional IPs available for
An infinite lease is another thing altogether.
OK - back home now.  Its all quite simple, really.  m0n0wall doesn't
allow you to have static mappings in the DHCP-assigned range (good) nor
does it allow you to have a scope outside the network subnet on that
interface (also good), so why not use a single IP scope and block that
IP using firewall rules - any traffic from <dhcp dynamic scope> = block.
Then use static mappings as per normal.
- HiltonT


From: Melvin Backus [mailto:mbackus at bellsouth dot net]
Sent: Thu 2004-06-24 07:42
To: Adam Nellemann
Cc: m0n0wall at lists dot m0n0 dot ch
Subject: Re: [m0n0wall] DHCP server - static clients only

At 05:36 PM 6/23/2004, Adam Nellemann wrote:
>Stefan Thuering wrote:
>>Is there a way to limit the DHCP server to work with static (known)
>>address clients only?
>>If I enter 4 static macs and limit the server to 4 addr. total it
>>generally be ok, but if those clients aren't always running the free
>>slots can be snatched away. :(
>>A checkbox with "allow static clients only" would be cool !
>>p.s. m0n0wall is fantastic...
>>   Stefan
>I too would be interessted in this capability. I think one of the old
>1.0) betas were actually capable of doing static-only DHCP (not too
>though), simply by giving a dynamic IP range of x.x.x.0 to x.x.x.0,
>however, when I recently tested this, my host just got the x.x.x.0 IP
>address :(
>This just to add my wote for the abovementioned checkbox. (or something
>similar effect?)

Sounds like what you really want is an infinite length lease.

Good, Fast, Cheap... Pick any two

To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch