Hello friends! In my today’s post, I will tell you how we can use a router as a DHCP server. If you don’t know what is DHCP server then click here to know. In this post, I will only use 1 network, how we can use the same process with 2 or more network that I will mention in my next post So let’s not waste time and get started…..
Follow the given steps…..
# take 3 computers and one router
# connect them using automatically choose connection type wire
# now click on the router > config
# click on FastEthernet0/0 and give it a IP address let’s say 22.214.171.124
# again click on router > cli
# write the codes given below:- Router(config)#ip dhcp pool thevtech Router(dhcp-config)#network 126.96.36.199 255.0.0.0 Router(dhcp-config)#default-router 188.8.131.52 Router(dhcp-config)#exit
here thevtech is just a name of the pool. You can change according to yourself
# click on any computer
# click on Desktop > IPConfiguration
# and click on DHCP, the IP address will be assigned to it automatically
# follow the same step in remaining 2 computers
Here’s our network consisting 3 computers and 1 router-cum-DHCP server is ready. If you have any doubt, advice or suggestion regarding this post then please mention it in your comments.
you may also like:-