Help: MAC Address case-sensitive

Glenn Satchell glenn.satchell at
Mon Nov 5 06:10:31 UTC 2012

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.


On Mon, November 5, 2012 4:51 pm, Lee Eric wrote:
> Hi,
> Here's my config.
>         host example {
>                 hardware ethernet E4:1F:13:B3:96:FA;
>                 fixed-address;
>         }
> Thanks.
> Eric
> On Sat, Nov 3, 2012 at 1:19 AM, Staci Page <danalmmp79437 at>
> wrote:
>> --8<-- snip spam --8<--

More information about the dhcp-users mailing list