JN0-102 · Question #94
Which two statements are correct when you use the reject parameter as the next-hop value for a static route? (Choose two.)
The correct answer is C. The packet is dropped from the network. D. The system sends an ICMP message back to the source of the packet.. When a static route uses the reject parameter as its next-hop value, the matching packet is dropped from the network, and an ICMP message is sent back to the packet's source.
Question
Which two statements are correct when you use the reject parameter as the next-hop value for a static route? (Choose two.)
Options
- AThe packet is dropped and the packet's source is marked with the no-readvertise parameter.
- BThe system sends the packet back to the source.
- CThe packet is dropped from the network.
- DThe system sends an ICMP message back to the source of the packet.
How the community answered
(21 responses)- A5% (1)
- B10% (2)
- C86% (18)
Why each option
When a static route uses the `reject` parameter as its next-hop value, the matching packet is dropped from the network, and an ICMP message is sent back to the packet's source.
The `reject` parameter drops the packet and sends an ICMP message, but it does not mark the packet's source with a `no-readvertise` parameter.
The system does not send the packet back to the source in the sense of forwarding it; it drops the packet and sends an ICMP notification.
The `reject` action for a static route means that any packet matching this route will not be forwarded and will instead be terminated by the router, preventing it from continuing its journey.
Unlike a `discard` action, the `reject` next-hop specifically instructs the Junos system to generate and send an ICMP Destination Unreachable message back to the originating host, notifying it of the unreachability.
Concept tested: Static route reject next-hop behavior
Source: https://www.juniper.net/documentation/us/en/software/junos/static-routing/topics/topic-map/static-routes-configuring.html
Topics
Community Discussion
No community discussion yet for this question.