Routing Flashcards

All routing chapters

1
Q

Describe routing

A

When a router receives an IP packet on one interface, it determines which interface to use to forward the packet to the destination.

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

What are the primary functions of a router

A

to determine the best path to forward packets based on the info in the routing table, and to forward npackets toward their destination

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

The ip routing table is used like a map by the router to determine the best path for a given network?

A

True

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

The router must determine the best path in the routing table. What is the best path in the routing table called?

A

the “longest match”

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

Default static routes (0.0.0.0) are used to send packets to unknown destinations. When do we use it?

A

On a “border” router to the internet, and on a stub network, where there is only one exit to the rest of the network.

when in routing table, it is labeled as an S* at the top of the table and “gateway of last resort” appears. Also a stub network is good to use on dead end networks.

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

What is the longest match process?

A

A process the router uses to find a match between the destination IP address of the packet and a routing entry in the routing table

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

What are classful and classless protocols?

A

classful protocols do not carry subnet masks, while classless routing protocols do

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

For there to be a match between the destination IP address of a packet and a route in the routing table, what must happen?

A

a minimum number of far-left bits must match between the IP address of the packet and the route in the routing table. The prefix length of the route in the table is used to determine the minimum number of far-left bits that must match.

Remember, an ip packet only contains the destination ip address and not the prefix length

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

The route with the greatest number of equivalent far-left bits, or the longest match, is always the preferred route

A

True

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

What table does a router use to determine how to forward an IP packet?

A

Routing Table

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

What action will a router take on a packet with a destination IP address that is on a remote network

A

It will forward the packet to a next-hop router

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

Which routes may be found in a routing table?

A

directly connected networks, static routes, dynamic routing protocol routes, and default route

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

What is used to determine the minimum number of far-left bits that must match between the prefix in the route entry and the destination bits?

A

The prefix length in the routing table entry

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

What are directly connected networks?

A

Networks that are configured on the active interfaces of a router.

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

What are remote networks?

A

networks not directly connected to the router. Routers learn about remote networks through static routes and dynamic routing protocols. Static rotues are configured manually, while dynamic routing protocols are added when routes are learned dynamically through protocols such as OSPF

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

What table does a router use to determine how to forward a packet?

A

Routing Table

17
Q
A