LSN::persistence

Description

Set the translation address and port selection mode for the current connection, and the translation entry timeout.

Syntax

LSN::persistence <none|address|address-port|strict-address-port> <timeout>

LSN::persistence none

  • Disable LSN persistence for the current connection. In this mode, when a new connection is initiated from an arbitrary client IP address, the address used for translation is the next address available in the translation pool. The selection starts with the numerically lowest address, and the allocation of a new address is preferred over the allocation of a new port for a translation address that is already in use.

LSN::persistence address <timeout>

  • Change LSN persistence mode to “address”, setting the persistence timeout for the connection to <timeout> (in seconds). In this mode, when a connection is established from a particular client IP, a persistence entry is created. Each subsequent connection initiated from that client IP is mapped to the same translation address, when possible. If no connections are active from a client IP for <timeout> seconds, the persistence entry is removed and future client connection from that given IP may be persisted to a different translation IP.

LSN::persistence address-port <timeout>

  • Change LSN persistence mode to “port”, setting the persistence timeout for the connection to <timeout> (in seconds). In this mode, when a connection is established from a particular client IP and source port combination, a persistence entry is created. Each subsequent connection initiated from that client IP and souce port is mapped to the same translation address and port, when possible. If no connections are active from the particular client IP and source port for <timeout> seconds, the persistence entry is removed and future client connection from that given IP may be persisted to a different translation IP and port. See RFC 4787, REQ-1 for more information.

LSN::persistence strict-address-port <timeout>

  • This mode is deprecated in v14+

Examples