Why does this not work.

Glenn Satchell glenn.satchell at uniq.com.au
Fri Jun 27 10:25:42 UTC 2014


host-identifier only works with dhcpv6 options so this will never work
with dhcpv4. See the dhcpd.conf man page and search for host-identifier.

regards,
-glenn

On Fri, June 27, 2014 7:04 pm, Simon Hobson wrote:
> Thomas Raabo - Zitcom A/S <tr at zitcom.dk> wrote:
>
>> Really no one?
>
> If you demand a response within 15 hours, then pay for a support contract.
> If you ask on an open support list, where all support is provided by
> volunteers within the constraints of having a personal life and earning a
> living, then be prepared for an answer when someone has time to give it.
> http://www.catb.org/~esr/faqs/smart-questions.html#idp54192224
>
>
>> I wanted to do something like
>>
>>
>> subnet 9x.xx.xx.0 netmask 255.255.255.0 {
>>         option routers 91.133.32.1;
>>         option domain-name-servers 8.8.8.8, 8.8.4.4;
>>         max-lease-time 28800;
>> }
>> host test3 {
>>      host-identifier option agent.subscriber-id “sv-e-pe-3.g0/0/0.100";
>>      fixed-address 9x.xx.xx.2;
>>  }
>>
>>
>> But this does not work

>>
>>
>> But this does
>>
>> class "sv-e-pe-3.g0/0/0.100" {
>>         match if option agent.subscriber-id = "sv-e-pe-3.g0/0/0.100";
>> }
>> subnet 9x.xx.xx.0 netmask 255.255.255.0 {
>>         option routers 91.133.32.1;
>>         option domain-name-servers 8.8.8.8, 8.8.4.4;
>>         max-lease-time 28800;
>>         pool {
>>         deny dynamic bootp clients;
>>         allow members of "sv-e-pe-3.g0/0/0.100";
>>         range 9x.xx.xx.2;
>>         }
>> }
>>
>>
>> What is the difference?
>
> The difference ? One uses host statements, one uses classes <rolleyes>.
> They also have significant differences in how leases are handled - fixed
> addresses handed out with host statements never appear in the lease
> database, and don't go through the normal lease lifecycle (no DNS updates,
> no expiry).
>
> Why doesn't the first option work ? I *think* a host statement is limited
> to identifying a host by it's hardware (MAC) address - therefore the host
> statement doesn't actually have a statement that the server recognises as
> matching anything.
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
>




More information about the dhcp-users mailing list