Hello,

I am testing IPSec with the following setup :


    IPV4 LAN Network ------------------ IPSec GW-A -----------IPV6 Tunnel---------- IPSec GW-B -------------- IPV4 LAN Network.

Can somebody help in configuring the above setup with setkey.
I am using latest openswan(U2.6.28/K3.0.0-12-generic) and setkey (ipsec-tools 0.8.0) versions.
I am not using IKE.
I could configure and test IPV4 & IPV6 tunnels but this setup is not working.
I have the following configuration in ipsec-tools.conf and this scenario is not working.

--------------------------------------------------------------------------------------------------
add <GW-A ipv6 address> <GW-B ipv6 address> esp 0x201 -m tunnel
        -E 3des-cbc 0x7aeaca3f87d060a12f4a4487d5a5c3355920fae69a96c831;

add <ipv6 address> <ipv6 address> esp 0x301 -m tunnel
        -E 3des-cbc 0xf6ddb555acfd9d77b03ea3843f2653255afe8eb5573965df;

spdadd 192.168.143.0/24 192.168.193.0/24 ipv6 -P in ipsec
    esp/tunnel/<GW-A ipv6 address>-<GW-B ipv6 address>/require;

spdadd 192.168.193.0/24 192.168.143.0/24 ipv6 -P out ipsec
    esp/tunnel/<GW-A ipv6 address>-<GW-B ipv6 address>/require;
----------------------------------------------------------------------------------------------------

Thanks,
Chandra Sekhar.