Exhibit:
user@R1> show route 10.16.2.0/23 exact detail
inet.0: 12 destinations, 12 routes (11 active, 0 holddown, 1 hidden)
10.16.2.0/23 (1 entry, 1 announced)
*Aggregate Preference: 130
Next hop type: Reject
Address: 0x8f3fd44
Next-hop reference count: 2
State:
Age: 1:39:21
Task: Aggregate
Announcement bits (1): 0-KRT
AS path: I (LocalAgg)
Flags: Depth: 0 Active
AS path list:
AS path: I Refcount: 2
Contributing Routes (2):
10.16.2.0/24 proto Direct
10.16.3.0/24 proto Direct
Which destination IP address will be matched by the aggregate route shown in the exhibit?
In the Juniper Networks Junos operating system, aggregate routes are used to represent a group of more specific routes with a single, shorter prefix. This technique is essential for reducing the size of routing tables and minimizing the volume of routing updates sent to neighbors. According to Juniper technical documentation, for a destination IP address to 'match' a specific route, it must fall within the range defined by the network address and its associated CIDR mask.
The provided exhibit shows a detailed lookup for the aggregate route $10.16.2.0/23$. To determine the range of IP addresses covered by a $/23$ mask, we examine the binary representation of the third octet. A $/23$ mask means the first 23 bits are fixed. For the address $10.16.2.0$:
The first two octets ($10.16$) are fixed.
The third octet ($2$) is $00000010$ in binary.
The 23rd bit is the second-to-last bit of this octet.
The $/23$ range allows the 24th bit (the last bit of the third octet) and all 8 bits of the fourth octet to vary.
This results in a range where the third octet can be either $2$ ($00000010$) or $3$ ($00000011$). Therefore, the aggregate route $10.16.2.0/23$ covers all IP addresses from $10.16.2.0$ to $10.16.3.255$. The exhibit further confirms this by listing the 'Contributing Routes': $10.16.2.0/24$ and $10.16.3.0/24$.
Analyzing the provided options against this range:
10.16.3.79 (Option A): This address falls squarely within the $10.16.2.0$ to $10.16.3.255$ range.
10.16.0.4 (Option B): This address falls in the $10.16.0.0/23$ range ($0.0$ to $1.255$).
10.16.4.183 (Option C): This address falls in the $10.16.4.0/23$ range ($4.0$ to $5.255$).
10.16.1.214 (Option D): This address also falls in the $10.16.0.0/23$ range.
Consequently, 10.16.3.79 is the only destination listed that matches the aggregate route shown. It is also important to note the Next hop type: Reject in the exhibit; this means that if a packet matches the aggregate but does not match any of the more specific contributing routes, the router will drop the packet and send an ICMP unreachable message to the source.
Currently there are no comments in this discussion, be the first to comment!