Vendor option per host

Peter Rathlev peter at rathlev.dk
Mon Jul 3 17:37:54 UTC 2017


On Wed, 2017-05-10 at 13:33 +0200, Miloslav Hůla wrote:
> is it possible to set vendor specific option per host? Now I have:
> 
> #======================
> option space PCoIP;
> option PCoIP.uri      code 10 = text;
> option PCoIP.sha256fp code 11 = text;
[snip]
> host tera2-test {
>          hardware ethernet 00:36:04:00:11:21;
>          fixed-address 10.66.3.50;
>          option PCoIP.uri "wss://10.0.0.10";
>          option PCoIP.sha256fp "B7:62:71:01:85:...";
> }

I would assume you need "vendor-option-space PCoIP;" inside the host
declaration. Have you tried that?

> but when I 'tcpdump -i eth1 -h 00:36:04:00:11:21' I can see 
> client/server packets, client get the IP, but the vendor specific 
> options are not present.

And the client is actually asking for option 43, right? Different
versions of tcpdump print it in different ways, but e.g. v4.5.1 prints
something like this (with "-v"):

            [...]
	    Parameter-Request Option 55, length 30: 
	      Subnet-Mask, BR, Default-Gateway, Vendor-Option
	      Option 128, Option 131, Option 144, Option 157
            [...]

This is an Avaya phone, the other options will differ of course.

(Bit late to the game here, but since nobody else answered...)

-- 
Peter



More information about the dhcp-users mailing list