<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Simon Hobson escreveu:
<blockquote cite="mid:p06240805c7c6d7469bb6@simon.thehobsons.co.uk"
type="cite">Daniel D. Gonçalves wrote:
<br>
<br>
<blockquote type="cite">
<blockquote type="cite">However, there have been reports on this
list in the past that some devices running bad code do "get it wrong"
when presented with such an address/netmask - and if you have any such
devices then you may want to exclude them from your pool (as others
have described).
<br>
</blockquote>
</blockquote>
<br>
<blockquote type="cite">Yes, and my problem is just with devices that
do not accept these IPs ending "0" and "255".
<br>
The solution using multiple range statements works, but I consider it
very boring...
<br>
</blockquote>
<br>
Boring is what network admin should be - excitement is stressful ;-)
But you have confirmed that such devices still exist.
<br>
<br>
<br>
The only other ways I can think of are :
<br>
<br>
host "bad_device_name" {
<br>
hardware ethernet aa:bb:cc:dd:ee:ff ;
<br>
deny booting ;
<br>
}
<br>
<br>
or create a class that matches the vendor OUI and block all devices
from the vendor until they fix their code :
<br>
<br>
class "bad-code" {
<br>
match if substring(hardware,1,3)="aa:bb:cc" ;
<br>
deny booting ;
<br>
}
<br>
<br>
That would keep the bad device off the network where it could be argued
it belongs !
<br>
<br>
Or if you run a recent enough version, then you could create dummy
reserved leases for all the .0 and .255 addresses. Reserved leases are
very much like regular leases, except that they are permanently tied to
one client and never re-allocated. You get all the advantages of leases
(status, dynamic DNS, etc) but with effectively fixed addresses. If you
created dummy leases then that would prevent the addresses being leased
to other clients.
<br>
<br>
To be honest, it's easier to just create split ranges. It might not
look pretty, but it's only a one-off config.
<br>
<br>
<br>
<blockquote type="cite">I would like something more practical,
someone able to create a patch to not use the IPs ending "0" and "255"
within a range ?
<br>
</blockquote>
<br>
Well that would be adding cruft, but I suppose if someone offered a
patch then it might be accepted.
<br>
<br>
</blockquote>
<span id="result_box" class="short_text"><span
style="background-color: rgb(235, 239, 249);"
title="Certo, vamos ver se alguém aceita criar o
patch.">Okay, let's
see if someone agrees to create the patch.<br>
<br>
Thanks all.<br>
<br>
</span></span>
</body>
</html>