Bitzu

JN0-106 ยท Firewall filters

What does unicast RPF do, and how do strict and loose modes differ?

What uRPF does, strict versus loose mode, how it uses the forwarding table to drop spoofed sources, and where it is enabled.

Key points

  • uRPF: looks up each packet's source address to detect spoofing.
  • Strict mode (default): the source must match a route that points out the interface the packet arrived on.
  • Loose mode: the source only has to match some route.
  • Enable: 'rpf-check' under family inet (or inet6) on a logical interface, ideally customer-facing or edge.
  • Failed packets: dropped unless a fail-filter handles them.

Source: https://www.juniper.net/documentation/us/en/software/junos/security-services/topics/topic-map/interfaces-configuring-unicast-rpf.html

Practice questions

Single choice

What is the primary purpose of unicast RPF?

  1. To encrypt traffic on an interface
  2. To drop packets with spoofed source addresses
  3. To balance traffic across equal-cost paths
  4. To translate private to public addresses
Show answer

Answer: B. To drop packets with spoofed source addresses

uRPF checks the packet's source against reachability to mitigate spoofed source addresses. It does not encrypt, shape or load-balance.

Select all that apply

Which statements about uRPF in Junos are correct?

  1. It is enabled with rpf-check under family inet or inet6
  2. Strict mode is the default when rpf-check is enabled
  3. A fail-filter can act on packets that fail the check
  4. It is best enabled on all core-facing interfaces with asymmetric routing
  5. It checks the destination address against the ARP table
Show answer

Answer: A. It is enabled with rpf-check under family inet or inet6, B. Strict mode is the default when rpf-check is enabled, C. A fail-filter can act on packets that fail the check

uRPF is enabled per family on a logical interface, defaults to strict, and failed packets are dropped unless a fail-filter is configured. It is advised for edge rather than core-facing interfaces.

True or false

True or false: in loose mode the packet must arrive on the same interface the router would use to reach the packet's source.

Show answer

Answer: False

False. That is the strict-mode requirement. Loose mode only checks that the source matches a route.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More JN0-106 topics in this module