[Openswan Users] Sending Configuration Request Payload

Prashant Batra prashant0100 at gmail.com
Tue Nov 22 22:18:35 EST 2011


Hi,

I am trying to setup a IPSec tunnel(net-net) using openswan with IKEv2
as the IKE exchange protocol.
My tunnel setup requires an IP assignment to be given by the peer
gateway. So openswan should send a CP request payload requesting IP
address.
But I am not able to send it using my ipsec.conf.

conn net-to-net
    ikev2=yes
    ike=aes128-md5;modp1024
    authby=secret
    left=198.168.68.2
    leftsubnet=172.16.80.0/24
    leftsourceip=172.16.80.1 -----> I added this, assuming it will
send CP payload requesting this IP address.
    leftnexthop=%defaultroute
    right=192.168.101.101
    rightsubnet=172.16.60.0/24
    rightnexthop=%defaultroute
    auto=start

Could someone point me to the soultion.

Thanks,
Prashant


More information about the Users mailing list