Longest Prefix Matches Flashcards

1
Q

What does the term “longest prefix match” mean in routing?

A

Longest prefix match refers to the routing decision process where the route with the longest matching prefix to the destination address is selected.

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

How does the longest prefix match work in Junos OS?

A

In Junos OS, the longest prefix match means that when multiple routes exist to the same destination, the route with the longest subnet mask (most specific match) will be chosen.

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

If two routes have the same destination but different subnet masks, which one is preferred in Junos OS?

A

The route with the longest subnet mask (most specific match) is preferred in Junos OS.

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

How does longest prefix match impact routing table lookups in Junos OS?

A

During a routing table lookup, Junos OS checks the routes and selects the one with the longest prefix that matches the destination address.

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

What command in Junos OS can show the longest prefix match for a destination address?

A

Use the command show route <destination> to display the longest prefix match for a specific destination.</destination>

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

Can the longest prefix match apply to both IPv4 and IPv6 routes in Junos OS?

A

Yes, longest prefix match applies to both IPv4 and IPv6 routes, ensuring that the most specific route is chosen for both types of traffic.

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

What happens if there are multiple routes with the same longest prefix for a destination?

A

If there are multiple routes with the same longest prefix, the routing protocol’s administrative distance or route preference is used to decide which route to install in the routing table.

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

How does the longest prefix match improve routing efficiency?

A

The longest prefix match improves routing efficiency by ensuring that the most specific route, which closely matches the destination address, is used, minimizing the potential for routing errors.

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

Can the longest prefix match result in more precise routing and better network performance?

A

Yes, by ensuring that traffic is routed through the most specific route, longest prefix match can improve network performance and reduce unnecessary hops.

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

What happens if there is no matching prefix for a destination in the routing table?

A

If there is no matching prefix, the router will forward the traffic based on the default route, if configured.

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