NET126-Modules 7-9 (JamesEvans)
62. 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 -50 -61 -40
-48
60. 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 -117 -114 -120 -116
-116 Explain:Calculate the maximum number of hosts available for the slash value and subtract the required static IP addresses required for the devices. /24 = 254 hosts /25 = 126 hosts /26 = 62 hosts /27 = 30 hosts /28 = 14 hosts
59. Which FHRP implementation is a nonproprietary IPv4-only election protocol which has one master router per group? -HSRP for IPv6 -GLBP -VRRPv2 -VRRPv3
-VRRPv2
47. What information can be verified through the show ip dhcp binding command? -the IPv4 addresses that are assigned to hosts by the DHCP server -that DHCPv4 discover messages are still being received by the DHCP server -the IPv4 addresses that have been excluded from the DHCPv4 pool -the number of IP addresses remaining in the DHCP pool
-the IPv4 addresses that are assigned to hosts by the DHCP server Explanation:The show ip dhcp binding command shows a list of IPv4 addresses and the MAC addresses of the hosts to which they are assigned. Using this information an administrator can determine which host interfaces have been assigned to specific hosts.
24. 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 Explanation: 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.
52. 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.10 ip dhcp excluded-address 192.168.101.254 ip dhcp pool LAN-POOL-100 network 192.168.100.0 255.255.254.0 default-router 192.168.100.1 Explanation: The /23 prefix is equivalent to a network mask of 255.255.254.0. The network usable IPv4 address range is 192.168.100.1 to 192.168.101.254 inclusive. The commands dhcp pool, ip default-gateway, and ip network are not valid DHCP configuration commands.
32. 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 -119 -108 -116
-118 Explanation: Calculate the maximum number of hosts available for the slash value and subtract the required static IP addresses required for the devices. /24 = 254 hosts /25 = 126 hosts /26 = 62 hosts /27 = 30 hosts /28 = 14 hosts
67. 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 -252 -249 -248 -238
-248
63. 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 -239 -249 -250 -247
-249 Explain:Calculate the maximum number of hosts available for the slash value and subtract the required static IP addresses required for the devices. /24 = 254 hosts /25 = 126 hosts /26 = 62 hosts /27 = 30 hosts /28 = 14 hosts
61. 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 -241 -255 -249 -251
-251
66. 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 -252 -241 -251 -249
-251
65. 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 -54 -36 -46
-44
15. 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 Explanation: The DHCP protocol operates with 2 UDP ports. UDP port 67 is the destination port for DHCP servers, and DHCP clients use UDP port 68.
43. 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 -0 -8 -21 -18
-8 Explanation: Calculate the maximum number of hosts available for the slash value and subtract the required static IP addresses required for the devices. /24 = 254 hosts /25 = 126 hosts /26 = 62 hosts /27 = 30 hosts /28 = 14 hosts
6. 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 Explanation: DNS uses port 53 and translates URLs to IP addresses. SMB provides shared access to files and printers and uses port 445. Port 80 is used by HTTP. HTTP is a protocol used to communicate between a web browser and a server.
11. 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 Explanation: When a host uses DHCP to automatically configure an IP address, the typically sends two messages: the DHCPDISCOVER message and the DHCPREQUEST message. These two messages are usually sent as broadcasts to ensure that all DHCP servers receive them. The servers respond to these messages using DHCPOFFER, DHCPACK, and DHCPNACK messages, depending on the circumstance.
4. Which DHCP IPv4 message contains the following information? Destination address: 255.255.255.255Client IPv4 address: 0.0.0.0Default gateway address: 0.0.0.0Subnet mask: 0.0.0.0 -DHCPACK -DHCPDISCOVER -DHCPOFFER -DHCPREQUEST
-DHCPDISCOVER
1. 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
-DHCPREQUEST
8. Which message does an IPv4 host use to reply when it receives a DHCPOFFER message from a DHCP server? -DHCPOFFER -DHCPDISCOVER -DHCPREQUEST -DHCPACK
-DHCPREQUEST Explanation: When the client receives the DHCPOFFER from the server, it sends back a DHCPREQUEST broadcast message. On receiving the DHCPREQUEST message, the server replies with a unicast DHCPACK message.
44. 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 IPv4 address of the DHCP server -FF-FF-FF-FF-FF-FF and 255.255.255.255 -MAC address of the DHCP server and 255.255.255.255
-FF-FF-FF-FF-FF-FF and 255.255.255.255 Explanation: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.
31. Which FHRP implementation is a Cisco-proprietary protocol that suppports IPv4 load sharing? -IRDP -GLBP -VRRPv3 -GLBP for IPv6
-GLBP
51. Which FHRP implementation is a Cisco-proprietary protocol that suppports IPv6 load balancing? -GLBP -GLBP for IPv6 -VRRPv3 -VRRPv2
-GLBP for IPv6
58. Which FHRP implementation is Cisco-proprietary and permits only one router in a group to forward IPv6 packets? -VRRPv3 -HSRP -HSRP for IPv6 -VRRPv2
-HSRP for IPv6
26. 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. Explanation: The HSRP first-hop router redundancy protocol is Cisco proprietary and supports standby and active devices. VRRPv2 and VRRPv3 are nonproprietary. GLBP is Cisco proprietary and supports load balancing between a group of redundant routers.
55. Which FHRP implementation is a nonproprietary protocol which relies on ICMP to provide IPv4 redundancy? -VRRPv3 -GLBP for IPv6 -IRDP -GLBP
-IRDP
17. 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. Explanation: 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
35. 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 uses ICMP to allow IPv4 hosts to locate routers that provide IPv4 connectivity to remote IP networks. -If the virtual router master fails, one router is elected as the virtual router master with the other routers acting as backups. -It is an open standard protocol.
-It is used within a group of routers for selecting an active device and a standby device to provide gateway services to a LAN. Explanation: It is VRRP that elects one router as the virtual router master, with the other routers acting as backups in case the virtual router master fails. HSRP is a Cisco-proprietary protocol. IRDP uses ICMP messages to allow IPv4 hosts to locate routers that provide IPv4 connectivity to other (nonlocal) IP networks. HSRP selects active and standby routers to provide gateway services to hosts on a LAN.
20. 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. 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 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.
54. 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-if)# ipv6 enable -R1(config)# ipv6 unicast-routing -R1(config-if)# ipv6 nd other-config-flag
-R1(config)# ipv6 unicast-routing Explanation: A PC that is configured to use the SLAAC method obtains the IPv6 prefix and prefix length from a router. When the PC boots, it sends an RS message to inform the routers that it needs the information. A router sends an RA message that includes the required information. For a router to be able to send RA messages, it must be enabled as an IPv6 router by the unicast ipv6-routing command in global configuration mode. The other options are not used to enable IPv6 routing on a router.
45. 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 server statistics -Router# show ip dhcp binding -Router# show ip dhcp pool
-Router# show ip dhcp binding Explanation: The show ip dhcp binding command will show the leases, including IP addresses, MAC addresses, lease expiration, type of lease, client ID, and user name.
16. 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. Explanation: Like IP addressing, there is also a special MAC address for broadcast purposes: FF-FF-FF-FF-FF-FF. When a DHCP client needs to send a DHCP Discover message in order to seek DHCP servers, the client will use this MAC address as the destination MAC address in the Ethernet frame. It does this because it has no knowledge of the IP and MAC addresses of DHCP servers.
14. 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. Explanation: In a SOHO environment, a wireless router connects to an ISP via a DSL or cable modem. The IP address between the wireless router and ISP site is typically assigned by the ISP through DHCP. The DSL modem does not manage IP address allocation.
48. 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. -The Cisco router will automatically create a DHCP pool using a /28 mask. -The Cisco router will allow only the specified IP addresses to be leased to clients.
-The Cisco router will exclude 15 IP addresses from being leased to DHCP clients. Explanation: The ip dhcp excluded-address command is followed by the first and the last addresses to be excluded from being leased to DHCP clients.
3. 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.
12. 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. Explanation: When a Windows PC cannot communicate with an IPv4 DHCP server, the computer automatically assigns an IP address in the 169.254.0.0/16 range. Any other device on the same network that receives an address in the same range is reachable.
34. 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. -The host checks the local neighbor cache for the learned address and if the address is not cached, it it considered unique. -The host sends an ARP broadcast to the local link and if no hosts send a reply, 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. Explanation: Before a host can actually configure and use an IPv6 address learned through SLAAC or DHCP, the host must verify that no other host is already using that address. To verify that the address is indeed unique, the host sends an ICMPv6 neighbor solicitation to the address. If no neighbor advertisement is returned, the host considers the address to be unique and configures it on the interface.
64. Which FHRP implementation is a nonproprietary IPv4-only election protocol with limited scalability? -VRRPv2 -GLBP -GLBP for IPv6 -IRDP
-VRRPv2
18. 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. Explanation: The client broadcasts a DHCPDISCOVER message to identify any available DHCP servers on the network. A DHCP server replies with a DHCPOFFER message. This message offers to the client a lease that contains such information as the IP address and subnet mask to be assigned, the IP address of the DNS server, and the IP address of the default gateway. After the client receives the lease, the received information must be renewed through another DHCPREQUEST message prior to the lease expiration.
53. 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 10.0.0.0/8 network. -Workstations are assigned with IP addresses in the 169.254.0.0/16 network. -Workstations are assigned with the IP address 0.0.0.0.
-Workstations are assigned with IP addresses in the 169.254.0.0/16 network. Explanation: When workstations are configured with obtaining IP address automatically but DHCP servers are not available to respond to the requests, a workstation can assign itself an IP addresses from the 169.254.0.0/16 network.
10. 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 Explanation: When the IP address lease time of the DHCP client expires, it sends a DHCPREQUEST unicast message directly to the DHCPv4 server that originally offered the IPv4 address.
5. Place the options in the following order: -the DHCP server confirming that the lease has been accepted -a DHCP server responding to the initial request by a client -the client accepting the IP address provided by the DHCP server -a client initiating a message to find a DHCP server
-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
13. 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 Explanation: 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. 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
46. What is the reason that an ISP commonly assigns a DHCP address to a wireless router in a SOHO environment? -better network performance -better connectivity -easy IP address management -easy configuration on ISP firewall
-easy IP address management Explanation:In a SOHO environment, a wireless router connects to the ISP via a DSL or cable modem. The IP address between the wireless router and ISP site is typically assigned by the ISP through DHCP. This method facilitates the IP addressing management in that IP addresses for clients are dynamically assigned so that if a client is dropped, the assigned IP address can be easily reassigned to another client.
9. 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 Explanation: The ip address dhcp interface configuration command configures an Ethernet interface as a DHCP client. The service dhcp global configuration command enables the DHCPv4 server process on the router. The ip helper-address command is issued to enable DHCP relay on the router. The ip dhcp pool command creates the name of a pool of addresses that the server can assign to hosts.