Skip to content

How to configure router as a DHCP server

Our Score
Click to rate this post!
[Total: 0 Average: 0]

In This Tutorial We Are Going To Learn How To Configure Router As A Dhcp server

Firstly here i have taken 1router 2switch & 8pc’s and 1DNS server 

here you can see the senerio

 

Now we have to on the services of DNS server

After this now we have to do the configuration on router

Router>en
Router#config t
Router(config)#int f0/0
Router(config-if)#ip add 1.0.0.1 255.0.0.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int f0/1
Router(config-if)#ip add 2.0.0.1 255.0.0.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#

After then now our first portion of assining the Ip address to all the pc’s and server and routers are complete.

now we have to do the routing of DHCP server.

Here is the configuration of default routing

Router>en
Router#config t
Router(config)#ip dhcp pool mohan
Router(dhcp-config)#network 1.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 1.0.0.1
Router(dhcp-config)#ip dhcp excluded-address 1.0.0.5 1.0.0.100

Router>en
Router#config t
Router(config)#ip dhcp pool rahul
Router(dhcp-config)#network 2.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 2.0.0.1
Router(dhcp-config)#ip dhcp excluded-address 2.0.0.1  2.0.0.100


This is all how to configure router as a DHCP server


Now go to the pc’s and give the ip’s using DHCP server

If you learn something about from this post then make sure you like this post and follow my website to learn some intresting topic about the kali linux,website desining,windows,virtualization,cyber security and much more intresting topics.

If you want to learn about cyber security in detail and if you want practical training of cyber security with detail notes so check this product it will give you the best knowledge with practical training.

Cyber Security Training Notes

Leave a Reply

Discount Offer

Now Get 67% Discount

On Cyber Security Training                                                       Notes  

Click here  To Purchase

%d bloggers like this: