Features/Auto Provisioning/DHCP/Options

From Snom User Wiki

Jump to: navigation, search


Option 43 (vendor-encapsulated-options)

Encapsulated Option 66 and Option 67 are supported since 7.3.17/8.2.1
Encapsulated Option 132 and Option 133 are supported since 7.3.24/8.2.7.
Encapsulated DHCP options, for encoding see RFC 2132 Section 2. DHCP Option Field Format; One can tunnel vendor specific DHCP options depending on the vendor-id (option 60) send before from the phone to the DHCP server. Vendor specific DHCP options may be provided encapsulated in option 43, see RFC 2132 Section 8.4. Vendor Specific Information. Values of options like 66/67/132/133, which are tunneled via option 43, take precedence over direct options 66/67/132/133.
linux dhcpd3 syntax:
option vendor-encapsulated-options
Which means tunnel opt 66 http://test and opt 67 snom/settings.php via opt 43.
option vendor-encapsulated-options
Which means tunnel opt 132 value 3 via opt 43.
option vendor-encapsulated-options
Which means tunnel opt 132 value 114 and opt 133 value 5 via opt 43.

Option 60 (Vendor class identifier)

Supported since 7.3.15
This option is used by DHCP clients to optionally identify the vendor type and configuration of a DHCP client. The information is a string of n octets, interpreted by servers. Vendors may choose to define specific vendor class identifiers to convey particular configuration or other identification information about a client. For example, the identifier may encode the client's hardware configuration. Servers not equipped to interpret the class-specific information sent by a client MUST ignore it (although it may be reported). Servers that respond SHOULD only use option 43 to return the vendor-specific information to the client. The code for this option is 60, and its minimum length is 1.
The phone sends its type (i.e. snom320) via this option to the DHCP server.
List of all Vendor class identifiers for snom products:
snom 300: "snom300"
snom 320: "snom320"
snom 360: "snom360"
snom 370: "snom370"
snom D305: "snomD305"
snom D315: "snomD315"
snom D345: "snomD345"
snom D375: "snomD375"
snom 710 and snomD710: "snom710"
snom 715 and snomD715: "snom715"
snom 720: "snom720"
snom D725: "snom725"
snom D745: "snomD745"
snom 760: "snom760"
snom D765: "snomD765"
snom 820: "snom820"
snom 821: "snom821"
snom 870: "snom870"
snom MeetingPoint: "snomMP"
snom PA1: "snomPA1"
snom UC Edition: "MS-UC-Client"

Option 66 (TFTP server name)

This option is used to identify a TFTP server when the 'sname' field in the DHCP header has been used for DHCP options. The code for this option is 66, and its minimum length is 1.
<protocol> : // <IP address> or <domain> e.g., https://provisioning.company.com
<IP address> or <domain> e.g., provisioning.company.com
where <protocol> = server type/protocol
where <IP address> = server IP address
where <domain> = server domain name
Without specifying the <protocol> the firmware will attempt all supported server protocol types consecutively:
  1. tftp://...
  2. http://...
  3. https://...

Option 67 (Bootfile name)

This option is used to identify a bootfile when the 'file' field in the DHCP header has been used for DHCP options. The code for this option is 67, and its minimum length is 1.
<path> e.g. settingfiles/snom/snom300.cfg, settingfiles/snom/snom320.htm, settingfiles/snom/snom360.xml
<empty> or <not used>
where <path> = path to the location of the setting file/script file
If this option is empty or not specified at all the firmware automatically requests the following setting files, except the whole URL is encoded in option 66:
all snom300 phones request --> http://<domain>/snom300.htm
all snom320 phones request --> http://<domain>/snom320.htm
all snom360 phones request --> http://<domain>/snom360.htm
all snom370 phones request --> http://<domain>/snom370.htm
all snomD305 phones request --> http://<domain>/snomD305.htm
all snomD315 phones request --> http://<domain>/snomD315.htm
all snomD345 phones request --> http://<domain>/snomD345.htm
all snomD375 phones request --> http://<domain>/snomD375.htm
all snom710 and snomD710 phones request --> http://<domain>/snom710.htm
all snom715 and snomD715 phones request --> http://<domain>/snom715.htm
all snom720 phones request --> http://<domain>/snom720.htm
all snomD725 phones request --> http://<domain>/snom725.htm
all snomD745 phones request --> http://<domain>/snomD745.htm
all snom760 phones request --> http://<domain>/snom760.htm
all snomD765 phones request --> http://<domain>/snomD765.htm
all snom820 phones request --> http://<domain>/snom820.htm
all snom821 phones request --> http://<domain>/snom821.htm
all snom870 phones request --> http://<domain>/snom870.htm
all snom MeetingPoint phones request --> http://<domain>/snomMP.htm
all snom PA1 phones request --> http://<domain>/snomPA1.htm

Personal tools