Iklan Billboard 970x250

How to Configure Dhcp In Cisco Routers

How to Configure Dhcp In Cisco Routers

DHCP provides configuration parameters to Internet hosts. DHCP consists of two components: a protocol for delivering host-specific configuration parameters from a DHCP Server to a host and a mechanism for allocating network addresses to hosts. DHCP is built on a client/server model, where designated DHCP Server hosts allocate network addresses and deliver configuration parameters to dynamically configured hosts. By default, Cisco routers running Cisco IOS software include DHCP server and relay agent software.


DHCP supports three mechanisms for IP address allocation:


•Automatic allocation—DHCP assigns a permanent IP address to a client.


•Dynamic allocation—DHCP assigns an IP address to a client for a limited period of time (or until the client explicitly relinquishes the address).


•Manual allocation—The network administrator assigns an IP address to a client and DHCP is used simply to convey the assigned address to the client.



Router Commands : 


Router>enable  

Router#configure terminal 

Router(config)#interface fastEthernet 0/0

Router(config-if)#ip address 10.0.0.1 255.0.0.0

Router(config-if)#no shutdown 

Router(config-if)#exit 

Router(config)#ip dhcp pool admin

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 1.1.1.1

Router(dhcp-config)#exit 

Router(config)#ip dhcp excluded-address 10.0.0.2 10.0.0.10




YouTube Link :  





Baca Juga
SHARE
Subscribe to get free updates

Related Posts

Post a Comment

Iklan Tengah Post