Chapter 8
Configuring IP Routing and DHCP Services
The following example injects 209.165.201.0/27 and 192.0.2.0/24 with a nexthop of 209.165.200.225
on VLAN 20. 209.165.202.128/27 is not injected.
hostname(config)# interface vlan20
hostname(config-if)# nameif outside
hostname(config-if)# ip address 209.165.200.225 255.255.255.224 standby 209.165.200.226
hostname(config-if)# exit
hostname(config)# access-list acl1 standard permit 209.165.201.0 255.255.255.224
hostname(config)# access-list acl2 standard permit 192.0.2.0 255.255.255.0
hostname(config)# route-map map1 permit 10
hostname(config-route-map)# match ip address acl1 acl2
hostname(config-route-map)# exit
hostname(config)# route inside 209.165.201.0 255.255.255.224 10.1.1.1
hostname(config)# route inside 192.0.2.0 255.255.255.0 10.1.1.1
hostname(config)# route inside 209.165.202.128 255.255.255.224 10.1.1.1
hostname(config)# route-inject
hostname(config-route-inject)# redistribute static route-map map1 interface outside
Configuring DHCP
DHCP provides network configuration parameters, such as IP addresses, to DHCP clients. The FWSM
can provide a DHCP server or DHCP relay services to DHCP clients attached to FWSM interfaces. The
DHCP server provides network configuration parameters directly to DHCP clients. DHCP relay passes
DHCP requests received on one interface to an external DHCP server located behind a different
interface.
This section includes the following topics:
•
•
Configuring a DHCP Server
This section describes how to configure DHCP server provided by the FWSM. This section includes the
following topics:
•
•
•
Enabling the DHCP Server
The FWSM can act as a DHCP server. DHCP is a protocol that supplies network settings to hosts
including the host IP address, the default gateway, and a DNS server.
The FWSM DHCP server does not support BOOTP requests.
Note
In multiple context mode, you cannot enable the DHCP server or DHCP relay on an interface that is used
by more than one context.
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
OL-20748-01
Configuring a DHCP Server, page 8-35
Configuring DHCP Relay Services, page 8-39
Enabling the DHCP Server, page 8-35
Configuring DHCP Options, page 8-37
Using Cisco IP Phones with a DHCP Server, page 8-38
Configuring DHCP
8-35