can be a specific DHCP server IP address, or it can be the network address if other DHCP servers are on the destination network segment. Using the network address enables any DHCP server to respond to requests. Perform these steps to specify the packet forwarding address: Procedure Configuring DHCP Specifying the Packet Forwarding Address Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 interface vlan vlan-id Example:
Device(config)# interface vlan 1 Creates a switch virtual interface by entering a VLAN ID, and enters interface configuration mode. Step 4 ip address ip-address subnet-mask Example: Device(config-if)# ip address 192.108.1.27 255.255.255.0 Configures the interface with an IP address and an IP subnet. Step 5 ip helper-address address Example: Device(config-if)# ip helper-address 172.16.1.2 Specifies the DHCP packet forwarding address. • The helper address can be a specific DHCP server address, or it can be the network address if other DHCP servers are on the destination network segment. Using the network address enables other servers to respond to DHCP requests.
• If you have multiple servers, you can configure one helper address for each server. Step 6 exit Example: Device(config-if)# exit Exits interface configuration mode and returns to global configuration mode. Configuring DHCP 12