Hi,
DHCP server is used to dynamically provide ip addresses to devices. You can configure a router or switch as a DHCP server with the following commands:-
router(config)# ip dhcp pool
router(config-dhcp)# network
router(config-dhcp)#default-router < ip address of default router>
router(config-dhcp)# dns-server < ip address of dns-server>
for example
router(config)# ip dhcp pool cisco
router(config-dhcp)# network 192.168.1.0 255.255.255.0
router(config-dhcp)# default-router 192.168.1.1
router(config-dhcp)# dns-server 8.8.8.8
These are the commands by which you can configure a router or layer-3 switch as a dhcp server. Then go to the end devices and request to dhcp server for ip address and other informations.
Hope it helps.
Thanks
Recommended
- How can you guarantee a job for students who has no experience in Networking field?
- How to configure VPN between Cisco Router and ASA Firewall?
- How to configure RIPV2 with no auto summary?
- How to configure PAT (Port Address Translation)?
- How to configure Default Routing on Cisco Routers?
- What is the scope of CCNA course in India?
- What is scope of CCIE?
- How to remember 7 layers of OSI Model?
- How much salary can we get after doing CCNA course in Delhi Gurgaon?
- How many CCIE’s are there worldwide?
- Is it possible to pass CCIE Certification in 1st attempt?