<font face="arial" size="2"><p style="margin:0;padding:0;font-family: arial; font-size: 10pt; word-wrap: break-word;">Hi all,</p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt; word-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt; word-wrap: break-word;">I am using the strongswan sql plugin + the attr-sql plugin to assign virtual ip addresses to ipsec clients. It is very important the virtual ip addresses are statically leased and will never change. Currently I am assigning virtual ip addresses from the address pool by assigning ip addresses in the pool to specific identities. The problem is the client will sometimes use the assigned virtual ip (matching identities) but sometimes I find that the plugin will assign another free virtual ip address when the connection is dropped and the client tries to reconnect. The clients currently have their leftsourceip set to %any.</p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt; word-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt; word-wrap: break-word;">Is there any way I can configure the sql plugin to always assign the same virtual ip address to a given identity?</p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt; word-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt; word-wrap: break-word;">Thanks and regards,</p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt; word-wrap: break-word;">- Roberto</p></font>