Difference between revisions of "Configure DHCP server on Cisco router"

From Notes_Wiki
(Created page with "<yambe:breadcrumb self="Configure DHCP server on Cisco router">Switch configuration notes|Switch configuration notes</yambe:breadcrumb> =Configure DHCP server on Cisco router...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb self="Configure DHCP server on Cisco router">Switch configuration notes|Switch configuration notes</yambe:breadcrumb>
[[Main Page|Home]] > [[Switch configuration notes]] > [[Configure DHCP server on Cisco router]]


=Configure DHCP server on Cisco router=
Following have been tested on [[Cisco CSR V1000 virtual router]] to offer DHCP IPs to clients:
Following have been tested on [[Cisco CSR V1000 virtual router]] to offer DHCP IPs to clients:
# To configure DHCP server using Cisco router first go to config t
# To configure DHCP server using Cisco router first go to config t
Line 44: Line 43:




<yambe:breadcrumb self="Configure DHCP server on Cisco router">Switch configuration notes|Switch configuration notes</yambe:breadcrumb>
[[Main Page|Home]] > [[Switch configuration notes]] > [[Configure DHCP server on Cisco router]]

Latest revision as of 05:59, 19 April 2022

Home > Switch configuration notes > Configure DHCP server on Cisco router

Following have been tested on Cisco CSR V1000 virtual router to offer DHCP IPs to clients:

  1. To configure DHCP server using Cisco router first go to config t
    config t
  2. Create pool for DHCP
    ip dhcp pool <name>
    Such as 'ip dhcp pool host-vtep-dhcp-pool'
  3. Specify the network which will be served by this DHCP
    network <network-number> <mask-or-prefix>
    This requires the DHCP request for above networks to come to router via ip-helper-address or router should have interface on those networks
    Example 'network 10.1.1.0/24'
  4. Configure parameters for the clients such as domain-name, dns server address, gateway etc.
    domain-name <domain>
    dns-server <address [address2 ... address8]>
    default-router <address [address2 ... address8]>
    lease {days [hours] [minutes] | infinite}
    Example configuration
    domain-name example.com
    dns-server 10.1.1.2 10.1.1.3
    default-router 10.1.1.1
    lease 7
  5. After this connect with a client and try to obtain IP address via DHCP. If DHCP works properly, we can check DHCP bindings on router using:
    show ip dhcp binding


Refer:



Home > Switch configuration notes > Configure DHCP server on Cisco router