4.6 Dynamic Host Config Protocol (DHCP) Flashcards

1
Q

What is DHCP?

A

A protocol used by hosts to obtain various parameters necessary for the clients to operate in a network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an address pool

A

the range of addresses that can be assigned to requesting hosts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a lease

A

length of time for which the assignment is valid. It contains the assigned IP address and other information for the client.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are 4 DHCP options

A

Domain Name Server (DNS) server address(es)
Default router (or default gateway) address
Windows Internet Name Service (WINS) server addresses
Additional TCP/IP configuration parameters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is binding

A

is an association of a MAC address with a specific IP address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an interface

A

The interface that responds to DHCP requests is identified automatically according to the IP address assigned to the interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the first step in the DHCP client process

A

Lease Request - The client initializes a limited version of TCP/IP and broadcasts a DHCPDISCOVER packet requesting the location of a DHCP server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the second step in the DHCP Client Process?

A

Lease offer - All DHCP servers with available IP addresses send DHCPOFFER packets to the client. These include the client’s hardware address, the IP address the server is offering, the subnet mask, the duration of the IP lease, and the IP address of the DHCP server making the offer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the third step in the DHCP Client Process?

A

Lease selection - The client selects the IP address from the first offer it receives and broadcasts a DHCPREQUEST packet requesting to lease the IP address in that offer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the last step in the DHCP Client Process?

A

IP Lease Acknowledgement - The DHCP server that made the offer responds and all other DHCP servers withdraw their offers. The IP addressing information is assigned to the client and the offering DHCP server sends a DHCPACK (acknowledgement) packet directly to the client. The client finishes initializing and binding the TCP/IP protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why would you enable DHCP acroos subnets

A

Because DHCP leases uses frame-level broadcasts and they don’t pass through routers to other subnets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do you enable dhcp across subnets

A
Enable BOOTP (DHCP broadcast) requests through the router.
Configure a computer for BOOTP forwarding to request IP information on behalf of other clients.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Describe ARP

A

Used by hosts to discover the MAC address of a computer from its IP address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Describe Reverse Address Resolution Protocol (RARP)

A

Used by a host to discover the IP address of a computer from its MAC address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Describe Bootstrap Protocol (BOOTP)

A

Used by a host (such as a diskless workstation) to query a bootstrap computer and receive an IP address assignment. A BOOTP server has a static list of MAC addresses and their corresponding IP addresses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the first step in the DHCP configuration process

A

Identify an external database agent with a URL.

17
Q

What is the second step in the DHCP Pre-configuration process

A

Identify the IP address range to be assigned by the DHCP server

18
Q

What is the third step in the DHCP Pre-configuration process

A

Identify DHCP options where necessary.

19
Q

What is the fourth step in the DHCP Pre-configuration process

A

Identify the DNS domain name.

20
Q

What does the command Router(config)#service dhcp do

A

Enables DHCP features on the router.

21
Q

What does the command Router(config)#no ip dhcp conflict logging do

A

Prevents an address from being assigned by the DHCP server.

22
Q

Router(config)#ip dhcp pool [VLAN_ID]

A

Configures a DHCP address pool on the specified VLAN

23
Q

Router(dhcp-config)#network [address] [mask

A

Sets the network address and subnet mask for a DHCP address pool.

24
Q

Router(dhcp-config)#domain-name [domain]

A

Sets the domain name to be delivered to DHCP clients.

25
Q

Router(dhcp-config)#dns-server [server1_ip] [server2_ip]

A

Sets the DNS server address to be delivered to DHCP clients

26
Q

Router(dhcp-config)#default-router [router_ip]

A

Sets the default router address to be delivered to DHCP clients

27
Q

Router(dhcp-config)#lease [days]

A

Sets the lease duration (in days) for a DHCP address pool.

28
Q

Router(dhcp-config)#host [address] [mask]

Router(dhcp-config)#client-identifier [mac_address]

A

Manually binds a specific IP address and mask to a host.

29
Q

Router(config-subif)#ip helper-address [address]

A

Enables the DHCP relay agent feature.

30
Q

no ip forward-protocol udp [port]

A

Controls which broadcast packets and protocols are forwarded by a DHCP relay agent.

31
Q

Router#show ip dhcp binding

A

Displays information about each IP address lease.

32
Q

Router#show ip dhcp pool [pool_name]

A

Displays information about the DHCP address pools, including the following:

33
Q

Router#show ip dhcp server statistics

A

Displays DHCP server statistics.

34
Q

Router#show ip dhcp conflict

A

Displays IP addresses with conflicts as well as the method used to identify them:

35
Q

clear ip dhcp conflict

A

Clears the address conflict list.

36
Q

Router#show ip dhcp database

A

Displays DHCP server database agent information, including the following:

37
Q

Router#show hosts

A

Displays the default domain name, the style of name lookup service, a list of name server hosts, and the cached list of hostnames and addresses.

38
Q

Router(config)#interface vlan 1

Router(config-if)#ip address dhcp

A

Configures an interface on a Cisco device to get its IP address from the DHCP server

39
Q

use ip dhcp excluded-address [ip address - ip address
use ip dhcp pool cisco to enter dhcp conifg
to configure dns type ip adress of dns server use dns-server [server ip address]

A