IPSEC/IKEv2, mode-config and changing ip addresses

Hello everybody,

I have an IPSEC/IKEv2 VPN in transport mode, GRE interfaces connect to the IPSEC addresses. The real data goes through the GRE interfaces.

Currently the server runs a script to update the GRE interfaces’ remote addresses, according to the client addresses assigned by mode-config. Is there any way to make sure a client receives the same address every time it connects? That would obsolete the script and speed up the connect.

Thanks and have a nice day!