Lines Matching +full:23 +full:- +full:64
10 if ! sysctl -q kern.features.ipsec >/dev/null ; then
56 jexec hostA ifconfig ${epair_LAN_A}a inet6 2001:db8:1::1/64 up no_dad
57 jexec ipsecA ifconfig ${epair_LAN_A}b inet6 2001:db8:1::2/64 up no_dad
58 jexec ipsecA ifconfig ${epair_PUB_A}a inet6 2001:db8:23::2/64 up no_dad
59 jexec router ifconfig ${epair_PUB_A}b inet6 2001:db8:23::3/64 up no_dad
60 jexec router ifconfig ${epair_PUB_B}b inet6 2001:db8:34::3/64 up no_dad
61 jexec ipsecB ifconfig ${epair_PUB_B}a inet6 2001:db8:34::2/64 up no_dad
62 jexec ipsecB ifconfig ${epair_LAN_B}b inet6 2001:db8:45::2/64 up no_dad
63 jexec hostB ifconfig ${epair_LAN_B}a inet6 2001:db8:45::1/64 up no_dad
67 jexec hostA route -6 add default 2001:db8:1::2
68 jexec ipsecA route -6 add default 2001:db8:23::3
69 jexec ipsecB route -6 add default 2001:db8:34::3
70 jexec hostB route -6 add default 2001:db8:45::2
89 if [ ${afnet} -eq 4 ]; then
95 SRC_LAN="2001:db8:1::/64"
96 DST_LAN="2001:db8:45::/64"
97 SRC_GW="2001:db8:23::2"
100 printf "spdadd ${SRC_LAN} ${DST_LAN} any -P "
102 printf " ipsec esp/tunnel/${SRC_GW}-${DST_GW}/require;\n"
103 printf "spdadd ${DST_LAN} ${SRC_LAN} any -P "
105 printf " ipsec esp/tunnel/${DST_GW}-${SRC_GW}/require;\n"
106 printf "add ${SRC_GW} ${DST_GW} esp 0x1000 -E ${enc_algo} \"${enc_key}\""
107 [ -n "${auth_algo}" ] && printf " -A ${auth_algo} \"${auth_key}\";\n" || printf ";\n"
108 printf "add ${DST_GW} ${SRC_GW} esp 0x1001 -E ${enc_algo} \"${enc_key}\""
109 [ -n "$auth_algo" ] && printf " -A ${auth_algo} \"${auth_key}\";\n" || printf ";\n"
117 [ $1 -eq 4 ] && ist_v4_setup || ist_v6_setup
119 atf_check -s exit:0 -o ignore jexec ipsecA setkey -f ${TMPDIR}/ipsec.ipsecA.conf
121 atf_check -s exit:0 -o ignore jexec ipsecB setkey -f ${TMPDIR}/ipsec.ipsecB.conf
123 if [ $1 -eq 4 ]; then
124 atf_check -s exit:0 -o ignore jexec hostA ping -c 1 203.0.113.1
126 atf_check -s exit:0 -o ignore jexec hostA ping -6 -c 1 2001:db8:45::1