|
||||||||
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 allocation. 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: > >>Hi.. >>Is there a way to limit the DHCP server to work with static (known) mac >>address clients only? >>If I enter 4 static macs and limit the server to 4 addr. total it should >>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... >>thanks >> Stefan > >I too would be interessted in this capability. I think one of the old (pre >1.0) betas were actually capable of doing static-only DHCP (not too sure >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 to >similar effect?) > >Adam. 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 |