twitter
    Find out what I'm doing, Follow Me :)

Saturday 15 October 2011

How To configure DHCP Server On a Cisco Router



Hey Friends Today i'm going to Tell You how we can configure a cisco Router as a DHCP Server .

Using a DHCP Server we can Dynamically Provide the following things to a device on our network:
ip address
subnet mask
default-route
DNS server address

In this example we will consider that we have a network range of 10.0.0.0 to 10.255.255.255 for

which we are going to configure the DHCP Server and the DNS Server address would be 4.2.2.2

the default route for each device on the network would be 10.0.0.1

We will exclude the network Range of 10.0.0.0 - 10.0.0.10 so that we can use these addresses later manually
Turn On Your Cisco Router and Type down the following commands :

Router>enable
Router#configure terminal
Router(config)#ip dhcp excluded-address 10.0.0.1 10.0.0.10
Router(config)#ip dhcp pool Maati
Router(dhcp-config)#network 10.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 10.0.0.1
Router(dhcp-config)#dns-server 4.2.2.2


No comments:

Post a Comment