This article will assist you in Source NAT (Network Address Translation) troubleshooting in a step-by-step approach.
Perform the following steps:
Confirm the configuration by running the edit mode command: show security nat source Refer to KB15758 - SRX Getting Started - Configure NAT (Network Address Translation) [juniper.net] . for NAT configuration examples.
show security nat source
Does the NAT configuration appear correct?
Is the Source NAT configuration using interface NAT (Egress Interface Translation) or a Source NAT Pool?
Is the NAT pool from the same subnet as the SRX external interface? (For example, if the NAT pool is 1.1.1.2 thru 1.1.1.4, and the SRX external IP address is 1.1.1.1/24, then the NAT pool is on the same subnet as the SRX external IP address.)
Run the configuration command: show security nat proxy-arp
show security nat proxy-arp
Is Proxy ARP configured for the NAT pool IP addresses? For more information on Proxy ARP and how to configure it; go to KB21785 - [SRX] When and how to configure Proxy ARP [juniper.net] .
Run the command: show security nat source rule <name> or show security nat source rule all
show security nat source rule <name>
show security nat source rule all
Is the Security Source Rule getting 'Translation Hits'? To check, For more information on these commands, refer to KB21709 - Verify Source NAT rules are in order and working correctly [juniper.net] .
Is there a flow session for the particular Source IP and Destination IP in question? For information on how to check the sessions go to KB21719 - How to check and interpret the Flow Sessions installed in the SRX when troubleshooting NAT [juniper.net] .
Do the session wings show the correct NAT'd IPs? For examples of how to tell, refer to KB21719 - How to check and interpret the Flow Sessions installed in the SRX when troubleshooting NAT [juniper.net] .
A common source NAT configuration error is the configuration order of the Security NAT rules. The configuration order is important. For more information on how to confirm the order, refer to KB21709 - Verify Source NAT rules are in order and working correctly [juniper.net] . Is the order correct per the requirement?
Setup Traceoptions and configure packet filters for the source IP and destination IP . For more info on how to setup traceoptions, refer KB16108 - SRX Getting Started -- Configuring Traceoptions for Debugging and Trimming Output [juniper.net] .
Did you find where the packet is being dropped? For more on how to analyze the traceoptions for packet drops, refer KB21757 - [SRX] How to interpret Flow TraceOptions output for NAT troubleshooting [juniper.net] .