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. Configuring option 82 (Surya Teja) ---------------------------------------------------------------------- Message: 1 Date: Tue, 24 Sep 2019 12:49:13 +0530 From: Surya Teja <suryateja...@gmail.com> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Configuring option 82 Message-ID: <ca+0ac3zeavsetmy19bp0zqc22jjqwax+eytpwt_cx7j4kru...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hi, I am trying to configure the dhcp option 82, went through the google forums and one of it suggest the syntax like # vim /etc/dhcp/dhcpd.conf ######################################################## log-facility local7; *class "VLAN10" { match if binary-to-ascii(10,16,"",substring(option agent.circuit-id,2,2)) = "10";} # VLAN10class "VLAN20" { match if ( substring(option agent.remote-id,2,15)="10.5.20.4" and binary-to-ascii(10, 16, "",substring(option agent.circuit-id, 4, 2)) = "2" ); }* subnet 192.168.10.0 netmask 255.255.255.0 { pool { *allow members of "VLAN10";* default-lease-time 600; max-lease-time 7200; range 192.168.10.1 192.168.10.199; option routers 192.168.10.254; option broadcast-address 192.168.10.255; option subnet-mask 255.255.255.0; option domain-name-servers 4.2.2.2; } } subnet 192.168.20.0 netmask 255.255.255.0 { pool { * allow members of "VLAN20";* default-lease-time 600; max-lease-time 7200; range 192.168.20.20 192.168.20.199; option routers 192.168.20.254; option broadcast-address 192.168.20.255; option subnet-mask 255.255.255.0; option domain-name-servers 4.2.2.2; } (Just ignore ip values) can we configure this concept only by using classes and make it allow or deny like that? or can we use the option space concept to get it worked(do we have any other syntax). Thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20190924/67e7c5d4/attachment-0001.html> ------------------------------ 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 131, Issue 17 *******************************************