101 · Question #44
Which VLANs must be enabled for a SNAT to perform as desired (translating only desired packets).
The correct answer is C. The SNAT must be enabled for the VLANs where desired packets arrive on the BIG-IP.. SNAT on BIG-IP operates at ingress, so it must be enabled on the VLANs where the desired packets arrive in order to match and translate those packets.
Question
Which VLANs must be enabled for a SNAT to perform as desired (translating only desired packets).
Options
- AThe SNAT must be enabled for all VLANs.
- BThe SNAT must be enabled for the VLANs where desired packets leave the BIG-IP.
- CThe SNAT must be enabled for the VLANs where desired packets arrive on the BIG-IP.
- DThe SNAT must be enabled for the VLANs where desired packets arrive and leave the BIG-IP.
How the community answered
(50 responses)- A2% (1)
- B6% (3)
- C88% (44)
- D4% (2)
Why each option
SNAT on BIG-IP operates at ingress, so it must be enabled on the VLANs where the desired packets arrive in order to match and translate those packets.
Enabling a SNAT for all VLANs is overly broad and unnecessary - it would also attempt SNAT processing on VLANs where no desired client traffic arrives, which is inefficient and potentially undesirable.
SNAT is applied based on where packets arrive (ingress), not where they leave (egress); enabling it only on egress VLANs would mean the BIG-IP never evaluates the packets for SNAT translation.
BIG-IP SNAT processing evaluates packets as they enter the system on a VLAN, matching source addresses against the SNAT's origin address list before deciding whether to translate. Enabling the SNAT on the ingress VLAN where the client packets arrive is what causes the BIG-IP to apply source address translation to those packets. Enabling it on egress VLANs has no effect on whether the translation occurs.
Enabling the SNAT on both ingress and egress VLANs is redundant because SNAT processing only occurs at ingress; the egress VLAN setting does not contribute to whether translation takes place.
Concept tested: SNAT VLAN scope and ingress processing on BIG-IP
Source: https://techdocs.f5.com/en-us/bigip-15-1-0/big-ip-local-traffic-management-getting-started-with-snats.html
Topics
Community Discussion
No community discussion yet for this question.