Chapter 14: Routing Concepts Flashcards

1
Q

Primary functions of a router

A

Determine best path to forward packets based on info in routing table, forward packets toward their destination and connect multiple networks

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

Best path in routing table is also known as

A

The longest match

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

What is the longest match

A

The route in the routing table that has the greatest number of far-left matching bits with the dst IP address of the packet. Greatest number of far-left matches = preferred route

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

How does router learn about remote networks?

A
  • Static Routes - added to routing table when a route is manually configured
  • Dynamic routing protocols - added when routing protocols dynamically learn about the remote network; includes EIGRP and OSPF
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What’s default route and its IPv4 and IPv6 add?

A

specifies next-hop router to use when routing table doesn’t contain specific route that matches the dst IP add. IPv4 route entry of 0.0.0.0/0 and IPv6 route entry of ::/0

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

What is used to determine the minimum number of far-left bits that must match btwn the IP add of the packet and the dst network (prefix) for a route to be used?

A

prefix length of the dst network in the routing table entry

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

What happens to a packet when there are no matching route entry in the routing table and no default route?

A

Packet is dropped

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

What happens after router determines the best path to forward packet?

A

Router now must determine how to encapsulate the packet in appropriate data link frame type and forward it out the correct egress interface

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

How are packets with dst IP on Directly Connected Network encapsulated?

A

With Ethernet Frame. Router needs to determine the dst MAC address associated with dst IP add of the packet.

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

Where is the next-hop router address found?

A

Route Entry

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

What type of dst address is used when forwarding packets over serial connection? why?

A

Layer 2 broadcast dst add. Because Serial Connections don’t have MAC addresses.

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

Three packet forwarding mechanisms supported by routers

A

Process switching.
Fast switching.
Cisco Express Forwarding (CEF).

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

Process switching

A

Every packet that arrives on an interface is forwarded to the control plane where the CPU matches the dst add with an entry in its routing table. Older mechanism.

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

Fast switching

A

Similar to process switching. Except includes fast-switching cache where next-hop info is stored. So only the first packet of a flow is sent to control plane and added. The next packets of that flow are quickly processed based on the info in cache.

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

Cisco Express Forwarding (CEF)

A

Default Cisco IOS packet-forwarding mechanism.
Forwarding Information Base (FIB) and adjacency table are built after the network has converged. Packets are processed quickly in the data plane.

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

If a router needs to send an ARP Request for the IPv4 address in one of its route entries, this means the packet will be forwarded:

A

to a next-hop router

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

Common routing table code: L

A

Identifies the address assigned to a router interface

18
Q

Common routing table code: C

A

Identifies a directly connected network

19
Q

Common routing table code: S

A

Identifies a static route created to reach a specific network

20
Q

Common routing table code: O

A

Identifies a dynamically learned network from another router using OSPF routing protocol

21
Q

Common routing table code: *

A

This route is a candidate for a default route

22
Q

Routing Table Principles

A
  • every router makes its decision alone, based on the info in its own routing table
  • routing table info of one router does not necessarily match routing table of another router
  • routing info about a path does not provide return routing info
23
Q

Routing Table Entry Information: Administrative distance

A

identifies the trustworthiness of the route source. Lower the value = preferred route source

24
Q

Routing Table Entry Information: Metric

A

Identifies value assigned to reach the remote network. Lower values = preferred routes

25
Q

Routing Table Entry Information: Route timestamp

A

Identifies how much time has passed since the route was learned

26
Q

Prefix length for local IPv4 and IPv6 in Directly Connected networks?

A

/32 and /128

27
Q

Pros and cons of static routes

A

Pros
- improved security and resource efficiency
- less bandwidth and no CPU cycles are used to calculate and communicate routes
Cons
- routes are manually configured and not automatically updated

28
Q

Primary uses of static routing:

A
  • provides ease of routing table maintenance in smaller networks
  • uses single default route to represent a path to any network that does not have a more specific match with another route in the routing table
  • routes to and from stub networks (stub network is network accessed by a single route and router has only one neighbor)
29
Q

Advantages of dynamic routing protocols:

A
  • ability to select a best path

- ability to automatically discover a new best path when there is a change in topology

30
Q

Two activities that dynamic routing protocol performs:

A

Network discovery and maintaining routing tables

31
Q

Network Discovery

A

ability of a routing protocol to share info about the networks that it knows about with other routers that are also using the same routing protocol

32
Q

When router is given a choice btwn static route or an OSPF route, which one is used?

A

Static route takes precedence because it has an administrative distance of 1 while OSPF has AD of 110

33
Q

Which route entry would be used for a packet with a dst IP add that matches an IP add of one of the router interfaces?

A

L for local

34
Q

Static routes are commonly used in these scenarios:

A
  • as default route forwarding packets to a service provider
  • for routes outside the routing domain and not learned by the dynamic routing protocol
  • when network admin wants to explicitly define path for a specific network
  • routing btwn stub networks
35
Q

Dynamic routing protocols are commonly used in the following scenarios:

A
  • networks consisting of more than just a few routers
  • when a change in network topology requires the network to auto determine another path
  • for scalability
36
Q

Main components of dynamic routing protocols include:

A
  • data structures (info kept in RAM)
  • routing protocol messages
  • algorithms
37
Q

What metric is used by OSPF to find best path?

A

“Cost” is based on cumulative bandwidth from source to destination. Faster links are assigned lower costs .

38
Q

What metric is used by EIGRP to find best path?

A

Metric is based on slowest bandwidth and delay values. Could also include load and reliability into the metric calculations

39
Q

What metric is used by RIP to find best path?

A

“Hop count”; each router along the path adds a hop to the count. 15 max hops allowed.

40
Q

Equal cost load balancing

A

When router has two or more paths to dst with equal cost metrics, then the router forwards the packets using both paths equally.

41
Q

Two common types of static routes in routing table?

A
  • default static route

- static route to a specific network