[Dnsmasq-discuss] dhcp-option and vendor class

Ben abnormaliti at clivepeeters.com.au
Mon Dec 29 03:43:35 GMT 2008


This works:

  dhcp-vendorclass=apc,APC
  dhcp-option=apc,43,01:04:31:41:50:43:02:01:01

but this doesn't:

  dhcp-option=vendor:APC,43,01:04:31:41:50:43:02:01:01

What am I missing here?  Shouldn't the "vendor:APC" syntax work?

Ben

Here is the output with "--log-dhcp" using the "vendor:APC" syntax in 
the 2nd example above.

Dec 29 14:24:47 boot dnsmasq[5527]: DHCP packet: transaction-id is 
2106458112
Dec 29 14:24:47 boot dnsmasq[5527]: Available DHCP range: 10.3.14.100 -- 
10.3.14.254
Dec 29 14:24:47 boot dnsmasq[5527]: Vendor class: APC
Dec 29 14:24:47 boot dnsmasq[5527]: User class: SUMX
Dec 29 14:24:47 boot dnsmasq[5527]: DHCPDISCOVER(eth0) 00:c0:b7:30:be:c7
Dec 29 14:24:47 boot dnsmasq[5527]: DHCPOFFER(eth0) 10.3.14.14 
00:c0:b7:30:be:c7
Dec 29 14:24:47 boot dnsmasq[5527]: requested options: 6:dns-server, 
3:router, 1:netmask, 15:domain-name,
Dec 29 14:24:47 boot dnsmasq[5527]: requested options: 66:tftp-server, 
67:bootfile-name, 13:boot-file-size,
Dec 29 14:24:47 boot dnsmasq[5527]: requested options: 44:netbios-ns, 
43:vendor-encap, 58:T1, 59:T2,
Dec 29 14:24:47 boot dnsmasq[5527]: requested options: 42:ntp-server, 
2:time-offset, 12:hostname
Dec 29 14:24:47 boot dnsmasq[5527]: next server: 10.3.14.25
Dec 29 14:24:47 boot dnsmasq[5527]: tags: known, eth0
Dec 29 14:24:47 boot dnsmasq[5527]: sent size:  1 option: 
53:message-type  02
Dec 29 14:24:47 boot dnsmasq[5527]: sent size:  4 option: 
54:server-identifier  0a:03:0e:19
Dec 29 14:24:47 boot dnsmasq[5527]: sent size:  4 option: 51:lease-time  
00:01:51:80
Dec 29 14:24:47 boot dnsmasq[5527]: sent size:  4 option: 58:T1  00:00:a8:c0
Dec 29 14:24:47 boot dnsmasq[5527]: sent size:  4 option: 59:T2  00:01:27:50
Dec 29 14:24:47 boot dnsmasq[5527]: sent size:  8 option: 
66:tftp-server  30:2e:30:2e:30:2e:30:00
Dec 29 14:24:47 boot dnsmasq[5527]: sent size: 12 option: 
67:bootfile-name  2f:70:78:65:6c:69:6e:75:78:2e:30:00
Dec 29 14:24:47 boot dnsmasq[5527]: sent size:  4 option:  1:netmask  
ff:ff:ff:00
Dec 29 14:24:47 boot dnsmasq[5527]: sent size:  4 option: 28:broadcast  
0a:03:0e:ff
Dec 29 14:24:47 boot dnsmasq[5527]: sent size:  4 option:  3:router  
0a:03:0e:19
Dec 29 14:24:47 boot dnsmasq[5527]: sent size:  4 option:  6:dns-server  
0a:03:0e:19
Dec 29 14:24:47 boot dnsmasq[5527]: sent size: 25 option: 
15:domain-name  76:77:61:72:72:2e:63:6c:69:76:65:70:65...
Dec 29 14:24:47 boot dnsmasq[5527]: sent size:  5 option: 12:hostname  
75:70:73:30:31
Dec 29 14:24:47 boot dnsmasq[5527]: sent size:  4 option: 44:netbios-ns  
0a:03:01:22
Dec 29 14:24:47 boot dnsmasq[5527]: sent size:  4 option: 42:ntp-server  
0a:03:0e:19
Dec 29 14:24:47 boot dnsmasq[5527]: sent size: 12 option: 
43:vendor-encap  2b:09:01:04:31:41:50:43:02:01:01:ff
Dec 29 14:25:20 boot dnsmasq[5527]: DHCP packet: transaction-id is 
2106458112
Dec 29 14:25:20 boot dnsmasq[5527]: Available DHCP range: 10.3.14.100 -- 
10.3.14.254
Dec 29 14:25:20 boot dnsmasq[5527]: Vendor class: APC
Dec 29 14:25:20 boot dnsmasq[5527]: User class: SUMX
Dec 29 14:25:20 boot dnsmasq[5527]: DHCPDISCOVER(eth0) 00:c0:b7:30:be:c7
Dec 29 14:25:20 boot dnsmasq[5527]: DHCPOFFER(eth0) 10.3.14.14 
00:c0:b7:30:be:c7
Dec 29 14:25:20 boot dnsmasq[5527]: requested options: 6:dns-server, 
3:router, 1:netmask, 15:domain-name,
Dec 29 14:25:20 boot dnsmasq[5527]: requested options: 66:tftp-server, 
67:bootfile-name, 13:boot-file-size,
Dec 29 14:25:20 boot dnsmasq[5527]: requested options: 44:netbios-ns, 
43:vendor-encap, 58:T1, 59:T2,
Dec 29 14:25:20 boot dnsmasq[5527]: requested options: 42:ntp-server, 
2:time-offset, 12:hostname
Dec 29 14:25:20 boot dnsmasq[5527]: next server: 10.3.14.25
Dec 29 14:25:20 boot dnsmasq[5527]: tags: known, eth0
Dec 29 14:25:20 boot dnsmasq[5527]: sent size:  1 option: 
53:message-type  02
Dec 29 14:25:20 boot dnsmasq[5527]: sent size:  4 option: 
54:server-identifier  0a:03:0e:19
Dec 29 14:25:20 boot dnsmasq[5527]: sent size:  4 option: 51:lease-time  
00:01:51:80
Dec 29 14:25:20 boot dnsmasq[5527]: sent size:  4 option: 58:T1  00:00:a8:c0
Dec 29 14:25:20 boot dnsmasq[5527]: sent size:  4 option: 59:T2  00:01:27:50
Dec 29 14:25:20 boot dnsmasq[5527]: sent size:  8 option: 
66:tftp-server  30:2e:30:2e:30:2e:30:00
Dec 29 14:25:20 boot dnsmasq[5527]: sent size: 12 option: 
67:bootfile-name  2f:70:78:65:6c:69:6e:75:78:2e:30:00
Dec 29 14:25:20 boot dnsmasq[5527]: sent size:  4 option:  1:netmask  
ff:ff:ff:00
Dec 29 14:25:20 boot dnsmasq[5527]: sent size:  4 option: 28:broadcast  
0a:03:0e:ff
Dec 29 14:25:20 boot dnsmasq[5527]: sent size:  4 option:  3:router  
0a:03:0e:19
Dec 29 14:25:20 boot dnsmasq[5527]: sent size:  4 option:  6:dns-server  
0a:03:0e:19
Dec 29 14:25:20 boot dnsmasq[5527]: sent size: 25 option: 
15:domain-name  76:77:61:72:72:2e:63:6c:69:76:65:70:65...
Dec 29 14:25:20 boot dnsmasq[5527]: sent size:  5 option: 12:hostname  
75:70:73:30:31
Dec 29 14:25:20 boot dnsmasq[5527]: sent size:  4 option: 44:netbios-ns  
0a:03:01:22
Dec 29 14:25:20 boot dnsmasq[5527]: sent size:  4 option: 42:ntp-server  
0a:03:0e:19
Dec 29 14:25:20 boot dnsmasq[5527]: sent size: 12 option: 
43:vendor-encap  2b:09:01:04:31:41:50:43:02:01:01:ff



More information about the Dnsmasq-discuss mailing list