The Cisco ASA firewall provides basic DHCP Server functionality. If you’re running a Windows Active Directory Domain, I recommend you use the Microsoft DHCP server. For testing purposes, the ASA built-in DHCP server can be useful. If you enable a Windows DHCP service, then please disable the Cisco one!
! Substitute your desired internal DHCP address range ! Google public DNS servers used for this example ! Lease time is specified in seconds, 8 hours here ! Substitute your DNS domain suffix ! The default gateway is DHCP "option 3" here ! Associate the dhcpd commands with your named interface dhcpd address 192.168.1.101-192.168.1.200 inside dhcpd dns 126.96.36.199 188.8.131.52 interface inside dhcpd lease 28800 interface inside dhcpd domain YourDomain.com interface inside dhcpd option 3 ip 192.168.1.1 interface inside dhcpd enable inside ! ! Test your Cisco ASA DHCP config with commands like these show run dhcpd show dhcpd binding
Hopefully this will be useful to get you started, as always the official documentation is a good place to learn how to provide DHCP service from your Cisco ASA.
- Configuring DHCP (ASA 5500 Series Configuration Guide using the CLI, cisco.com)
You may also want to read my related article for the DHCP Server in Cisco IOS.