/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
east #
 ../../guestbin/ip.sh address add 192.0.21.254/24 dev eth0 2>/dev/null
east #
 ../../guestbin/ip.sh address add 192.0.22.254/24 dev eth0 2>/dev/null
east #
 ../../guestbin/ip.sh address add 192.0.23.254/24 dev eth0 2>/dev/null
east #
 ../../guestbin/ip.sh address add 192.0.24.254/24 dev eth0 2>/dev/null
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add north-east-21
"north-east-21": created ipsec-interface ipsec21@eth1
"north-east-21": added IKEv2 connection
east #
 ipsec auto --add north-east-22
"north-east-22": created ipsec-interface ipsec22@eth1
"north-east-22": added IKEv2 connection
east #
 ipsec auto --add north-east-23
"north-east-23": created ipsec-interface ipsec23@eth1
"north-east-23": added IKEv2 connection
east #
 ipsec auto --add north-east-24
"north-east-24": created ipsec-interface ipsec24@eth1
"north-east-24": added IKEv2 connection
east #
 echo "initdone"
initdone
east #
 ipsec whack --trafficstatus
#2: "north-east-21", type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='@north'
#4: "north-east-22", type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='@north'
#6: "north-east-23", type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='@north'
#8: "north-east-24", type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='@north'
east #
 ../../guestbin/ip.sh -s link show ipsec1
Device "ipsec1" does not exist.
east #
 ../../guestbin/ip.sh rule show
0:	from all lookup local
32766:	from all lookup main
32767:	from all lookup default
east #
 ../../guestbin/ip.sh route show table 50
Error: ipv4: FIB table does not exist.
Dump terminated
east #
 ../../guestbin/ip.sh route
default via 192.1.2.254 dev eth1
192.0.1.0/24 via 192.1.2.45 dev eth1
192.0.2.0/24 dev eth0 proto kernel scope link src 192.0.2.254
192.0.21.0/24 dev eth0 proto kernel scope link src 192.0.21.254
192.0.22.0/24 dev eth0 proto kernel scope link src 192.0.22.254
192.0.23.0/24 dev eth0 proto kernel scope link src 192.0.23.254
192.0.24.0/24 dev eth0 proto kernel scope link src 192.0.24.254
192.0.31.0/24 dev ipsec21 scope link
192.0.32.0/24 dev ipsec22 scope link
192.0.33.0/24 dev ipsec23 scope link
192.0.34.0/24 dev ipsec24 scope link
192.1.2.0/24 dev eth1 proto kernel scope link src 192.1.2.23
east #
 ../../guestbin/ip.sh -d link show type xfrm
X: ipsec21@eth1: <NOARP,UP,LOWER_UP> mtu 1500 state UNKNOWN
    xfrm if_id 0x15 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 tso_max_size 65536 tso_max_segs 65535 gro_max_size 65536 gso_ipv4_max_size 65536 gro_ipv4_max_size 65536 
X: ipsec22@eth1: <NOARP,UP,LOWER_UP> mtu 1500 state UNKNOWN
    xfrm if_id 0x16 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 tso_max_size 65536 tso_max_segs 65535 gro_max_size 65536 gso_ipv4_max_size 65536 gro_ipv4_max_size 65536 
X: ipsec23@eth1: <NOARP,UP,LOWER_UP> mtu 1500 state UNKNOWN
    xfrm if_id 0x17 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 tso_max_size 65536 tso_max_segs 65535 gro_max_size 65536 gso_ipv4_max_size 65536 gro_ipv4_max_size 65536 
X: ipsec24@eth1: <NOARP,UP,LOWER_UP> mtu 1500 state UNKNOWN
    xfrm if_id 0x18 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 tso_max_size 65536 tso_max_segs 65535 gro_max_size 65536 gso_ipv4_max_size 65536 gro_ipv4_max_size 65536 
east #
 
