
8-37
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
OL-20748-01
Chapter 8 Configuring IP Routing and DHCP Services
Configuring DHCP
For example, to assign the range 10.0.1.101 to 10.0.1.110 to hosts connected to the inside interface, enter
the following commands:
hostname(config)#
dhcpd address 10.0.1.101-10.0.1.110 inside
hostname(config)#
dhcpd dns 209.165.201.2 209.165.202.129
hostname(config)#
dhcpd wins 209.165.201.5
hostname(config)#
dhcpd lease 3000
hostname(config)#
dhcpd domain example.com
hostname(config)#
dhcpd enable inside
Configuring DHCP Options
You can configure the FWSM to send information for the DHCP options listed in RFC 2132. The DHCP
options fall into one of three categories:
•
Options that return an IP address.
•
Options that return a text string.
•
Options that return a hexadecimal value.
The FWSM supports all three categories of DHCP options. To configure a DHCP option, do one of the
following:
•
To configure a DHCP option that returns one or two IP addresses, enter the following command:
hostname(config)#
dhcpd option
code
ip
addr_1
[
addr_2
]
•
To configure a DHCP option that returns a text string, enter the following command:
hostname(config)#
dhcpd option
code
ascii
text
•
To configure a DHCP option that returns a hexadecimal value, enter the following command:
hostname(config)#
dhcpd option
code
hex
value
Note
The FWSM does not verify that the option type and value that you provide match the expected type and
value for the option code as defined in RFC 2132. For example, you can enter
dhcpd option 46 ascii
hello
, and the FWSM accepts the configuration although option 46 is defined in RFC 2132 as expecting
a single-digit, hexadecimal value. For more information about the option codes and their associated
types and expected values, refer to RFC 2132.
Table 8-1
shows the DHCP options that are not supported by the
dhcpd option
command:
Table 8-1
Unsupported DHCP Options
Option Code
Description
0
DHCPOPT_PAD
1
HCPOPT_SUBNET_MASK
12
DHCPOPT_HOST_NAME
50
DHCPOPT_REQUESTED_ADDRESS
51
DHCPOPT_LEASE_TIME
Содержание 6500 - Catalyst Series 10 Gigabit EN Interface Module Expansion
Страница 35: ...P A R T 1 Getting Started and General Information ...
Страница 36: ......
Страница 297: ...P A R T 2 Configuring the Security Policy ...
Страница 298: ......
Страница 521: ...P A R T 3 System Administration ...
Страница 522: ......
Страница 613: ...P A R T 4 Reference ...
Страница 614: ......