/testing/guestbin/swan-prep
east #
 ip tunnel add test0 mode gre local 192.1.2.23 remote 192.1.2.45
east #
 ip addr add 172.29.1.2/24 dev test0
east #
 ip link set dev test0 up
east #
 ipsec start
Redirecting to: [initsystem]
east #
 /testing/pluto/bin/wait-until-pluto-started
east #
 ipsec auto --add test1
002 "test1": terminating SAs using this connection
002 "test1": added IKEv1 connection
east #
 ipsec auto --add test2
002 "test2": terminating SAs using this connection
002 "test2": added IKEv1 connection
east #
 ipsec auto --add test3
002 "test3": terminating SAs using this connection
002 "test3": added IKEv1 connection
east #
 ipsec auto --ready
002 listening for IKE messages
002 forgetting secrets
002 loading secrets from "/etc/ipsec.secrets"
east #
 ip addr add 172.29.1.3/24 dev test0
east #
 ipsec auto --ready
002 listening for IKE messages
002 adding UDP interface test0 172.29.1.3:500
002 adding UDP interface test0 172.29.1.3:4500
003 two interfaces match "test3" (test0 172.29.1.3, test0 172.29.1.2)
002 "test3": terminating SAs using this connection
002 forgetting secrets
002 loading secrets from "/etc/ipsec.secrets"
east #
 ipsec auto --ready
002 listening for IKE messages
002 forgetting secrets
002 loading secrets from "/etc/ipsec.secrets"
east #
 
