Curated

IP Connectivity (3.1–3.5)

0 votes

Questions77

  1. Question 51

    IP Connectivity

    A router has routes for 192.0.2.0/26, 192.0.2.64/26, and 0.0.0.0/0. Which route matches a packet destined for 192.0.2.130?

    Show the answer

    Correct answerC. 0.0.0.0/0

    AWhy not this: This prefix covers 192.0.2.0 through 192.0.2.63, excluding the destination.

    BWhy not this: This prefix covers 192.0.2.64 through 192.0.2.127, excluding the destination.

    CWhy this is right: The default route matches the destination when neither more-specific prefix matches.

    DWhy not this: The installed default route provides a match even though neither /26 matches.

    Neither /26 contains 192.0.2.130, so the default route is the only match. The 192.0.2.64/26 route ends at 192.0.2.127; sharing the first three octets does not make it a match.

    Open this question
  2. Question 52

    IP Connectivity

    R1 has two OSPF paths to the same prefix that differ only in R1's outgoing interface: FastEthernet (100 Mbps) toward A and GigabitEthernet (1 Gbps) toward B. With OSPF's default reference bandwidth of 100 Mbps, which next hops does R1 install?

    Show the answer

    Correct answerC. A and B

    AWhy not this: FastEthernet does not cost less than GigabitEthernet; both cost 1 at the default reference bandwidth.

    BWhy not this: B's 0.1 result is rounded up to the minimum cost of 1, so B does not beat A.

    CWhy this is right: Both interfaces cost 1 at a 100 Mbps reference, so the equal-cost paths are installed together.

    DWhy not this: OSPF installs every lowest-cost path up to its path limit; arrival order does not break the tie.

    OSPF cost is the reference bandwidth divided by interface bandwidth, with a minimum of 1. With the default 100 Mbps reference, FastEthernet and GigabitEthernet both cost 1, so the paths tie and both are installed for equal-cost load sharing. Raising the reference bandwidth (auto-cost reference-bandwidth) on every router lets OSPF tell them apart.

    Open this question
  3. Question 53

    IP Connectivity

    Which IPv4 prefix length identifies a host route, the most specific possible match for a destination?

    Show the answer

    Correct answerB. /32

    AWhy not this: A /0 is a default route and specifies no destination address bits.

    BWhy this is right: A /32 specifies one IPv4 address and is the most specific possible IPv4 prefix.

    CWhy not this: A /24 identifies a block containing 256 IPv4 addresses.

    DWhy not this: A /16 identifies a block containing 65,536 IPv4 addresses.

    A /32 specifies all 32 bits of one IPv4 address, making it a host route. A /24 identifies a block of 256 addresses rather than one destination.

    Open this question
  4. Question 54

    IP Connectivity

    Which destination address and subnet mask identify an IPv4 static default route?

    Show the answer

    Correct answerA. 0.0.0.0 0.0.0.0

    AWhy this is right: The all-zero destination and mask identify the IPv4 default prefix, 0.0.0.0/0.

    BWhy not this: A mask of 255.255.255.255 creates a /32 host route rather than a default route.

    CWhy not this: This identifies the specific network 10.0.0.0/8 rather than the default prefix.

    DWhy not this: This identifies the specific network 0.0.0.0/24 rather than the default prefix.

    An IPv4 default route uses destination 0.0.0.0 with mask 0.0.0.0, giving a prefix length of zero. A mask of 255.255.255.255 defines a host route, not a default route.

    Open this question
  5. Question 55

    IP Connectivity

    R1 must route the four /24 networks from 10.44.16.0 through 10.44.19.0 via 192.0.2.2, leaving traffic for every other network on its existing default route. Which single static route meets this requirement?

    Show the answer

    Correct answerB. ip route 10.44.16.0 255.255.252.0 192.0.2.2

    AWhy not this: The /23 covers only third-octet values 16–17, leaving two required networks on the default route.

    BWhy this is right: The /22 covers exactly the four required /24 networks and excludes all other destinations.

    CWhy not this: The /21 covers third-octet values 16–23, redirecting four additional /24 networks.

    DWhy not this: The /24 covers only 10.44.16.0/24, leaving three required networks on the default route.

    The /22 network route covers exactly 10.44.16.0 through 10.44.19.255 and takes precedence over the default route for those destinations. A /21 also includes networks 10.44.20.0 through 10.44.23.0, redirecting traffic that must remain on the default route.

    Open this question
  6. Question 56

    IP Connectivity

    R1 has a static default route configured with only next hop 192.0.2.2, but no routing-table entry can resolve that next hop. Why is the default route absent from the routing table?

    Show the answer

    Correct answerA. Its next-hop address cannot be resolved.

    AWhy this is right: Without a route resolving the next hop, the router cannot install this static default route.

    BWhy not this: Specific network routes can coexist with a default route; they do not prevent its installation.

    CWhy not this: A static default route normally uses administrative distance 1; exceeding 110 is not an installation requirement.

    DWhy not this: A next-hop-only IPv4 default route is valid when its next hop can be resolved.

    A next-hop-only static default route requires a resolvable next-hop address before it can be installed. An exit interface need not be explicitly configured when the router can resolve the next hop through its routing table.

    Open this question
  7. Question 57

    IP Connectivity

    R1 lists R2 in INIT, and R2's captured Hello packets do not list R1's router ID. Which condition most likely explains this state?

    Show the answer

    Correct answerD. R1's Hello packets cannot reach R2.

    AWhy not this: R1 has received R2's Hello packets, as shown by the INIT entry and captured Hellos.

    BWhy not this: Priority affects DR/BDR election, not whether received Hello packets list a neighbor.

    CWhy not this: MTU mismatches typically affect database description exchange after bidirectional communication is established.

    DWhy this is right: R2 cannot list R1 as a neighbor if R1's Hello packets do not reach it.

    INIT means a router has received a neighbor's Hello but has not seen its own router ID in that neighbor's Hello. R1 can hear R2, but R2 apparently cannot hear R1; an MTU mismatch typically blocks a later adjacency stage.

    Open this question
  8. Question 58

    IP Connectivity

    Two OSPF routers on a point-to-point Ethernet link remain in EXSTART with interface MTUs of 1500 and 1400 bytes. Their area, timers and authentication match, and their router IDs are unique; which change should restore adjacency without bypassing OSPF checks?

    Show the answer

    Correct answerB. Configure matching interface MTUs.

    AWhy not this: Broadcast operation still uses database description packets and does not resolve incompatible MTUs.

    BWhy this is right: Matching MTUs allows database description exchange to proceed without disabling MTU checking.

    CWhy not this: Interface priority controls DR/BDR eligibility and does not resolve an MTU mismatch.

    DWhy not this: OSPF router IDs must be unique; duplicating them would introduce another problem.

    An MTU mismatch can prevent database description exchange from completing, leaving neighbors in EXSTART or EXCHANGE. Matching interface MTUs resolves the cause; changing the network type does not remove the mismatch.

    Open this question
  9. Question 59

    IP Connectivity

    What is the default OSPFv2 Hello interval on an interface using the point-to-point network type?

    Show the answer

    Correct answerA. 10 seconds

    AWhy this is right: OSPFv2 sends Hello packets every 10 seconds by default on point-to-point interfaces.

    BWhy not this: Forty seconds is the default dead interval for the point-to-point network type.

    CWhy not this: Thirty seconds is the default Hello interval for OSPF nonbroadcast networks, not point-to-point networks.

    DWhy not this: Five seconds is not the default Hello interval for the point-to-point network type.

    The default OSPFv2 Hello interval for a point-to-point interface is 10 seconds. The 40-second value is its default dead interval, not its Hello interval.

    Open this question
  10. Question 60

    IP Connectivity

    A route for 172.22.40.0 must match both 172.22.40.10 and 172.22.47.200 but exclude 172.22.48.1. Which mask provides the most specific matching route?

    Show the answer

    Correct answerD. 255.255.248.0

    AWhy not this: A /22 starting at 172.22.40.0 ends at 172.22.43.255, so it misses 172.22.47.200.

    BWhy not this: A /19 covering the required destinations spans third-octet values 32–63 and includes 172.22.48.1.

    CWhy not this: A /20 covering both destinations spans third-octet values 32–47, making it less specific than the required /21.

    DWhy this is right: A /21 starting at 172.22.40.0 covers 172.22.40.0–172.22.47.255 and excludes 172.22.48.1.

    The /21 mask, 255.255.248.0, covers third-octet values 40–47. A /22 cannot include both required destinations; a /20 is less specific, and a /19 also includes the excluded destination.

    Open this question
  11. Question 61

    IP Connectivity

    A routing-table entry describes a destination network as directly connected. What does this imply about its next hop?

    Show the answer

    Correct answerC. No intermediate router is required.

    AWhy not this: A gateway of last resort is used when no more specific route matches, not to reach a directly connected network.

    BWhy not this: A directly connected route does not require a neighbor learned through a routing protocol.

    CWhy this is right: The destination is reachable on an attached network without forwarding through another router.

    DWhy not this: The forwarding router is not an intermediate next-hop router for its own connected route.

    A directly connected destination can be reached through the attached interface without an intermediate router. The gateway of last resort is unnecessary because a matching connected route exists.

    Open this question
  12. Question 62

    IP Connectivity

    A routing-table entry lists 192.168.12.64/27. Which range of usable host addresses does this network contain?

    Show the answer

    Correct answerC. 192.168.12.65 to 192.168.12.94

    AWhy not this: This range ends at .126, which fits a /26 block of 64 addresses, not a /27.

    BWhy not this: This range ends at .78, which fits a /28 block of 16 addresses, not a /27.

    CWhy this is right: A /27 block of 32 starts at .64 and ends at .95; the addresses between them are usable hosts.

    DWhy not this: This is the whole block, including the network address .64 and the broadcast address .95.

    A /27 mask (255.255.255.224) leaves 5 host bits, a block of 32 addresses. 192.168.12.64 is the network address and 192.168.12.95 the broadcast address, so usable hosts run from .65 to .94.

    Open this question
  13. Question 63

    IP Connectivity

    R1 learns 10.20.0.0/16 through OSPF and also has a static route to 10.20.0.0/16 through a backup link with administrative distance 200. While OSPF is operational, which route forwards traffic to 10.20.5.10, and why?

    Show the answer

    Correct answerB. The OSPF route, because its administrative distance of 110 is lower than 200

    AWhy not this: Static routes win by default only because of their distance of 1; at 200 this static route loses to OSPF's 110.

    BWhy this is right: With identical prefixes the lower administrative distance wins, so the static route waits as a backup.

    CWhy not this: A lower administrative distance is preferred; a higher one marks the less trusted route source.

    DWhy not this: Routes from different sources do not share traffic; only the lowest administrative distance is installed.

    For the same prefix, the router installs the route with the lowest administrative distance, so OSPF (110) beats the static route (200). The static route floats as a backup and is installed only if the OSPF route is lost. A floating static must match the prefix length: a more specific static route would win by longest match whatever its distance.

    Open this question
  14. Question 64

    IP Connectivity

    R1 needs a static network route to the subnet containing 172.16.6.25/22. Which destination and mask should the route use?

    Show the answer

    Correct answerC. 172.16.4.0 255.255.252.0

    AWhy not this: The /32 mask creates a host route rather than a route to the entire subnet.

    BWhy not this: The /24 mask identifies a smaller subnet than the specified /22 network.

    CWhy this is right: The /22 subnet starts at 172.16.4.0 and includes 172.16.6.25.

    DWhy not this: The /16 mask includes many networks outside the specified subnet.

    A /22 mask is 255.255.252.0, placing 172.16.6.25 in the subnet 172.16.4.0–172.16.7.255. The /24 destination covers only part of that subnet.

    Open this question
  15. Question 65

    IP Connectivity

    What is the primary purpose of an OSPF router ID?

    Show the answer

    Correct answerD. Identify a router within the OSPF domain.

    AWhy not this: An area ID identifies an OSPF area, not an individual router.

    BWhy not this: A process ID identifies a locally configured OSPF process.

    CWhy not this: A subnet address identifies an IP network, not the OSPF router.

    DWhy this is right: The router ID uniquely identifies the router within the OSPF domain.

    The router ID is a 32-bit identifier that uniquely identifies a router within the OSPF domain. The process ID identifies a local OSPF process and does not serve as the router's protocol identity.

    Open this question
  16. Question 66

    IP Connectivity

    Before OSPF starts, an engineer explicitly configures router ID 10.0.0.7; the router has loopback address 192.168.1.1 and physical address 203.0.113.1. No interface uses 10.0.0.7. Which router ID will OSPF use?

    Show the answer

    Correct answerB. 10.0.0.7

    AWhy not this: A loopback address is considered only when no router ID is explicitly configured.

    BWhy this is right: The explicitly configured router ID takes precedence and does not require a matching interface address.

    CWhy not this: A physical interface address does not override an explicitly configured router ID.

    DWhy not this: The configured identifier is valid even though no interface has that address.

    An explicitly configured router ID takes precedence over interface addresses and need not be assigned to an interface. Loopback-based selection applies only when no router ID is explicitly configured.

    Open this question
  17. Question 67

    IP Connectivity

    On a broadcast segment, R1 is DR, R2 is BDR with priority 10, and R3 is DROTHER with priority 100. If R1 fails and OSPF detects the failure, which roles result after convergence?

    Show the answer

    Correct answerA. R2 becomes DR; R3 becomes BDR.

    AWhy this is right: The existing BDR succeeds the failed DR, and the remaining eligible router becomes BDR.

    BWhy not this: The existing BDR succeeds the failed DR rather than being demoted to DROTHER.

    CWhy not this: A higher-priority DROTHER does not bypass the existing BDR when the DR fails.

    DWhy not this: OSPF elects a replacement BDR when another eligible router is available.

    The existing BDR takes over when the DR fails, and the remaining eligible router becomes BDR. R3's higher priority does not override R2's succession as the existing BDR.

    Open this question
  18. Question 68

    IP Connectivity

    R1 and R2 participate in a fresh DR election on a broadcast segment. R1 has priority 20 and router ID 1.1.1.1; R2 has priority 10 and router ID 2.2.2.2. Which roles result?

    Show the answer

    Correct answerC. R1 becomes DR; R2 becomes BDR.

    AWhy not this: Router ID breaks equal-priority ties; it does not override a higher interface priority.

    BWhy not this: R2 is eligible and becomes BDR rather than DROTHER.

    CWhy this is right: R1 has the higher interface priority, and R2 is the other eligible router.

    DWhy not this: R2's higher router ID does not outweigh R1's higher priority, and R1 remains eligible.

    OSPF compares interface priority before router ID when electing the DR and BDR. R1's higher priority makes it DR; R2 remains eligible and becomes BDR despite having the higher router ID.

    Open this question
  19. Question 69

    IP Connectivity

    OSPF learns three intra-area paths to the same prefix with costs of 20, 20, and 30 through different next hops. With two equal-cost paths permitted, which paths can appear in the routing table?

    Show the answer

    Correct answerC. Both paths with a cost of 20

    AWhy not this: The cost-30 path is worse than either available cost-20 path.

    BWhy not this: Route age does not override the equal lowest OSPF costs in this situation.

    CWhy this is right: Both paths share the lowest cost and fit within the configured multipath limit.

    DWhy not this: The numerical next-hop address does not replace equal-cost path selection.

    The two lowest-cost paths have equal OSPF metrics and can both be installed when multipath is permitted. Selecting the lowest next-hop address is not how OSPF chooses between these equal-cost paths.

    Open this question
  20. Question 70

    IP Connectivity

    An IOS router has IP routing enabled and an ip default-gateway address configured, but no default route appears in its routing table. What should show ip route report?

    Show the answer

    Correct answerD. Gateway of last resort is not set

    AWhy not this: The ip default-gateway setting does not establish the routing default when IP routing is enabled.

    BWhy not this: An interface address does not automatically become a gateway of last resort.

    CWhy not this: A connected neighbor is not automatically selected as a default gateway.

    DWhy this is right: No routing-table default has been established, so the gateway of last resort is unset.

    With IP routing enabled, ip default-gateway does not establish a routing-table default route, so the gateway of last resort remains unset. That setting supplies a gateway for a device operating without IP routing.

    Open this question
  21. Question 71

    IP Connectivity

    A router learns the same prefix from two sources with administrative distances of 200 and 255. What should an administrator conclude? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersD. The route with distance 255 is unusable.E. The route with distance 200 is eligible for installation.

    AWhy not this: Different administrative distances do not establish equal-cost paths.

    BWhy not this: The routes have the same prefix, so their network masks are identical.

    CWhy not this: Administrative distance expresses source trustworthiness, not hop count.

    DWhy this is right: Cisco treats an administrative distance of 255 as unusable.

    EWhy this is right: An administrative distance of 200 permits installation if the route otherwise qualifies.

    FWhy not this: Higher administrative distance means lower preference, and 255 prevents installation.

    The route with administrative distance 200 is eligible, while a distance of 255 makes a route unusable. Equal-cost installation does not follow from learning the same prefix through sources with different administrative distances.

    Open this question
  22. Question 72

    IP Connectivity

    In the route entry O 10.20.0.0/16 [110/35] via 192.0.2.2, which value is the metric?

    Show the answer

    Correct answerB. 35

    AWhy not this: The value after the destination slash is the prefix length.

    BWhy this is right: The second bracketed value is the routing metric.

    CWhy not this: The first bracketed value is the administrative distance.

    DWhy not this: The address after 'via' identifies the next hop.

    Cisco displays bracketed route values as [administrative distance/metric], so 35 is the metric. The value 110 is the administrative distance, not the OSPF cost.

    Open this question
  23. Question 73

    IP Connectivity

    A router has a static route to 192.0.2.0/24 and learns the identical prefix through eBGP, OSPF, and RIP. With default administrative distances, which source supplies the installed route?

    Show the answer

    Correct answerD. The static route

    AWhy not this: RIP has default administrative distance 120, so it is less preferred than the static route.

    BWhy not this: OSPF has default administrative distance 110, so it is less preferred than the static route.

    CWhy not this: eBGP has default administrative distance 20, which is higher than the static route's distance of 1.

    DWhy this is right: A static route has default administrative distance 1, the lowest among these sources.

    The static route has administrative distance 1, lower than eBGP (20), OSPF (110), and RIP (120). Although eBGP is preferred over these other dynamic sources, the static route is preferred for the identical prefix.

    Open this question
  24. Question 74

    IP Connectivity

    R1 learns 10.60.0.0/16 through OSPF and external EIGRP, both using default administrative distances. A static route through a third, reachable next hop must become active only when both learned routes are withdrawn. Which administrative distance should the static route use?

    Show the answer

    Correct answerA. 200

    AWhy this is right: A distance of 200 is higher than both learned routes' distances and still permits installation when both are withdrawn.

    BWhy not this: A distance of 100 would make the static route preferred over both OSPF and external EIGRP.

    CWhy not this: A distance of 255 prevents the static route from being installed, even after both learned routes are withdrawn.

    DWhy not this: A distance of 150 would make the static route preferred over external EIGRP after OSPF is withdrawn.

    An administrative distance of 200 makes the static route less preferred than OSPF (110) and external EIGRP (170), but eligible when both disappear. A distance of 255 prevents installation, so it cannot provide backup connectivity.

    Open this question
  25. Question 75

    IP Connectivity

    Which routing table component indicates the trustworthiness of a route's source?

    Show the answer

    Correct answerA. Administrative distance

    AWhy this is right: Administrative distance ranks route sources by trustworthiness, with lower values preferred.

    BWhy not this: The prefix identifies the destination network, not the trustworthiness of the route's source.

    CWhy not this: A metric ranks paths within a routing protocol, not the trustworthiness of different route sources.

    DWhy not this: The code identifies how the route was learned, rather than ranking the source's trustworthiness.

    Administrative distance ranks the trustworthiness of route sources; lower values are preferred. A metric ranks paths within a routing protocol rather than comparing the trustworthiness of different sources.

    Open this question
  26. Question 76

    IP Connectivity

    R1 already routes 10.20.30.0/24 toward a branch, but must discard traffic destined for 10.20.30.9 without affecting other branch addresses. Which static route should be added?

    Show the answer

    Correct answerA. ip route 10.20.30.9 255.255.255.255 Null0

    AWhy this is right: The /32 matches only 10.20.30.9, and Null0 discards packets matching that route.

    BWhy not this: The existing /24 is more specific than the default, so traffic for the specified host would still follow the branch route.

    CWhy not this: The /24 destination covers the whole branch subnet rather than only the specified host.

    DWhy not this: The /32 identifies the host, but a next-hop address forwards packets instead of intentionally discarding them.

    A /32 static route to Null0 discards traffic for exactly one destination and takes precedence over the existing /24. A /24 route to Null0 would discard traffic for the entire branch subnet rather than just the specified host.

    Open this question
  27. Question 77

    IP Connectivity

    R1's static route to 10.40.0.0/16 specifies only an Ethernet exit interface, causing R1 to ARP for remote destinations rather than neighbor 192.0.2.2. Which change preserves the destination prefix and makes R1 resolve the neighbor's MAC address?

    Show the answer

    Correct answerA. Add 192.0.2.2 as the route's next hop.

    AWhy this is right: An explicit next hop directs Ethernet address resolution to the neighbor while preserving the destination network.

    BWhy not this: An interface-only default route still causes destination ARP requests and changes which destinations the route covers.

    CWhy not this: A host route to the neighbor matches the neighbor's address, not the remote 10.40.0.0/16 network.

    DWhy not this: Administrative distance affects route preference, not which IP address is resolved through ARP.

    Adding the neighbor as the next hop makes R1 resolve that neighbor's MAC address while retaining the network route. An interface-only default route still treats destinations as directly reachable on Ethernet and changes the destination coverage.

    Open this question