host-based dns?

Glenn Satchell Glenn.Satchell at
Thu Mar 29 13:49:26 UTC 2007

>Date: Thu, 29 Mar 2007 02:20:27 -0400
>From: "Jared Greenwald" <greenwaldjared at>
>I have a dhcp server setup with mac-based rules such that the machine only
>hands out addresses to mac addresses that it knows with entries like:
>host foo {
>  hardware ethernet so:me:ma:ca:dd:re:ss;
>  fixed-address foo;
>Is it possible (and if so, how) to specify multiple interface mac addresses
>for the same fixed address host?  For example, if I have a laptop with both
>wired and wireless and I want it to have the same hostname no matter which
>interface it's using, how would I best go about doing that?

One way would be to use two host statements with the same fixed
address. Note that the label in the host statement needs to be unique.

# lan
host foo {
  hardware ethernet so:me:ma:ca:dd:re;
  fixed-address foo;
# wireless
host foo-wl {
  hardware ethernet di:ff:ma:ca:dd:re;
  fixed-address foo;


More information about the dhcp-users mailing list