Friday, March 29, 2019

configure cisco router as dhcp server / cisco ios dhcp configuration


In this article will demonstrate on how to configure cisco router as dhcp router. Cisco IOS DHCP server is enabled by default. You can verify if it has been disabled by checking your configuration file. If it has been disabled, the no service dhcp command will appear in the configuration file. Use the service dhcp command to re-enable the functionality if necessary.


Looking at the above diagram, we will configure the router as dhcp server, Cisco DHCP Server can provide ip address, subnet mask, default gateway, dns server, and other parameters to the dhcp clients.

DHCP Configuration Steps:

1.   Enable the DHCP Service
Router(config)#service dhcp
2.   Configuring DHCP address pool
Router(config)#ip dhcp pool lan-pool
Router(dhcp-config)#network 192.168.50.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.50.254
Router(dhcp-config)#dns-server 192.168.50.254

3.   Excluding IP addresses
To exclude some addresses from being assigned to the dhcp clients, use the following command
Router(config)#ip dhcp excluded-address 192.168.50.2 192.168.50.20

4.   Configuring lease duration-optional
Router(dhcp-config)#lease 1 20 20

If a lease is not specified for an IP address, by default, the DHCP server assigns a one-day lease for the address by default. Using the keyword infinite specifies that the duration of the lease is unlimited.


Router#sh ip dhcp binding
Bindings from all pools not associated with VRF:
IP address          Client-ID/              Lease expiration        Type
                    Hardware address/
                    User name
192.168.50.11       01a4.5d36.c9ae.24       Feb 21 2015 11:21 AM    Automatic

The following short video will show you how to configure a cisco router as dhcp server:



To get automatic updates on your facebook, join a facebook group
https://www.facebook.com/groups/netsyshorizon/
To get automatic updates on your youtube guide, subscribe to the channel
http://www.youtube.com/channel/UCl25WPPKY4jnkGf32DnXU5
Related Links:
configure cisco router as dhcp server / cisco ios dhcp configuration
https://youtu.be/a-ajvu86ZGE
Cisco ios dhcp reservation  and Cisco dhcp lease release
https://youtu.be/hTduy8_YDTY
Cisco dhcp lease time hours / Cisco dhcp lease time infinite
https://youtu.be/tpYIe6KSlcI
CUCM IP Phone Registration and Configuration and make a call between two ip phones
https://youtu.be/bXvtDY2O7JM
Make a bootable CUCM image from a non bootable iso file / Cisco bootable iso
https://youtu.be/pfH1HzVYowE
NBMA Network Broadcast Network  Point-to-Point Network
https://youtu.be/yHIkJ-jOJHM
Difference Between Network and Internetwork / Network Types LAN MAN WAN
https://youtu.be/pGIkjYf9wC8
EIGRP Metric Calculation and Configuring different Delay and Bandwidth values
https://youtu.be/zgqaVkQe5Sw
Telnet Vs SSH - Difference betweenTelnet and SSH Configuration
https://youtu.be/15pfENww-dk Configure DHCP on Cisco router - Cisco router as a DHCP Server
https://youtu.be/YTCgVn9X4ac
SSH from cisco router and switch to another
https://youtu.be/_I-0Vgc8E9s Assign ip address to cisco switch / Assign ip address to vlan
https://youtu.be/Q9SUVmyJr80
OSPF Cost Calculation and Configuring Bandwidth/ip ospf cost/reference bandwidth
https://youtu.be/zgqaVkQe5Sw EIGRP Composite Metric Calculation and Configuring different delay values and Bandwidth values

https://youtu.be/GsnV4Bc3On8 Configure / Assign IP address to Cisco Layer 3 Switch
https://youtu.be/s9DMZCq27Ys
Configuring cisco extended acl / extended named access control list tutorial using packet tracer
https://youtu.be/Tj6H8pg06f0 Configure Cisco  Extended ACL/ Extended Numbered Access Control List ACL Using Packet Tracer
https://youtu.be/j0CDNAa2Wqg Port Forwarding and Static Nat on Cisco Routers - Access your private network from the internet
https://youtu.be/8WVWoW86Uhw Configure Cisco Named Standard Access Control List ACL on Cisco routers
https://youtu.be/u2zmuRZazFw
How Access List works - Numbered Standard Access List configuring
https://youtu.be/rLci6mFg2BA
Cisco router WAN Redundancy/WAN Failover and Change Routing dynamicaly Using IP SLA - Route Tracking
https://youtu.be/x3xZhbrX7Ww
Cisco Named Access Control Lists Editing (add and delete individual lines+resequence)
https://youtu.be/RToV6h2rGeM
Connecting  GNS3 to Vmware

https://youtu.be/WuLf3ESAx94
How to download and install GNS3 1.2 + adding IOS image to GNS3

https://youtu.be/CXVNpERIPo4
Mikrotik router PPPoE client configuration - Mikrotik PPPoE client Setup
https://youtu.be/aUGL20rjbVA
Add IOS images to GNS3
https://youtu.be/GjxODWeuC5Y
Connect your PC to GNS3 - connecting GNS3 to local machine
https://youtu.be/c_b_-rGWnJc
Configuration register value - changing the configuration register
https://youtu.be/YVAKerOmJpk
Backup and Restore Cisco Configuration file -  Cisco backup Config
https://youtu.be/YMX1EMPjBC0
Capture telnet password using wireshark - Sniffing telnet password using wireshark
https://youtu.be/xShwyUq-uHk
Clock Rate vs Bandwidth - Configuring clock rate and bandwidth
https://youtu.be/rntsm5bHagI
Configure Default routes on cisco routers
https://youtu.be/E5-kpZt8LU4
Configure cisco router hostname and ip address
https://youtu.be/1OYMlMzQ1dE
Cisco Router Password Recovery
https://youtu.be/6shdtrAx9l0
Static Routing Configuration Using Packet Tracer
https://youtu.be/v05Jm4h-Zms I
NSTALL and FIX CISCO VPN CLIENT ON WINDOWS 10 / FIX REASON 442 FAILED TO ENABLE VIRTUAL ADAPTER

https://youtu.be/9jp2EmiOMwQ
Remote desktop connection error due to credssp encryption oracle remediation
https://youtu.be/LkccEQPUYME
INSTALL and FIX CISCO VPN CLIENT ON WINDOWS 10 / FIX REASON 442 FAILED TO ENABLE VIRTUAL ADAPTER
https://youtu.be/9jp2EmiOMwQ
Connect GNS3 to Vmware 2019 / Adding Virtual Machines to the GNS3 Topology 2019
https://youtu.be/NVom_wG8t3o
How to Add Hibernate Shortcut to the Windows 10 Start Menu
https://youtu.be/umxSphM_VnY
GNS3 Error could not bind with WinError 10049 The requested address is not valid in its context
https://youtu.be/wMmd2_RBLYQ
Assign ip address mikrotik router interface
https://youtu.be/bFTnUCXtGmI
how to block website mikrotik / mikrotik website blocking / mikrotik website filtering
https://youtu.be/dNswOyvLT4w

Mikrotik default password / Mikrotik default ip address / mikrotik default username
https://youtu.be/xMu52KIjsn0

keywords::
configure cisco router as dhcp server , cisco ios dhcp configuration
cisco ios dhcp options , cisco ios dhcp reservation example , cisco ios dhcp relay , cisco ios dhcp snooping , cisco ios dhcp spoofing ,cisco ios dhcp server example

4 comments:

  1. Interesting blog I must say, the facts and information written here are accurate. black leather motorcycle jacket basic knowledge hub

    ReplyDelete
  2. Bardzo fajnie napisane. Jestem pod wrażeniem i pozdrawiam.

    ReplyDelete
  3. You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. https://www.sorrisieservizi.it/

    ReplyDelete