host-based dns?

Jared Greenwald greenwaldjared at gmail.com
Thu Mar 29 14:42:15 UTC 2007


Glenn,
That worked perfectly.  Can't believe I didn't think of that.

Thanks,
Jared

On 3/29/07, Glenn Satchell <Glenn.Satchell at uniq.com.au> wrote:
>
> >Date: Thu, 29 Mar 2007 02:20:27 -0400
> >From: "Jared Greenwald" <greenwaldjared at gmail.com>
> >
> >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;
> }
>
> regards,
> -glenn
>
>




More information about the dhcp-users mailing list