Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:dpi:dpi_options:brass:opt_bras:reference_bras:attribute_dhcp:start [2020/02/05 17:38] – ↷ Page moved from en:dpi:dpi_options:base_functionality:brass:opt_bras:reference_bras:attribute_dhcp:start to en:dpi:dpi_options:brass:opt_bras:reference_bras:attribute_dhcp:start lexx26 | en:dpi:dpi_options:brass:opt_bras:reference_bras:attribute_dhcp:start [2020/03/18 14:58] (current) – removed lexx26 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 2 VSA attributes for DHCP options ====== | ||
- | {{indexmenu_n> | ||
- | Starting with the VAS Experts DPI version 7.4 the following VSA attributes (vendor-id=43823) are defined in Access-Accept in order to specify almost any DHCP option: | ||
- | < | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | </ | ||
- | All these attributes are of a string type and abide by the following single format: | ||
- | < | ||
- | " | ||
- | </ | ||
- | |||
- | A complete list of all possible DHCP options can be found on the [[https:// | ||
- | |||
- | File and SName BOOTP fields are also supported to specify using VSA attributes: | ||
- | < | ||
- | ATTRIBUTE VasExperts-BOOTP-File 44 string # BOOTP File | ||
- | VasExperts-DHCP-Option-IP</ | ||
- | |||
- | The attribute is used to specify the IP address. For example, DHCP opt42 (NTP Server Addresses) is specified as: | ||
- | < | ||
- | |||
- | Many DHCP options may contain not one, but a list of IP addresses, typically in order of preference. The list of IP addresses for one option is specified by a set of RADIUS attributes, that is, each attribute contains one IP address, for example: | ||
- | < | ||
- | & | ||
- | |||
- | It specifies the list of NTP servers (opt42) with value of " | ||
- | < | ||
- | |||
- | The attribute is used to set numeric DHCP options. Int32, int16 and int8 options are supported. The VAS Experts DPI controls the option type and if integer overflow occurs it will prevent to set such an option and will log to the fastpcrf log file. Examples: | ||
- | < | ||
- | & | ||
- | # opt22 (int16) - Max Datagram Reassembly Size | ||
- | & | ||
- | # opt23 (int8) - Default IP Time to Live | ||
- | & | ||
- | # if you try to set such a value for opt23 the VAS experts DPI will log: int8 overflow | ||
- | & | ||
- | # opt19 (bool - 0 или 1) - Enable/ | ||
- | & | ||
- | VasExperts-DHCP-Option-String</ | ||
- | |||
- | The attribute is used to specify DHCP string options. Example: | ||
- | < | ||
- | & | ||
- | VasExperts-DHCP-Option-Bin</ | ||
- | |||
- | The attribute is used to specify the option value using hex string. It is used for DHCP options that do not fall into any of the above categories. Typically, the vendor-specific DHCP options are defined such a way. Each byte of the option value is specified by the two hex digits, so the length of the hex string should be even. When specifying values, one should take into account that all numerical values should be specified using network byte order. Example: | ||
- | < | ||
- | & | ||
- | # Specifying the bool option as a hex string | ||
- | & | ||
- | # Specifying an int16-option as a hex string (number 16000) | ||
- | & | ||
- | # Specifying an int32 option as a hex string (number 600) | ||
- | & |