1. Home
  2. Explore
  3. Computer Science
  4. Routing Fundamentals

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Routing Fundamentals

  • 58Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Routing Concepts

What does routing describe?

58 questions

  1. 1

    What does routing describe?

    1. A

      The process switches use to assign IP addresses to devices on a local network

    2. B

      The process switches use to choose a route between separate IP networks

    3. C

      The process routers use to determine the path IP packets should take to reach a destination

    4. D

      The process routers use to translate destination MAC addresses into host names

    Correct answer
    C

    The process routers use to determine the path IP packets should take to reach a destination

    Explanation

    Routing is the process routers use to determine a path for IP packets to reach their destinations.

  2. 2

    What information does a router store in its routing table?

    1. A

      Information about destination MAC addresses and their switch ports

    2. B

      Information about packet contents and their application protocols

    3. C

      Information about destination networks and how to reach them

    4. D

      Information about user accounts and their network permissions

    Correct answer
    C

    Information about destination networks and how to reach them

    Explanation

    A router's routing table stores routes to known destination networks. Switches, by contrast, use MAC address tables to track destination MAC addresses.

  3. 3

    What is the best comparison between a router's routing table and a switch's MAC address table?

    1. A

      Both store destination information, but routers use routes and switches use MAC address entries

    2. B

      Both store destination MAC addresses, but only routers use IP addresses to forward traffic

    3. C

      Both provide identical forwarding instructions, but for different packet formats

    4. D

      Both store IP routes, but switches use them only when a router is unavailable

    Correct answer
    A

    Both store destination information, but routers use routes and switches use MAC address entries

    Explanation

    Both tables help their devices forward traffic, but a router's routing table contains routes to networks, while a switch's MAC address table contains destination MAC address entries.

  4. 4

    What does a route generally instruct a router to do?

    1. A

      Send frames for a specified MAC address toward a specified subnet mask

    2. B

      Translate a specified IP address into a specified destination MAC address

    3. C

      Assign a specified destination network to a specified end host

    4. D

      Send packets for a specified destination toward a specified next hop

    Correct answer
    D

    Send packets for a specified destination toward a specified next hop

    Explanation

    A route is an instruction for reaching a destination: it can tell the router to send a packet to a next hop.

  5. 5

    In routing, what is a next hop?

    1. A

      The next router along the path toward the destination

    2. B

      The switch port connected to the packet's source

    3. C

      The destination host's default gateway interface

    4. D

      The final network interface used by the destination host

    Correct answer
    A

    The next router along the path toward the destination

    Explanation

    The next hop is the next router in the path to the destination.

  6. 6

    If a packet's destination is directly connected to a router, what can the route instruct the router to do?

    1. A

      Keep the packet because every directly connected destination is local

    2. B

      Flood the packet out of every interface except the incoming one

    3. C

      Send the packet to a remote router before reaching the destination

    4. D

      Send the packet directly to the destination

    Correct answer
    D

    Send the packet directly to the destination

    Explanation

    A route can direct a router to send a packet directly to a destination that is connected to it.

  7. 7

    What should a router do when a packet is addressed to one of the router's own IP addresses?

    1. A

      Flood the packet onto the connected network

    2. B

      Receive the packet for itself rather than forward it

    3. C

      Drop the packet because routers cannot receive IP packets

    4. D

      Forward the packet to the next router in the route

    Correct answer
    B

    Receive the packet for itself rather than forward it

    Explanation

    A route to the router's own IP address indicates that the packet is for the router itself, so it should receive the packet rather than forward it.

  8. 8

    How do routers using dynamic routing learn routes from one another?

    1. A

      They require an administrator to enter each learned route manually

    2. B

      They use routing protocols, such as OSPF, to share routing information automatically

    3. C

      They infer routes by flooding packets to unknown destination networks

    4. D

      They use MAC address tables to exchange network routes with switches

    Correct answer
    B

    They use routing protocols, such as OSPF, to share routing information automatically

    Explanation

    Dynamic routing protocols, such as OSPF, allow routers to share routing information automatically and build their routing tables.

  9. 9

    What distinguishes static routing from dynamic routing?

    1. A

      A router creates static routes whenever it receives an unknown packet

    2. B

      A network engineer or administrator manually configures static routes

    3. C

      A switch automatically shares static routes with every connected router

    4. D

      A router learns static routes automatically through a routing protocol

    Correct answer
    B

    A network engineer or administrator manually configures static routes

    Explanation

    Static routes are manually configured by a network engineer or administrator, unlike routes learned through dynamic routing protocols.

  10. 10

    A network extends across a large geographical area and connects routers that may be in different cities. What kind of network does this describe?

    1. A

      A MAC address table

    2. B

      A wide area network

    3. C

      A local area network

    4. D

      A directly connected subnet

    Correct answer
    B

    A wide area network

    Explanation

    A WAN, or wide area network, extends over a large geographical area and may connect locations in different cities or countries.

  11. 11

    Which description best fits a local area network in the example topology?

    1. A

      A set of IP addresses reserved for the router's own interfaces

    2. B

      A collection of routes that a router learns using OSPF

    3. C

      A network connected to a router that represents a local site or office

    4. D

      A network that necessarily spans several countries and many routers

    Correct answer
    C

    A network connected to a router that represents a local site or office

    Explanation

    The LANs in the example represent local networks, such as offices, connected to R1 and R4.

  12. 12

    Which address assignment describes the LAN connected to R1?

    1. A

      The network is 192.168.4.0/24, R1 G0/2 is 192.168.4.4, and PC1 is 192.168.4.10

    2. B

      The network is 192.168.13.0/24, R1 G0/2 is 192.168.13.1, and PC1 is 192.168.13.10

    3. C

      The network is 192.168.1.0/24, R1 G0/1 is 192.168.1.1, and PC1 is 192.168.1.10

    4. D

      The network is 192.168.1.0/24, R1 G0/2 is 192.168.1.1, and PC1 is 192.168.1.10

    Correct answer
    D

    The network is 192.168.1.0/24, R1 G0/2 is 192.168.1.1, and PC1 is 192.168.1.10

    Explanation

    The R1 LAN is 192.168.1.0/24. R1 uses 192.168.1.1 on G0/2, and PC1 uses 192.168.1.10.

  13. 13

    Which address assignment describes the LAN connected to R4?

    1. A

      The network is 192.168.24.0/24, R4 G0/2 is 192.168.24.4, and PC4 is 192.168.24.10

    2. B

      The network is 192.168.1.0/24, R4 G0/2 is 192.168.1.4, and PC4 is 192.168.1.10

    3. C

      The network is 192.168.4.0/24, R4 G0/2 is 192.168.4.4, and PC4 is 192.168.4.10

    4. D

      The network is 192.168.4.0/24, R4 G0/1 is 192.168.4.4, and PC4 is 192.168.4.10

    Correct answer
    C

    The network is 192.168.4.0/24, R4 G0/2 is 192.168.4.4, and PC4 is 192.168.4.10

    Explanation

    The R4 LAN is 192.168.4.0/24. R4 uses 192.168.4.4 on G0/2, and PC4 uses 192.168.4.10.

  14. 14

    Which pair of addresses is assigned to the WAN connection between R1 and R2?

    1. A

      The network is 192.168.12.0/24, with R1 G0/0 at 192.168.12.1 and R2 G0/1 at 192.168.12.2

    2. B

      The network is 192.168.24.0/24, with R1 G0/1 at 192.168.24.1 and R2 G0/1 at 192.168.24.2

    3. C

      The network is 192.168.12.0/24, with R1 G0/1 at 192.168.12.1 and R2 G0/0 at 192.168.12.2

    4. D

      The network is 192.168.13.0/24, with R1 G0/0 at 192.168.13.1 and R2 G0/0 at 192.168.13.2

    Correct answer
    C

    The network is 192.168.12.0/24, with R1 G0/1 at 192.168.12.1 and R2 G0/0 at 192.168.12.2

    Explanation

    The R1–R2 WAN uses 192.168.12.0/24. R1 G0/1 is .1, and R2 G0/0 is .2.

  15. 15

    Which pair of addresses is assigned to the WAN connection between R1 and R3?

    1. A

      The network is 192.168.34.0/24, with R1 G0/0 at 192.168.34.1 and R3 G0/1 at 192.168.34.3

    2. B

      The network is 192.168.13.0/24, with R1 G0/0 at 192.168.13.1 and R3 G0/0 at 192.168.13.3

    3. C

      The network is 192.168.12.0/24, with R1 G0/1 at 192.168.12.1 and R3 G0/0 at 192.168.12.3

    4. D

      The network is 192.168.13.0/24, with R1 G0/1 at 192.168.13.1 and R3 G0/1 at 192.168.13.3

    Correct answer
    B

    The network is 192.168.13.0/24, with R1 G0/0 at 192.168.13.1 and R3 G0/0 at 192.168.13.3

    Explanation

    The R1–R3 WAN uses 192.168.13.0/24. R1 G0/0 is .1, and R3 G0/0 is .3.

  16. 16

    Which pair of addresses is assigned to the WAN connection between R2 and R4?

    1. A

      The network is 192.168.12.0/24, with R2 G0/0 at 192.168.12.2 and R4 G0/0 at 192.168.12.4

    2. B

      The network is 192.168.24.0/24, with R2 G0/1 at 192.168.24.2 and R4 G0/0 at 192.168.24.4

    3. C

      The network is 192.168.34.0/24, with R2 G0/1 at 192.168.34.2 and R4 G0/1 at 192.168.34.4

    4. D

      The network is 192.168.24.0/24, with R2 G0/0 at 192.168.24.2 and R4 G0/1 at 192.168.24.4

    Correct answer
    B

    The network is 192.168.24.0/24, with R2 G0/1 at 192.168.24.2 and R4 G0/0 at 192.168.24.4

    Explanation

    The R2–R4 WAN uses 192.168.24.0/24. R2 G0/1 is .2, and R4 G0/0 is .4.

  17. 17

    Which pair of addresses is assigned to the WAN connection between R3 and R4?

    1. A

      The network is 192.168.13.0/24, with R3 G0/0 at 192.168.13.3 and R4 G0/1 at 192.168.13.4

    2. B

      The network is 192.168.24.0/24, with R3 G0/1 at 192.168.24.3 and R4 G0/0 at 192.168.24.4

    3. C

      The network is 192.168.34.0/24, with R3 G0/1 at 192.168.34.3 and R4 G0/1 at 192.168.34.4

    4. D

      The network is 192.168.34.0/24, with R3 G0/0 at 192.168.34.3 and R4 G0/0 at 192.168.34.4

    Correct answer
    C

    The network is 192.168.34.0/24, with R3 G0/1 at 192.168.34.3 and R4 G0/1 at 192.168.34.4

    Explanation

    The R3–R4 WAN uses 192.168.34.0/24. R3 G0/1 is .3, and R4 G0/1 is .4.

  18. 18

    In the example addressing scheme, how are router interface addresses chosen?

    1. A

      Each router's addresses use a network address matching the router's interface number

    2. B

      Each router's addresses use a final octet matching the router's number

    3. C

      Each router's addresses use a first octet matching the router's number

    4. D

      Each router's addresses use a subnet mask matching the router's number

    Correct answer
    B

    Each router's addresses use a final octet matching the router's number

    Explanation

    The example uses a simplified scheme in which R1's addresses end in .1, R2's in .2, R3's in .3, and R4's in .4. This is an instructional convenience, not a general real-world rule.

  19. 19

    Which command displays a Cisco router's routing table?

    1. A

      show ip interface brief

    2. B

      show mac address-table

    3. C

      show ip route

    4. D

      show running-config interface

    Correct answer
    C

    show ip route

    Explanation

    The show ip route command displays the router's routing table.

  20. 20

    Which command was used to confirm the configured IP addresses on R1's interfaces?

    1. A

      show ip interface brief

    2. B

      show ip protocols brief

    3. C

      show mac address-table

    4. D

      show ip route

    Correct answer
    A

    show ip interface brief

    Explanation

    The show ip interface brief command was used to verify the interface IP addresses.

  21. 21

    What does the no shutdown command do when configuring a router interface?

    1. A

      It changes the interface from a LAN port to a WAN port

    2. B

      It enables the interface

    3. C

      It removes the interface's IP address

    4. D

      It adds a static route for the interface's network

    Correct answer
    B

    It enables the interface

    Explanation

    After assigning an IP address, the interface must be enabled with no shutdown for its connected and local routes to be added.

  22. 22

    While in interface configuration mode for G0/0, how can an administrator move directly to configuring G0/1?

    1. A

      Enter no shutdown, which automatically opens G0/1 configuration mode

    2. B

      Enter the interface g0/1 command without first returning to global configuration mode

    3. C

      Enter show ip route, then select G0/1 from the routing table

    4. D

      Enter exit repeatedly until reaching privileged EXEC mode, then enter interface g0/1

    Correct answer
    B

    Enter the interface g0/1 command without first returning to global configuration mode

    Explanation

    The interface g0/1 command can be entered directly from interface configuration mode; an exit to global configuration mode is not required first.

  23. 23

    Which IP address and mask were configured on R1's G0/0 interface?

    1. A

      192.168.1.1 255.255.255.0

    2. B

      192.168.13.3 255.255.255.0

    3. C

      192.168.13.1 255.255.255.0

    4. D

      192.168.12.1 255.255.255.0

    Correct answer
    C

    192.168.13.1 255.255.255.0

    Explanation

    R1 G0/0 was configured with 192.168.13.1 and the mask 255.255.255.0.

  24. 24

    Assuming an interface is enabled, what happens when an IP address is configured on it?

    1. A

      A connected route and a local route are automatically added

    2. B

      A dynamic route and a MAC address entry are automatically added

    3. C

      A connected route is added, but a local route requires manual configuration

    4. D

      A static route and a default route are automatically added

    Correct answer
    A

    A connected route and a local route are automatically added

    Explanation

    Configuring an IP address on an enabled interface automatically adds two routes: a connected route to the network and a local route to the interface's exact IP address.

  25. 25

    What does the code C represent in a Cisco routing table?

    1. A

      A manually configured route to a remote next hop

    2. B

      A connected route to a network attached to the router

    3. C

      A route learned through a dynamic routing protocol

    4. D

      A local route to an exact IP address on the router

    Correct answer
    B

    A connected route to a network attached to the router

    Explanation

    The code C indicates a connected route, which describes a network directly connected to the router.

  26. 26

    What does the code L represent in a Cisco routing table?

    1. A

      A dynamically learned route to the nearest router

    2. B

      A local route to an exact IP address configured on the router

    3. C

      A connected route to all addresses in an attached network

    4. D

      A manually configured route to a remote network

    Correct answer
    B

    A local route to an exact IP address configured on the router

    Explanation

    The code L indicates a local route to the exact IP address configured on an interface.

  27. 27

    Which destination does a connected route for an interface with address 192.168.1.1/24 represent?

    1. A

      The network 192.168.1.1/24

    2. B

      The network 192.168.1.0/24

    3. C

      The full network 192.168.0.0/16

    4. D

      The exact address 192.168.1.1/32

    Correct answer
    B

    The network 192.168.1.0/24

    Explanation

    The connected route represents the network attached to the interface. With 192.168.1.1/24, that network is 192.168.1.0/24.

  28. 28

    Which destination does a local route represent for an interface configured as 192.168.1.1/24?

    1. A

      The range 192.168.1.1 through 192.168.1.255

    2. B

      The entire network 192.168.1.0/24

    3. C

      The exact address 192.168.1.1/32

    4. D

      The network 192.168.1.0/32

    Correct answer
    C

    The exact address 192.168.1.1/32

    Explanation

    A local route identifies only the exact interface IP address, expressed with a /32 prefix. In this case it is 192.168.1.1/32.

  29. 29

    Why is a /32 prefix used for a local route?

    1. A

      It identifies a network containing 32 different IP addresses

    2. B

      It fixes all 32 IPv4 bits, identifying exactly one IP address

    3. C

      It leaves all 32 IPv4 bits available for host addresses

    4. D

      It fixes only the first 24 IPv4 bits and varies the final octet

    Correct answer
    B

    It fixes all 32 IPv4 bits, identifying exactly one IP address

    Explanation

    A /32 prefix fixes all 32 bits of the address, so the route matches only that exact IP address.

  30. 30

    What is the mask corresponding to a /24 prefix?

    1. A

      255.255.255.255

    2. B

      255.255.255.0

    3. C

      255.255.0.0

    4. D

      255.0.0.0

    Correct answer
    B

    255.255.255.0

    Explanation

    A /24 prefix has 24 leading 1 bits in its mask, which is 255.255.255.0.

  31. 31

    What does a connected route to 192.168.1.0/24 tell the router to do with a packet for that network?

    1. A

      Send it out of the interface identified by that route

    2. B

      Keep it for the router because every connected route is a local route

    3. C

      Send it to a next-hop router that must be configured manually

    4. D

      Flood it out of every interface because the destination is a network

    Correct answer
    A

    Send it out of the interface identified by that route

    Explanation

    A connected route tells the router to send packets for that directly connected network out of the interface specified in the route.

  32. 32

    When will automatically added connected and local routes appear for an interface?

    1. A

      When the interface has an IP address configured and is enabled

    2. B

      Only after a dynamic routing protocol advertises the interface

    3. C

      Only after an administrator creates both routes manually

    4. D

      When the interface has an IP address configured, even if it is shut down

    Correct answer
    A

    When the interface has an IP address configured and is enabled

    Explanation

    The interface must have an IP address and be enabled. If it is shut down, the routes will not appear.

  33. 33

    How are connected and local routes classified relative to static and dynamic routing?

    1. A

      They are static routes because an administrator configures the interface

    2. B

      They are added automatically and are neither static nor dynamic routes

    3. C

      They are dynamic routes because the router adds them without manual route commands

    4. D

      They are static routes on LAN interfaces and dynamic routes on WAN interfaces

    Correct answer
    B

    They are added automatically and are neither static nor dynamic routes

    Explanation

    Connected and local routes are automatically added when an interface is configured and enabled; they are neither static routes nor routes learned through dynamic routing.

  34. 34

    A routing table shows a line such as “192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks.” What is the key point about this line?

    1. A

      It is a default route that covers two unrelated networks

    2. B

      It is explanatory output, not itself a route

    3. C

      It is a command that enables subnetting on the router

    4. D

      It is a route that forwards packets to the 192.168.1.0 network

    Correct answer
    B

    It is explanatory output, not itself a route

    Explanation

    The “variably subnetted” line is not a route. It summarizes subnet entries and masks in the routing table.

  35. 35

    In the “2 subnets, 2 masks” summary for 192.168.1.0/24, which two masks correspond to the connected and local routes described?

    1. A

      /16 and /24

    2. B

      /24 and /30

    3. C

      /30 and /32

    4. D

      /24 and /32

    Correct answer
    D

    /24 and /32

    Explanation

    The connected route uses /24, while the local route uses /32, so the routing table can show two subnet entries with two masks.

  36. 36

    How should a reader treat the “variably subnetted” summary lines when identifying routes in the routing table?

    1. A

      Use the summary lines instead of the connected and local route entries

    2. B

      Treat each summary line as an additional route to forward packets

    3. C

      Recognize they are not routes and focus on the route entries themselves

    4. D

      Treat every number in a summary line as a next-hop address

    Correct answer
    C

    Recognize they are not routes and focus on the route entries themselves

    Explanation

    These lines are summaries rather than routes. To determine forwarding behavior, focus on the actual route entries.

  37. 37

    For a /24 network, which part of an IPv4 address is the network portion?

    1. A

      All 32 bits, including the host portion

    2. B

      The first 8 bits, or first octet

    3. C

      The first 24 bits, or first three octets

    4. D

      The last 24 bits, or last three octets

    Correct answer
    C

    The first 24 bits, or first three octets

    Explanation

    A /24 prefix fixes the first 24 bits, which are the first three octets. The remaining 8 bits are the host portion.

  38. 38

    How is the network address 192.168.1.0/24 derived from interface address 192.168.1.1/24?

    1. A

      Set the host portion, the last octet, to all zeros

    2. B

      Set every bit in all four octets to one

    3. C

      Replace the last octet with the interface number

    4. D

      Set the network portion, the first three octets, to all zeros

    Correct answer
    A

    Set the host portion, the last octet, to all zeros

    Explanation

    With a /24 prefix, the first three octets are the network portion and the final octet is the host portion. Setting the host portion to zero gives 192.168.1.0/24.

  39. 39

    Which address range is matched by a route to 192.168.1.0/24?

    1. A

      192.168.1.0 through 192.168.1.255

    2. B

      192.168.0.0 through 192.168.255.255

    3. C

      192.168.1.0 through 192.168.1.24

    4. D

      Only the address 192.168.1.0

    Correct answer
    A

    192.168.1.0 through 192.168.1.255

    Explanation

    A /24 route fixes the first three octets and allows the final octet to vary, matching addresses from 192.168.1.0 through 192.168.1.255.

  40. 40

    When does a route match a packet's destination?

    1. A

      When the destination IP address is identical to the router's interface address

    2. B

      When the destination IP address belongs to the network specified by the route

    3. C

      When the packet's source address belongs to the network specified by the route

    4. D

      When the destination MAC address is identical to an entry in the routing table

    Correct answer
    B

    When the destination IP address belongs to the network specified by the route

    Explanation

    A route matches when the packet's destination IP address is part of the network specified in that route.

  41. 41

    Does the route 192.168.1.0/24 match a packet destined for 192.168.1.89?

    1. A

      Yes, because the first three octets match the /24 network

    2. B

      No, because a connected route cannot match a host address

    3. C

      No, because the route matches only the network address ending in .0

    4. D

      Yes, because every IPv4 route matches any destination in 192.168.0.0/16

    Correct answer
    A

    Yes, because the first three octets match the /24 network

    Explanation

    The destination 192.168.1.89 belongs to 192.168.1.0/24, so the route matches it.

  42. 42

    Does the route 192.168.1.0/24 match a packet destined for 192.168.2.1?

    1. A

      Yes, because a /24 route matches every address in the 192.168 range

    2. B

      No, because the destination does not have the same first three octets

    3. C

      Yes, because both addresses begin with 192.168

    4. D

      No, because a /24 route can match only the exact network address

    Correct answer
    B

    No, because the destination does not have the same first three octets

    Explanation

    A /24 route requires the first three octets to match. 192.168.2.1 does not belong to 192.168.1.0/24.

  43. 43

    Which destination does a local route to 192.168.1.1/32 match?

    1. A

      Only 192.168.1.1

    2. B

      Every address from 192.168.1.0 through 192.168.1.255

    3. C

      Every address from 192.168.1.1 through 192.168.1.32

    4. D

      Every address beginning with 192.168

    Correct answer
    A

    Only 192.168.1.1

    Explanation

    A /32 fixes every bit of the address, so 192.168.1.1/32 matches only 192.168.1.1.

  44. 44

    Which two conditions define the route a router selects when multiple routes are present?

    1. A

      The route must have the highest next-hop address and the broadest network

    2. B

      The route must match the destination and have the longest prefix among matching routes

    3. C

      The route must be connected and have the lowest interface number

    4. D

      The route must match the source and have the shortest prefix among matching routes

    Correct answer
    B

    The route must match the destination and have the longest prefix among matching routes

    Explanation

    A selected route must first match the packet's destination. Among matching routes, the router chooses the one with the longest prefix length.

  45. 45

    Why is a /32 route more specific than a /24 route that also matches a destination?

    1. A

      The /32 route identifies one IP address, while the /24 route covers many addresses

    2. B

      The /32 route uses fewer fixed bits, allowing a narrower destination range

    3. C

      The /32 route identifies more networks, while the /24 route identifies one address

    4. D

      The /32 route always points to a next hop, while the /24 route is always local

    Correct answer
    A

    The /32 route identifies one IP address, while the /24 route covers many addresses

    Explanation

    A /32 specifies exactly one IP address, whereas a /24 covers a range of addresses. Therefore, the /32 route is more specific.

  46. 46

    R1 has routes to 192.168.1.0/24 and 192.168.1.1/32. What happens to a packet destined for 192.168.1.1?

    1. A

      R1 selects both routes and sends duplicate packets out G0/2

    2. B

      R1 selects the /32 local route and receives the packet for itself

    3. C

      R1 drops the packet because two routes match its destination

    4. D

      R1 selects the /24 connected route and sends the packet out G0/2

    Correct answer
    B

    R1 selects the /32 local route and receives the packet for itself

    Explanation

    Both routes match 192.168.1.1, but the /32 local route is more specific than the /24 connected route. R1 therefore receives the packet for itself.

  47. 47

    R1 has a connected route to 192.168.13.0/24 through G0/0. What does it do with a packet destined for 192.168.13.3?

    1. A

      It floods the packet through G0/0 and all other interfaces

    2. B

      It drops the packet because host addresses cannot match connected routes

    3. C

      It uses the connected route and sends the packet out G0/0

    4. D

      It uses a local route and receives the packet for itself

    Correct answer
    C

    It uses the connected route and sends the packet out G0/0

    Explanation

    192.168.13.3 belongs to 192.168.13.0/24, so the connected route matches and directs R1 to send the packet out G0/0.

  48. 48

    R1 has a connected route to 192.168.1.0/24 through G0/2 but no more-specific route for 192.168.1.244. What does it do?

    1. A

      It sends the packet out every interface because the destination is unknown

    2. B

      It uses the connected route and sends the packet out G0/2

    3. C

      It drops the packet because the host portion is not zero

    4. D

      It receives the packet because every address on a connected network is local

    Correct answer
    B

    It uses the connected route and sends the packet out G0/2

    Explanation

    192.168.1.244 belongs to 192.168.1.0/24. Since no more-specific matching route is given, R1 uses the connected route through G0/2.

  49. 49

    R1 has a local route to 192.168.12.1/32 and a less-specific route that also matches the address. What does R1 do with a packet destined for 192.168.12.1?

    1. A

      It drops the packet because a local route cannot be selected

    2. B

      It selects the /32 local route and receives the packet for itself

    3. C

      It selects both routes and sends the packet to two destinations

    4. D

      It selects the less-specific route and forwards the packet to a neighbor

    Correct answer
    B

    It selects the /32 local route and receives the packet for itself

    Explanation

    The /32 local route is the most specific matching route. It tells R1 that the packet is addressed to its own IP address.

  50. 50

    R1 has no route matching a packet destined for 192.168.4.10. What does it do?

    1. A

      It floods the packet out all interfaces except the incoming one

    2. B

      It forwards the packet through the interface with the lowest number

    3. C

      It assumes the destination is directly connected and sends the packet there

    4. D

      It drops the packet

    Correct answer
    D

    It drops the packet

    Explanation

    If no route matches a packet's destination, the router drops the packet rather than flooding it.

  51. 51

    A routing table contains 10.0.1.0/24 and 10.0.1.23/32. How many routes match a packet destined for 10.0.1.23?

    1. A

      Two routes match

    2. B

      Three routes match

    3. C

      No routes match

    4. D

      One route matches

    Correct answer
    A

    Two routes match

    Explanation

    The destination 10.0.1.23 belongs to 10.0.1.0/24, and it also matches the exact 10.0.1.23/32 route.

  52. 52

    For a packet destined for 10.0.1.23, which route is more specific: 10.0.1.0/24 or 10.0.1.23/32?

    1. A

      10.0.1.0/24, because connected routes always outrank local routes

    2. B

      10.0.1.0/24, because it covers more addresses

    3. C

      10.0.1.23/32, because it identifies exactly one address

    4. D

      Neither route, because a router cannot choose between matching routes

    Correct answer
    C

    10.0.1.23/32, because it identifies exactly one address

    Explanation

    The /32 route matches only 10.0.1.23, while the /24 route covers many addresses. The /32 route is therefore the most specific.

  53. 53

    If 10.0.1.23/32 is a local route on R1, what does R1 do with a packet destined for 10.0.1.23?

    1. A

      It drops the packet because a /32 route cannot receive traffic

    2. B

      It forwards the packet using the broader 10.0.1.0/24 route

    3. C

      It receives the packet for itself rather than forwarding it

    4. D

      It floods the packet because both routes match

    Correct answer
    C

    It receives the packet for itself rather than forwarding it

    Explanation

    The most specific matching route is the local 10.0.1.23/32 route, which indicates that the packet is for R1 itself.

  54. 54

    A router receives a packet that has no matching route. How does its behavior differ from a switch receiving a frame with an unknown destination?

    1. A

      Both devices drop the traffic without checking any table

    2. B

      Both devices flood the traffic out all available interfaces

    3. C

      The router drops the packet, while the switch floods the frame

    4. D

      The router floods the packet, while the switch drops the frame

    Correct answer
    C

    The router drops the packet, while the switch floods the frame

    Explanation

    Routers do not flood packets when no route matches; they drop them. Switches flood frames with unknown destination MAC addresses.

  55. 55

    What is an unknown unicast frame in the context of switch forwarding?

    1. A

      A frame whose destination IP address has no matching route in a router

    2. B

      A frame whose destination MAC address is not found in the switch's MAC address table

    3. C

      A frame whose destination MAC address matches several routing-table entries

    4. D

      A frame whose source MAC address is identical to a router interface address

    Correct answer
    B

    A frame whose destination MAC address is not found in the switch's MAC address table

    Explanation

    An unknown unicast frame has a destination MAC address for which the switch has no matching MAC address table entry, so the switch floods it.

  56. 56

    Does a router flood packets when it has no route to the destination?

    1. A

      No; it converts the packet into an unknown unicast frame

    2. B

      No; it drops the packet

    3. C

      Yes; it sends the packet out every interface

    4. D

      Yes; it sends the packet only to directly connected switches

    Correct answer
    B

    No; it drops the packet

    Explanation

    Routers never flood packets. If no route matches the destination, the router drops the packet.

  57. 57

    How does switch forwarding differ from router route selection when a destination is found in the relevant table?

    1. A

      A switch looks for an exact destination MAC address match, while a router selects the longest-prefix matching route

    2. B

      A switch selects the longest-prefix IP route, while a router looks for an exact MAC address match

    3. C

      Both devices require an exact IP address match before forwarding

    4. D

      Both devices select the entry with the broadest destination range

    Correct answer
    A

    A switch looks for an exact destination MAC address match, while a router selects the longest-prefix matching route

    Explanation

    A switch uses an exact match for the destination MAC address in its MAC address table. A router can have multiple matching routes and selects the one with the longest prefix.

  58. 58

    What happens after a router selects a local route for a packet addressed to its own IP address?

    1. A

      The router sends the packet to the next hop listed in the local route

    2. B

      The router keeps the packet and examines its contents

    3. C

      The router floods the packet through the interface that owns the address

    4. D

      The router replaces the packet's destination with the connected network address

    Correct answer
    B

    The router keeps the packet and examines its contents

    Explanation

    A local route tells the router to receive the packet rather than forward it. The router then de-encapsulates it and examines its contents.

Question 1 of 58
Question 1 of 58

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent