Sunday,Nov21,

Configure DHCP on a Cisco CCNA dynamic - Part 2

Step 1: The first step is the router to provide the service on Cisco

Router (config) # service dhcp

This command allows the relay service and the Cisco router features on the router.

To remove the command, use 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 commandcreates a name for the IP address pool service and puts you in how to configure the pool at the command prompt # dhcp-config.

Configure the address pool subnet mask, and next step is to create a subnet mask for the address pool you just created. This pool contains the valid range of IP addresses that DHCP to assign the customer service:

Router (dhcp-config) # network network-number [mask | prefix]

The prefix length specifies the number of bitsform the address prefix. The prefix is an alternative client to enter the network mask.

Setting the domain name for the client, the domain name for a client provides the client with the domain.

Router (dhcp-config) # domain-name domain

Set the IP Domain Name System server to the client when the client to query DNS IP servers when they need to resolve host names to IP or URLAddresses.

Router (dhcp-config) #-server-address [dns ... address2 address5]

Specifies the IP address of a DNS server is a client. A single IP address is necessary, but it is possible to 8 of them.

Configure the default router for the client, the client must route from the network and the router must know the IPaddress of the default gateway or default. The IP address of default router is in the same subnetDHCP client.

Router (dhcp-config) # default-router address [address2 ... address8]

Specifies the IP address of a DNS server is a client. A single IP address is necessary, but it is possible to 8 of them.

Set the Address Lease Time The default lease time for each IP address assigned by a server per day. This is the time of the location address is invalid. To change the value of the lease for an IPAddress:

Router (config-dhcp) # lease {days [hours] [minutes] | infinite}

Dynamic configuration DHCP on a Cisco router Part 2

For the CCNA, you need sound understanding in relations with the router configuration Dynamic Host Configuration Protocol (DHCP) on a Cisco subnet an IP address to one or more

DHCP Configuration Example

Router (config) # service dhcp

Router (config) # ip dhcp poolCCNA

Router (dhcp-config) # network 10.1.1.0 255.255.255.0

Router (dhcp-config) # domain-name COMMSUPPORT.LOCAL

Router (dhcp-config) # dns-server 10.1.1.1

Router (dhcp-config) # default-router 10.1.1.254

Router (config-dhcp) # lease 5 2 3

above configuration to assign the client an address in the range of 10.1.1.2 and 10.1.1.253 not, the server will also tell the customer that the domain namecommsupport.local that the DNS server is on subnet 10.1.1.1, use a gateway known as the address 10.1.1.254 and keep for 5 days, 2 hours and 3 minutes.

See Also : MP3 Player wirelessinkjetprinter hpc4680 androidmarketsearch

Danos tu comentario