IPv4 DHCP Server Codes lists the IPv4 DHCP server option names and codes supported by the firmware. All options specified in IPv4 DHCP Server Codes may be configured using the option command. Several commonly-used options may also be configured using dedicated commands: domain-name, dns-server, netbios-name-server, netbios-node-type, and default-router. These commands are specified in DHCP Client Configuration
Except where noted, all options are defined in RFC-2132. In addition, the site-specific option codes designated by RFC-2132 (128-254) may be used to define options for use within a site or an organization. Some vendors have made use of site-specific options to configure their product features.
Description | Code | Input Methods | RFC |
---|---|---|---|
SubnetMask: | 1 | hex,ip | RFC 2132 |
TimeOffset: | 2 | hex | RFC 2132 |
Router: | 3 | hex,ip | RFC 2132 |
TimeServer: | 4 | hex,ip | RFC 2132 |
NameServer: | 5 | hex,ip | RFC 2132 |
DomainNameServer: | 6 | hex,ip | RFC 2132 |
LogServer: | 7 | hex,ip | RFC 2132 |
CookieServer: | 8 | hex,ip | RFC 2132 |
LPRServer: | 9 | hex,ip | RFC 2132 |
ImpressServer: | 10 | hex,ip | RFC 2132 |
ResourceLocationServer: | 11 | hex,ip | RFC 2132 |
HostName: | 12 | ascii,hex | RFC 2132 |
BootFileSize: | 13 | hex | RFC 2132 |
MeritDumpName: | 14 | ascii,hex | RFC 2132 |
DomainName: | 15 | ascii,hex | RFC 2132 |
SwapServer: | 16 | hex,ip | RFC 2132 |
RootPath: | 17 | ascii,hex | RFC 2132 |
ExtensionsPath: | 18 | ascii,hex | RFC 2132 |
IpForwarding: | 19 | hex | RFC 2132 |
NonLocalSourceRouting: | 20 | hex | RFC 2132 |
PolicyFilter: | 21 | hex,ip | RFC 2132 |
MaxDatagramReassemblySize: | 22 | hex | RFC 2132 |
DefaultIpTTL: | 23 | hex | RFC 2132 |
PathMTUAgingTimeout: | 24 | hex | RFC 2132 |
PathMTUPlateauTable: | 25 | hex | RFC 2132 |
InterfaceMTU: | 26 | hex | RFC 2132 |
AllSubnetsLocal: | 27 | hex | RFC 2132 |
BroadcastAddress: | 28 | hex,ip | RFC 2132 |
PerformMaskDiscovery: | 29 | hex | RFC 2132 |
MaskSupplier: | 30 | hex | RFC 2132 |
PerformRouterDiscovery: | 31 | hex | RFC 2132 |
RouterSolicitationAddress: | 32 | hex,ip | RFC 2132 |
StaticRoute: | 33 | hex,ip | RFC 2132 |
TrailerEncapsulation: | 34 | hex | RFC 2132 |
ARPCacheTimeout: | 35 | hex | RFC 2132 |
EthernetEncapsulation: | 36 | hex | RFC 2132 |
TCPDefaultTTL: | 37 | hex | RFC 2132 |
TCPDefaultKeepaliveInterval: | 38 | hex | RFC 2132 |
TCPDefaultKeepaliveGarbage: | 39 | hex | RFC 2132 |
NISDomain: | 40 | ascii,hex | RFC 2132 |
NISServers: | 41 | hex,ip | RFC 2132 |
NTPServers: | 42 | hex,ip | RFC 2132 |
VendorSpecificInfo: | 43 | ascii,hex | RFC 1533 RFC 2132 |
NetBIOSNameServer: | 44 | hex,ip | RFC 1533 RFC 2132 |
NetBIOSDatagramDistributionServer: | 45 | hex,ip | RFC 1533 RFC 2132 |
NetBIOSNodeType: | 46 | hex | RFC 1533 RFC 2132 |
NetBIOSScope: | 47 | ascii,hex | RFC 1533 RFC 2132 |
XWindowFontServer: | 48 | hex,ip | RFC 1533 RFC 2132 |
XWindowDisplayManager: | 49 | hex,ip | RFC 1533 RFC 2132 |
IpAddressLeaseTime: | 51 | hex | RFC 1533 RFC 2132 |
RenewalTimeValue: | 58 | hex | RFC 1533 RFC 2132 |
RebindingTimeValue: | 59 | hex | RFC 1533 RFC 2132 |
NISPlusDomain: | 64 | ascii,hex | RFC 2132 |
NISPlusServers: | 65 | hex,ip | RFC 2132 |
TFTPServerName: | 66 | ascii,hex | RFC 2132 |
BootfileName: | 67 | ascii,hex | RFC 2132 |
MobileIpHomeAgent: | 68 | hex,ip | RFC 2132 |
SMTPServer: | 69 | hex,ip | RFC 2132 |
POP3Server: | 70 | hex,ip | RFC 2132 |
NNTPServer: | 71 | hex,ip | RFC 2132 |
DefaultWWWServer: | 72 | hex,ip | RFC 2132 |
DefaultFingerServer: | 73 | hex,ip | RFC 2132 |
DefaultIRCServer: | 74 | hex,ip | RFC 2132 |
StreetTalkServer: | 75 | hex,ip | RFC 2132 |
STDAServer: | 76 | hex,ip | RFC 2132 |
UserClass: | 77 | ascii,hex | RFC 3004 |
SLPDirectoryAgents: | 78 | hex | RFC 2610 |
SLPServiceScope: | 79 | hex | RFC 2610 |
DHCP Option | Option Code |
---|---|
Subnet Mask | 1 |
Time Offset | 2 |
Router | 3 |
Time Server | 4 |
Name Server | 5 |
Domain Name Server | 6 |
Log Server | 7 |
Cookie Server | 8 |
LPR Server | 9 |
Impress Server | 10 |
Resource Location Server | 11 |
Host Name | 12 |
Bootfile Size | 13 |
Merit Dump File | 14 |
Domain Name | 15 |
Swap Server | 16 |
Root Path | 17 |
Extensions Path | 18 |
IP Forwarding Enable/Disable | 19 |
Non Local Source Routing Enable/Disable | 20 |
Policy Filter | 21 |
Max Datagram Reassembly Size | 22 |
Default IP Time-to-live | 23 |
Path MTU Aging Timeout | 24 |
Path MTU Plateau Table | 25 |
Interface MTU | 26 |
All Subnets Are Local | 27 |
Broadcast Address | 28 |
Perform Mask Discovery | 29 |
Mask Supplier | 30 |
Perform Router Discovery | 31 |
Router Solicitation Address | 32 |
Static Route | 33 |
Trailer Encapsulation | 34 |
ARP Cache Timeout | 35 |
Ethernet Encapsulation | 36 |
TCP Default TTL | 37 |
TCP Keepalive Interval | 38 |
TCP Keepalive Garbage | 39 |
NIS Domain | 40 |
Network Information Servers | 41 |
NTP Servers | 42 |
Vendor Specific Information | 43 |
NetBIOS Over TCP/IP Name Server | 44 |
NetBIOS Over TCP/IP Datagram Distribution Server | 45 |
NetBIOS Over TCP/IP Node Type | 46 |
NetBIOS Over TCP/IP Scope | 47 |
X Window System Font Server | 48 |
X Window System Display Manager | 49 |
Renewal Time Value | 58 |
Rebinding Time Value | 59 |
NIS+ Domain | 64 |
NIS+ Servers | 65 |
Mobile IP Home Agent | 68 |
SMTP Server | 69 |
POP3 Server | 70 |
NNTP Server | 71 |
Default WWW Server | 72 |
Default Finger Server | 73 |
Default IRC Server | 74 |
StreetTalk Server | 75 |
StreetTalk Directory Assistance Server | 76 |
Relay Agent Information | 82 Defined in RFC-3046 |
Subnet Selection | 118 Defined in RFC3011 |