11-4
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter11 Configuring DHCP
Configuring a DHCP Server
Configuring DHCP Options
You can configure the ASA to send information for the DHCP options listed in RFC 2132. The DHCP
options include the following three categories:
Options that Return an IP Address, page11-4
Options that Return a Text String, page11-4
Options that Return a Hexadecimal Value, page11-5
The ASA supports all three categories. To configure a DHCP option, choose one of the following
commands:

Options that Return an IP Address

Options that Return a Text String

Step7 dhcpd option 3 ip gateway_ip
Example:
hostname(config)# dhcpd option 3 ip
10.10.1.1
Defines a default gateway that is sent to DHCP clients. If you do
not use the dhcpd option 3 command to define the default
gateway, DHCP clients use the IP address of the management
interface. As a result, the DHCP ACK does not include this
option. The management interface does not route traffic.
Step8 dhcpd enable interface_name
Example:
hostname(config)# dhcpd enable outside
Enables the DHCP daemon within the ASA to listen for DHCP
client requests on the enabled interface.
Command Purpose
Command Purpose
dhcpd option code ip addr_1 [addr_2]
Example:
hostname(config)# dhcpd option 2 ip
10.10.1.1 10.10.1.2
Configures a DHCP option that returns one or two IP addresses.
Command Purpose
dhcpd option code ascii text
Example:
hostname(config)# dhcpd option 2 ascii
examplestring
Configures a DHCP option that returns a text string.