CCNA 2 (v5.0.3 + v6.0) Chapter 8 Exam Answers 2020 - 100% Full

CCNA 2 Switching, Routing & Wireless Essentials Original source

New Version:

How to find: Press "Ctrl + F" in your browser and type key terms to locate the specific exam item or explanation. If the item is not listed on this page, please search for it in our comprehensive IT Exam Items Repository.

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

When a DHCP client receives DHCPOFFER messages, it will send 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. 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?

When the lease of a dynamically assigned IPv4 address has expired, a workstation will send a DHCPDISCOVER message to start the process of obtaining a valid IP address. Because the workstation does not know the addresses of DHCP servers, it sends the message via broadcast, with destination addresses of FF-FF-FF-FF-FF-FF and 255.255.255.255.

3. Which is a DHCPv4 address allocation method that assigns IPv4 addresses for a limited lease period?

Dynamic allocation is the most commonly implemented allocation mechanism. It leases the IP parameters for a predefined period of time.

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

Which address does a DHCPv4 server target when sending a DHCPOFFER message to a client that makes an addres

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

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.​

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

By default, the ip helper-address command forwards the following eight UDP services:
Port 37: Time
Port 49: TACACS
Port 53: DNS
Port 67: DHCP/BOOTP client
Port 68: DHCP/BOOTP server
Port 69: TFTP
Port 137: NetBIOS name service
Port 138: NetBIOS datagram service

7. An administrator issues the commands:
Router(config)# interface g0/1
Router(config-if)# ip address dhcp
What is the administrator trying to achieve?

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

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

SOHO routers are frequently required by the ISP to be configured as DHCPv4 clients in order to be connected to the provider.

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?​

When a PC is configured to use the SLAAC method for configuring IPv6 addresses, it will use 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?

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 only use 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?

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. The DHCPv6 ADVERTISE message is used by DHCPv6 servers 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 by 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?

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?

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 will send 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, then the address is unique.

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

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 interface ID.

15. What two methods can be used to generate an interface ID by an IPv6 host that is using SLAAC? (Choose two.)

A host that is using SLAAC has two means to configure an interface ID: EUI-64 and random generation by the host operating system.

16. Refer to the exhibit. Based on the output that is shown, what kind of IPv6 addressing is being configured?

Stateful DHCPv6 pools are configured with address prefixes for hosts via the address command, whereas stateless DHCPv6 pools typically only contain information such as DNS server addresses and the domain name. RA messages that are sent from routers that are configured as stateful DHCPv6 servers have the M flag set to 1 with the command ipv6 nd managed-config-flag, whereas stateless DHCPv6 servers are indicated by setting the O flag to 1 with the ipv6 nd other-config-flag command.

17. 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?

18. Refer to the exhibit. What should be done to allow PC-A to receive an IPv6 address from the DHCPv6 server?

Client DHCPv6 messages are sent to a multicast address with link-local scope, which means that the messages will not be forwarded by routers. Because the client and server are on different subnets on different interfaces, the message will not reach the server. The router can be configured to relay the DHCPv6 messages from the client to the server by configuring the ipv6 dhcp relay command on the interface that is connected to the client.

19. Refer to the exhibit. A network administrator is implementing stateful DHCPv6 operation for the company. However, the clients are not using the prefix and prefix-length information that is configured in the DHCP pool. The administrator issues a show ipv6 interface command. What could be the cause of the problem?

The router is configured for stateless DHCPv6 operation, which is shown by the last two lines of the show command output. Hosts will configure their IPv6 addresses by using the prefix information that is provided by RA messages. They will also obtain additional configuration information from a DHCPv6 server. The "No virtual link-local address" option and the "Duplicate Address Detection" option are irrelevant to DHCP configuration. Option "SLAAC configuration" is incorrect because by definition SLAAC will use only the information that is provided by RA messages to configure IPv6 settings.

20. 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 router is configured for SLAAC operation because there is no configuration command to change the RA M and O flag value. By default, both M and O flags are set to 0. In order to permint stateless DHCPv6 operation, the interface command ipv6 nd other-config-flag should be issued. The GigabitEthernet interface is in working condition because clients can get RA messages and configure their IPv6 addresses as expected. Also, the fact that R1 is the DHCPv6 server and clients are getting RA messages indicates that clients can communicate with the DHCP server. The number of active clients is 0 because the DHCPv6 server does not maintain the state of clients IPv6 addresses (it is not configured for stateful DHCPv6 operation). The DNS server address issue is not relevant to the problem.

21. Fill in the blank. Do not abbreviate
Type a command to exclude the first fifteen useable IP addresses from a DHCPv4 address pool of the network 10.0.15.0/24.
Router(config)# ip dhcp

Correct Answer: excluded-address 10.0.15.1 10.0.15.15

The ip dhcp excluded-address command must be followed by the first and the last addresses to be excluded.

22. Order the steps of configuring a router as a DHCPv4 Server. (Not all options are used.)

23. Match the descriptions to the corresponding DHCPv6 server type. (Not all options are used.)

Place the options in the following order:
[+] enabled in RA messages with the ipv6 nd other-config-flag command
[+] clients send only DHCPv6 INFORMATION-REQUEST messages to the server
[+] enabled on the client with the ipv6 address autoconfig command
[#] the M flag is set to 1 in RA messages
[#] uses the address command to create a pool of addresses for clients
[#] enabled on the client with the ipv6 address dhcp command[+] Order does not matter within this group.
[#] Order does not matter within this group.

Older Version:

24. A router is participating in an OSPFv2 domain. What will always happen if the dead interval expires before the router receives a hello packet from an adjacent DROTHER OSPF router?

Explanation: On Cisco routers the default dead interval is 4 times the hello interval, and this timer has expired in this case. SPF does not determine the state of neighbor routers; it determines which routes become routing table entries. A DR/DBR election will not always automatically run; this depends on the type of network and on whether or not the router no longer up was a DR or BDR.

25. Which three statements describe the similarities between OSPFv2 and OSPFv3? (Choose three.)

Explanation: Only OSPFv2 messages are sourced from the IP address of the exit interface; OSPFv3 uses the link-local address of the exit interface. Only OSPFv3 uses IPsec; OSPFv2 uses plaintext or MD5 authentication. Unicast routing is enabled by default only with OSPFv2.

26. Which OSPF component is identical in all routers in an OSPF area after convergence?

27. Which three statements describe features of the OSPF topology table? (Choose three.)

Explanation: The topology table on an OSPF router is a link-state database (LSDB) that lists information about all other routers in the network, and represents the network topology. All routers within an area have identical link-state databases, and the table can be viewed using the show ip ospf database command. The EIGRP topology table contains feasible successor routes. This concept is not used by OSPF. The SPF algorithm uses the LSDB to produce the unique routing table for each router which contains the lowest cost route entries for known networks.

28. What is used to create the OSPF neighbor table?

Explanation: The adjacency database is used to create the OSPF neighbor table. The link-state database is used to create the topology table, and the forwarding database is used to create the routing table.

29. What is a function of OSPF hello packets?

30. Which OSPF packet contains the different types of link-state advertisements?

31. What are the two purposes of an OSPF router ID? (Choose two.)

32. What is the first criterion used by OPSF routers to elect a DR?

Explanation: When electing a DR, the router with the highest OSPF priority becomes the DR. If all routers have the same priority, then the router with the highest router ID is elected.

33. Which wildcard mask would be used to advertise the 192.168.5.96/27 network as part of an OSPF configuration?

34. What are two reasons that will prevent two routers from forming an OSPFv2 adjacency? (Choose two.)

35. Refer to the exhibit. A network administrator issued the command show ip ospf interface on the router R2. What conclusion can be drawn?

Explanation: From the result shown, R2 has not formed an adjacency with any other router on the network, because the network that R2 connects is BROADCAST, but no BDR is on the network. The Hello timer value 10 and Dead timer value 40 are default OSPF timers for a multiaccess network. The router ID for R2 is determined by the loopback 0 interface, not the router-id command.

36. What command would be used to determine if a routing protocol-initiated relationship had been made with an adjacent router?

37. Which OSPFv3 function works differently from OSPFv2?

38. Which three addresses could be used as the destination address for OSPFv3 messages? (Choose three.)

39. What does a Cisco router use automatically to create link-local addresses on serial interfaces when OSPFv3 is implemented?

40. A network administrator enters the command ipv6 router ospf 64in global configuration mode. What is the result of this command?

41. Single area OSPFv3 has been enabled on a router via the ipv6 router ospf 20 command. Which command will enable this OSPFv3 process on an interface of that router?

42. Which command will verify that a router that is running OSPFv3 has formed an adjacency with other routers in its OSPF area?

43. Fill in the blank. Do not use abbreviations.
To quickly verify OSPFv3 configuration information including the OSPF process ID, the router ID, and the interfaces enabled for OSPFv3, you need to issue the command show ipv6 protocols

44. Fill in the blank.
The election of a DR and a BDR takes place on networks, such as Ethernet networks. multiaccess

45. Fill in the blank.
OSPF uses cost as a metric.

46. Match the information to the command that is used to obtain the information. (Not all options are used.)

Question

Answer

47. Open the PT Activity. Perform the tasks in the activity instructions and then complete the task. What message is displayed on www.ciscoville.com?

48. Which criterion is preferred by the router to choose a router ID?

49. Which command should be used to check the OSPF process ID, the router ID, networks the router is advertising, the neighbors the router is receiving updates from, and the default administrative distance?

50. A network administrator enters the command ipv6 router ospf 64 in global configuration mode. What is the result of this command?

51. When a network engineer is configuring OSPFv3 on a router, which command would the engineer issue immediately before configuring the router ID?

52. Which command will provide information specific to OSPFv3 routes in the routing table?

53. Fill in the blank.
The election of a DR and a BDR takes place on multiaccess networks, such as Ethernet networks.

54. Launch PT – Hide and Save PT. Open the PT Activity. Perform the tasks in the activity instructions and then complete the task. What message is displayed on www.ciscoville.com?

Copy

The correct configuration on R1 is:

router ospf 10

network 192.168.2.0 0.0.0.255 area 0

network 10.0.10.0 0.0.0.3 area 0

The correct configuration on R2 is:

router ospf 10

network 10.0.10.0 0.0.0.3 area 0

network 10.0.10.4 0.0.0.3 area 0

network 172.16.5.0 0.0.0.255 area 0

55. By order of precedence, match the selection of router ID for an OSFP-enabled router to the possible router ID options. (Not all options are used.)


Place the options in the following order:
Third precedence -> Loopback interface address 10.1.1.1
Fourth precedence -> Serial interface address 192.168.10.1
– not scored –
First precedence -> Configured router ID 1.1.1.1
Second precedence -> loopback interface IP address 172.16.1.1

56. Match the description to the term. (Not all options are used.)


Place the options in the following order:
This is where the details of the neighboring routers can be found. -> adjacency database
This is the algorithm used by OSPF. -> Shortest Path First
All the routers are in the backbone area. -> Single-area OSPF
– not scored –
This is where you can find the topology table. -> link-state database
– not scored –

57. What is the first criterion used by OSPF routers to elect a DR?

58. What are two reasons that will prevent routers from forming an OSPFv2 adjacency? (Choose two.)

Explanation: C and D. There may be several reasons why routers running OSPF will fail to form an OSPF adjacency, including subnet masks not matching, OSPF hello or dead timers not matching, OSPF network types not matching, or a missing or incorrect OSPF network command. Mismatched IOS versions, the use of private IP addresses, and different types of interface ports do not cause an OSPF adjacency to fail to form between two routers.

59. What command would be issued to determine if a routing protocol-initiated relationship has been made with an adjacent router?

60. Match the OSPF state with the order in which it occurs. (Not all options are used.)


Place the options in the following order:
second state -> Init state
– not scored –
seventh state -> Full state
fifth state -> Exchange state
first state -> Down state
fourth state -> Exstart state
– not scored –
third state -> Two-way state
sixth state -> Loading state

61. An administrator has configured a DHCPv4 relay router and issued these commands:

Copy

Router(config)# interface g0/0 

Router(config-if)# ip address 10.0.1.1 255.255.255.0 

Router(config-if)# no shutdown 

Router(config-if)# exit 

Router(config)# ip dhcp pool RELAY 

Router(dhcp-config)# end

The clients are not receiving IP parameters from the DHCPv4 server. What is a possible cause?

Explanation: This router should be configured with the ip helper-address command, followed with the IP address of the DHCPv4 server, because the router is meant to be used as a relay agent. The ip dhcp pool RELAY command just names the DHCPv4 pool, and it does not enable the relay function.

← All CCNA 2 articles Home