-- Exhibit --
[edit routing-options]
user@router# show
static {
route 0.0.0.0/0 {
next-hop 10.1.1.1;
qualified-next-hop 10.1.1.254 {
preference 4;
}
}
}
-- Exhibit --
Assuming both paths shown in the exhibit are available, which statement is correct?
Click on the arrows to vote for the correct answer
A. B. C. D.B
The exhibit shows a Junos configuration for a static default route with two next hops. The first next-hop IP address is 10.1.1.1, and the second next-hop IP address is 10.1.1.254 with a preference of 4.
When a router receives traffic that matches the destination of the default route (0.0.0.0/0), it will look at its routing table to determine where to forward the traffic.
In this case, the router has two choices: 10.1.1.1 and 10.1.1.254.
Now, let's consider each answer choice:
A. Traffic matching the default route will use 10.1.1.1 as the next hop.
This statement is partially correct. If there is only one available next hop, the router will use 10.1.1.1 as the next hop. However, in this case, there are two available next hops, so this statement is incomplete.
B. Traffic matching the default route will use 10.1.1.254 as the next hop.
This statement is also partially correct. If there is only one available next hop, the router will use 10.1.1.254 as the next hop due to its preference of 4. However, in this case, there are two available next hops, so this statement is incomplete.
C. Traffic matching the default route will be load-balanced per packet across both next hops.
This statement is incorrect. By default, Junos load-balances traffic per flow, not per packet. Therefore, traffic matching the default route will be sent to only one next hop, not both.
D. Traffic matching the default route will be load-balanced per flow across both next hops.
This statement is correct. By default, Junos load-balances traffic per flow, which means that the router will select one of the two available next hops based on a hashing algorithm that takes into account the source and destination IP addresses, source and destination ports, and protocol number. The router will then use the selected next hop for the entire flow.
Therefore, the correct answer is D. Traffic matching the default route will be load-balanced per flow across both next hops.