Is there a way to declare static hosts more smartest?

Bob Harold rharolde at umich.edu
Tue May 24 20:24:30 UTC 2016


On Tue, May 24, 2016 at 2:51 AM, Vladimir Skubriev <skubriev at cvisionlab.com>
wrote:

> Is there a way to declare static hosts more smartest?
>
> Now I used following config strings:
>
> ...
>   host callisto {
>     hardware ethernet 00:25:33:44:80:55;
>     fixed-address callisto;
>   }
>
>   host earth {
>     hardware ethernet 14:99:88:71:77;
>     fixed-address earth;
>   }
> ...
>
> Is there a way not to be repeated in fixed-address and declaring only
> host-decl-names in host [hostname] directive?
>
> Something like this:
>
> ...
>   host callisto {
>     hardware ethernet 00:25:33:44:80:55;
>     fixed-address [something];
>   }
>
>   host earth {
>     hardware ethernet 14:99:88:71:77;
>     fixed-address [something];
>   }
> ...
>
> Thank you.
>
> --
> Faithfully yours,
>
> CVision Lab System Administrator
> Vladimir Skubriev
>
>
> I think the 'host' line just needs to be unique, so you could do:

 ...
  host 1 {
    hardware ethernet 00:25:33:44:80:55;
    fixed-address [something];
  }

  host 2 {
    hardware ethernet 14:99:88:71:77;
    fixed-address [something];
  }
...

or a, b, or host1, host2 (not sure if plain numbers are allowed)
The 'host' line does not need to match the 'fixed-address' line.

-- 
Bob Harold
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20160524/0101306b/attachment.html>


More information about the dhcp-users mailing list