Sunday, January 25, 2015

4 comments

Router Services: DHCP


                                                DHCP
DHCP (Dynamic Host Configuration Protocol) is use to Provide Automatic ip address in our Clients
{The exchange of getting the ip address from the dhcp server is four step process}

          To Configure Router as DHCP Server

 Ø  DHCP_Server(config)#interface f0/0
Ø  DHCP_Server(config-if)#ip address 192.168.2.1 255.255.255.0
Ø  DHCP_Server(config-if)#no shut
Ø  DHCP_Server(config-if)#exit
  
Ø  DHCP_Server(config)# ip dhcp pool DHCP_SERVER           (DHCP_Server:- Pool Name}
Ø  DHCP_Server(dhcp-config)#network 192.168.2.0 255.255.255.0
Ø  DHCP_Server(dhcp-config)#default-router 192.168.2.1          (router int f0/0 ip address)
Ø  DHCP_Server(dhcp-config)#dns-server 192.168.2.1
Ø  DHCP_Server(dhcp-config)#exit

{To Reserve Some Address that we will statically assigned}
Ø  DHCP_Server(config)#ip dhcp excluded-address 192.168.2.10            {one ip address}
                                                           Or
Ø  DHCP_Server(config)#ip dhcp excluded-address 192.168.2.10 192.168.2.20   {Range of ip addresses}

{To Configure Router to Permit DHCP {Broadcast} Request}


Ø  Router1(config-if)#interface fastEthernet 0/0
Ø  Router1(config-if)#ip helper-address 192.168.2.1            {this will allow Router to Pass the DHCP Request from Client to DHCP Server}

4 comments: