dhcp-users Digest, Vol 61, Issue 23

Julie Xu xll40 at hotmail.com
Fri Nov 22 03:51:47 UTC 2013


tested, even put class vlan418RIS still get 10.1.1.10.

any advice?

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

> Message: 3
> Date: Thu, 21 Nov 2013 11:59:29 +0000
> From: "Stier, Matthew" <Matthew.Stier at us.fujitsu.com>
> To: Users of ISC DHCP <dhcp-users at lists.isc.org>
> Subject: RE: how to config class
> Message-ID:
> <430FB7087F60DD4FB40A1408F257458B7B34BE5E at RCHEXMBP1.fnc.net.local>
> Content-Type: text/plain; charset="utf-8"
>
> Order?
>
> As written, both classes are true, so the later one overwrites the settings of the prior one.
>
> From: dhcp-users-bounces+matthew.stier=us.fujitsu.com at lists.isc.org [mailto:dhcp-users-bounces+matthew.stier=us.fujitsu.com at lists.isc.org] On Behalf Of Julie Xu
> Sent: Thursday, November 21, 2013 1:21 AM
> To: dhcp list
> Subject: how to config class
>
> hi
>
>
> I need most subnets PXE server ip address as 10.1.1.10, and only subnet 10.2.2.0/24 need PXE server address as 10.2.2.10
>
> How can I write the class statement using two classes. I have tried netboot from my laptop on ip 10.2.2.100, but, I still get server-identifier 10.1.1.10.
>
> could anyone advice what I did wrong?
>
> below is my configure:
>
> class "vlan418RIS" {
> # This is only for subnet 10.2.2.0/24 subnet
> # this dhcp server is on different subnet, the address 10.2.2.1 is relay agent - router
> match if ( binary-to-ascii(10,8, ".", packet(24,4)) = "10.2.2.1" and
> substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" );
> option vendor-class-identifier "PXEClient";
> server-identifier 10.2.2.10;
> }
>
> class "MicrosoftRIS" {
> # This is default, all my subnets using this class, except 10.2.2.0/24
> match if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient";
> option vendor-class-identifier "PXEClient";
> server-identifier 10.1.1.10;
> }
>
>
> subnet 10.2.2.0 netmask 255.255.255.0 {
> option routers 10.2.2.1;
> option broadcast-address 10.2.2.255;
> }
>
> Any comments will be appreciated
>
> Thanks in advance
>
> julie
>
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20131121/f5325378/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
> End of dhcp-users Digest, Vol 61, Issue 23
> ****************************************** 		 	   		  


More information about the dhcp-users mailing list