Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

deterministic (Source NAT Next Gen Services)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
deterministic {
    block-size block-size;
    host {
        address address;
    }
    include-boundary-addresses;
}

Hierarchy Level

content_copy zoom_out_map
[edit services nat source pool nat-pool-name port]

Description

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.

Options

block-size block-size

The number of ports in the port block.

  • Range: 1 to 64,512

  • Default: 256

host address address

The first usable pre-NAT subscriber address, which is used to perform the deterministic NAT mapping.

include-boundary-addresses

Include 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.

Release Information

Statement introduced in Junos OS Release 19.3R2.

footer-navigation