CCNA 2 v6 Chapter 8: Check Your Understanding Questions Answers

CCNA 2 Switching, Routing & Wireless Essentials Original source

CCNA 2 v6.0 (Routing & Switching Essentials v6) Chapter 8: DHCP: Check Your Understanding Questions Answers

1. Which DHCPv4 message will a client send to accept an IPv4 address that is offered by a DHCP server?

Explanation: When a DHCP client receives DHCPOFFER messages, it sends a broadcast DHCPREQUEST message for two purposes. First, it indicates to the offering DHCP server that it would like to accept the offer and bind the IP address. Second, it notifies any other responding DHCP servers that their offers are declined.

2. Why is the DHCPREQUEST message sent as a broadcast during the DHCPv4 process?

Explanation: The DHCPREQUEST message is broadcast to inform other DHCP servers that an IP address has been leased.

3. Which address does a DHCPv4 server target when sending a DHCPOFFER message to a client that makes an address request?

Explanation: When a DHCPv4 client does not have an IPv4 address, a DHCPv4 server sends a DHCPOFFER message back to the client hardware address of the requesting DHCPv4 client.

4. As a DHCPv4 client lease is about to expire, what is the message that the client sends the DHCP server?

Explanation: When a DHCP client lease is about to expire, the client sends a DHCPREQUEST message to the DHCPv4 server that originally provided the IPv4 address. This allows the client to request that the lease be extended.

5. What is an advantage of configuring a Cisco router as a relay agent?

Explanation: By default, the ip helper-address command forwards the following eight UDP services:

6. An administrator issues the ip address dhcp command on interface G0/1. What is the administrator trying to achieve?

Explanation: The ip address dhcp command activates the DHCPv4 client on a given interface. By doing this, the router obtains the IP parameters from a DHCPv4 server.

7. Under which two circumstances would a router usually be configured as a DHCPv4 client? (Choose two.)

Explanation: The ISP frequently requires SOHO routers to be configured as DHCPv4 clients to be connected to the provider.

8. A host on the 10.10.100.0/24 LAN is not being assigned an IPv4 address by an enterprise DHCP server with the address 10.10.200.10/24. What is the best way for the network engineer to resolve this problem?

Explanation: The DHCP server is not on the same network as the hosts, so a DHCP relay agent is required. This is achieved by issuing the ip helper-address command on the interface of the router that contains the DHCPv4 clients to direct DHCP messages to the DHCPv4 server IP address.

9. A company uses the SLAAC method to configure IPv6 addresses for the employee workstations. Which address will a client use as its default gateway?

Explanation: When a PC is configured to use the SLAAC method for configuring IPv6 addresses, it uses the prefix and prefix-length information that is contained in the RA message, combined with a 64-bit interface ID (obtained by using the EUI-64 process or by using a random number that is generated by the client operating system), to form an IPv6 address. It uses the link-local address of the router interface that is attached to the LAN segment as its IPv6 default gateway address.

10. A network administrator configures a router to send RA messages with M flag as 0 and O flag as 1. Which statement describes the effect of this configuration when a PC tries to configure its IPv6 address?

Explanation: ICMPv6 RA messages contain two flags to indicate whether a workstation should use SLAAC, a DHCPv6 server, or a combination to configure its IPv6 address. These two flags are M flag and O flag. When both flags are 0 (by default), a client must use only the information in the RA message. When M flag is 0 and O flag is 1, a client should use the information in the RA message and look for the other configuration parameters (such as DNS server addresses) on DHCPv6 servers.

11. A company implements the stateless DHCPv6 method for configuring IPv6 addresses on employee workstations. After a workstation receives messages from multiple DHCPv6 servers to indicate their availability for DHCPv6 service, which message does it send to a server for configuration information?

Explanation: In stateless DHCPv6 configuration, a client configures its IPv6 address by using the prefix and prefix length in the RA message, combined with a self-generated interface ID. It then contacts a DHCPv6 server for additional configuration information via an INFORMATION-REQUEST message. The DHCPv6 SOLICIT message is used by a client to locate a DHCPv6 server. DHCPv6 servers use the DHCPv6 ADVERTISE message to indicate their availability for DHCPv6 service. The DHCPv6 REQUEST message is used by a client, in the stateful DHCPv6 configuration, to request all configuration information from a DHCPv6 server.

12. An administrator wants to configure hosts to automatically assign IPv6 addresses to themselves through the use of router advertisement messages, but also to obtain the DNS server address from a DHCPv6 server. Which address assignment method should be configured?

Explanation: Stateless DHCPv6 allows clients to use ICMPv6 router advertisement (RA) messages to automatically assign IPv6 addresses to themselves but then allows these clients to contact a DHCPv6 server to obtain additional information such as the domain name and address of DNS servers. SLAAC does not allow the client to obtain additional information through DHCPv6, and stateful DHCPv6 requires that the client receive its interface address directly from a DHCPv6 server. RA messages, when combined with an EUI-64 interface identifier, are used to automatically create an interface IPv6 address and are part of both SLAAC and stateless DHCPv6.

13. How does an IPv6 client ensure that it has a unique address after it configures its IPv6 address using the SLAAC allocation method?

Explanation: SLAAC is a stateless allocation method and does not use a DHCP server to manage the IPv6 addresses. When a host generates an IPv6 address, it must verify that it is unique. The host sends an ICMPv6 neighbor solicitation message with its own IPv6 address as the target. As long as no other device responds with a neighbor advertisement message, the address is unique.

14. What is used in the EUI-64 process to create an IPv6 interface ID on an IPv6-enabled interface?

Explanation: The EUI-64 process uses the MAC address of an interface to construct an interface ID (IID). Because the MAC address is only 48 bits in length, 16 additional bits (FF:FE) must be added to the MAC address to create the full 64-bit IID.

15. A network administrator is implementing DHCPv6 for the company. The administrator configures a router to send RA messages with M flag as 1 by using the interface command ipv6 nd managed-config-flag. What effect will this configuration have on the operation of the clients?

Explanation: Under stateful DHCPv6 configuration, which is indicated by setting M flag as 1 (through the interface command ipv6 nd managed-config-flag), the DHCPv6 server manages the dynamic IPv6 address assignments. Clients must obtain all configuration information from a DHCPv6 server.

← All CCNA 2 articles Home