Is there a way to declare static hosts more smartest?
Vladimir Skubriev
skubriev at cvisionlab.com
Tue May 24 10:39:37 UTC 2016
[something] same for all hosts.
So not to duplicate host hostname in fixed-address.
As you can see host declaration composed of identical blocks.
2016-05-24 13:31 GMT+03:00 Simon Hobson <dhcp1 at thehobsons.co.uk>:
> 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.
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
--
Faithfully yours,
CVision Lab System Administrator
Vladimir Skubriev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20160524/92ebaf50/attachment.html>
More information about the dhcp-users
mailing list