Assign fixed addresses for a group of hosts
Simon Hobson
dhcp1 at thehobsons.co.uk
Tue Jan 30 12:15:26 UTC 2007
Reinhard Brandstaedter wrote:
>Well, that's the same as if I'd add a static definition for every host,
More or less, except that the leases go through the normal lifecycle
and ddns works properly.
>which is what I want to avoid.
>Assume I have 8 machines with MAC addresses
>xx:xx:xx:xx:xx:[01-08]
>and I want them to be assigned IP addresses
>192.168.1.[101-108]
>without explicit "host" entries in the dhcpd.conf.
>I'm thinking of a "adaptive host" statement like:
>
>host jboss-$X {
> hardware ethernet xx:xx:xx:xx:xx:$X
> option host-name "jboss-$X";
> ddns-hostname "jboss-$X";
> fixed-address 192.168.1.10$X
>}
>
>Where $X is "calculated" via dhcp-eval.
Can't do I'm afraid.
More information about the dhcp-users
mailing list