Curated

IP Connectivity (3.1–3.5)

0 votes

Questions77

  1. Question 1

    IP Connectivity

    A router has these routes in its table: 10.0.0.0/8 via OSPF, 10.1.0.0/16 via EIGRP, and 10.1.1.0/24 via RIP. A packet arrives destined for 10.1.1.77. Which route does the router use?

    Show the answer

    Correct answerC. 10.1.1.0/24 via RIP

    AWhy not this: The /8 matches but is the least specific route, so it loses to longer matches.

    BWhy not this: The /16 matches the address but is less specific than the /24, so it is not chosen.

    CWhy this is right: The /24 is the longest matching prefix, so it wins regardless of the protocol that learned it.

    DWhy not this: Administrative distance is only a tiebreaker between sources of the identical prefix, not across different prefix lengths.

    The router picks the matching route with the longest prefix length, and /24 is the most specific match for 10.1.1.77. Administrative distance only compares sources for the same prefix, so RIP's higher distance does not matter here.

    Open this question
  2. Question 2

    IP Connectivity

    A router learns the same prefix, 192.168.50.0/24, from EIGRP (internal), OSPF and RIP. Which route does it install in the routing table?

    Show the answer

    Correct answerD. The EIGRP route

    AWhy not this: Metrics from different protocols use different scales, so they cannot be compared to choose between sources.

    BWhy not this: RIP has an administrative distance of 120, the highest of the three, so it loses.

    CWhy not this: OSPF has an administrative distance of 110, which is higher than EIGRP's 90.

    DWhy this is right: Internal EIGRP has an administrative distance of 90, the lowest of the three, so it is installed.

    For identical prefixes from different sources, the router prefers the lowest administrative distance: internal EIGRP is 90, OSPF 110, RIP 120. Metrics are not comparable between protocols, so the lowest raw metric does not decide.

    Open this question
  3. Question 3

    IP Connectivity

    A router learns 172.16.0.0/16 via OSPF with metric 20 and 172.16.8.0/21 via EIGRP, and also has a static default route. A packet arrives for 172.16.12.5. Which route does the router use?

    Show the answer

    Correct answerB. The EIGRP route to 172.16.8.0/21

    AWhy not this: The default route is the least specific match and is used only when nothing else matches.

    BWhy this is right: The /21 spans 172.16.8.0-172.16.15.255, includes the destination, and has the longest matching prefix.

    CWhy not this: Routes from different protocols coexist in the table, and the longest match is chosen among all of them.

    DWhy not this: The /16 matches but is shorter than the /21, so the more specific route overrides it.

    The 172.16.8.0/21 route covers 172.16.8.0 to 172.16.15.255, so it matches 172.16.12.5 and is longer than the /16. The OSPF route also matches but is less specific; its lower metric is not considered.

    Open this question
  4. Question 4

    IP Connectivity

    Hosts in a VLAN use 10.1.1.1 as their default gateway, which is the address of one router. What does an FHRP such as HSRP provide in this design?

    Show the answer

    Correct answerB. A shared virtual gateway IP address that moves to a standby router if the active router fails

    AWhy not this: Address translation is NAT, a separate function that FHRPs do not perform.

    BWhy this is right: The virtual IP is owned by the active router and transfers to a standby router on failure, so hosts keep the same gateway.

    CWhy not this: Hosts do not receive routing updates from an FHRP; it only provides gateway redundancy.

    DWhy not this: Hosts use one virtual gateway address; FHRPs do not make hosts alternate between two configured gateways.

    An FHRP presents a virtual IP (and virtual MAC) as the default gateway. If the active router fails, a standby router takes over that address, so hosts need no change. Giving hosts two gateway addresses is not how FHRPs work; hosts keep a single gateway.

    Open this question
  5. Question 5

    IP Connectivity

    A network uses HSRP with two routers. Router A has priority 110 and Router B has the default priority. Which router becomes the active router, and why?

    Show the answer

    Correct answerA. Router A, because it has the higher priority

    AWhy this is right: The highest HSRP priority wins the election; 110 beats the default of 100.

    BWhy not this: IP address only breaks a priority tie, and the higher IP address wins that tie.

    CWhy not this: Boot order matters only when the other router is already active and preemption is off; priority is the main election criterion.

    DWhy not this: A lower priority loses the election; HSRP prefers the higher value.

    HSRP elects the router with the highest priority as active; the default priority is 100, so Router A at 110 wins. Lower priority does not win, and IP address is only a tiebreaker when priorities are equal.

    Open this question
  6. Question 6

    IP Connectivity

    Two routers run an FHRP for a VLAN. Traffic from hosts must be load-balanced across both routers using one virtual IP address, with each router answering ARP requests with a different virtual MAC. Which protocol meets this requirement?

    Show the answer

    Correct answerC. GLBP

    AWhy not this: VRRP has one master router per group forwarding traffic, with backups idle until the master fails.

    BWhy not this: STP prevents Layer 2 loops and is not a first hop redundancy protocol.

    CWhy this is right: GLBP's active virtual gateway hands out different virtual MACs, so several routers forward for one virtual IP.

    DWhy not this: HSRP has one active router per group forwarding traffic, with the standby idle unless the active fails.

    GLBP lets multiple routers forward traffic for one virtual IP by having the active virtual gateway reply to ARP requests with different virtual MAC addresses. HSRP and VRRP use a single active or master forwarder per group, so they do not load-balance within one group.

    Open this question
  7. Question 7

    IP Connectivity

    In the entry O 10.4.0.0/16 [110/2200] via 10.0.0.254, 00:01:10, Gi0/1, which part is the prefix?

    Show the answer

    Correct answerB. 10.4.0.0/16

    AWhy not this: Gi0/1 is the exit interface used to reach the next hop.

    BWhy this is right: The prefix is the destination network address plus its prefix length.

    CWhy not this: The bracketed values are the administrative distance (110) and the metric (2200).

    DWhy not this: 10.0.0.254 follows via and is the next-hop address, not the destination network.

    The prefix is the destination network address together with its length, here 10.4.0.0/16. 10.0.0.254 is the next hop, and [110/2200] is the AD and metric.

    Open this question
  8. Question 8

    IP Connectivity

    A router displays this entry: D EX 172.16.0.0/16 [170/2816] via 10.0.0.2, GigabitEthernet0/1. What does the D EX code identify?

    Show the answer

    Correct answerB. An EIGRP route that was redistributed from outside EIGRP

    AWhy not this: OSPF routes use the O code and E1 or E2 for externals, not D EX.

    BWhy this is right: D means EIGRP and EX means external, so the route was redistributed in; AD 170 confirms it.

    CWhy not this: An internal EIGRP route is coded plain D and has AD 90, not 170.

    DWhy not this: A locally created EIGRP summary is coded D with AD 5 and points to Null0.

    D is the EIGRP code and EX marks an external route, one redistributed into EIGRP from another source. It carries AD 170, unlike internal EIGRP routes at AD 90. An OSPF external route would be coded O E1 or O E2.

    Open this question
  9. Question 9

    IP Connectivity

    A router holds these routes: S 10.1.0.0/16 [1/0] via 192.0.2.1; D 10.1.1.0/24 [90/3072] via 192.0.2.2; O 10.1.1.128/25 [110/20] via 192.0.2.3; S* 0.0.0.0/0 [1/0] via 192.0.2.4. Which entry forwards a packet destined to 10.1.1.200?

    Show the answer

    Correct answerB. 10.1.1.128/25 via 192.0.2.3

    AWhy not this: The default route is used only when no more specific prefix matches.

    BWhy this is right: The /25 covers 10.1.1.128-255 and is the longest matching prefix, so it wins despite the higher AD.

    CWhy not this: The /24 matches but is shorter than the /25, so it loses; its lower AD is irrelevant.

    DWhy not this: The /16 matches, but its AD of 1 does not override a longer prefix.

    10.1.1.200 matches the /16, /24, /25 and default prefixes, and the router picks the longest matching prefix, the /25. AD only chooses between routes with the same prefix, so the static /16 with AD 1 does not win.

    Open this question
  10. Question 10

    IP Connectivity

    In show ip route output, which code marks the /32 entry for the IP address configured on the router's own interface?

    Show the answer

    Correct answerD. L

    AWhy not this: S marks a manually configured static route, not an interface address.

    BWhy not this: O marks a route learned through OSPF from another router.

    CWhy not this: C marks the directly connected network with its actual prefix length, not the /32 host address.

    DWhy this is right: L is the local code: a /32 host route for the interface's own IP address.

    The L code marks a local route, a /32 host route for the address assigned to the router's own interface. C marks the connected network with its real mask, so it is the tempting wrong answer.

    Open this question
  11. Question 11

    IP Connectivity

    Which packets does a router forward using a static default route?

    Show the answer

    Correct answerC. Packets whose destination matches no more specific route

    AWhy not this: Traffic to the router's own addresses is handled by local routes, not forwarded by a default route.

    BWhy not this: Connected networks already have their own specific entries, so they never need the default route.

    CWhy this is right: The default route is the fallback used when no more specific entry matches the destination.

    DWhy not this: Matching one single host address describes a host route with a /32 or /128 prefix.

    A default route is the least specific route and is used as a last resort when no other routing table entry matches the destination. It does not target one host or connected networks, which have their own more specific entries.

    Open this question
  12. Question 12

    IP Connectivity

    R1 reaches the 2001:db8:10::/64 network through R2 on GigabitEthernet0/1. R2's global address on that link is 2001:db8:1::2 and its link-local address is FE80::2. Which three commands correctly configure the static network route? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. ipv6 route 2001:db8:10::/64 GigabitEthernet0/1 FE80::2C. ipv6 route 2001:db8:10::/64 GigabitEthernet0/1 2001:db8:1::2D. ipv6 route 2001:db8:10::/64 2001:db8:1::2

    AWhy not this: A link-local next hop without an exit interface is rejected, since FE80::/10 addresses exist on every link.

    BWhy this is right: A link-local next hop is valid because the exit interface identifies the link it belongs to.

    CWhy this is right: A fully specified route with both the exit interface and a global next hop is valid.

    DWhy this is right: A recursive route with a global unicast next hop is valid and resolves through the connected /64.

    EWhy not this: The ip route command accepts IPv4 prefixes and next hops only; IPv6 static routes use ipv6 route.

    A global next-hop address alone is valid, and so is a global next hop with an exit interface. A link-local next hop is valid only when the exit interface is also given. Without it, the router cannot tell which link FE80::2 is on. The ip route command takes IPv4 addresses only.

    Open this question
  13. Question 13

    IP Connectivity

    R1 must reach the 10.20.30.0/24 LAN, which sits behind a neighbor router at 192.168.1.2. Which command configures the static route?

    Show the answer

    Correct answerD. ip route 10.20.30.0 255.255.255.0 192.168.1.2

    AWhy not this: The destination and next hop are swapped, so this does not describe the 10.20.30.0/24 network.

    BWhy not this: ip route needs a subnet mask; 0.0.0.255 is a wildcard mask and is not valid here.

    CWhy not this: A /32 mask makes this a host route for 10.20.30.1 only, not the whole /24 LAN.

    DWhy this is right: It gives the destination network, the 255.255.255.0 subnet mask and the next-hop address in the correct order.

    A static network route uses the destination network address, its subnet mask and then the next hop. The wildcard-mask version is wrong because ip route takes a subnet mask, not a wildcard mask.

    Open this question
  14. Question 14

    IP Connectivity

    R1 has a single uplink to an ISP router at 2001:db8:100::2. Which command sends all IPv6 traffic that matches no more specific route to the ISP?

    Show the answer

    Correct answerD. ipv6 route ::/0 2001:db8:100::2

    AWhy not this: ::/128 matches only the single unspecified address, so it is a host route, not a default.

    BWhy not this: This is a network route for the ISP link's own /64, not a catch-all for other destinations.

    CWhy not this: ::1/128 is a host route for the loopback address and does not match general traffic.

    DWhy this is right: ::/0 matches every IPv6 destination, so it acts as the default route toward the ISP.

    The IPv6 default route uses the ::/0 prefix, which matches every destination at the shortest possible prefix length. ::/128 is a host route for the unspecified address only, so it would not carry general traffic.

    Open this question
  15. Question 15

    IP Connectivity

    Which two statements describe the OSPF point-to-point network type? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Neighbors are discovered dynamically with multicast hellosD. No DR or BDR is elected on the link

    AWhy not this: A 30-second hello is the non-broadcast default; point-to-point uses 10 seconds.

    BWhy this is right: Hellos are sent to the multicast address 224.0.0.5, so neighbors are found automatically.

    CWhy not this: Priority only matters where a DR is elected, as on broadcast segments.

    DWhy this is right: Only two routers share the link, so no DR/BDR election takes place.

    EWhy not this: Restricting full adjacency to the DR and BDR applies to broadcast segments.

    FWhy not this: Static neighbor statements are needed on non-broadcast networks, not point-to-point.

    On a point-to-point link there are only two routers, so no DR or BDR is elected and neighbors are found with multicast hellos. Manual neighbor statements and a 30-second hello belong to the non-broadcast type.

    Open this question
  16. Question 16

    IP Connectivity

    Which parameter can differ between two routers on the same link without preventing an OSPFv2 neighbor adjacency?

    Show the answer

    Correct answerD. OSPF process ID

    AWhy not this: Hello intervals must match, or the hello packets are dropped and no adjacency forms.

    BWhy not this: Both routers must place the link in the same area, or hellos are rejected.

    CWhy not this: Neighbors on a shared segment must be in the same subnet with the same mask to accept hellos.

    DWhy this is right: The process ID has only local significance and is not carried in hellos for matching.

    The process ID is only locally significant, so neighbors can use different values. Hello interval, area ID and subnet (on broadcast links) must match, or hellos are rejected and no adjacency forms.

    Open this question
  17. Question 17

    IP Connectivity

    Three routers share an Ethernet segment in area 0. On R2, show ip ospf neighbor lists R1 as FULL/DR and R3 as 2WAY/DROTHER. What should the engineer conclude?

    Show the answer

    Correct answerB. Normal, as two DROTHER routers stay at 2-Way with each other

    AWhy not this: Mismatched hello or dead timers stop hellos being accepted, so R3 would not be listed as a neighbor at all.

    BWhy this is right: DROTHERs exchange databases only with the DR and BDR, so 2-Way between them is the normal end state.

    CWhy not this: An area ID mismatch causes hellos to be rejected, so no neighbor entry would appear.

    DWhy not this: A duplicate router ID breaks adjacency or database exchange; it does not produce a stable 2-Way DROTHER entry.

    On a broadcast segment, DROTHER routers form FULL adjacencies only with the DR and BDR, so 2-Way between two DROTHERs is the expected final state. Timer, area or router ID problems would prevent the neighbor from reaching 2-Way or FULL, or from appearing at all.

    Open this question
  18. Question 18

    IP Connectivity

    R1 and R2 are the only OSPF routers on a point-to-point Ethernet link in area 0. The engineer wants no DR/BDR election and FULL adjacency without neighbor statements. Which command on both interfaces meets this?

    Show the answer

    Correct answerB. ip ospf network point-to-point

    AWhy not this: The non-broadcast type needs manual neighbor statements and elects a DR, so it fails both requirements.

    BWhy this is right: The point-to-point type has no election and forms FULL through multicast hellos, with no neighbor statements.

    CWhy not this: With priority 0 on both, no router can be DR, so the pair stays in 2-Way and never reaches FULL.

    DWhy not this: The broadcast type still elects a DR and BDR, so it does not meet the requirement.

    The point-to-point network type skips DR/BDR election and discovers neighbors by multicast hello, so both routers reach FULL. Priority 0 on both leaves no DR, so the routers stay in 2-Way.

    Open this question
  19. Question 19

    IP Connectivity

    A router has the static route ip route 172.16.5.0 255.255.255.0 10.0.0.2 and receives a packet for 172.16.5.9 on an Ethernet link. Which address does it ARP for?

    Show the answer

    Correct answerC. 10.0.0.2

    AWhy not this: The final destination is on a remote network; the frame is addressed to the next hop instead.

    BWhy not this: The gateway of last resort applies only when no specific route matches, and this route does.

    CWhy this is right: The next-hop address is the directly connected device that receives the frame, so its MAC is needed.

    DWhy not this: 172.16.5.0 is the prefix of the route and is not a host address to resolve.

    The route's next hop is 10.0.0.2, so the router needs that device's MAC address to build the Ethernet frame and ARPs for it. It does not ARP for the final destination, which is not on the local segment. No default route is involved.

    Open this question
  20. Question 20

    IP Connectivity

    In a show ip route entry, what does the IP address after the word "via" identify?

    Show the answer

    Correct answerA. The next-hop address

    AWhy this is right: The via address is the neighbouring router that receives packets matching the route.

    BWhy not this: The mask appears as a prefix length after the destination network, not after via.

    CWhy not this: The destination network is the prefix at the start of the route entry.

    DWhy not this: The local exit interface is named at the end of the entry, not after via.

    The address after "via" is the next hop, the neighbouring router to which packets for that prefix are sent. The destination network appears at the start of the entry, and the local interface appears at the end.

    Open this question
  21. Question 21

    IP Connectivity

    In the routing table entry 192.168.10.0/24, what does the /24 represent?

    Show the answer

    Correct answerA. The network mask length that sets the network portion

    AWhy this is right: The /24 counts the leading 1 bits in the mask, here 255.255.255.0, so it marks the network portion.

    BWhy not this: The metric is the second number inside the brackets and compares paths within one protocol.

    CWhy not this: Administrative distance ranks route sources and is the first number inside the brackets, not the /24.

    DWhy not this: The next router is the address after 'via', not the number after the slash.

    The /24 is the prefix length, a shorthand for the network mask 255.255.255.0. It shows how many leading bits identify the network. Administrative distance and metric appear separately inside square brackets.

    Open this question
  22. Question 22

    IP Connectivity

    A router has routes to 10.1.0.0/16, 10.1.1.0/24 and 10.1.1.128/25. Which three destinations are forwarded using the 10.1.1.0/24 route? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. 10.1.1.5D. 10.1.1.127F. 10.1.1.100

    AWhy this is right: 10.1.1.5 is inside 10.1.1.0/24 and below .128, so the /25 does not match.

    BWhy not this: 10.1.1.200 lies in 10.1.1.128/25, whose longer mask is preferred over the /24.

    CWhy not this: 10.1.2.9 is outside 10.1.1.0/24 and matches only the shorter /16 route.

    DWhy this is right: 10.1.1.127 is the top of the lower half; the /25 begins at .128, so the /24 wins.

    EWhy not this: 10.1.1.130 falls inside 10.1.1.128/25, so the longer /25 mask takes it.

    FWhy this is right: 10.1.1.100 is inside 10.1.1.0/24 and below .128, so the /24 is the longest match.

    The router uses the matching route with the longest mask. Addresses 10.1.1.0 to 10.1.1.127 match the /24 but not the /25, which starts at .128. Addresses at .128 and above use the /25, and 10.1.2.9 matches only the /16.

    Open this question
  23. Question 23

    IP Connectivity

    What does a static host route match?

    Show the answer

    Correct answerD. Exactly one destination address

    AWhy not this: That describes a network route to a subnet, which matches many addresses, not one.

    BWhy not this: A host route is not tied to classful boundaries; its prefix is /32 or /128.

    CWhy not this: That describes a default route, the last-resort match with a /0 prefix.

    DWhy this is right: A host route has a full-length prefix, so only one destination address matches it.

    A host route uses a full-length prefix (/32 in IPv4, /128 in IPv6), so it matches one destination address only. A default route is the one that matches any destination without a more specific route.

    Open this question
  24. Question 24

    IP Connectivity

    R1 must send traffic for the single IPv6 address 2001:db8:50::7 to next hop 2001:db8:1::2. Which command configures this?

    Show the answer

    Correct answerA. ipv6 route 2001:db8:50::7/128 2001:db8:1::2

    AWhy this is right: The /128 prefix length matches exactly one IPv6 address, which is an IPv6 host route.

    BWhy not this: A /127 would match two addresses, so it is not a host route.

    CWhy not this: ::/0 is the IPv6 default route and matches all destinations without a better route.

    DWhy not this: A /64 is a network route and would also cover every other host in 2001:db8:50::/64.

    An IPv6 host route uses a /128 prefix, which matches exactly one address. A /64 would be a network route covering the whole subnet, not just one host.

    Open this question
  25. Question 25

    IP Connectivity

    What makes a static route a floating static route?

    Show the answer

    Correct answerD. It has a higher administrative distance than the primary route

    AWhy not this: A 0.0.0.0/0 prefix describes a default route, which can be floating but need not be.

    BWhy not this: Using an exit interface is just a next-hop form and does not create a backup route.

    CWhy not this: A /32 mask describes a host route; it says nothing about backup behavior.

    DWhy this is right: A higher AD keeps the route out of the routing table until the primary route fails.

    A floating static route is a backup route configured with a higher administrative distance than the primary route, so it is installed only when the primary route disappears. A host route is defined by its /32 mask, not by its distance.

    Open this question
  26. Question 26

    IP Connectivity

    R1 has a static route to 10.1.0.0/16 via R2. Traffic for only the server 10.1.5.10 must go via R3 at 192.168.2.2, with other 10.1.0.0/16 traffic unchanged. Which command does this?

    Show the answer

    Correct answerC. ip route 10.1.5.10 255.255.255.255 192.168.2.2

    AWhy not this: This is the same prefix as the existing route, so it would not single out one server.

    BWhy not this: A /24 network route would also move every other host in 10.1.5.0/24 to R3.

    CWhy this is right: The 255.255.255.255 mask makes a host route; it wins by longest match for that one server only.

    DWhy not this: A default route is the least specific match and never overrides the existing /16 route.

    A /32 host route is the most specific match, so longest prefix match sends only 10.1.5.10 via R3 while the /16 still serves the rest. A /24 network route would also redirect the other hosts in 10.1.5.0/24.

    Open this question
  27. Question 27

    IP Connectivity

    R1 learns 10.5.0.0/16 from OSPF. A backup static route for that prefix over another link must be used only if OSPF fails. Which administrative distance should the static route use?

    Show the answer

    Correct answerD. 150

    AWhy not this: The default static AD is 1, which is lower than OSPF's 110, so the static route would win.

    BWhy not this: A value of 90 is lower than OSPF's 110, so the static route would still be preferred.

    CWhy not this: A value of 5 is still lower than 110, so the static route would replace the OSPF route.

    DWhy this is right: A value above 110 keeps the static route out of the table until the OSPF route disappears.

    OSPF has an administrative distance of 110, so the backup static route needs a higher value such as 150. It then stays out of the routing table until the OSPF route is lost. A value of 90 or less would be preferred over OSPF.

    Open this question
  28. Question 28

    IP Connectivity

    R1 learns 10.7.7.0/24 from two RIP neighbors. One path is 3 hops over 128 kbps links, the other is 4 hops over Gigabit links. Which path does R1 install?

    Show the answer

    Correct answerC. The 3-hop path

    AWhy not this: This path would win only under a bandwidth-based metric such as OSPF cost, which RIP does not use.

    BWhy not this: Neighbor IP address is not part of RIP's path selection when the hop counts differ.

    CWhy this is right: RIP's metric is hop count, and 3 hops is lower than 4, so this path is chosen.

    DWhy not this: RIP only load balances across equal hop counts and never weights traffic by bandwidth.

    The routes share a prefix length and an AD, so the metric decides. RIP's metric is hop count only, so the 3-hop path wins. Link bandwidth is ignored by RIP, which is why the Gigabit path does not win.

    Open this question
  29. Question 29

    IP Connectivity

    R1 runs OSPF with the default reference bandwidth. Path A crosses two GigabitEthernet links and one 10 Mbps Ethernet link. Path B crosses four FastEthernet links. Which path does R1 install?

    Show the answer

    Correct answerB. Path B, because its total cost is lower

    AWhy not this: The two fast links cannot offset the 10 Mbps link, which adds a cost of 10 to the path total.

    BWhy this is right: Path B totals 4 (4 x 1), and path A totals 12 (1 + 1 + 10), so the lower cost wins.

    CWhy not this: Gigabit and FastEthernet tie at 1, but the 10 Mbps link makes path A's total cost differ.

    DWhy not this: Hop count is not an OSPF metric; the sum of interface costs decides.

    OSPF sums the cost of each outgoing interface. With the default 100 Mbps reference, Gigabit and FastEthernet each cost 1 and 10 Mbps costs 10, so path A totals 12 and path B totals 4. Hop count is not part of OSPF's metric.

    Open this question
  30. Question 30

    IP Connectivity

    A router learns 192.168.5.0/24 from both OSPF and internal EIGRP. Which route does it install in the routing table?

    Show the answer

    Correct answerB. The EIGRP route

    AWhy not this: Metrics from different protocols use different units and are not compared against each other.

    BWhy this is right: Internal EIGRP has an AD of 90, lower than OSPF's 110, so it is the more trusted source.

    CWhy not this: Load balancing applies to equal-cost paths from one source, not to routes from different protocols.

    DWhy not this: OSPF has an AD of 110, which is higher than EIGRP's 90, so it loses.

    Both routes have the same prefix length, so the router compares administrative distance. Internal EIGRP (90) is more trusted than OSPF (110). Metrics from different protocols are not comparable, so the lower metric does not decide it.

    Open this question
  31. Question 31

    IP Connectivity

    Which pair of values does EIGRP use by default to calculate its composite metric?

    Show the answer

    Correct answerD. Bandwidth and delay

    AWhy not this: Reference bandwidth is an OSPF cost setting, and prefix length is not a metric component.

    BWhy not this: Hop count is RIP's metric; EIGRP does not use it in its default metric.

    CWhy not this: Load and reliability can be enabled with K values but are off by default.

    DWhy this is right: The default K values include only bandwidth and delay in the EIGRP metric calculation.

    By default EIGRP's composite metric uses the minimum bandwidth along the path and the cumulative delay. Load and reliability are available through K values but are not used by default.

    Open this question
  32. Question 32

    IP Connectivity

    R1 (priority 1, router ID 192.168.1.1), R2 (priority 1, router ID 10.0.0.2) and R3 (priority 0, router ID 172.16.0.3) boot together on one Ethernet segment. Which DR and BDR result?

    Show the answer

    Correct answerB. R1 is DR and R2 is BDR

    AWhy not this: R1 is correct as DR, but priority 0 means R3 can never be BDR.

    BWhy this is right: R3 is excluded, and R1 has a higher router ID than R2 on the priority tie, so DR and BDR follow.

    CWhy not this: This compares router ID first; R3's priority 0 makes it ineligible for any role.

    DWhy not this: This uses the lowest router ID, but the tie-break is the highest router ID.

    Priority is compared first and priority 0 makes R3 ineligible. R1 and R2 tie at priority 1, so the highest router ID decides: R1 becomes DR and R2 becomes BDR. Comparing router IDs first would wrongly favor R3.

    Open this question
  33. Question 33

    IP Connectivity

    Two routers connect over a serial link with PPP encapsulation and run OSPF in area 0. No ip ospf network command is configured on either interface. What is the result?

    Show the answer

    Correct answerD. Neighbors reach FULL and no DR or BDR is elected

    AWhy not this: Election happens on broadcast and non-broadcast networks, not on a default PPP serial link.

    BWhy not this: 2WAY between non-DR routers is a broadcast-segment behavior; here both routers form FULL.

    CWhy not this: Neighbors discover each other dynamically by multicast hello; no broadcast type is required.

    DWhy this is right: PPP serial defaults to the point-to-point type, so adjacency goes to FULL with no election.

    A PPP serial interface defaults to the point-to-point OSPF network type. Hellos go to 224.0.0.5, neighbors discover each other dynamically, and they reach FULL without a DR/BDR election. DR/BDR election applies only to broadcast and non-broadcast types.

    Open this question
  34. Question 34

    IP Connectivity

    No router-id command is configured. Loopback0 is 1.1.1.1, G0/0 is 10.0.0.1 and G0/1 is 192.168.1.1, all up. Which router ID does OSPF use?

    Show the answer

    Correct answerD. 1.1.1.1

    AWhy not this: This is the highest physical address, but a loopback takes precedence over physical interfaces.

    BWhy not this: 0.0.0.0 is not used while any interface has an IP address; it signals no usable ID.

    CWhy not this: This is neither the loopback nor the highest physical address, so it is never chosen.

    DWhy this is right: An up loopback is preferred over physical interfaces regardless of numeric value.

    Without a router-id command, OSPF uses the highest IP address on an up loopback interface, and only then the highest on an active physical interface. The loopback wins even though its address is numerically lower.

    Open this question
  35. Question 35

    IP Connectivity

    R1 runs OSPF with router ID 192.168.1.1, taken from G0/0. An engineer enters router-id 1.1.1.1 under router ospf 1, but show ip ospf still shows 192.168.1.1. What should the engineer do?

    Show the answer

    Correct answerD. Enter clear ip ospf process

    AWhy not this: The dead interval governs neighbor loss, not router ID changes; the old ID stays.

    BWhy not this: A loopback address is only used when no router-id is configured; it would not force a change.

    CWhy not this: An interface bounce resets neighbors on that link but does not change the router ID.

    DWhy this is right: Restarting the OSPF process makes it adopt the configured router-id and re-form adjacencies.

    A router ID is not changed while the OSPF process is running. The new value takes effect only after the process restarts, with clear ip ospf process or a reload. Bouncing an interface only resets adjacencies on that link and does not re-select the ID.

    Open this question
  36. Question 36

    IP Connectivity

    R1 is DR, R2 is BDR and R3 is DROTHER on an Ethernet segment, all with priority 1. R4, with priority 200, is then connected to the segment. What is the result?

    Show the answer

    Correct answerB. R1 stays DR, R2 stays BDR, and R4 becomes DROTHER

    AWhy not this: This assumes priority preempts the DR, but the election is non-preemptive.

    BWhy this is right: The existing DR and BDR remain, so the late arrival becomes a DROTHER despite priority 200.

    CWhy not this: The dead interval only matters if R1 fails; a healthy DR is never replaced by a newcomer.

    DWhy not this: The BDR is also kept; a later higher-priority router does not displace it.

    The DR/BDR election is non-preemptive. A router that joins a segment with a DR and BDR already in place accepts them, whatever its priority. R4 would only be elected after the DR or BDR fails or the OSPF process is reset.

    Open this question
  37. Question 37

    IP Connectivity

    A router is configured with ip route 172.16.5.0 255.255.255.0 10.9.9.2. No route in the table covers 10.9.9.2, and there is no default route. What happens to the static route?

    Show the answer

    Correct answerC. It is left out of the routing table until the next hop is reachable

    AWhy not this: The router never guesses an exit interface; it needs a resolvable next hop or a configured interface.

    BWhy not this: AD ranks route sources; 255 is not assigned to mark a route with an unreachable next hop.

    CWhy this is right: The next hop must resolve through another route; with none, the static route is not installed.

    DWhy not this: ARP for the destination is not used here; the router ARPs for a next hop only after the route is installed.

    A static route with only a next-hop address is installed only if the router can resolve that next hop through another route (a recursive lookup). With no covering route, it stays out of the table. Installing it with a high AD is wrong, because AD ranks sources and does not mark routes unusable.

    Open this question
  38. Question 38

    IP Connectivity

    A router learns 192.168.50.0/24 from OSPF, RIP, external EIGRP and iBGP. Which source's route is installed in the routing table?

    Show the answer

    Correct answerA. OSPF

    AWhy this is right: OSPF has an AD of 110, the lowest of the four sources, so its route is installed.

    BWhy not this: RIP has an AD of 120, which is higher than OSPF's 110, so it loses.

    CWhy not this: iBGP has an AD of 200, the highest of the four, so it is the least preferred.

    DWhy not this: External EIGRP has an AD of 170; only internal EIGRP uses 90, so this route loses.

    For the same prefix from different sources, the router installs the route with the lowest administrative distance. OSPF is 110, RIP 120, external EIGRP 170 and iBGP 200, so OSPF wins. External EIGRP loses despite EIGRP's usual 90, because external routes use 170.

    Open this question
  39. Question 39

    IP Connectivity

    What is the purpose of the metric in a routing table entry?

    Show the answer

    Correct answerD. To rank paths to the same destination learned by one routing protocol

    AWhy not this: The network mask or prefix length defines the network bits, not the metric.

    BWhy not this: Trustworthiness between sources is ranked by administrative distance, not by metric.

    CWhy not this: The next hop identifies the neighbouring router; the metric does not name it.

    DWhy this is right: The metric is the protocol's path cost; the lowest value is the preferred path to the destination.

    The metric is the value a routing protocol calculates to compare paths to the same destination; the lowest metric is preferred. Ranking different protocols is the job of administrative distance, not the metric.

    Open this question
  40. Question 40

    IP Connectivity

    A router learns the same 172.16.0.0/16 prefix from OSPF, internal EIGRP, and RIP, and no static or connected route covers it. Which route does the router install in the routing table?

    Show the answer

    Correct answerA. The EIGRP route, because its AD of 90 is the lowest

    AWhy this is right: Internal EIGRP's AD of 90 is lower than OSPF's 110 and RIP's 120, so its route is installed.

    BWhy not this: Metrics are only compared within one protocol; AD decides between protocols, and OSPF's 110 is higher than EIGRP's 90.

    CWhy not this: A higher AD means less trust, so RIP's 120 makes it the least preferred of the three.

    DWhy not this: Load balancing happens only among equal-cost routes from one protocol, not across protocols with different ADs.

    When several routing sources offer the same prefix and length, the router prefers the lowest administrative distance. Internal EIGRP uses 90, OSPF 110, and RIP 120, so EIGRP wins. Metrics are compared only among routes from the same protocol, so OSPF's cost never gets compared with EIGRP's.

    Open this question
  41. Question 41

    IP Connectivity

    A router's show ip route output reads 'Gateway of last resort is not set' and holds no route matching 198.51.100.7. What happens to a packet for that address?

    Show the answer

    Correct answerD. It is dropped and an ICMP destination unreachable is sent to the source

    AWhy not this: Lowest AD ranks competing routes to the same prefix; it is not a fallback for unmatched destinations.

    BWhy not this: Flooding is switch behaviour for unknown unicast frames; routers never flood unrouted packets.

    CWhy not this: Unmatched packets are not redirected to a loopback; without a default route there is no fallback.

    DWhy this is right: No specific route and no default route means no forwarding path, so the router discards the packet and signals unreachable.

    With no matching route and no gateway of last resort, the router has nowhere to send the packet, so it discards it and returns an ICMP unreachable. Routers do not flood unknown destinations the way switches flood unknown unicast frames.

    Open this question
  42. Question 42

    IP Connectivity

    A router learns 10.8.0.0/24 from OSPF with a metric of 20 and from EIGRP with a metric of 3072. Which route does it install, and why?

    Show the answer

    Correct answerB. EIGRP, because its lower administrative distance is compared before any metric

    AWhy not this: Load balancing applies to equal-cost paths from one protocol, not to routes from two different protocols.

    BWhy this is right: AD is compared first between protocols; EIGRP's 90 beats OSPF's 110, so the metrics are never compared.

    CWhy not this: OSPF cost and EIGRP composite metric use different units, so 20 versus 3072 is not a valid comparison.

    DWhy not this: OSPF's AD is 110, which is higher than EIGRP's internal 90, so OSPF loses the comparison.

    Metrics are only compared between routes from the same routing protocol. Across protocols, administrative distance decides first, and EIGRP (90) beats OSPF (110). Choosing the lower number, 20, wrongly compares OSPF cost with EIGRP's composite metric.

    Open this question
  43. Question 43

    IP Connectivity

    A router has a static default route via 10.1.1.1 and an OSPF-learned default route via 10.2.2.2, and the interface toward 10.1.1.1 goes down. What does show ip route then report for the gateway of last resort?

    Show the answer

    Correct answerB. Set to 10.2.2.2, because the OSPF default becomes the best remaining route to 0.0.0.0/0

    AWhy not this: A less-preferred route to the same prefix is installed as soon as the better one disappears.

    BWhy this is right: With the static default gone, the OSPF default is the only 0.0.0.0/0 route left and becomes the gateway of last resort.

    CWhy not this: Dynamic protocols can supply a default route, and its next hop then becomes the gateway of last resort.

    DWhy not this: A static route is withdrawn when its exit interface goes down, so 10.1.1.1 cannot remain the gateway.

    While the static default (AD 1) is in the table it wins over the OSPF default (AD 110). When its interface fails, the static route is removed and the OSPF default is the best remaining 0.0.0.0/0 route. Static routes are removed when their exit interface goes down.

    Open this question
  44. Question 44

    IP Connectivity

    Which two statements describe the gateway of last resort? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersD. It is taken from a candidate default route such as 0.0.0.0/0E. It is the next hop used when no more specific route matches

    AWhy not this: A loopback address identifies the router itself and is not the default next hop.

    BWhy not this: AD ranks route sources for the same prefix; it does not define the fallback route.

    CWhy not this: A metric ranks paths within a protocol; it is not the default gateway.

    DWhy this is right: It comes from a candidate default route such as 0.0.0.0/0, shown with an asterisk.

    EWhy this is right: The gateway of last resort is where packets go when nothing more specific matches the destination.

    FWhy not this: A network mask defines prefix length for each route; it is not a forwarding fallback.

    The gateway of last resort is the next hop of the default route, used only when no more specific route matches the destination. It is derived from a candidate default such as 0.0.0.0/0. It is not a mask, a metric or an AD value.

    Open this question
  45. Question 45

    IP Connectivity

    A router displays O IA beside a destination in its routing table. What should an administrator conclude about the route?

    Show the answer

    Correct answerA. It was learned from another OSPF area.

    AWhy this is right: O IA identifies an OSPF route to a destination in another area.

    BWhy not this: Routes redistributed into OSPF use external route codes such as O E1 or O E2.

    CWhy not this: An external EIGRP route uses D EX rather than O IA.

    DWhy not this: An OSPF intra-area route uses O without the IA designation.

    O IA identifies an OSPF interarea route, learned from another area through an area border router. An intra-area OSPF route uses O without IA.

    Open this question
  46. Question 46

    IP Connectivity

    An inventory lists routes to 172.20.4.0/24 via two next hops, 172.20.4.0/25 via one next hop, and 172.20.5.0/24 via one next hop. How many distinct destination prefixes are represented?

    Show the answer

    Correct answerA. Three

    AWhy this is right: The network address and prefix length together identify each of the three destination blocks.

    BWhy not this: Sharing leading address bits does not make all listed destination blocks the same prefix.

    CWhy not this: Counting only network addresses incorrectly merges the /24 and /25 destination blocks.

    DWhy not this: Counting each next-hop path separately incorrectly treats paths as distinct prefixes.

    There are three distinct prefixes: 172.20.4.0/24, 172.20.4.0/25, and 172.20.5.0/24. Multiple next hops do not create additional prefixes, while different prefix lengths distinguish destination blocks even when their network addresses match.

    Open this question
  47. Question 47

    IP Connectivity

    Which routing table code mappings are correct? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. S — StaticC. C — Connected

    AWhy this is right: S identifies a statically configured route.

    BWhy not this: B identifies BGP routes; D identifies EIGRP routes.

    CWhy this is right: C identifies a directly connected network.

    DWhy not this: R identifies RIP routes; O identifies OSPF routes.

    Cisco routing tables use C for connected routes and S for static routes. R identifies RIP, while B identifies BGP.

    Open this question
  48. Question 48

    IP Connectivity

    A router lists the destination prefix 192.0.2.64/26. Which address range does this prefix represent?

    Show the answer

    Correct answerD. 192.0.2.64–192.0.2.127

    AWhy not this: This is the preceding /26 block, represented by 192.0.2.0/26.

    BWhy not this: This 256-address block represents 192.0.2.0/24.

    CWhy not this: This 32-address block represents 192.0.2.64/27.

    DWhy this is right: A /26 contains 64 addresses, placing this block between .64 and .127 inclusive.

    A /26 prefix contains 64 addresses, so the block starting at 192.0.2.64 ends at 192.0.2.127. The range ending at 192.0.2.95 contains only 32 addresses and corresponds to a /27.

    Open this question
  49. Question 49

    IP Connectivity

    A router learns the same /24 through external EIGRP with metric 100, OSPF with metric 500, and internal BGP with metric 0. With default administrative distances, which route is installed?

    Show the answer

    Correct answerC. The OSPF route

    AWhy not this: Different administrative distances prevent these routes from forming an equal-cost multipath set.

    BWhy not this: Internal BGP has distance 200; its metric of 0 does not override administrative distance.

    CWhy this is right: OSPF's distance of 110 is the lowest among these sources for the identical prefix.

    DWhy not this: External EIGRP has distance 170, not the distance of 90 used by internal EIGRP.

    OSPF has administrative distance 110, lower than external EIGRP at 170 and internal BGP at 200. External EIGRP does not use internal EIGRP's distance of 90, and metrics from different protocols are not compared.

    Open this question
  50. Question 50

    IP Connectivity

    A router uses an OSPF route to 198.51.100.0/24 and has a reachable static route to that prefix with administrative distance 120. If OSPF withdraws the route and no other candidates exist, what happens?

    Show the answer

    Correct answerD. The static route is installed

    AWhy not this: The routes have different distances, and the OSPF route has been withdrawn.

    BWhy not this: The reachable static route supplies a valid replacement route.

    CWhy not this: A withdrawn OSPF route is removed rather than retained because of its former administrative distance.

    DWhy this is right: The reachable static route becomes the best remaining candidate after OSPF withdraws its route.

    The static route is a floating static route: its distance of 120 makes it a backup to OSPF's 110. Once OSPF withdraws its route, the reachable static route can be installed without changing its distance.

    Open this question