Thursday, September 16, 2010

Setting the Cisco Router to be a DHCP Server

From global config mode


ip dhcp pool ip_pool(creating the dhcp pool with the name ip pool)
network for the dhcp pool)
domain-name sourav.local(you should set your dhcp client’s primary dns suffix as sourav.local)
default-router dhcp router’s interface ip where all the clients are connected)
import all(this will import those informations into dhcp client by dora process)
lease 3(3 day lease)
ip dhcp excluded-address exclude ips from being leased)
ip dhcp excluded-address

Now at the client pc simple release renew should gt the ip from dhcp router

To see the ip addresses leased and the mac addresses associated with it

From dhcp server type

sh ip dhcp binding

No comments:

Post a Comment