3.1 Components of Routing Table Flashcards

Interpret the components of routing table, including routing protocol code, prefix, network mask, next hop, administrative distance, metric, and gateway of last resort. (24 cards)

1
Q

How does a router determine the best path for a packet?

A

It references the IP Routing Table.

The routing table contains destination networks, next hops, and metrics.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

List three key fields found in a basic routing table.

A
  1. Destination Network
  2. Outgoing Interface
  3. Next Hop

Destination Network – Specifies the target network or subnet the router can reach.

Outgoing Interface – Indicates the router’s interface used to forward packets to the destination.

Next Hop – The IP address of the next router in the path to the destination.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Fill in the blank:

The command to check for a static host route in the routing table is ______ ______ ______ ______.

A

show ip route static

This command displays only manually configured static routes instead of showing all routing table entries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

List three ways routers add routes to their routing tables?

A
  1. Connected routes
  2. Static routes
  3. Routing protocols

Connected Routes – Automatically added for active, directly assigned interfaces.

Static Routes – Manually set by an administrator for specific paths.

Dynamic Routing Protocols – Learned via protocols like OSPF, EIGRP, and RIP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What conditions must a Cisco router meet to add a subnet route to its routing table?

A
  1. The interface must have an IP address assigned using the ip address command.
  2. The interface must be operational, meaning both the line status (Layer 1) and protocol status (Layer 2) are up.

For a router to add a directly connected subnet to its routing table, the interface must be both configured and active.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What routing table code represents a static route?

A

S

The ‘S’ code indicates that the route was manually set rather than learned through a routing protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which two routing table components are essential for packet forwarding?

A
  1. Next-Hop router
  2. Outgoing interface

Next-Hop Router – The IP address of the next device in the path to the destination.

Outgoing Interface – The router port used to forward the packet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Where in the routing table output can you find the next-hop router’s IP address?

A

Under the “via” field in show ip route output.

In routing table entries, the next-hop router is displayed after the “via” keyword. If a route is directly connected, there is no next-hop, and the outgoing interface is listed instead.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In the output of the show ip route command, what does “via” indicate?

A

The next-hop router’s IP address.

The next hop is the immediate router where packets are forwarded before reaching their destination.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In the routing entry I 10.0.0.0/8 [100/1600] via 172.16.1.200, what is the next-hop router’s IP address?

A

172.16.1.200

The next-hop router (172.16.1.200) is the immediate device that forwards packets toward the destination network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the three possible types of next-hop values in a routing table?

A
  1. IPv4 or IPv6 address (e.g., 10.2.2.5)
  2. Directly connected interface (e.g., GigabitEthernet0/0)
  3. Null0 (discard route)

The next-hop field in show ip route can contain a next-hop IP, an exit interface, or Null0 for discarding traffic when a static route is used for summarization.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

List three key details displayed in the show ip route command.

A
  1. Prefix (Destination Network)
  2. Subnet Mask
  3. Routing Protocol Used

These components help the router determine the best path to reach a destination.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What command displays the routing protocol settings and timers?

A

show ip protocols

This command provides information about active routing protocols, timers, and metrics.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How can you check the Administrative Distance for subnet 172.16.5.0?

A

Use “show ip route 172.16.5.0”.

This command filters the routing table to display only entries related to that subnet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

True or False:

The Administrative Distance (AD) selects the best path to a destination.

A

False

AD determines the trustworthiness of a route, not efficiency. A lower AD is preferred over a higher one.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the “Gateway of Last Resort”?

A

A default route used when no specific route exists.

Typically set as 0.0.0.0/0 and points to a default router.

17
Q

How do you verify if a default route (Gateway of Last Resort) is set?

A

Use show ip route.

This command reveals whether a 0.0.0.0/0 route exists.

18
Q

What commands can be used to configure a Gateway of Last Resort?

A
  1. ip route 0.0.0.0 0.0.0.0 <next-hop></next-hop>
  2. ip default-network <network></network>
  3. ip default-gateway <gateway></gateway>

These commands allow routers to forward packets to unknown networks.

19
Q

What command displays all known routes on a Cisco router?

A

show ip route

This command lists static, dynamic, and connected routes along with metrics and next hops.

20
Q

Fill in the blank:

In the output R 10.0.0.0/8 [90/1] via 172.16.1.200, the prefix is ______.

A

10.0.0.0

The prefix represents the destination subnet that this route applies to.

21
Q

Before sending an IP packet, what is the first action a host takes?

A

It checks whether the destination is on the local subnet.

If the destination is not local, the packet is forwarded to the default gateway.

22
Q

What is network mask in a routing table?

A

A value that defines subnet size and separates network from host.

The network mask (e.g., /24 or 255.255.255.0) determines which portion of an IP address identifies the network and which portion is assigned to individual hosts.

23
Q

In the routing output O 172.16.4.0 [110/2] via 10.10.10.5, FastEthernet0/0, what does 2 represent?

A

The metric

The metric indicates the best path among multiple routes available for the destination.

24
Q

List how different routing protocols calculate the metric value.

A
  • RIP – Hop count (number of routers a packet must pass through).
  • OSPF – Cost (based on interface bandwidth).
  • EIGRP – Composite metric (uses bandwidth, delay, reliability, and load).

The metric value helps the router determine the best path to a destination. Lower metric values indicate a better route.