unique root path for each IP?

Gruher, Joseph R joseph.r.gruher at intel.com
Mon Jul 21 15:41:43 UTC 2014


>-----Original Message-----
>From: dhcp-users-bounces at lists.isc.org [mailto:dhcp-users-
>bounces at lists.isc.org] On Behalf Of Simon Hobson
>Sent: Saturday, July 19, 2014 11:17 AM
>To: Users of ISC DHCP
>Subject: Re: unique root path for each IP?
>
>I <dhcp1 at thehobsons.co.uk> wrote:
>
>> How about a pool per IP, along the lines of :
>
>subnet ....
>  pool {
>    range 10.0.0.1;
>    option root-path "iscsi:initiator1.example.com::::target00";
>  }
>  pool {
>    range 10.0.0.2;
>    option root-path "iscsi:initiator1.example.com::::target01";
>  }
>

Thanks, that's an interesting idea.  I've also been told I should be able to create a dynamic root path statement along these lines (haven't tried it yet):

    option root-path =
        concat ( \"iscsi:initiator1.example.com::::target\",
                 binary-to-ascii ( 10, 8, \"\", suffix ( leased-address, 1 ) ) );


More information about the dhcp-users mailing list