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

  • 51Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Routing Foundations
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What is routing?

Tap to flipClick to flipspace

The process routers use to determine the path IP packets should take across a network to reach their destinations.

Or swipe the card

51 cards

  1. What is routing?

    The process routers use to determine the path IP packets should take across a network to reach their destinations.

  2. Where does a router store information about known destination networks?

    In its routing table.

  3. What instruction does a route generally provide?

    How to reach a destination: send the packet to a next hop, send it directly to a connected destination, or receive it if it is addressed to the router itself.

  4. What is a next hop?

    The next router in the path toward a packet’s destination.

  5. How do routers learn routes through dynamic routing?

    They use routing protocols, such as OSPF, to share routing information automatically and build their routing tables.

  6. How are static routes created?

    A network engineer or administrator manually configures them on the router.

  7. Which destination information does a switch table hold, compared with a router routing table?

    A switch’s MAC address table holds known destination MAC addresses; a router’s routing table holds known destination networks and routes.

  8. What are the three possible actions a route can direct a router to take?

    Forward toward a next-hop router, send directly to a directly connected destination, or receive the packet if it is for the router’s own IP address.

  9. What do WAN and LAN stand for, and how do they differ?

    WAN means Wide Area Network and extends over a large geographical area. LAN means Local Area Network and serves a local network.

  10. How many routers make up the example WAN, and what do they represent?

    Four routers, R1 through R4, connected across a wide area.

  11. What is the R1 LAN’s network and addressing?

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

  12. What addresses are used on the R1–R2 WAN link?

    The network is 192.168.12.0/24; R1 G0/1 is 192.168.12.1, and R2 G0/0 is 192.168.12.2.

  13. What addresses are used on the R1–R3 WAN link?

    The network is 192.168.13.0/24; R1 G0/0 is 192.168.13.1, and R3 G0/0 is 192.168.13.3.

  14. What addresses are used on the R2–R4 WAN link?

    The network is 192.168.24.0/24; R2 G0/1 is 192.168.24.2, and R4 G0/0 is 192.168.24.4.

  15. What addresses are used on the R3–R4 WAN link?

    The network is 192.168.34.0/24; R3 G0/1 is 192.168.34.3, and R4 G0/1 is 192.168.34.4.

  16. What is the R4 LAN’s network and addressing?

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

  17. What simplifying pattern is used for router IP addresses in the example network?

    Each router’s addresses end in a number matching its name: R1 uses .1, R2 .2, R3 .3, and R4 .4.

  18. What command displays a Cisco router’s IP routing table?

    show ip route

  19. What does route code C mean in a Cisco routing table?

    Connected: a route to the network directly connected to an interface.

  20. What does route code L mean in a Cisco routing table?

    Local: a route to the exact IP address configured on the router’s interface.

  21. What routes are automatically added when an IP-configured interface is enabled?

    A connected route to the interface’s network and a local route to the interface’s exact IP address.

  22. What happens to the automatic connected and local routes if the interface is shut down?

    They do not appear in the routing table.

  23. If an interface is configured as 192.168.1.1/24, what connected route is added?

    A route to 192.168.1.0/24.

  24. If an interface is configured as 192.168.1.1/24, what local route is added?

    A route to 192.168.1.1/32.

  25. What does a connected route such as 192.168.1.0/24 tell the router to do?

    Send packets for destinations in that network out through the interface associated with the route.

  26. What does a /32 prefix specify in a local route?

    One exact IPv4 address; all 32 bits are fixed.

  27. Are connected and local routes classified as dynamic or static routes?

    No. They are automatically added when an IP address is configured on an enabled interface.

  28. What address range is covered by the connected route 192.168.1.0/24?

    192.168.1.0 through 192.168.1.255.

  29. What does the /24 prefix mean for a network such as 192.168.1.0/24?

    The first 24 bits—the first three octets—are the network portion; the final 8 bits are the host portion.

  30. What does it mean for a route to match a packet’s destination?

    The packet’s destination IP address belongs to the network specified by the route.

  31. Does the route 192.168.1.0/24 match destination 192.168.1.89?

    Yes. The destination is within the 192.168.1.0/24 network.

  32. Does the route 192.168.1.0/24 match destination 192.168.2.1?

    No. The destination is not in the 192.168.1.0/24 network.

  33. Which route is more specific: 192.168.1.0/24 or 192.168.1.1/32?

    192.168.1.1/32, because it identifies one address while the /24 route covers 256 addresses.

  34. How does a router choose between multiple routes that match a packet’s destination?

    It selects the matching route with the longest prefix length—the most specific matching route.

  35. A router has routes to 192.168.1.0/24 and 192.168.1.1/32. Which route handles a packet for 192.168.1.1, and what happens?

    The /32 local route is selected, so the router receives the packet for itself.

  36. R1 has a connected route to 192.168.13.0/24. How does it handle a packet destined for 192.168.13.3?

    It sends the packet directly through G0/0, the interface connected to that network.

  37. R1 has a connected route to 192.168.1.0/24. How does it handle a packet for 192.168.1.244 if no more-specific route matches?

    It sends the packet out G0/2 toward the directly connected destination.

  38. If R1 has a local route to 192.168.12.1/32, how does it handle a packet for 192.168.12.1?

    It receives the packet for itself.

  39. If R1 has no route matching destination 192.168.4.10, what happens to the packet?

    R1 drops it.

  40. If a routing table contains both 10.0.1.0/24 and 10.0.1.23/32, how many routes match destination 10.0.1.23, and which is selected?

    Two routes match; the more specific 10.0.1.23/32 route is selected.

  41. If R1 has a local route to 192.168.3.25/32, what does it do with a packet for 192.168.3.25?

    It receives the packet for itself.

  42. What does a router do if no route matches a packet’s destination?

    It drops the packet rather than flooding it.

  43. How does a switch generally handle a frame whose destination MAC address is unknown?

    It floods the frame; such a frame is called an unknown unicast frame.

  44. How does a switch decide whether a destination MAC address matches an entry in its MAC address table?

    It looks for an exact match to the destination MAC address.

  45. What happens after a router selects a local route for a packet addressed to itself?

    The router keeps the packet, de-encapsulates it, and examines its contents.

  46. What is the key difference between router route selection and switch MAC-table lookup?

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

  47. In Cisco IOS, can you move directly from one interface’s configuration mode to another interface’s configuration mode?

    Yes. Enter the next interface command directly; you do not need to use exit first.

  48. What command displays a router’s interface IP addresses and interface status in brief form?

    show ip interface brief

  49. In a show ip route output, what do the codes legend and the route entries represent?

    The legend defines route codes, such as C for connected and L for local; the entries below show the routes.

  50. In Cisco routing-table output, are lines such as “variably subnetted, 2 subnets, 2 masks” routes?

    No. They are explanatory grouping lines, not routes.

  51. What does “2 subnets, 2 masks” indicate in the example routing-table summary for 192.168.1.0/24?

    The table has two subnet routes associated with that larger network, using two masks: /24 and /32.

Card 1 of 51
Card 1 of 51

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent