<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFCC" text="#000000">
I just took a look at my config, I use lower case for some hosts and
upper case for some other hosts.<br>
<br>
I also have a lot of subclasses,matching on hardware, I use both
cases there.<br>
<br>
They all work, so I can confirm that in those two cases the case
does not matter.<br>
<br>
Version is 4.1.0p1 (redhat version).<br>
<br>
<div class="moz-cite-prefix">On 05/11/12 7:10, Glenn Satchell wrote:<br>
</div>
<blockquote
cite="mid:ae031f2737474ae62bbe11784855b982.squirrel@mail.uniq.com.au"
type="cite">
<pre wrap="">Hi Eric
This is from the dhcpd.conf man page:
hardware hardware-type hardware-address;
In order for a BOOTP client to be recognized, its network
hardware address must be declared using a hardware clause
in the host statement. hardware-type must be the name of
a physical hardware interface type. Currently, only the
ethernet and token-ring types are recognized, although
support for a fddi hardware type (and others) would also
be desirable. The hardware-address should be a set of
hexadecimal octets (numbers from 0 through ff) separated
by colons. The hardware statement may also be used for
DHCP clients.
It says hexadecimal octets (numbers from 0 through ff), which to me
implies using lower case.
However, looking at the source in common/parse.c leads us eventually to
parse_hardware_param() which calls convert_num() which handles the case
for both lower and upper case. So it would appear that you should be able
to use upper, lower or a mix of cases for the mac address.
regards,
-glenn
On Mon, November 5, 2012 4:51 pm, Lee Eric wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
Here's my config.
host example {
hardware ethernet E4:1F:13:B3:96:FA;
fixed-address 10.33.8.105;
}
Thanks.
Eric
On Sat, Nov 3, 2012 at 1:19 AM, Staci Page <a class="moz-txt-link-rfc2396E" href="mailto:danalmmp79437@yahoo.com"><danalmmp79437@yahoo.com></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">--8<-- snip spam --8<--
</pre>
</blockquote>
</blockquote>
<pre wrap="">
_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Best regards
Sten Carlsen
No improvements come from shouting:
"MALE BOVINE MANURE!!!"
</pre>
</body>
</html>