CCNA 2 v7 Modules 7 – 9: Available and Reliable Networks
This flashcard set focuses on the DHCPv4 process, highlighting key message types, communication methods like broadcasting, and specific configuration commands. It is designed to reinforce understanding of how IP address assignment is handled automatically in networks using DHCP.
A DHCP-enabled client PC has just booted. During which two steps will the client PC use broadcast messages when communicating with a DHCP server? (Choose two.)
DHCPDISCOVER
DHCPACK
DHCPOFFER
DHCPREQUEST
DHCPNAK
DHCPDISCOVER
DHCPREQUEST
Key Terms
A DHCP-enabled client PC has just booted. During which two steps will the client PC use broadcast messages when communicating with a DHCP server? (Choose two.)
DHCPDISCOVER
DHCPACK
DHCPOFFER
DHCPREQUEST
DHCPNAK
DHCPDISCOVER
DHCPREQUEST
An administrator issues the commands:
Router(config)# interface g0/1
Router(config-if)# ip address dhcp
What is the administrator trying to achieve?
configuring the router to act as a DHCPv4 server
configuring the router to obtain IP parameters from a DHCPv4 server
configuring the router to act as a relay agent
configuring the router to resolve IP address conflicts
configuring the router to obtain IP parameters from a DHCPv4 server
When a client is requesting an initial address lease from a DHCP server, why is the DHCPREQUEST message sent as a broadcast?
The client does not yet know the IP address of the DHCP server that sent the offer.
The DHCP server may be on a different subnet, so the request must be sent as a broadcast.
The client does not have a MAC address assigned yet, so it cannot send a unicast message at Layer 2.
The client may have received offers from multiple servers, and the broadcast serves to implicitly decline those other offers.
The client may have received offers from multiple servers, and the broadcast serves to implicitly decline those other offers.
Which DHCP IPv4 message contains the following information?
Destination address: 255.255.255.255
Client IPv4 address: 0.0.0.0
Default gateway address: 0.0.0.0
Subnet mask: 0.0.0.0
DHCPACK
DHCPDISCOVER
DHCPOFFER
DHCPREQUEST
DHCPDISCOVER
Which protocol automates assignment of IP addresses on a network, and which port number does it use? (Choose two.)
DHCP
DNS
SMB
53
67
80
DHCP
67
Refer to the exhibit. PC1 is configured to obtain a dynamic IP address from the DHCP server. PC1 has been shut down for two weeks. When PC1 boots and tries to request an available IP address, which destination IP address will PC1 place in the IP header?
192.168.1.1
192.168.1.255
255.255.255.255
192.168.1.8
255.255.255.255
Related Flashcard Decks
Study Tips
- Press F to enter focus mode for distraction-free studying
- Review cards regularly to improve retention
- Try to recall the answer before flipping the card
- Share this deck with friends to study together
Term | Definition |
---|---|
A DHCP-enabled client PC has just booted. During which two steps will the client PC use broadcast messages when communicating with a DHCP server? (Choose two.) DHCPDISCOVER | DHCPDISCOVER |
An administrator issues the commands: Router(config)# interface g0/1 configuring the router to act as a DHCPv4 server | configuring the router to obtain IP parameters from a DHCPv4 server |
When a client is requesting an initial address lease from a DHCP server, why is the DHCPREQUEST message sent as a broadcast? The client does not yet know the IP address of the DHCP server that sent the offer. | The client may have received offers from multiple servers, and the broadcast serves to implicitly decline those other offers. |
Which DHCP IPv4 message contains the following information? Destination address: 255.255.255.255 DHCPACK | DHCPDISCOVER |
Which protocol automates assignment of IP addresses on a network, and which port number does it use? (Choose two.) DHCP | DHCP |
Refer to the exhibit. PC1 is configured to obtain a dynamic IP address from the DHCP server. PC1 has been shut down for two weeks. When PC1 boots and tries to request an available IP address, which destination IP address will PC1 place in the IP header? 192.168.1.1 | 255.255.255.255 |
Which message does an IPv4 host use to reply when it receives a DHCPOFFER message from a DHCP server? DHCPOFFER | DHCPREQUEST |
Which command, when issued in the interface configuration mode of a router, enables the interface to acquire an IPv4 address automatically from an ISP, when that link to the ISP is enabled? service dhcp | ip address dhcp |
Which kind of message is sent by a DHCP client when its IP address lease has expired? a DHCPDISCOVER unicast message | a DHCPREQUEST unicast message |
A host PC is attempting to lease an address through DHCP. What message is sent by the server to let the client know it is able to use the provided IP information? DHCPDISCOVER | DHCPACK |
What is one indication that a Windows computer did not receive an IPv4 address from a DHCP server? The computer cannot ping 127.0.0.1. | The computer receives an IP address that starts with 169.254. |
Which DHCPv4 message will a client send to accept an IPv4 address that is offered by a DHCP server? broadcast DHCPACK | broadcast DHCPREQUEST |
A small coffee shop is offering free Wi-Fi to customers. The network includes a wireless router and a DSL modem that is connected to the local phone company. What method is typically used to configure the connection to the phone company? Set the WAN connection in the wireless router as a DHCP client. | Set the WAN connection in the wireless router as a DHCP client. |
A company uses DHCP to manage IP address deployment for employee workstations. The IT department deploys multiple DHCP servers in the data center and uses DHCP relay agents to facilitate the DHCP requests from workstations. Which two UDP ports are used to forward DHCP traffic? (Choose two.) 23 | 67 |
A client device on an Ethernet segment needs an IP address in order to communicate on the network. A DHCP server with IP address 192.168.1.1 has been configured and enabled on the network. How will a client device obtain a usable IP address for this network? Send a DHCPACK packet to the default gateway address. | Send a DHCPDISCOVER message to physical address FF-FF-FF-FF-FF-FF. |
What is an advantage of configuring a Cisco router as a relay agent? It can provide relay services for multiple UDP services. | It can provide relay services for multiple UDP services. |
Which statement is true about DHCP operation? When a device that is configured to use DHCP boots, the client broadcasts a DHCPDISCOVER message to identify any available DHCP servers on the network. | When a device that is configured to use DHCP boots, the client broadcasts a DHCPDISCOVER message to identify any available DHCP servers on the network. |
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? It should contact a DHCPv6 server for the prefix, the prefix-length information, and an interface ID that is both random and unique. | It should use the information that is contained in the RA message and contact a DHCPv6 server for additional information. |
Refer to the exhibit. What should be done to allow PC-A to receive an IPv6 address from the DHCPv6 server? Add the ipv6 dhcp relay command to interface Fa0/0. | Add the ipv6 dhcp relay command to interface Fa0/0. |
Refer to the exhibit. A network administrator is implementing the stateless DHCPv6 operation for the company. Clients are configuring IPv6 addresses as expected. However, the clients are not getting the DNS server address and the domain name information configured in the DHCP pool. What could be the cause of the problem? The DNS server address is not on the same network as the clients are on. | The router is configured for SLAAC operation. |
A company uses the SLAAC method to configure IPv6 addresses for the employee workstations. Which address will a client use as its default gateway? the global unicast address of the router interface that is attached to the network | the link-local address of the router interface that is attached to the network |
Refer to the exhibit. A network administrator is configuring a router for DHCPv6 operation. Which conclusion can be drawn based on the commands? The router is configured for stateful DHCPv6 operation, but the DHCP pool configuration is incomplete. | The router is configured for stateless DHCPv6 operation. |
A network administrator is analyzing the features that are supported by different first-hop router redundancy protocols. Which statement describes a feature that is associated with HSRP? HSRP uses active and standby routers. | HSRP uses active and standby routers. |
Refer to the exhibit. What protocol can be configured on gateway routers R1 and R2 that will allow traffic from the internal LAN to be load balanced across the two gateways to the Internet? GLBP | GLBP |
Refer to the exhibit. A network engineer is troubleshooting host connectivity on a LAN that uses a first hop redundancy protocol. Which IPv4 gateway address should be configured on the host? 192.168.2.0 | 192.168.2.100 |
Refer to the exhibit. Which destination MAC address is used when frames are sent from the workstation to the default gateway? MAC address of the virtual router | MAC address of the virtual router |
Which FHRP implementation is a Cisco-proprietary protocol that suppports IPv4 load sharing? IRDP | GLBP |
The address pool of a DHCP server is configured with 10.92.71.0/25. The network administrator reserves 8 IP addresses for servers. How many IP addresses are left in the pool to be assigned to other hosts? 122 | 118 |
After a host has generated an IPv6 address by using the DHCPv6 or SLAAC process, how does the host verify that the address is unique and therefore usable? The host sends an ICMPv6 echo request message to the DHCPv6 or SLAAC-learned address and if no reply is returned, the address is considered unique. | The host sends an ICMPv6 neighbor solicitation message to the DHCP or SLAAC-learned address and if no neighbor advertisement is returned, the address is considered unique. |
Which statement describes HSRP? It is used within a group of routers for selecting an active device and a standby device to provide gateway services to a LAN. | It is used within a group of routers for selecting an active device and a standby device to provide gateway services to a LAN. |
Open the PT Activity. Perform the tasks in the activity instructions and then answer the question. What is the keyword that is displayed on www.netacad.com? DHCP | Router |
Match each DHCP message type with its description. (Not all options are used.) DHCPACK DHCPREQUEST DHCPNACK DHCPDISCOVER DHCPOFFER a client initiating a message to find a DHCP server a DHCP server responding to the initial request by a client the client accepting the IP address provided by the DHCP server the DHCP server confirming that the address lease has been accepted | DHCPDISCOVER -> a client initiating a message to find a DHCP server DHCPOFFER -> a DHCP server responding to the initial request by a client DHCPREQUEST -> the client accepting the IP address provided by the DHCP server DHCPACK -> the DHCP server confirming that the address lease has been accepted |
Match the purpose with its DHCP message type. (Not all options are used.) a message that is used to locate any available DHCP server on a network a message that is used to identify the explicit server and lease offer to accept a message that is used to acknowledge that the lease is successful a message that is used to suggest a lease to a client | a message that is used to identify the explicit server and lease offer to accept -> DHCPREQUEST Match the purpose with its DHCP message type. (Not all options are used.) DHCPNAK a message that is used to suggest a lease to a client -> DHCPOFFER a message that is used to acknowledge that the lease is successful -> DHCPACK |
Match the DHCP message types to the order of the stateful DHCPv6 process when a client first connects to an IPv6 network. (Not all options are used.) Step 1 DHCPv6 SOLICIT | Step 1 DHCPv6 SOLICIT |
Match the step number to the sequence of stages that occur during the HSRP failover process. (Not all options are used.) Step 1 The forwarding router fails. | Step 1 The forwarding router fails. |
Match the FHRP protocols to the appropriate description. (Not all options are used.) HSRP A Cisco proprietary FHRP that provides redundancy through use of an active device and standby device | HSRP A Cisco proprietary FHRP that provides redundancy through use of an active device and standby device |
Match the DHCP message types to the order of the DHCPv4 process. (Not all options are used.) Step 1 DHCPDISCOVER | Step 1 DHCPDISCOVER |
The address pool of a DHCP server is configured with 192.168.234.0/27. The network administrator reserves 22 IP addresses for IP phones. How many IP addresses are left in the pool to be assigned to other hosts? 10 | 8 |
A company uses DHCP servers to dynamically assign IPv4 addresses to employee workstations. The address lease duration is set as 5 days. An employee returns to the office after an absence of one week. When the employee boots the workstation, it sends a message to obtain an IP address. Which Layer 2 and Layer 3 destination addresses will the message contain? both MAC and IPv4 addresses of the DHCP server | FF-FF-FF-FF-FF-FF and 255.255.255.255 |
Which command will allow a network administrator to check the IP address that is assigned to a particular MAC address? Router# show running-config I section_dhcp | Router# show ip dhcp binding |
What is the reason that an ISP commonly assigns a DHCP address to a wireless router in a SOHO environment? better network performance | easy IP address management |
What information can be verified through the show ip dhcp binding command? the IPv4 addresses that are assigned to hosts by the DHCP server | the IPv4 addresses that are assigned to hosts by the DHCP server |
What is the result of a network technician issuing the command ip dhcp excluded-address 10.0.15.1 10.0.15.15 on a Cisco router? The Cisco router will exclude only the 10.0.15.1 and 10.0.15.15 IP addresses from being leased to DHCP clients. | The Cisco router will exclude 15 IP addresses from being leased to DHCP clients. |
Match the descriptions to the corresponding DHCPv6 server type. (Not all options are used.) enabled in RA messages with the ipv6 nd other-config-flag command clients communicate with the DHCPv6 server by the use of RA messages the M flag is set to 1 in RA messages uses the address command to create a pool of addresses for clients clients send only DHCPv6 INFORMATION REQUEST messages to the server enabled on the client with the ipv6 address dhcp command enabled on the client with the ipv6 address autoconfig command | Stateless DCHPv6: enabled in RA messages with the ipv6 nd other-config-flag command Stateful DHCPv6: the M flag is set to 1 in RA messages |
Refer to the exhibit. Based on the output that is shown, what kind of IPv6 addressing is being configured? stateless DHCPv6 | stateless DHCPv6 |
Which FHRP implementation is a Cisco-proprietary protocol that suppports IPv6 load balancing? GLBP | GLBP for IPv6 |
Which set of commands will configure a router as a DHCP server that will assign IPv4 addresses to the 192.168.100.0/23 LAN while reserving the first 10 and the last addresses for static assignment? ip dhcp excluded-address 192.168.100.1 192.168.100.9 dhcp pool LAN-POOL-100 ip dhcp excluded-address 192.168.100.1 192.168.100.10 ip dhcp excluded-address 192.168.100.1 192.168.100.10 | ip dhcp excluded-address 192.168.100.1 192.168.100.10 |
What is a result when the DHCP servers are not operational in a network? Workstations are assigned with the IP address 127.0.0.1. | Workstations are assigned with IP addresses in the 169.254.0.0/16 network. |
A company uses the method SLAAC to configure IPv6 addresses for the workstations of the employees. A network administrator configured the IPv6 address on the LAN interface of the router. The interface status is UP. However, the workstations on the LAN segment did not obtain the correct prefix and prefix length. What else should be configured on the router that is attached to the LAN segment for the workstations to obtain the information? R1(config)# ipv6 dhcp pool | R1(config)# ipv6 unicast-routing |
Which FHRP implementation is a nonproprietary protocol which relies on ICMP to provide IPv4 redundancy? VRRPv3 | IRDP |
Refer to the exhibit. PC-A is unable to receive an IPv6 address from the stateful DHCPv6 server. What is the problem? The ipv6 dhcp relay command should be applied to interface Gig0/0. | The ipv6 dhcp relay command should be applied to interface Gig0/0. |
Refer to the exhibit. A network administrator is configuring a router as a DHCPv6 server. The administrator issues a show ipv6 dhcp pool command to verify the configuration. Which statement explains the reason that the number of active clients is 0? The default gateway address is not provided in the pool. | The state is not maintained by the DHCPv6 server under stateless DHCPv6 operation. |
Which FHRP implementation is Cisco-proprietary and permits only one router in a group to forward IPv6 packets? VRRPv3 | HSRP for IPv6 |
Which FHRP implementation is a nonproprietary IPv4-only election protocol which has one master router per group? HSRP for IPv6 | VRRPv2 |
The address pool of a DHCP server is configured with 172.18.93.0/25. The network administrator reserves 10 IP addresses for web servers. How many IP addresses are left in the pool to be assigned to other hosts? 106 | 116 |
The address pool of a DHCP server is configured with 10.3.2.0/24. The network administrator reserves 3 IP addresses for printers. How many IP addresses are left in the pool to be assigned to other hosts? 252 | 251 |
The address pool of a DHCP server is configured with 172.23.143.0/26. The network administrator reserves 14 IP addresses for file servers. How many IP addresses are left in the pool to be assigned to other hosts? 58 | 48 |
The address pool of a DHCP server is configured with 10.7.30.0/24. The network administrator reserves 5 IP addresses for printers. How many IP addresses are left in the pool to be assigned to other hosts? 253 | 249 |
Which FHRP implementation is a nonproprietary IPv4-only election protocol with limited scalability? VRRPv2 | VRRPv2 |
The address pool of a DHCP server is configured with 192.168.184.0/26. The network administrator reserves 18 IP addresses for access points. How many IP addresses are left in the pool to be assigned to other hosts? 57 | 44 |
The address pool of a DHCP server is configured with 10.19.44.0/24. The network administrator reserves 3 IP addresses for servers. How many IP addresses are left in the pool to be assigned to other hosts? 255 | 251 |
The address pool of a DHCP server is configured with 10.19.44.0/24. The network administrator reserves 6 IP addresses for servers. How many IP addresses are left in the pool to be assigned to other hosts? 246 | 248 |
The address pool of a DHCP server is configured with 172.21.121.0/25. The network administrator reserves 12 IP addresses for web servers. How many IP addresses are left in the pool to be assigned to other hosts? 115 | 114 |
Which kind of message is sent by a DHCP client when its IP address lease is about to expire? a DHCPREQUEST broadcast message | a DHCPREQUEST unicast message |