Is there a way to declare static hosts more smartest?
Simon Hobson
dhcp1 at thehobsons.co.uk
Tue May 24 10:31:18 UTC 2016
Vladimir Skubriev <skubriev at cvisionlab.com> wrote:
> Now I used following config strings:
>
> ...
> host callisto {
> hardware ethernet 00:25:33:44:80:55;
> fixed-address callisto;
> }
> ...
>
> Is there a way not to be repeated in fixed-address and declaring only host-decl-names in host [hostname] directive?
Sorry, I don't understand the question.
> 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];
> }
> ...
That will work, assuming that [something] represents either an IP address, or something that resolves (via DNS lookup) to an IP address.
More information about the dhcp-users
mailing list