Re: client id vs vendor class id, different lenght with same data.
Roy Marples
Mon Nov 05 15:43:12 2018
Hi Joakim
On 05/11/2018 13:28, Joakim Tjernlund wrote:
Using both option 61 and 60 in dhcpd with same input data(
dhcpcd -i 21296%184KM000334 -I 21296%184KM000334 ....) I get
different lengths, tcpdump reports:
Client-ID Option 61, length 18: "21296%184KM000334"
Vendor-Class Option 60, length 17: "21296%184KM000334"
Client ID is off by one.
Is this intentional?
In any case this makes subclass matching is ISC dhcp server difficult.
Yes this is intentional.
The first byte of the ClientID data denotes how it is formed. 0
represents a string.
See RFC 2132 9.14
Roy
Archive administrator: postmaster@marples.name