/testing/guestbin/swan-prep --hostkeys
Creating NSS database containing host keys
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec auto --add westnet-east-sourceip
"westnet-east-sourceip": added IKEv1 connection
west #
 ipsec whack --impair suppress_retransmits
west #
 echo "initdone"
initdone
west #
 ipsec auto --up westnet-east-sourceip
"westnet-east-sourceip" #1: initiating IKEv1 Main Mode connection
"westnet-east-sourceip" #1: sent Main Mode request
"westnet-east-sourceip" #1: sent Main Mode I2
"westnet-east-sourceip" #1: sent Main Mode I3
"westnet-east-sourceip" #1: Peer ID is FQDN: '@east'
"westnet-east-sourceip" #1: authenticated peer using preloaded certificate '@east' and 2nnn-bit RSA with SHA1 signature
"westnet-east-sourceip" #1: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048}
"westnet-east-sourceip" #2: initiating Quick Mode IKEv1+RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKE_FRAG_ALLOW+ESN_NO+ESN_YES {using isakmp#1 msgid:MSGID proposal=AES_CBC-HMAC_SHA1_96, AES_CBC-HMAC_SHA2_512_256, AES_CBC-HMAC_SHA2_256_128, AES_GCM_16_128-NONE, AES_GCM_16_256-NONE, 3DES_CBC-HMAC_SHA1_96, 3DES_CBC-HMAC_SHA2_512_256, 3DES_CBC-HMAC_SHA2_256_128 pfsgroup=MODP2048 10.199.199.0/24===192.1.2.23/32}
"westnet-east-sourceip" #2: sent Quick Mode request
"westnet-east-sourceip" #2: IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 DPD=passive}
west #
 ../../guestbin/ip.sh route list
default via 192.1.2.254 dev eth1 proto static
192.0.1.0/24 dev eth0 proto kernel scope link src 192.0.1.254
192.0.2.0/24 via 192.1.2.23 dev eth1 proto static onlink
192.1.2.0/24 dev eth1 proto kernel scope link src 192.1.2.45
192.1.2.23 dev eth1 scope link src 10.199.199.254
west #
 echo done
done
west #
