hi,
i try to find the right format for a dhcp-match for an option 175 with encapsualted option 235 with a specific value.
in wireshark the specific byte sequence of the encapsulated option 235 of option 175 looks like:
0xEB 0x03 0x01 0x15 0x01
the 1'st byte is the encap option value (235 = ipxe.version),
the 2'nd byte is the lengs of the encapsulated value (3 bytes),
the 3'rd, 4'th and 5'th byte is the version value (major, minor, revision)
i tried several combinations like:
dhcp-match=set:ipxe.version_1_21_1, 175, 235, 1b, 21b ,1b
dhcp-match=set:ipxe.version_1_21_1, 175, 235, 01:15:01
or for an other option 175 with encap option 16, the byte sequence looke like:
0x10 0x01 0x02
here i need a match for the value 02
but none of them seems to work.
i did not find a example in the man page, nor in the example dnsmasq.conf file nor in the FAQ.
i am only able to get match for if an encap option is set or not:
dhcp-match=set:ipxe.pxeext, 175, 16
dhcp-match=set:ipxe.iscsi, 175, 17
dhcp-match=set:ipxe.aoe, 175, 18
dhcp-match=set:ipxe.http, 175, 19
dhcp-match=set:ipxe.iscsi, 175, 17
dhcp-match=set:ipxe.aoe, 175, 18
dhcp-match=set:ipxe.http, 175, 19
...
but not for a match for a specific value like for a specific ipxe.version or a specific ipxe.pxeext value.
can somebody give me the right dhcp-match syntax for my requirements?
thanks in advance.
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss