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. Re: DHCP option space test (Surya Teja) 2. multiple domain search for dhcp client (Surya Teja) 3. Re: multiple domain search for dhcp client (Andrew Bell) 4. Re: multiple domain search for dhcp client (Andrew Bell) ---------------------------------------------------------------------- Message: 1 Date: Sun, 13 Oct 2019 19:01:19 +0530 From: Surya Teja <suryateja...@gmail.com> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: DHCP option space test Message-ID: <CA+0Ac3y0TV5pAiC+MufWSd9zj9DE2=bhfm13_+--uqfvnwz...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hi Peter, Thanks for Reply, sorry because of other issues I was unable to concentrate on this option space modules, In short you need to add "vendor-option-space optionSpacedb;" in the same block as where you use the options. ------------> As suggested I understood that we need to mention statement vendor-option-space optionSpacedb; to make it perfect utilization Thanks for suggestion But I have a doubt, I have followed the one of the forum and in that it mention to construct the config like below -------------my local dhcp server config-------------------- default-lease-time 3600; authoritative; option proxyDetails code 252 = text; *option space optionspacedb;option optionspacedb.option1 code 1 = ip-address;option optionspacedb.option2 code 2 = ip-address;* *option space optionspace2;option optionspace2.option1test code 1 = text;* *if option vendor-class-identifier = "Avaya"{ # taking just as example vendor-option-space optionspacedb;}else if option vendor-class-identifier = "avaya2"{ # taking just as example* *vendor-option-space optionspacedb2;**}* subnet 192.168.0.0 netmask 255.255.255.0 { pool { range 192.168.0.2 192.168.0.200; } max-lease-time 600; option domain-name "example.com"; option domain-name-servers 192.168.x.xxx,192.168.y.yyy; option local-proxy-config "http://zzzzzz"; *option optionspacedb.option1 6.6.6.6;option optionspacedb.option2 5.5.5.5;* *option optionspace2.option1test "test";* option routers 192.168.0.1; option subnet-mask 255.255.255.0; } It says to mention some thing like if else if statements at global section and specify the options in pool. The client matching the vendor class identifier can only get optionspace values Is the syntax right? can we construct like this for effective utilization Thanks On Fri, Aug 2, 2019 at 5:52 PM Surya Teja <suryateja...@gmail.com> wrote: > Hi Peter, > Thanks for reply. > Did you see the reply to your original mail I posted recently? I think it > answers at least some of your question. > ---> Hi I have posted this initially in dhcp-workers group but I didn't > get any reply to my post. > Not sure it may be issue with mailing service. Can you please > forward your mail once again or any reference related to this stuff > Thanks > > On Wed, Jul 31, 2019 at 12:51 PM Peter Rathlev <pe...@rathlev.dk> wrote: > >> 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 >> >> >> _______________________________________________ >> dhcp-users mailing list >> dhcp-users@lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20191013/0c3b9db8/attachment-0001.htm> ------------------------------ Message: 2 Date: Sun, 13 Oct 2019 20:22:03 +0530 From: Surya Teja <suryateja...@gmail.com> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: multiple domain search for dhcp client Message-ID: <ca+0ac3zobqy9q8ope6jrztkdcvna14huampvrk+mhzpceec...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hi I want to send multiple domains information to the dhcp client from the dhcp server, but the option domain-name is taking only one domain, I cannot give comma separated list for it, On surfing the internet I found the option 119 where we can give comma separate list. I have added it to my config but the dhcp client is not getting the info, because in the dhcp client request packet it is not asking for option 119 Is there any way that dhcp server can offer all the options defined in its scope modules to the client irrespective of the client asking for the specific option or Any way of introducing the specific option in the request packet from the client to dhcp server and make use of it. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20191013/fbd69edb/attachment-0001.htm> ------------------------------ Message: 3 Date: Sun, 13 Oct 2019 11:11:17 -0400 From: Andrew Bell <and...@poscomp.ca> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: multiple domain search for dhcp client Message-ID: <CAMcY7=jC+M=05mxwroftz6pmkwkh6-zg-u4pbdt2wke1ayv...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" What OS are your clients? Windows does not request or use option 119, you have to set it with group policy. On Sun, Oct 13, 2019 at 10:52 AM Surya Teja <suryateja...@gmail.com> wrote: > Hi I want to send multiple domains information to the dhcp client from the > dhcp server, but the option domain-name is taking only one domain, I cannot > give comma separated list for it, On surfing the internet I found the > option 119 where we can give comma separate list. > I have added it to my config but the dhcp client is not getting the info, > because in the dhcp client request packet it is not asking for option 119 > Is there any way that dhcp server can offer all the options defined in its > scope modules to the client irrespective of the client asking for the > specific option or > Any way of introducing the specific option in the request packet from the > client to dhcp server and make use of it. > > > > > Thanks in advance. > > _______________________________________________ > dhcp-users mailing list > dhcp-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20191013/3a326ce6/attachment-0001.htm> ------------------------------ Message: 4 Date: Sun, 13 Oct 2019 11:18:56 -0400 From: Andrew Bell <and...@poscomp.ca> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: multiple domain search for dhcp client Message-ID: <CAMcY7=iRy_R-sMjGQ_b5g+ONs2-4rWpzDamttyqVU=2oy1r...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Sorry, let me clarify my last response. Even if you do force option 119 into the dhcp response when it's not requested, Windows would still ignore it. On Sun, Oct 13, 2019 at 10:52 AM Surya Teja <suryateja...@gmail.com> wrote: > Hi I want to send multiple domains information to the dhcp client from the > dhcp server, but the option domain-name is taking only one domain, I cannot > give comma separated list for it, On surfing the internet I found the > option 119 where we can give comma separate list. > I have added it to my config but the dhcp client is not getting the info, > because in the dhcp client request packet it is not asking for option 119 > Is there any way that dhcp server can offer all the options defined in its > scope modules to the client irrespective of the client asking for the > specific option or > Any way of introducing the specific option in the request packet from the > client to dhcp server and make use of it. > > > > > Thanks in advance. > > _______________________________________________ > dhcp-users mailing list > dhcp-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20191013/d86b18dc/attachment.htm> ------------------------------ 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 132, Issue 11 *******************************************