The roadwarriors carol and dave set up a connection each to gateway moon. The authentication is based on two pre-shared keys bound to the two distinct gateway identities moon1.strongswan.org and moon2.strongswan.org. On the gateway these two identities are bound to two disjoint sets of client IP address ranges which allows IKEv1 Main Mode to select the correct connection definition and via the gateway identity the correct PSK.

Upon the successful establishment of the IPsec tunnels, carol pings the client alice and dave the client venus lying in two different subnets behind the gateway moon.