Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. DHCP option space test (Surya Teja)
   2. Re: DHCP option space test (Peter Rathlev)


----------------------------------------------------------------------

Message: 1
Date: Wed, 31 Jul 2019 11:07:41 +0530
From: Surya Teja <suryateja...@gmail.com>
To: dhcp-users@lists.isc.org
Subject: DHCP option space test
Message-ID:
        <ca+0ac3wbbwtmxvj1roczrrhwpqurz+y-1isaz8kyo_a5oh3...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi ,
How does a DHCP client can get the DHCP option space data from respective
server config
Ex: I have constructed my local server config as below by taking online
example references
default-lease-time 3600;
authoritative;

*option space optionSpacedb;*
*option optionSpacedb.option1d code 1 = ip-address;*
subnet 15.0.0.0 netmask 255.255.255.0 {
        pool {
           range 15.0.0.16 15.0.0.17;
        }
         option domain-name "test123.com";
       *  option optionSpacedb.option1d 5.6.7.8;*
         option routers 15.0.0.1;
         option subnet-mask 255.255.255.0;
        }
But I was stuck in testing it by DHCP clients. Do we need to do any setting
on the client side to request the option space, I have checked in other
forums but they only provide the declaration examples but no where we have
practical test examples. Can any one please help on testing it or any
reference links that can be test on real time environment. I want to know
the exact business use case for the option space module.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20190731/91dba403/attachment-0001.html>

------------------------------

Message: 2
Date: Wed, 31 Jul 2019 09:21:26 +0200
From: Peter Rathlev <pe...@rathlev.dk>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: DHCP option space test
Message-ID:
        <86e188d3164900682df58e76e48dd649686f4db0.ca...@rathlev.dk>
Content-Type: text/plain; charset="UTF-8"

On Wed, 2019-07-31 at 11:07 +0530, Surya Teja wrote:
> How does a DHCP client can get the DHCP option space data from
> respective server config
> Ex: I have constructed my local server config as below by taking
> online example references

Did you see the reply to your original mail I posted recently? I think
it answers at least some of your question.

In short you need to add "vendor-option-space optionSpacedb;" in the
same block as where you use the options. This method requires that the
client asks for option 43 (vendor-specific-options) and knows how to
parse "vendor encapsulation".

If you can't use vendor-specific-options for any reason, you need to
find an option code that isn't in use in the global scope. That would
typically be option codes 224-254 which are for "local use". In that
case you don't need separate option spaces, unless you have clients
that understand the same option codes in different ways. In that case
you should take a look at "site-option-space".

-- 
Peter




------------------------------

Subject: Digest Footer

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 129, Issue 10
*******************************************

Reply via email to