Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


deterministic (Source NAT Next Gen Services)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 19.3R2 on MX Series routers (MX240, MX480 and MX960) running Next Gen Services with the MX-SPC3 services card.


Configure deterministic NAT to ensure that the original internal source IPv4 or IPv6 address and port always map to the same post-NAT IPv4 address and block of ports. In addition, the reverse mapping of a given translated external IPv4 address and port are always mapped to the same internal IP address.

This eliminates the need for address translation logging.


block-size block-sizeThe number of ports in the port block.

Range: 1 to 64,512

Default: 256

host address addressThe first usable pre-NAT subscriber address, which is used to perform the deterministic NAT mapping.
include-boundary-addressesInclude the translation of the lowest and highest IPv4 addresses (the network and broadcast addresses) in the source address range of a NAT rule. This does not apply to IPv6 source addresses.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.