8-22
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide
OL-6392-01
Chapter 8 Configuring IP Addresses, Routing, and DHCP
Configuring DHCP Relay
Step 4 (Optional) To change the first default router address in the packet sent from the DHCP server to the
address of the FWSM interface, enter the following command:
FWSM/contexta(config)# dhcprelay setroute
interface_name
This action allows the client to set its default route to point to the FWSM even if the DHCP server
specifies a different router.
If there is no default router option in the packet, the FWSM adds one containing the interface address.
The following example enables the FWSM to forward DHCP requests from clients connected to the
inside interface to a DHCP server on the outside interface:
FWSM/contexta(config)# dhcprelay server 201.168.200.4
FWSM/contexta(config)# dhcprelay enable inside
FWSM/contexta(config)# dhcprelay setroute inside