1833016 Members
2540 Online
110048 Solutions
New Discussion

Create a DHCP Class

 
John Waller
Esteemed Contributor

Create a DHCP Class

I am trying to create a specila DHCP class for a speciasl group of devices. The problem is the these units are still obtaining IP addresses from the general range of address. The entry I have made a special entry in the /etc/dhcptab as follows:

dhcp_device_group: class-name=specials: class-id="00:a0:f8:*": addr-pool-start-address=172.17.154.101: addr-pool-last-address=172.17.154.200: lease-time=86400: lease-policy=accept-new-clients: allow-bootp-clients=TRUE: hn: subnet-mask=255.255.240.0: gw=172.17.144.5: ds=172.17.144.1: dn=domain.co.uk

I would be grateful if sombody could explain what stupid mistake I have made and what I need to do to fix it.

3 REPLIES 3
Anthony deRito
Respected Contributor

Re: Create a DHCP Class

Did you use SAM or did you edit the file manually?
John Waller
Esteemed Contributor

Re: Create a DHCP Class

I've tried it both ways, When added through sam it created the line:

class-id=00A0F8:\

After reading a Microsoft (sorry for swearing like that) guide , I tried changing to class-id="00:a0:f8:*" but neither work.

Anthony deRito
Respected Contributor

Re: Create a DHCP Class

John, I am not sure if the bootpd server is using the class-id field the way the client requires it to. Yes, it is true that the client may provide the ability to pass this type of class-id to identify a class that a client belongs to and to finally assign an IP address from a device group but the bootpd server may not be able to provide a match based on this PARTICULAR class-id. If the server is able to match based on this type of ID then either it is a syntax problem or a call to HP may be necessary. There are many problem issues regarding Microsoft DHCP clients and various DHCP servers. This may be one of them.

Sorry to not help you further.

Tony