SlideShare a Scribd company logo
Cisco ASA DHCP Services
Real World Application & Core Knowledge
Configuring DHCP Services on a Cisco ASA is not common however you may run into
this scenario when working with the remote office Cisco ASA 5505 series firewalls.
This type of configuration is commonly used at branch offices where no servers are
located at.
The Cisco ASA DHCP Daemon operates as a simple DHCP Server providing dynamic IP
Addresses, DNS and default gateway information and a domain name if configured.
You can get into advanced configurations by providing DHCP options.
The DHCP Daemon is configured on a per interface basis and you specify an address
range, not a subnet like you would on Cisco IOS. All of the DHCP services commands
start with dhcpd followed by the specific configuration.
To configure a DHCP Scope range, you would use the dhcpd address
x.x.x.x-y.y.y.yifName whereas x.x.x.x is the starting IP Address and y.y.y.y is the
ending IP Address and the interface name is specified last.
DNS
Servers
are
configured
in
the
same
fashion
using
the dhcpddnsx.x.x.xy.y.y.yifName command whereas x.x.x.x is the primary DNS and
y.y.y.y is the secondary DNS.
The gateway is automatically set to the interface address. Because of this, the ASA
DHCPD has a limited scope of functionality.
After completing the basic DHCP Daemon configuration, you must manually enable
the DHCP Daemon on the interface using the dhcpd enable ifName
Familiarize yourself with the following command(s);
Command

Description

dhcpd
address
x.x.x.x-y.y.y.yifName

This command is executed in global configuration mode to
create a DHCP Daemon scope whereas x.x.x.x is the starting IP
Address and y.y.y.y is the ending IP Address and the interface
name to which the scope belongs to.

dhcpddnsx.x.x.xy.y.y.yifName

This command is executed in global configuration mode to
create set scope DNS servers whereas x.x.x.x is the primary
DNS server and y.y.y.y is the secondary DNS Server and the
interface name to which the scope belongs to.
dhcpd enable ifName

This command is executed in global configuration mode
enables the DHCP Daemon on the specified interface.

The following logical topology shown below is used in labs found throughout
Section 9;

Lab Prerequisites
If you are using your own Cisco ASA then plug this device in and establish a
console session with the Firewall.
If you do not have a Cisco ASA, you can reserve lab time on the Stub Lab to
have access to a pair of Cisco ASA 5505 Firewalls.
If you have completed the previous labs in Section 9 you may continue where
you left off, if not than you can use the initial configuration for this lab
provided below.
!############################################
!#
Free CCNA Workbook.com
#
!#
CCNA Security Workbook Lab 9-5
#
!############################################
!
enable
config term
!
hostname FW1
!
interface Ethernet0/0
description OUTSIDE PHY INTERFACE
no shut
!
interface Ethernet0/1
description INSIDE PHY INTERFACE
switchport access vlan 2
no shut
!
interface Ethernet0/2
description DMZ PHY INTERFACE
switchport access vlan 3
no shut
!
interface Vlan1
nameif OUTSIDE
security-level 0
ip address 198.51.100.37 255.255.255.252
no shut
!
interface Vlan2
nameif INSIDE
security-level 100
ip address 10.1.0.1 255.255.255.0
no shut
!
interface Vlan3
nameif DMZ
security-level 50
ip address 10.10.1.1 255.255.255.0
no shut
!
banner login ####################################
banner login # UNAUTHORIZED ACCESS PROHIBITED #
banner login ####################################
!
bannermotd #####################################################
bannermotd # CONTACT JOHN PRIOR TO MAKING ANY CONFIG CHANGES #
bannermotd #####################################################
!
usernamejdoe password 2ck/B41DqLmwNyy8 encrypted privilege 15
username cisco password 3USUcOPFUiMCO4Jk encrypted privilege 15
!
aaa authentication serial console LOCAL
!
route OUTSIDE 0.0.0.0 0.0.0.0 198.51.100.38
!
End

Lab Objectives
On FW1 configure a DHCP Scope of 10.1.0.10 – 10.1.0.50 on the INSIDE
Interface.
On FW1 configure the DHCP Scope attached to the INSIDE interface to use the
DNS Servers of 10.10.10.10 and 10.20.10.10
Verify that DHCP Services is operational by configuring R1′ s FastEthernet0/0
interface as a DHCP client and that it is receiving a default gateway.

Lab Instruction
Objective1.–On FW1 configure a DHCP Scope of 10.1.0.10 – 10.1.0.50 on the INSIDE
Interface.
####################################
# UNAUTHORIZED ACCESS PROHIBITED #
####################################
Username: cisco
Password: *****
#####################################################
# CONTACT JOHN PRIOR TO MAKING ANY CONFIG CHANGES #
#####################################################
Type help or '?' for a list of available commands.
FW1>en
Password: *****
FW1# config term
FW1(config)# dhcpd address 10.1.0.10-10.1.0.50 INSIDE
Objective2.–On FW1 configure the DHCP Scope attached to the INSIDE interface to
use the DNS Servers of 10.10.10.10 and 10.20.10.10 and enable the DHCP Daemon
on the INSIDE interface.
FW1(config)# dhcpddns 10.10.10.10 10.20.10.10 interface INSIDE
FW1(config)# dhcpd enable INSIDE
FW1(config)# end
FW1#
Objective3.–Verify that DHCP Services is operational by configuring R1′ s
FastEthernet0/0 interface as a DHCP client and that it is receiving a default gateway.
R1>enable
R1#config term
Enter configuration commands, one per line.

End with CNTL/Z.
R1(config)#nt FastEthernet0/0
R1(config-if)#ip add dhcp
R1(config-if)#end
R1#
%DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP
address 10.1.0.10, mask 255.255.255.0, hostname R1
R1#
R1#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override

Gateway of last resort is 10.1.0.1 to network 0.0.0.0

S*

0.0.0.0/0 [1/0] via 10.1.0.1
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks

C

10.1.0.0/24 is directly connected, FastEthernet0/0
L

10.1.0.10/32 is directly connected, FastEthernet0/0

C

10.1.1.0/24 is directly connected, Loopback0

L

10.1.1.1/32 is directly connected, Loopback0

R1#
More Cisco Exam Tips and Tutorials:
How to Configure DHCP Snooping?
How to Use OSPF Point-to-Multi-Point on Ethernet?
DHCP Relay on the Nexus7000/NXOS Vs. IP Helper on the 6500/IoS
How to Troubleshoot and Verifying OSPF Configuration?
EIGRP on a Cisco ASA Firewall Configuration
More Articles you can read at:
http://blog.router-switch.com/category/cisco-certification/

More Related Content

PDF
ভিবিন্ন DEVISE AND AR PORT NUMBER
PDF
Kamailio - SIP Servers Everywhere
PPTX
Cisco CCNA-CCNP IP SLA Configuration
PPTX
Cisco CCNA EIGRP IPV6 Configuration
PPTX
Cisco CCNA- NAT Configuration
DOC
PPTX
Cisco CCNA CCNP VACL Configuration
ভিবিন্ন DEVISE AND AR PORT NUMBER
Kamailio - SIP Servers Everywhere
Cisco CCNA-CCNP IP SLA Configuration
Cisco CCNA EIGRP IPV6 Configuration
Cisco CCNA- NAT Configuration
Cisco CCNA CCNP VACL Configuration

What's hot (19)

PPT
Chapter11ccna
PPTX
Cisco CCNA-Standard Access List
PPTX
Cisco CCNA Port Security
PPTX
Cisco CCNA- PPP Multilink Configuration
PDF
PPTX
Cisco CCNA OSPF IPV6 Configuration
PDF
Asterisk sip channel performance
PPTX
Cisco CCNA- How to Configure Multi-Layer Switch
PPTX
Juniper JNCIA – Juniper Floating Static Route Configuration
PPTX
Lan Network with Redundancy.ppt
PDF
IPv6 in CloudStack Basic Networking
PDF
Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...
PDF
OSPF (open shortest path first) part iii
PDF
Offline bruteforce attack on wi fi protected setup
PDF
VPNIPSec site to site
PDF
10 step-to-configure-cisco-call-manager-express
PPTX
Cisco CCNA IPV6 Static Configuration
PPTX
DMVPN configuration - Configuring Cisco dynamic Multipoint VPN - HUB, SPOKES,...
Chapter11ccna
Cisco CCNA-Standard Access List
Cisco CCNA Port Security
Cisco CCNA- PPP Multilink Configuration
Cisco CCNA OSPF IPV6 Configuration
Asterisk sip channel performance
Cisco CCNA- How to Configure Multi-Layer Switch
Juniper JNCIA – Juniper Floating Static Route Configuration
Lan Network with Redundancy.ppt
IPv6 in CloudStack Basic Networking
Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...
OSPF (open shortest path first) part iii
Offline bruteforce attack on wi fi protected setup
VPNIPSec site to site
10 step-to-configure-cisco-call-manager-express
Cisco CCNA IPV6 Static Configuration
DMVPN configuration - Configuring Cisco dynamic Multipoint VPN - HUB, SPOKES,...
Ad

Viewers also liked (17)

PPTX
4150415
PDF
INVITACIÓN AL PLAN GENERAL DE ASISTENCIA
ODT
Sin título 1
PPTX
Trabajo de-evaluacion
PDF
ISO Lead Auditor Certificate
PPTX
4150415
PDF
ốNg ruột gà d20,ong ruột gà phi 20,ống ruột gà inox call 0945353039
PPTX
El cuento de mi padre
PPTX
Historia de la Medicina - Kevin Parrales
PPTX
Terminología informativa hardware
PPTX
Cyst On The Ovaries
PDF
Atendimento ao Cliente
PDF
Ivanchenko grammatika
PPT
9 proses-formulasi-kebijakan
PPTX
4150415
PPTX
How to create a slideshare final
PPSX
Presentación diego jaramillo ramos
4150415
INVITACIÓN AL PLAN GENERAL DE ASISTENCIA
Sin título 1
Trabajo de-evaluacion
ISO Lead Auditor Certificate
4150415
ốNg ruột gà d20,ong ruột gà phi 20,ống ruột gà inox call 0945353039
El cuento de mi padre
Historia de la Medicina - Kevin Parrales
Terminología informativa hardware
Cyst On The Ovaries
Atendimento ao Cliente
Ivanchenko grammatika
9 proses-formulasi-kebijakan
4150415
How to create a slideshare final
Presentación diego jaramillo ramos
Ad

Similar to Cisco asa dhcp services (20)

PPT
Zero Configuration Networking
PPT
PPT
DOC
Arp Dan Ipconfig Syntax
PDF
NAT (network address translation) & PAT (port address translation)
ODP
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
PPT
Design of a campus network
PDF
IP Routing on z/OS
PPTX
CCNA3 Verson6 Chapter10
PPTX
Dhcp security #netseckh
PDF
Modul server debian 5
PPT
Day 17.1 nat pat (2)
PDF
[Cisco Connect 2018 - Vietnam] Anh duc le reap the benefits of sdn with cisco...
PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 10
PPTX
How to configure frame realy
PDF
Advanced DNS/DHCP for Novell eDirectory Environments
PDF
Free radius billing server with practical vpn exmaple
PDF
ভিবিন্ন Devise and ar port number
PPT
Day 17.1 nat pat
PPTX
Network Troubleshooting - Part 2
Zero Configuration Networking
Arp Dan Ipconfig Syntax
NAT (network address translation) & PAT (port address translation)
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
Design of a campus network
IP Routing on z/OS
CCNA3 Verson6 Chapter10
Dhcp security #netseckh
Modul server debian 5
Day 17.1 nat pat (2)
[Cisco Connect 2018 - Vietnam] Anh duc le reap the benefits of sdn with cisco...
CCNA (R & S) Module 04 - Scaling Networks - Chapter 10
How to configure frame realy
Advanced DNS/DHCP for Novell eDirectory Environments
Free radius billing server with practical vpn exmaple
ভিবিন্ন Devise and ar port number
Day 17.1 nat pat
Network Troubleshooting - Part 2

More from IT Tech (20)

DOCX
Cisco ip phone key expansion module setup
DOCX
Cisco catalyst 9200 series platform spec, licenses, transition guide
DOCX
Cisco isr 900 series highlights, platform specs, licenses, transition guide
DOCX
Hpe pro liant gen9 to gen10 server transition guide
DOCX
The new cisco isr 4461 faq
DOCX
New nexus 400 gigabit ethernet (400 g) switches
DOCX
Tested cisco isr 1100 delivers the richest set of wi-fi features
DOCX
Aruba campus and branch switching solution
DOCX
Cisco transceiver module for compatible catalyst switches
DOCX
Cisco ios on cisco catalyst switches
DOCX
Cisco's wireless solutions deployment modes
DOCX
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
DOCX
Four reasons to consider the all in-one isr 1000
DOCX
The difference between yellow and white labeled ports on a nexus 2300 series fex
DOCX
Cisco transceiver modules for compatible cisco switches series
DOCX
Guide to the new cisco firepower 2100 series
DOCX
892 f sfp configuration example
DOCX
Cisco nexus 7000 and nexus 7700
DOCX
Cisco firepower ngips series migration options
DOCX
Eol transceiver to replacement model
Cisco ip phone key expansion module setup
Cisco catalyst 9200 series platform spec, licenses, transition guide
Cisco isr 900 series highlights, platform specs, licenses, transition guide
Hpe pro liant gen9 to gen10 server transition guide
The new cisco isr 4461 faq
New nexus 400 gigabit ethernet (400 g) switches
Tested cisco isr 1100 delivers the richest set of wi-fi features
Aruba campus and branch switching solution
Cisco transceiver module for compatible catalyst switches
Cisco ios on cisco catalyst switches
Cisco's wireless solutions deployment modes
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Four reasons to consider the all in-one isr 1000
The difference between yellow and white labeled ports on a nexus 2300 series fex
Cisco transceiver modules for compatible cisco switches series
Guide to the new cisco firepower 2100 series
892 f sfp configuration example
Cisco nexus 7000 and nexus 7700
Cisco firepower ngips series migration options
Eol transceiver to replacement model

Recently uploaded (20)

PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Encapsulation theory and applications.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
1. Introduction to Computer Programming.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPT
Teaching material agriculture food technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Machine Learning_overview_presentation.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
TLE Review Electricity (Electricity).pptx
Group 1 Presentation -Planning and Decision Making .pptx
A comparative study of natural language inference in Swahili using monolingua...
Encapsulation theory and applications.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Programs and apps: productivity, graphics, security and other tools
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
A comparative analysis of optical character recognition models for extracting...
1. Introduction to Computer Programming.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Building Integrated photovoltaic BIPV_UPV.pdf
NewMind AI Weekly Chronicles - August'25-Week II
Teaching material agriculture food technology
Unlocking AI with Model Context Protocol (MCP)
SOPHOS-XG Firewall Administrator PPT.pptx
Network Security Unit 5.pdf for BCA BBA.
Machine Learning_overview_presentation.pptx
Approach and Philosophy of On baking technology
Advanced methodologies resolving dimensionality complications for autism neur...
cloud_computing_Infrastucture_as_cloud_p
TLE Review Electricity (Electricity).pptx

Cisco asa dhcp services

  • 1. Cisco ASA DHCP Services Real World Application & Core Knowledge Configuring DHCP Services on a Cisco ASA is not common however you may run into this scenario when working with the remote office Cisco ASA 5505 series firewalls. This type of configuration is commonly used at branch offices where no servers are located at. The Cisco ASA DHCP Daemon operates as a simple DHCP Server providing dynamic IP Addresses, DNS and default gateway information and a domain name if configured. You can get into advanced configurations by providing DHCP options. The DHCP Daemon is configured on a per interface basis and you specify an address range, not a subnet like you would on Cisco IOS. All of the DHCP services commands start with dhcpd followed by the specific configuration. To configure a DHCP Scope range, you would use the dhcpd address x.x.x.x-y.y.y.yifName whereas x.x.x.x is the starting IP Address and y.y.y.y is the ending IP Address and the interface name is specified last. DNS Servers are configured in the same fashion using the dhcpddnsx.x.x.xy.y.y.yifName command whereas x.x.x.x is the primary DNS and y.y.y.y is the secondary DNS. The gateway is automatically set to the interface address. Because of this, the ASA DHCPD has a limited scope of functionality. After completing the basic DHCP Daemon configuration, you must manually enable the DHCP Daemon on the interface using the dhcpd enable ifName Familiarize yourself with the following command(s); Command Description dhcpd address x.x.x.x-y.y.y.yifName This command is executed in global configuration mode to create a DHCP Daemon scope whereas x.x.x.x is the starting IP Address and y.y.y.y is the ending IP Address and the interface name to which the scope belongs to. dhcpddnsx.x.x.xy.y.y.yifName This command is executed in global configuration mode to create set scope DNS servers whereas x.x.x.x is the primary DNS server and y.y.y.y is the secondary DNS Server and the interface name to which the scope belongs to.
  • 2. dhcpd enable ifName This command is executed in global configuration mode enables the DHCP Daemon on the specified interface. The following logical topology shown below is used in labs found throughout Section 9; Lab Prerequisites If you are using your own Cisco ASA then plug this device in and establish a console session with the Firewall. If you do not have a Cisco ASA, you can reserve lab time on the Stub Lab to have access to a pair of Cisco ASA 5505 Firewalls. If you have completed the previous labs in Section 9 you may continue where you left off, if not than you can use the initial configuration for this lab provided below. !############################################ !# Free CCNA Workbook.com # !# CCNA Security Workbook Lab 9-5 # !############################################ ! enable config term ! hostname FW1 ! interface Ethernet0/0 description OUTSIDE PHY INTERFACE no shut ! interface Ethernet0/1 description INSIDE PHY INTERFACE switchport access vlan 2 no shut
  • 3. ! interface Ethernet0/2 description DMZ PHY INTERFACE switchport access vlan 3 no shut ! interface Vlan1 nameif OUTSIDE security-level 0 ip address 198.51.100.37 255.255.255.252 no shut ! interface Vlan2 nameif INSIDE security-level 100 ip address 10.1.0.1 255.255.255.0 no shut ! interface Vlan3 nameif DMZ security-level 50 ip address 10.10.1.1 255.255.255.0 no shut ! banner login #################################### banner login # UNAUTHORIZED ACCESS PROHIBITED # banner login #################################### ! bannermotd ##################################################### bannermotd # CONTACT JOHN PRIOR TO MAKING ANY CONFIG CHANGES # bannermotd ##################################################### ! usernamejdoe password 2ck/B41DqLmwNyy8 encrypted privilege 15 username cisco password 3USUcOPFUiMCO4Jk encrypted privilege 15 ! aaa authentication serial console LOCAL ! route OUTSIDE 0.0.0.0 0.0.0.0 198.51.100.38 ! End Lab Objectives On FW1 configure a DHCP Scope of 10.1.0.10 – 10.1.0.50 on the INSIDE
  • 4. Interface. On FW1 configure the DHCP Scope attached to the INSIDE interface to use the DNS Servers of 10.10.10.10 and 10.20.10.10 Verify that DHCP Services is operational by configuring R1′ s FastEthernet0/0 interface as a DHCP client and that it is receiving a default gateway. Lab Instruction Objective1.–On FW1 configure a DHCP Scope of 10.1.0.10 – 10.1.0.50 on the INSIDE Interface. #################################### # UNAUTHORIZED ACCESS PROHIBITED # #################################### Username: cisco Password: ***** ##################################################### # CONTACT JOHN PRIOR TO MAKING ANY CONFIG CHANGES # ##################################################### Type help or '?' for a list of available commands. FW1>en Password: ***** FW1# config term FW1(config)# dhcpd address 10.1.0.10-10.1.0.50 INSIDE Objective2.–On FW1 configure the DHCP Scope attached to the INSIDE interface to use the DNS Servers of 10.10.10.10 and 10.20.10.10 and enable the DHCP Daemon on the INSIDE interface. FW1(config)# dhcpddns 10.10.10.10 10.20.10.10 interface INSIDE FW1(config)# dhcpd enable INSIDE FW1(config)# end FW1# Objective3.–Verify that DHCP Services is operational by configuring R1′ s FastEthernet0/0 interface as a DHCP client and that it is receiving a default gateway. R1>enable R1#config term Enter configuration commands, one per line. End with CNTL/Z.
  • 5. R1(config)#nt FastEthernet0/0 R1(config-if)#ip add dhcp R1(config-if)#end R1# %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 10.1.0.10, mask 255.255.255.0, hostname R1 R1# R1#show ip route Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP + - replicated route, % - next hop override Gateway of last resort is 10.1.0.1 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 10.1.0.1 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks C 10.1.0.0/24 is directly connected, FastEthernet0/0
  • 6. L 10.1.0.10/32 is directly connected, FastEthernet0/0 C 10.1.1.0/24 is directly connected, Loopback0 L 10.1.1.1/32 is directly connected, Loopback0 R1# More Cisco Exam Tips and Tutorials: How to Configure DHCP Snooping? How to Use OSPF Point-to-Multi-Point on Ethernet? DHCP Relay on the Nexus7000/NXOS Vs. IP Helper on the 6500/IoS How to Troubleshoot and Verifying OSPF Configuration? EIGRP on a Cisco ASA Firewall Configuration More Articles you can read at: http://blog.router-switch.com/category/cisco-certification/