CCNA 2 Modules 7 – 9 Flashcards
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.
Place the options in the following order:
a client initiating a message to find a DHCP server – DHCPDISCOVER
a DHCP server responding to the initial request by a client – DHCPOFFER
the client accepting the IP address provided by the DHCP server – DHCPREQUEST
the DHCP server confirming that the lease has been accepted – DHCPACK
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
Which message does an IPv4 host use to reply when it receives a DHCPOFFER message from a DHCP server?
DHCPOFFER
DHCPDISCOVER
DHCPREQUEST
DHCPACK
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
ip helper-address
ip dhcp pool
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 broadcast message
a DHCPREQUEST unicast message
a DHCPDISCOVER broadcast 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
DHCPOFFER
DHCPREQUEST
DHCPACK
DHCPNACK
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.
Windows displays a DHCP timeout message.
The computer cannot ping other devices on the same network with IP addresses in the 169.254.0.0/16 range.
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
unicast DHCPACK
unicast DHCPREQUEST
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 connection between the wireless router and the DSL modem as a private IP network.
Set the DSL modem as a DHCP client to get a public IP address from the wireless router.
Set the DSL modem as a DHCP client to the phone company and a DHCP server for the internal connection.
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
53
67
68
80
67
68
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.
Use a statically configured IP address from the pool of IP addresses that is offered by the DHCP server.
Send a DHCPDISCOVER message to physical address FF-FF-FF-FF-FF-FF.
Send a DHCPREQUEST packet to IP address 255.255.255.255.
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 reduces the response time from a DHCP server.
It can forward both broadcast and multicast messages on behalf of clients.
It will allow DHCPDISCOVER messages to pass without alteration.
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.
A client must wait for lease expiration before it sends another DHCPREQUEST message.
If the client receives several DHCPOFFER messages from different servers, it sends a unicast DHCPREQUEST message to the server from which it chooses to obtain the IP information.
The DHCPDISCOVER message contains the IP address and subnet mask to be assigned, the IP address of the DNS server, and the IP address of the default gateway.
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.
Order the DHCP message types as they would occur between a DHCP client and a DHCP server.
Explanation: The DHCPDISCOVER message is used to identify any DHCP servers on a network.
The DHCPOFFER message is used by a server to offer a lease to a client. The DHCPREQUEST message is used to identify both the specific DHCP server and the lease that the client is accepting.
The DHCPACK message is used by a server to finalize a successful lease with a client.
The DHCPNAK message is used when an offered lease is no longer valid.
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.
It should use the information that is contained in the RA message exclusively.
It should contact a DHCPv6 server for all the information that it needs.
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.
Change the ipv6 nd managed-config-flag command to ipv6 nd other-config-flag.
Configure the ipv6 nd managed-config-flag command on interface Fa0/1.
Add the IPv6 address 2001:DB8:1234:5678::10/64 to the interface configuration of the DHCPv6 server.
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.
The GigabitEthernet interface is not activated.
The clients cannot communicate with the DHCPv6 server, evidenced by the number of active clients being 0.
The router is configured for SLAAC operation.
Question as presented:
A stateless DHCPv6 client would send a DHCPv6 INFORMATION-REQUEST message as step 3 in the process.
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 unique local address of the router interface that is attached to the network
the all-routers multicast address
the link-local 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?
CCNA 2 v7 Modules 7 - 9: Available and Reliable Networks Exam Answers 5
The router is configured for stateful DHCPv6 operation, but the DHCP pool configuration is incomplete.
The DHCPv6 server name is ACAD_CLASS.
Clients would configure the interface IDs above 0010.
The router is configured for stateless DHCPv6 operation.
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 is nonproprietary.
It allows load balancing between a group of redundant routers.
It uses ICMP messages in order to assign the default gateway to hosts.
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?
CCNA 2 v7 Modules 7 - 9: Available and Reliable Networks Exam Answers 6
GLBP
PVST+
PVST
STP
GLBP