Project

General

Profile

Issue #2618

Query regarding assignment of Tunnel IP

Added by Ramya R over 2 years ago. Updated over 2 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
libcharon
Affected version:
5.3.0
Resolution:

Description

I have a single strongswan client connected to a strongswan server(IKEV2 mode).
Every time tunnel gets created, the same Tunnel IP is issued.
Is there any configuration that can be configured to issue different Tunnel IP everytime.

History

#1 Updated by Tobias Brunner over 2 years ago

  • Category changed from charon to libcharon
  • Status changed from New to Feedback

If you use the in-memory pools, offline leases are reassigned to the same identity as long as possible (i.e. unless the pool is full and IPs may get reassigned to different identities, or if the same identity connects multiple times). There is no configuration option to change that behavior. But you could patch the code if you wanted to force new leases for some reason (see #841-1), don't see why, though.

Also available in: Atom PDF