Step 1: The first step is to turn the service on the Cisco router
Router (config) # service dhcp
This command allows the service on Cisco routers and relay features on your router.
To remove the command using the same command without the beginning
Configure the DHCP pool name
Configure the name of the pool and use the following command in global configuration mode:
Router (config) # ip dhcp pool name
This command creates a name forService IP address pool and places you in how to configure the pool, the rapid changes in dhcp-config #.
Configuring the Subnet Mask address pool and the next step is to establish a subnet mask and the address pool you just created. This category includes the valid range of IP addresses that the service will be assigned to DHCP clients:
Router (DHCP-config) # network network-number [mask | prefix-length]
The prefix length indicates the number of bits that comprise the address prefix.The prefix is an alternative way to specify the network mask for the client.
Set the domain name for the customer The customer enters the domain name for a client in that domain.
Router (DHCP-config) # domain domain
Configuring the IP Domain Name System server for the client to client queries DNS server IP when they need to URLs, host names or IP addresses.
Router (DHCP-config) # dns - server address [address2... Address5]
Specifies the IP address of a DNS server available to a customer. A single IP address is necessary, but you can configure up to eight of them.
Configure the default router for the client to the network path and need to know the IP address of the default gateway / default router. The IP address of default router on the same subnet as the DHCP client.
Router (DHCP-config) # default-router address [address2... address8]
Specifies the IP address of a DNS server available to a customer. A single IP address is necessary, but you can configure up to eight of them.
Set the Address Lease Time The default lease time for each IP address assigned by a server days. This is the time that the address location is valid. Changing the value of an IP address:
Router (DHCP-config) # lease {days [hours] [minutes] | infinite}
ConfigureDynamic DHCP on a Cisco router Part 2
For the CCNA, you must have a thorough knowledge of how Dynamic Host Configuration Protocol (DHCP) to configure the IP address information of a Cisco router to serve one or more subnets
DHCP Configuration Example
Router (config) # service dhcp
Router (config) # ip dhcp pool CCNA
Router (DHCP-config) # network 10.1.1.0 255.255.255.0
Router (DHCP-config) # domainCOMMSUPPORT.LOCAL
Router (DHCP-config) # dns - server 10.1.1.1
Router (DHCP-config) # default-router 10.1.1.254
Router (DHCP-config) # lease 5 2 3
The above configuration will be assigned an address in the range of 10.1.1.253 10.1.1.2 and every client, the server will also tell customers that the commsupport.local domain is that the DNS server on the 10.1.1.1 subnet, a known how to use gateway 10.1.1.254and respecting the address for 5 days 2 hours and 3 minutes.
Visit : LASIK Vision Institute Cheap Invisible Shield Store Wireless Headset Save Price! Store
No comments:
Post a Comment