Navigation
Configuring Deterministic Port Block Allocation
To configure deterministic port block allocation:
- At to the [edit services nat pool poolname] hierarchy level, create a pool.user@host# edit services nat pool poolname
For example:
user@host# edit services nat pool pba-pool2 - Define the range of addresses to be translated, specifying
the upper and lower limits of the range or an address prefix that
describes the range.[edit services nat pool pba-pool1]user@host# set address-range low address high address
Or
user@host# set address address-prefixFor example:
[edit services nat pool pba-pool1]user@host# set address-range low 32.32.32.1 high 32.32.32.253 - Specify automatic port assignment by the Junos OS. [edit services nat pool pba-pool1]user@host# set port automatic
- Configure deterministic port block
allocation. Specify block-size or accept the default value
of 256.[edit services nat pool pba-pool1]user@host# set port deterministic-port-block-allocation block-size block-size
For example:
[edit services nat pool pba-pool1]user@host# set port deterministic-port-block-allocation block-size 256
![]() | Note: In order for deterministic-port-block-allocation configuration changes to take effect, you must reboot the services PIC whenever you change any of the following nat pool options:
|