DHCP Server on Cisco ASA

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 inside
dhcpd dns interface inside
dhcpd lease 28800 interface inside
dhcpd domain YourDomain.com interface inside
dhcpd option 3 ip 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.


About notesbytom

Keeping technology notes on WordPress.com to free up my mind to solve new problems rather than figuring out the same ones repeatedly :-).
This entry was posted in Networking and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s