Lines Matching +full:one +full:- +full:to +full:- +full:one

2 # SPDX-License-Identifier: BSD-2-Clause
16 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
39 if ! kldstat -q -m if_stf; then
42 if ! kldstat -q -m if_gif; then
51 # Simple gif to terminate 6to4
55 jexec relay route -6 add default -interface $gif
62 jexec client route -6 add default 2002:c000:0201::1
65 atf_check -s exit:0 -o ignore \
66 jexec client ping -c 1 192.0.2.1
68 atf_check -s exit:0 -o ignore \
69 jexec client ping6 -c 1 2002:c000:0201::1
72 atf_check -s exit:0 -o ignore \
73 jexec client ping6 -c 1 2001:db8::1
92 if ! kldstat -q -m if_stf; then
95 if ! kldstat -q -m if_gif; then
103 # Simple gif to terminate the 6RD tunnel
108 jexec br route -6 add default -interface $gif
115 atf_check -s exit:0 -o ignore \
116 jexec client ping -c 1 192.0.2.1
123 jexec client route -6 add default -interface $stf
125 atf_check -s exit:0 -o ignore \
126 jexec client ping6 -c 1 2001:db9::1
145 if ! kldstat -q -m if_stf; then
151 vnet_mkjail one ${epair}a
152 jexec one ifconfig lo0 up
153 jexec one ifconfig ${epair}a 192.0.2.1/24 up
154 stf_one=$(jexec one ifconfig stf create)
155 jexec one ifconfig $stf_one stfv4br 192.0.2.3
156 jexec one ifconfig $stf_one stfv4net 192.0.2.1/32
157 jexec one ifconfig $stf_one inet6 2001:db8:c000:0201::1/32 up
158 jexec one route -6 add default -interface $stf_one
167 jexec two route -6 add default -interface $stf_two
170 atf_check -s exit:0 -o ignore \
171 jexec one ping -c 1 192.0.2.2
174 atf_check -s exit:0 -o ignore \
175 jexec one ping6 -c 1 2001:db8:c000:0202::1
176 atf_check -s exit:0 -o ignore \
177 jexec two ping6 -c 1 2001:db8:c000:0201::1
180 jexec one ifconfig $stf_one inet6 2001:db8:c000:0201::1 delete
181 jexec one ifconfig $stf_one inet6 2001:0201::1/16
182 jexec one ifconfig $stf_one stfv4net 192.0.2.1/16
187 atf_check -s exit:0 -o ignore \
188 jexec one ping6 -c 1 2001:0202::1
189 atf_check -s exit:0 -o ignore \
190 jexec two ping6 -c 1 2001:0201::1