DHCP 中的Options大全

全部Option地址:https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml

 

BOOTP Vendor Extensions and DHCP Options

Registration Procedure(s)
IETF Review
Reference
[RFC2939]
Note
The Bootstrap Protocol (BOOTP) [RFC951] describes an IP/UDP bootstrap
protocol (BOOTP) which allows a diskless client machine to discover
its own IP address, the address of a server host, and the name of a
file to be loaded into memory and executed.  The Dynamic Host
Configuration Protocol (DHCP) [RFC2131] provides a framework for
automatic configuration of IP hosts.  The document "DHCP Options and
BOOTP Vendor Information Extensions" [RFC2132] describes options for
DHCP, some of which can also be used with BOOTP. Additional DHCP
options are described in other RFCs, as documented in this registry.
Available Formats

CSV
Tag Name Data Length Meaning Reference 
0 Pad 0 None [RFC2132]
1 Subnet Mask 4 Subnet Mask Value [RFC2132]
2 Time Offset 4 Time Offset in Seconds from UTC (note: deprecated by 100 and 101) [RFC2132]
3 Router N N/4 Router addresses [RFC2132]
4 Time Server N N/4 Timeserver addresses [RFC2132]
5 Name Server N N/4 IEN-116 Server addresses [RFC2132]
6 Domain Server N N/4 DNS Server addresses [RFC2132]
7 Log Server N N/4 Logging Server addresses [RFC2132]
8 Quotes Server N N/4 Quotes Server addresses [RFC2132]
9 LPR Server N N/4 Printer Server addresses [RFC2132]
10 Impress Server N N/4 Impress Server addresses [RFC2132]
11 RLP Server N N/4 RLP Server addresses [RFC2132]
12 Hostname N Hostname string [RFC2132]
13 Boot File Size 2 Size of boot file in 512 byte chunks [RFC2132]
14 Merit Dump File N Client to dump and name the file to dump it to [RFC2132]
15 Domain Name N The DNS domain name of the client [RFC2132]
16 Swap Server N Swap Server address [RFC2132]
17 Root Path N Path name for root disk [RFC2132]
18 Extension File N Path name for more BOOTP info [RFC2132]
19 Forward On/Off 1 Enable/Disable IP Forwarding [RFC2132]
20 SrcRte On/Off 1 Enable/Disable Source Routing [RFC2132]
21 Policy Filter N Routing Policy Filters [RFC2132]
22 Max DG Assembly 2 Max Datagram Reassembly Size [RFC2132]
23 Default IP TTL 1 Default IP Time to Live [RFC2132]
24 MTU Timeout 4 Path MTU Aging Timeout [RFC2132]
25 MTU Plateau N Path MTU Plateau Table [RFC2132]
26 MTU Interface 2 Interface MTU Size [RFC2132]
27 MTU Subnet 1 All Subnets are Local [RFC2132]
28 Broadcast Address 4 Broadcast Address [RFC2132]
29 Mask Discovery 1 Perform Mask Discovery [RFC2132]
30 Mask Supplier 1 Provide Mask to Others [RFC2132]
31 Router Discovery 1 Perform Router Discovery [RFC2132]
32 Router Request 4 Router Solicitation Address [RFC2132]
33 Static Route N Static Routing Table [RFC2132]
34 Trailers 1 Trailer Encapsulation [RFC2132]
35 ARP Timeout 4 ARP Cache Timeout [RFC2132]
36 Ethernet 1 Ethernet Encapsulation [RFC2132]
37 Default TCP TTL 1 Default TCP Time to Live [RFC2132]
38 Keepalive Time 4 TCP Keepalive Interval [RFC2132]
39 Keepalive Data 1 TCP Keepalive Garbage [RFC2132]
40 NIS Domain N NIS Domain Name [RFC2132]
41 NIS Servers N NIS Server Addresses [RFC2132]
42 NTP Servers N NTP Server Addresses [RFC2132]
43 Vendor Specific N Vendor Specific Information [RFC2132]
44 NETBIOS Name Srv N NETBIOS Name Servers [RFC2132]
45 NETBIOS Dist Srv N NETBIOS Datagram Distribution [RFC2132]
46 NETBIOS Node Type 1 NETBIOS Node Type [RFC2132]
47 NETBIOS Scope N NETBIOS Scope [RFC2132]
48 X Window Font N X Window Font Server [RFC2132]
49 X Window Manager N X Window Display Manager [RFC2132]
50 Address Request 4 Requested IP Address [RFC2132]
51 Address Time 4 IP Address Lease Time [RFC2132]
52 Overload 1 Overload "sname" or "file" [RFC2132]
53 DHCP Msg Type 1 DHCP Message Type [RFC2132]
54 DHCP Server Id 4 DHCP Server Identification [RFC2132]
55 Parameter List N Parameter Request List [RFC2132]
56 DHCP Message N DHCP Error Message [RFC2132]
57 DHCP Max Msg Size 2 DHCP Maximum Message Size [RFC2132]
58 Renewal Time 4 DHCP Renewal (T1) Time [RFC2132]
59 Rebinding Time 4 DHCP Rebinding (T2) Time [RFC2132]
60 Class Id N Class Identifier [RFC2132]
61 Client Id N Client Identifier [RFC2132]
62 NetWare/IP Domain N NetWare/IP Domain Name [RFC2242]
63 NetWare/IP Option N NetWare/IP sub Options [RFC2242]
64 NIS-Domain-Name N NIS+ v3 Client Domain Name [RFC2132]
65 NIS-Server-Addr N NIS+ v3 Server Addresses [RFC2132]
66 Server-Name N TFTP Server Name [RFC2132]
67 Bootfile-Name N Boot File Name [RFC2132]
68 Home-Agent-Addrs N Home Agent Addresses [RFC2132]
69 SMTP-Server N Simple Mail Server Addresses [RFC2132]
70 POP3-Server N Post Office Server Addresses [RFC2132]
71 NNTP-Server N Network News Server Addresses [RFC2132]
72 WWW-Server N WWW Server Addresses [RFC2132]
73 Finger-Server N Finger Server Addresses [RFC2132]
74 IRC-Server N Chat Server Addresses [RFC2132]
75 StreetTalk-Server N StreetTalk Server Addresses [RFC2132]
76 STDA-Server N ST Directory Assist. Addresses [RFC2132]
77 User-Class N User Class Information [RFC3004]
78 Directory Agent N directory agent information [RFC2610]
79 Service Scope N service location agent scope [RFC2610]
80 Rapid Commit 0 Rapid Commit [RFC4039]
81 Client FQDN N Fully Qualified Domain Name [RFC4702]
82 Relay Agent Information N Relay Agent Information [RFC3046]
83 iSNS N Internet Storage Name Service [RFC4174]
84 REMOVED/Unassigned     [RFC3679]
85 NDS Servers N Novell Directory Services [RFC2241]
86 NDS Tree Name N Novell Directory Services [RFC2241]
87 NDS Context N Novell Directory Services [RFC2241]
88 BCMCS Controller Domain Name list     [RFC4280]
89 BCMCS Controller IPv4 address option     [RFC4280]
90 Authentication N Authentication [RFC3118]
91 client-last-transaction-time option     [RFC4388]
92 associated-ip option     [RFC4388]
93 Client System N Client System Architecture [RFC4578]
94 Client NDI N Client Network Device Interface [RFC4578]
95 LDAP N Lightweight Directory Access Protocol [RFC3679]
96 REMOVED/Unassigned     [RFC3679]
97 UUID/GUID N UUID/GUID-based Client Identifier [RFC4578]
98 User-Auth N Open Group's User Authentication [RFC2485]
99 GEOCONF_CIVIC     [RFC4776]
100 PCode N IEEE 1003.1 TZ String [RFC4833]
101 TCode N Reference to the TZ Database [RFC4833]
102-107 REMOVED/Unassigned     [RFC3679]
108 IPv6-Only Preferred 4 Number of seconds that DHCPv4 should be disabled [RFC8925]
109 OPTION_DHCP4O6_S46_SADDR 16 DHCPv4 over DHCPv6 Softwire Source Address Option [RFC8539]
110 REMOVED/Unassigned     [RFC3679]
111 Unassigned     [RFC3679]
112 Netinfo Address N NetInfo Parent Server Address [RFC3679]
113 Netinfo Tag N NetInfo Parent Server Tag [RFC3679]
114 DHCP Captive-Portal N DHCP Captive-Portal [RFC8910]
115 REMOVED/Unassigned     [RFC3679]
116 Auto-Config N DHCP Auto-Configuration [RFC2563]
117 Name Service Search N Name Service Search [RFC2937]
118 Subnet Selection Option 4 Subnet Selection Option [RFC3011]
119 Domain Search N DNS domain search list [RFC3397]
120 SIP Servers DHCP Option N SIP Servers DHCP Option [RFC3361]
121 Classless Static Route Option N Classless Static Route Option [RFC3442]
122 CCC N CableLabs Client Configuration [RFC3495]
123 GeoConf Option 16 GeoConf Option [RFC6225]
124 V-I Vendor Class   Vendor-Identifying Vendor Class [RFC3925]
125 V-I Vendor-Specific Information   Vendor-Identifying Vendor-Specific Information [RFC3925]
126 Removed/Unassigned     [RFC3679]
127 Removed/Unassigned     [RFC3679]
128 PXE - undefined (vendor specific)     [RFC4578]
128 Etherboot signature. 6 bytes: E4:45:74:68:00:00      
128 DOCSIS "full security" server IP address      
128 TFTP Server IP address (for IP Phone software load)      
129 PXE - undefined (vendor specific)     [RFC4578]
129 Kernel options. Variable length string      
129 Call Server IP address      
130 PXE - undefined (vendor specific)     [RFC4578]
130 Ethernet interface. Variable length string.      
130 Discrimination string (to identify vendor)      
131 PXE - undefined (vendor specific)     [RFC4578]
131 Remote statistics server IP address      
132 PXE - undefined (vendor specific)     [RFC4578]
132 IEEE 802.1Q VLAN ID      
133 PXE - undefined (vendor specific)     [RFC4578]
133 IEEE 802.1D/p Layer 2 Priority      
134 PXE - undefined (vendor specific)     [RFC4578]
134 Diffserv Code Point (DSCP) for VoIP signalling and media streams      
135 PXE - undefined (vendor specific)     [RFC4578]
135 HTTP Proxy for phone-specific applications      
136 OPTION_PANA_AGENT     [RFC5192]
137 OPTION_V4_LOST     [RFC5223]
138 OPTION_CAPWAP_AC_V4 N CAPWAP Access Controller addresses [RFC5417]
139 OPTION-IPv4_Address-MoS N a series of suboptions [RFC5678]
140 OPTION-IPv4_FQDN-MoS N a series of suboptions [RFC5678]
141 SIP UA Configuration Service Domains N List of domain names to search for SIP User Agent Configuration [RFC6011]
142 OPTION-IPv4_Address-ANDSF N ANDSF IPv4 Address Option for DHCPv4 [RFC6153]
143 OPTION_V4_SZTP_REDIRECT N This option provides a list of URIs for SZTP bootstrap servers [RFC8572]
144 GeoLoc 16 Geospatial Location with Uncertainty [RFC6225]
145 FORCERENEW_NONCE_CAPABLE 1 Forcerenew Nonce Capable [RFC6704]
146 RDNSS Selection N Information for selecting RDNSS [RFC6731]
147 OPTION_V4_DOTS_RI N The name of the peer DOTS agent. [RFC8973]
148 OPTION_V4_DOTS_ADDRESS N (the minimal length is 4) N/4 IPv4 addresses of peer DOTS agent(s). [RFC8973]
149 Unassigned     [RFC3942]
150 TFTP server address     [RFC5859]
150 Etherboot      
150 GRUB configuration path name      
151 status-code N+1 Status code and optional N byte text message describing status. [RFC6926]
152 base-time 4 Absolute time (seconds since Jan 1, 1970) message was sent. [RFC6926]
153 start-time-of-state 4 Number of seconds in the past when client entered current state. [RFC6926]
154 query-start-time 4 Absolute time (seconds since Jan 1, 1970) for beginning of query. [RFC6926]
155 query-end-time 4 Absolute time (seconds since Jan 1, 1970) for end of query. [RFC6926]
156 dhcp-state 1 State of IP address. [RFC6926]
157 data-source 1 Indicates information came from local or remote server. [RFC6926]
158 OPTION_V4_PCP_SERVER Variable; the minimum length is 5. Includes one or multiple lists of PCP server IP addresses; each list is treated as a separate PCP server. [RFC7291]
159 OPTION_V4_PORTPARAMS 4 This option is used to configure a set of ports bound to a shared IPv4 address. [RFC7618]
160 Unassigned   Previously assigned by [RFC7710]; known to also be used by Polycom. [RFC7710][RFC8910]
161 OPTION_MUD_URL_V4 N (variable) Manufacturer Usage Descriptions [RFC8520]
162 OPTION_V4_DNR N Encrypted DNS Server [RFC-ietf-add-dnr-13]
163-174 Unassigned     [RFC3942]
175 Etherboot (Tentatively Assigned - 2005-06-23)      
176 IP Telephone (Tentatively Assigned - 2005-06-23)      
177 Etherboot (Tentatively Assigned - 2005-06-23)      
177 PacketCable and CableHome (replaced by 122)      
178-207 Unassigned     [RFC3942]
208 PXELINUX Magic 4 magic string = F1:00:74:7E [RFC5071][Deprecated]
209 Configuration File N Configuration file [RFC5071]
210 Path Prefix N Path Prefix Option [RFC5071]
211 Reboot Time 4 Reboot Time [RFC5071]
212 OPTION_6RD 18 + N OPTION_6RD with N/4 6rd BR addresses [RFC5969]
213 OPTION_V4_ACCESS_DOMAIN N Access Network Domain Name [RFC5986]
214-219 Unassigned      
220 Subnet Allocation Option N Subnet Allocation Option [RFC6656]
221 Virtual Subnet Selection (VSS) Option     [RFC6607]
222-223 Unassigned     [RFC3942]
224-254 Reserved (Private Use)      
255 End 0 None [RFC2132]

DHCP Message Type 53 Values

Registration Procedure(s)
IETF Review
Reference
[RFC2939]
Available Formats

CSV
Value Message Type Reference 
1 DHCPDISCOVER [RFC2132]
2 DHCPOFFER [RFC2132]
3 DHCPREQUEST [RFC2132]
4 DHCPDECLINE [RFC2132]
5 DHCPACK [RFC2132]
6 DHCPNAK [RFC2132]
7 DHCPRELEASE [RFC2132]
8 DHCPINFORM [RFC2132]
9 DHCPFORCERENEW [RFC3203]
10 DHCPLEASEQUERY [RFC4388]
11 DHCPLEASEUNASSIGNED [RFC4388]
12 DHCPLEASEUNKNOWN [RFC4388]
13 DHCPLEASEACTIVE [RFC4388]
14 DHCPBULKLEASEQUERY [RFC6926]
15 DHCPLEASEQUERYDONE [RFC6926]
16 DHCPACTIVELEASEQUERY [RFC7724]
17 DHCPLEASEQUERYSTATUS [RFC7724]
18 DHCPTLS [RFC7724]

NetWare/IP Option Type 63 Sub-Option Codes

Registration Procedure(s)
Not defined
Reference
[RFC2242]
Available Formats

CSV
Value Message Type Reference 
1 NWIP_DOES_NOT_EXIST [RFC2242]
2 NWIP_EXIST_IN_OPTIONS_AREA [RFC2242]
3 NWIP_EXIST_IN_SNAME_FILE [RFC2242]
4 NWIP_EXIST_BUT_TOO_BIG [RFC2242]
5 NSQ_BROADCAST [RFC2242]
6 PREFERRED_DSS [RFC2242]
7 NEAREST_NWIP_SERVER [RFC2242]
8 AUTORETRIES [RFC2242]
9 AUTORETRY_SECS [RFC2242]
10 NWIP_1_1 [RFC2242]
11 PRIMARY_DSS [RFC2242]
12-255 Unassigned  

DHCP Cablelabs Client Configuration Option Type 122 Sub-Option Codes

Registration Procedure(s)
IETF Review
Reference
[RFC3495]
Available Formats

CSV
Code Sub-Option Description Reference 
1 TSP's Primary DHCP Server Address [RFC3495]
2 TSP's Secondary DHCP Server Address [RFC3495]
3 TSP's Provisioning Server Address [RFC3495]
4 TSP's AS-REQ/AS-REP Backoff and Retry [RFC3495]
5 TSP's AP-REQ/AP-REP Backoff and Retry [RFC3495]
6 TSP's Kerberos Realm Name [RFC3495]
7 TSP's Ticket Granting Server Utilization [RFC3495]
8 TSP's Provisioning Timer Value [RFC3495]
9 TSP's Security Ticket Control [RFC3594]
10 KDC Server Address [RFC3634]
11-255 Unassigned  

DHCP Status Code Type 151 Values

Registration Procedure(s)
IETF Review
Reference
[RFC6926]
Available Formats

CSV
Status-Code Name Reference 
0 Success [RFC6926]
1 UnspecFail [RFC6926]
2 QueryTerminated [RFC6926]
3 MalformedQuery [RFC6926]
4 NotAllowed [RFC6926]
5 DataMissing [RFC7724]
6 ConnectionActive [RFC7724]
7 CatchUpComplete [RFC7724]
8 TLSConnectionRefused [RFC7724]
9-255 Unassigned  

DHCP State Type 156 Values

Registration Procedure(s)
IETF Review
Reference
[RFC6926]
Available Formats

CSV
State Name Reference 
0 Reserved [RFC6926]
1 AVAILABLE [RFC6926]
2 ACTIVE [RFC6926]
3 EXPIRED [RFC6926]
4 RELEASED [RFC6926]
5 ABANDONED [RFC6926]
6 RESET [RFC6926]
7 REMOTE [RFC6926]
8 TRANSITIONING [RFC6926]
9-255 Unassigned  

Altitude Type Registry

Registration Procedure(s)
Standards Action
Reference
[RFC6225]
Available Formats

CSV
Type Altitude Field Description Reference 
0 No known altitude [RFC6225]
1 Altitude in meters [RFC6225]
2 Altitude in floors [RFC6225]
3-15 Unassigned  

Datum Registry

Registration Procedure(s)
Standards Action
Reference
[RFC6225]
Available Formats

CSV
Datum Datum Field Description Reference 
0 Reserved [RFC6225]
1 Vertical datum WGS 84 defined by EPSG CRS Code 4327 [RFC6225]
2 Vertical datum NAD83 defined by EPSG CRS Code 4269 with North American Vertical Datum of 1988 (NAVD88) [RFC6225]
3 Vertical datum NAD83 defined by EPSG CRS Code 4269 with Mean Lower Low Water (MLLW) as associated vertical datum [RFC6225]
4-7 Unassigned  

GeoLoc Option Version Registry

Registration Procedure(s)
Standards Action
Reference
[RFC6225]
Available Formats

CSV
Version Description Reference 
0 Reserved [RFC6225]
1 Implementations utilizing uncertainty parameters for both DHCPv4 and DHCPv6 GeoLoc options [RFC6225]
2-3 Unassigned  

CableLabs Client Configuration Option Ticket Control Mask Bit Definitions

Registration Procedure(s)
IETF Review
Reference
[RFC3594]
Available Formats

CSV
Bit Description Reference 
0 the PacketCable Provisioning Server used by the CCD. [RFC3594]
1 the group of all PacketCable Call Management Servers used by the CCD. [RFC3594]
2-15 Reserved and MUST be set to 0.  

DHCP Relay Agent Sub-Option Codes

Registration Procedure(s)
IETF Review
Reference
[RFC3046]
Available Formats

CSV
Code Sub-Option Description Reference 
1 Agent Circuit ID Sub-option [RFC3046]
2 Agent Remote ID Sub-option [RFC3046]
3 Sub-option 3 is reserved and should not be assigned at this time; proprietary and incompatible usages of this sub-option value have been seen limited deployment. [Ralph_Droms]
4 DOCSIS Device Class Suboption [RFC3256]
5 Link selection Sub-option [RFC3527]
6 Subscriber-ID Suboption [RFC3993]
7 RADIUS Attributes Sub-option [RFC4014]
8 Authentication Suboption [RFC4030]
9 Vendor-Specific Information Suboption [RFC4243]
10 Relay Agent Flags [RFC5010]
11 Server Identifier Override Suboption [RFC5107]
12 Relay Agent Identifier Sub-option [RFC6925]
13 Access-Technology-Type Sub-option [RFC7839]
14 Access-Network-Name Sub-option [RFC7839]
15 Access-Point-Name Sub-option [RFC7839]
16 Access-Point-BSSID Sub-option [RFC7839]
17 Operator-Identifier Sub-option [RFC7839]
18 Operator-Realm Sub-option [RFC7839]
19 DHCPv4 Relay Source Port Sub-Option [RFC8357]
20-150 Unassigned  
151 DHCPv4 Virtual Subnet Selection Sub-Option [RFC6607]
152 DHCPv4 Virtual Subnet Selection Control Sub-Option [RFC6607]

Authentication Suboption (value 8) - Protocol identifier values

Registration Procedure(s)
IETF Review
Reference
[RFC3118]
Available Formats

CSV
Value Protocol Reference 
0 DHCPv4 Configuration Token [RFC3118, Section 4]
1 DHCPv4 Delayed Authentication [RFC3118, Section 5]
2 DHCPv6 Delayed Authentication (Obsolete) [RFC8415]
3 DHCPv6 Reconfigure Key Authentication [RFC8415]
4-254 Unassigned  
255 Reserved [RFC3118]

Authentication Suboption (value 8) - Algorithm identifier values

Registration Procedure(s)
IETF Review
Reference
[RFC4030]
Available Formats

CSV
Value Algorithm Reference 
0 Reserved [RFC4030]
1 HMAC-SHA1 keyed hash [RFC4030]

Authentication Suboption (value 8) - Replay Detection Method (RDM) identifier values

Registration Procedure(s)
IETF Review
Reference
[RFC4030]
Available Formats

CSV
Value Description Reference 
0 Reserved [RFC4030]
1 use of a monotonically increasing counter value [RFC4030]

IEEE 802.21 Service Type (MoS DHCPv4 Address and FQDN Sub-Options)

Registration Procedure(s)
Standards Action
Reference
[RFC5678]
Available Formats

CSV
Value Name Reference 
0 Reserved [RFC5678]
1 IS [RFC5678]
2 CS [RFC5678]
3 ES [RFC5678]
4-254 Unassigned  
255 Reserved [RFC5678]

NTP Time Source Suboptions

Registration Procedure(s)
IETF Review
Reference
[RFC5908]
Note
See the NTP Time Source Suboptions registry at [https://www.iana.org/assignments/dhcpv6-parameters]

VSS Type Options

Registration Procedure(s)
IETF Review
Reference
[RFC6607]
Available Formats

CSV
Type Name Reference 
0 Network Virtual Terminal (NVT) ASCII VPN identifier [RFC6607]
1 RFC2685 VPN-ID [RFC2685][RFC6607]
2-253 Unassigned  
254 All VPNs (wildcard) [RFC6926]
255 Global, default VPN [RFC6607]

Contact Information

ID Name Contact URI Last Updated 
[Ralph_Droms] Ralph Droms mailto:rdroms&cisco.com 2001-01

Options号
Options作用1设置子网掩码选项。
3设置网关地址选项。
6设置DNS服务器地址选项。
12设置域名选项。
15设置域名后缀选项。
33设置静态路由选项。该选项中包含一组有分类静态路由(即目的地址的掩码固定为自然掩码,不能划分子网),客户端收到该选项后,将在路由表中添加这些静态路由。如果存在Option121,则忽略该选项。
44设置NetBios服务器选项。
46设置NetBios节点类型选项。
50设置请求IP选项。
51设置IP地址租约时间选项。
52设置Option附加选项。
53设置DHCP消息类型。
54设置服务器标识。
55设置请求参数列表选项。客户端利用该选项指明需要从服务器获取哪些网络配置参数。该选项内容为客户端请求的参数对应的选项值。
58设置续约T1时间,一般是租期时间的50%。
59设置续约T2时间。一般是租期时间的87.5%。
60设置厂商分类信息选项,用于标识DHCP客户端的类型和配置。
61设置客户端标识选项。
66设置TFTP服务器名选项,用来指定为客户端分配的TFTP服务器的域名。
67设置启动文件名选项,用来指定为客户端分配的启动文件名。
77设置用户类型标识。
121设置无分类路由选项。该选项中包含一组无分类静态路由(即目的地址的掩码为任意值,可以通过掩码来划分子网),客户端收到该选项后,将在路由表中添加这些静态路由。
148EasyDeploy中Commander的IP地址。
149SFTP和FTPS服务器的IP地址。
150设置TFTP服务器地址选项,指定为客户端分配的TFTP服务器的地址。

DHCP OPTIONMeaing
0 None
1 设置子网掩码
2 "Time Offset in Seconds from UTC
3 设置网关
4 N/4 Timeserver addresses
5 N/4 IEN-116 Server addresses
6 设置DNS服务器
7 N/4 Logging Server addresses
8 N/4 Quotes Server addresses
9 N/4 Printer Server addresses
10 N/4 Impress Server addresses
11 N/4 RLP Server addresses
12 设置域名选项。
13 Size of boot file in 512 byte chunks
14 Client to dump and name the file to dump it to
15 设置域名后缀选项。
16 Swap Server address
17 Path name for root disk
18 Path name for more BOOTP info
19 Enable/Disable IP Forwarding
20 Enable/Disable Source Routing
21 Routing Policy Filters
22 Max Datagram Reassembly Size
23 Default IP Time to Live
24 Path MTU Aging Timeout
25 Path MTU Plateau Table
26 Interface MTU Size
27 All Subnets are Local
28 Broadcast Address
29 Perform Mask Discovery
30 Provide Mask to Others
31 Perform Router Discovery
32 Router Solicitation Address
33 设置静态路由选项。该选项中包含一组有分类静态路由(即目的地址的掩码固定为自然掩码,不能划分子网),客户端收到该选项后,将在路由表中添加这些静态路由。如果存在Option121,则忽略该选项。
34 Trailer Encapsulation
35 ARP Cache Timeout
36 Ethernet Encapsulation
37 Default TCP Time to Live
38 TCP Keepalive Interval
39 TCP Keepalive Garbage
40 NIS Domain Name
41 NIS Server Addresses
42 NTP Server Addresses
43 Vendor Specific Information
44 设置NetBios服务器选项。
45 NETBIOS Datagram Distribution
46 设置NetBios节点类型选项。
47 NETBIOS Scope
48 X Window Font Server
49 X Window Display Manager
50 设置请求IP选项。
51 设置IP地址租约时间选项。
52 设置Option附加选项。
53 设置DHCP消息类型。
54 设置服务器标识。
55 设置请求参数列表选项。客户端利用该选项指明需要从服务器获取哪些网络配置参数。该选项内容为客户端请求的参数对应的选项值。
56 DHCP Error Message
57 DHCP Maximum Message Size
58 设置续约T1时间,一般是租期时间的50%。
59 设置续约T2时间。一般是租期时间的87.5%。
60 设置厂商分类信息选项,用于标识DHCP客户端的类型和配置。
61 设置客户端标识选项。
62 NetWare/IP Domain Name
63 NetWare/IP sub Options
64 NIS+ v3 Client Domain Name
65 NIS+ v3 Server Addresses
66 设置TFTP服务器名选项,用来指定为客户端分配的TFTP服务器的域名。
67 设置启动文件名选项,用来指定为客户端分配的启动文件名。
68 Home Agent Addresses
69 Simple Mail Server Addresses
70 Post Office Server Addresses
71 Network News Server Addresses
72 WWW Server Addresses
73 Finger Server Addresses
74 Chat Server Addresses
75 StreetTalk Server Addresses
76 ST Directory Assist. Addresses
77 设置用户类型标识。
78 directory agent information
79 service location agent scope
80 Rapid Commit
81 Fully Qualified Domain Name
82 Relay Agent Information
83 Internet Storage Name Service
85 Novell Directory Services
86 Novell Directory Services
87 Novell Directory Services
90 Authentication
93 Client System Architecture
94 Client Network Device Interface
95 Lightweight Directory Access Protocol
97 UUID/GUID-based Client Identifier
98 Open Group's User Authentication
100 IEEE 1003.1 TZ String
101 Reference to the TZ Database
108 Number of seconds that DHCPv4 should be disabled
109 DHCPv4 over DHCPv6 Softwire Source Address Option
112 NetInfo Parent Server Address
113 NetInfo Parent Server Tag
114 DHCP Captive-Portal
116 DHCP Auto-Configuration
117 Name Service Search
118 Subnet Selection Option
119 DNS domain search list
120 SIP Servers DHCP Option
121 设置无分类路由选项。该选项中包含一组无分类静态路由(即目的地址的掩码为任意值,可以通过掩码来划分子网),客户端收到该选项后,将在路由表中添加这些静态路由。
122 CableLabs Client Configuration
123 GeoConf Option
124 Vendor-Identifying Vendor Class
125 Vendor-Identifying Vendor-Specific Information
138 CAPWAP Access Controller addresses
139 a series of suboptions
140 a series of suboptions
141 List of domain names to search for SIP User Agent Configuration
142 ANDSF IPv4 Address Option for DHCPv4
143 This option provides a list of URIs for SZTP bootstrap servers
144 Geospatial Location with Uncertainty
145 Forcerenew Nonce Capable
146 Information for selecting RDNSS
147 The name of the peer DOTS agent.
148 N/4 IPv4 addresses of peer DOTS agent(s).
150 设置TFTP服务器地址选项,指定为客户端分配的TFTP服务器的地址。
151 Status code and optional N byte text message describing status.
152 "Absolute time (seconds since Jan 1, 1970) message was sent."
153 Number of seconds in the past when client entered current state.
154 "Absolute time (seconds since Jan 1, 1970) for beginning of query."
155 "Absolute time (seconds since Jan 1, 1970) for end of query."
156 State of IP address.
157 Indicates information came from local or remote server.
158 Includes one or multiple lists of PCP server IP addresses; each list is treated as a separate PCP server.
159 This option is used to configure a set of ports bound to a shared IPv4 address.
160 Previously assigned by [RFC7710]; known to also be used by Polycom.
161 Manufacturer Usage Descriptions

 

 

General Options
Option 1 (Subnet Mask) 
Description 
The subnet mask option specifies the client's subnet mask as per RFC 950. If both the subnet mask and the router option are specified in a DHCP reply, the subnet mask option MUST be first. The code for the subnet mask option is 1, and its length is 4 octets. 
VALIDVALUE 
e.g. 255.255.0.0 
SETTING 
netmask 
________________________________________
Option 3 (Router) 
Description 
The router option specifies a list of IP addresses for routers on the client's subnet. Routers SHOULD be listed in order of preference. The code for the router option is 3. The minimum length for the router option is 4 octets, and the length MUST always be a multiple of 4. 
VALIDVALUE 
e.g. 192.168.0.1 
SETTING 
gateway 
________________________________________
Option 4 (Time Server) 
Description 
The time server option specifies the time server (RFC 868), available to the client. The code for the time server option is 4. The minimum length for this option is 4 octets, and the length MUST always be a multiple of 4. Time Server is mapped to NTP Server. 
Available since 8.5.1 
VALIDVALUE 
192.53.103.103, de.pool.ntp.org 
SETTING 
ntp_server 
________________________________________
Option 6 (DNS Server) 
Description 
The domain name server option specifies a list of Domain Name System (STD 13, RFC 1035) name servers available to the client. Servers SHOULD be listed in order of preference. The code for the domain name server option is 6. The minimum length for this option is 4 octets, and the length MUST always be a multiple of 4. 
VALIDVALUE 
Private: 192.168.0.9 
Public: 174.129.1.129 
SETTING 
dns_server1 
dns_server2 
________________________________________
Option 12 (Hostname) 
Description 
This option specifies the name of the client. The name may or may not be qualified with the local domain name (see section 3.17 for the preferred way to retrieve the domain name). See RFC 1035 for character set restrictions. The code for this option is 12, and its minimum length is 1. 
VALIDVALUE 
phone123 
SETTING 
phone_name 
________________________________________
Option 15 (DNS Domain) 
Description 
This option specifies the domain name that client should use when resolving hostnames via the Domain Name System. The code for this option is 15. Its minimum length is 1. 
VALIDVALUE 
company.com 
SETTING 
dns_domain 
________________________________________
Option 42 (NTP Server) 
Description 
The NTP server option specifies the NTP server (RFC 868), available to the client. The code for the NTP server option is 42. The minimum length for this option is 4 octets, and the length MUST always be a multiple of 4. 
VALIDVALUE 
192.53.103.103, de.pool.ntp.org 
SETTING 
ntp_server 
________________________________________
Option 50 (Requested IP Address)
Description 
This option is used in a client request (DHCPDISCOVER) to allow the client to request that a particular IP address be assigned. The code for this option is 50, and its length is 4. 
________________________________________
Option 51 (IP Address Lease Time)
Description 
This option is used in a client request (DHCPDISCOVER or DHCPREQUEST) to allow the client to request a lease time for the IP address. In a server reply (DHCPOFFER), a DHCP server uses this option to specify the lease time it is willing to offer. The time is in units of seconds, and is specified as a 32-bit unsigned integer. The code for this option is 51, and its length is 4. 
________________________________________
Option 53 (DHCP Message Type)
Description 
This option is used to convey the type of the DHCP message. The code for this option is 53, and its length is 1. Legal values for this option are: 
1.  DHCPDISCOVER 
2.  DHCPOFFER 
3.  DHCPREQUEST 
4.  DHCPDECLINE 
5.  DHCPACK 
6.  DHCPNAK 
7.  DHCPRELEASE 
8.  DHCPINFORM 
________________________________________
Option 54 (Server Identifier)
Description 
This option is used in DHCPOFFER and DHCPREQUEST messages, and may optionally be included in the DHCPACK and DHCPNAK messages. DHCP servers include this option in the DHCPOFFER in order to allow the client to distinguish between lease offers. DHCP clients use the contents of the 'server identifier' field as the destination address for any DHCP messages unicast to the DHCP server. DHCP clients also indicate which of several lease offers is being accepted by including this option in a DHCPREQUEST message. The identifier is the IP address of the selected server. The code for this option is 54, and its length is 4. 
________________________________________
Option 55 (Parameter Request List)
Description 
This option is used by a DHCP client to request values for specified configuration parameters. The list of requested parameters is 
specified as n octets, where each octet is a valid DHCP option code as defined in this document. The client MAY list the options in order of preference. The DHCP server is not required to return the options in the requested order, but MUST try to insert the requested options in the order requested by the client. The code for this option is 55. Its minimum length is 1. 
________________________________________
Option 120 (SIP Servers) 
Description 
RFC 3361 
VALIDVALUE 
e.g. sip.company.com 
________________________________________
Option 125 (Vendor-Identifying Vendor-Specific) 
Description 
RFC 3925 
VALIDVALUE 
e.g. 
________________________________________
Option 135 (HTTP Proxy for phone-specific applications) 
Description 
RFC 4578 
VALIDVALUE 
________________________________________
Option 143 () 
Description 
RFC 3942 
VALIDVALUE 
________________________________________
VLAN Options
Option 132 (vlan-id) 
Description 
Read more about vlan tagging and vlan id here: IEEE802.1Q. 
supported since 7.3.24/8.2.7. 
VALIDVALUE 
vlan id 
linux dhcpd3 syntax example: 
option vlan-id code 132 = text ;
option vlan-id "128";
SETTING 
vlan_id 
________________________________________
Option 133 (vlan-qos)
Description 
Here you can read more about vlan tagging IEEE802.1Q and vlan qos IEEE802.1P. 
supported since 7.3.24/8.2.7. 
VALIDVALUE 
<vlan qos> 
linux dhcpd3 syntax example: 
option vlan-qos code 133 = text ;
option vlan-qos "5"; 
SETTING 
vlan_qos 


Auto Provisioning Options
Option 43 (vendor-encapsulated-options) 
Firmware 
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. 
Description 
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. 
VALIDVALUE (Examples) 
linux dhcpd3 syntax: 
option vendor-encapsulated-options
42:0c:68:74:74:70:3a:2f:2f:74:65:73:74:00:43:12:73:6e:6f:6d:2f:73:65:74:74:69:6e:67:73:2e:70:68:70:00;
Which means tunnel opt 66 http://test and opt 67 snom/settings.php via opt 43. 
option vendor-encapsulated-options
84:02:33:00;
Which means tunnel opt 132 value 3 via opt 43. 
option vendor-encapsulated-options
84:04:31:31:34:00:85:02:35:00;
Which means tunnel opt 132 value 114 and opt 133 value 5 via opt 43. 
________________________________________
Option 60 (Vendor class identifier)
Firmware 
Supported since 7.3.15 
Description 
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. 
________________________________________
Option 66 (TFTP server name)
Description 
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. 
VALIDVALUE 
<protocol> : // <IP address> or <domain> e.g. http://10.0.0.2, https://provisioning.company.com 
<IP address> or <domain> e.g. 10.0.0.2, provisioning.company.com 
where <protocol> = server type/protocol 
where <IP address> = server IP address 
where <domain> = server domain name 
NOTE 
Without specifying the <protocol> the firmware will attempt all supported server protocol types consecutively: 
1.  tftp://... 
2.  http://... 
3.  https://... 
SETTING 
update_server 
________________________________________
Option 67 (Bootfile name)
Description 
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. 
VALIDVALUE 
<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 
NOTE 
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 snom820 phones request --> http://<domain>/snom820.htm 
all snom870 phones request --> http://<domain>/snom870.htm 
all snom MeetingPoint phones request --> http://<domain>/snommp.htm 
SETTING 
update_filename 

posted @ 2023-02-10 17:00  分类DHCP  阅读(7715)  评论(0编辑  收藏  举报