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