See the following sections:
- static-nat ip-prefix {
-
host ip-prefix;
-
virtual-router
vr-name ;
- }
- [edit security nat interface interface-name ]
Statement introduced in Release 8.5 of JUNOS software.
Configure static NAT.
This statement is supported on J-series devices.
ip-prefix —IP address to which another IP address is mapped.
host ip-prefix —IP address to be mapped.
virtual-router vr-name —Virtual router to perform the route lookup for the host addresses.
For configuration instructions and examples, see the JUNOS Software Security Configuration Guide.
security—To view this statement in the configuration.
security-control—To add this statement to the configuration.
- static-nat prefix < addr-prefix > <routing-instance routing-instance-name >;
- [edit security nat static
rule-set rule-set-name rule rule-name then]
Statement introduced in Release 9.3 of JUNOS software.
Specify the translated address of the static NAT rule.
This statement is supported on SRX-series devices.
address-prefix —Static IP address prefix.
routing-instance routing-instance-name —Use user-defined static NAT routing-instance to perform static NAT. By default, the routing-instance is the same as the from routing-instance.
For configuration instructions and examples, see the JUNOS Software Security Configuration Guide.
security—To view this statement in the configuration.
security-control—To add this statement to the configuration.