Sunday, January 10, 2021

How to configure DHCP server || How to configure DHCP server on cisco devices || How to configure dhcp server on cisco packet tracer.




Hello and welcome to Networking Mafia, in this blogs i will guide you on how to configure a DHCP server in Cisco Packet Tracer, configuration is simple if you have basic knowledge of IP addressing.

I hope you guys keep walking with me in this journey

Before going below watch my other blogs.


Let's start

Configuring DHCP server on a Router.

A) Network topology.



 B) On the router configure interface Gig0/0 to act as the default gateway for our LAN.

Router>enable

Router#config terminal

Router(config)#int Gig0/0

Router(config-if)#ip add 172.168.10.1 255.255.255.0

Router(config-if)#no shutdown

Router(config-if)#exit

C) Configure DHCP servar on the Router. In the server we will define a DHCP pool of IP addresses to be assigned to hosts.

Router(config)#

Router(config)#ip dhcp pool Mafia

Router(dhcp-config)#network 172.168.10.0 255.255.255.0

Router(dhcp-config)#default-router 172.168.10.1

Router(dhcp-config)#dns-server 172.168.10.10

Router(config)#ip dhcp excluded-address 172.168.10.1 172.168.10.10

The ip dhcp excluded-address command may be used to reserve addresses that are statically assigned to key hosts.



D)  Now go to every PC and on their IP configuration tabs, enable DHCP.C

Click on PC1->Desktop->IP configuration, enable DHCP.

And that's for all!
 So, if you have been following my blogs and appreciate my work, I am really thankful for you.

Hope you liked it.

comment bellow what you think or if you have any suggestions for me.

Have an awesome day!
Keep smile like this logo.








2 comments: