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

2 # SPDX-License-Identifier: BSD-2-Clause
19 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
61 atf_check -s exit:0 -o ignore jexec alcatraz ping -c 3 -t 1 192.0.2.2
62 atf_check -s exit:0 -o ignore jexec singsing ping -c 3 -t 1 192.0.2.1
111 # Give STP time to do its thing
117 if [ -z "${a_discard}" ] && [ -z "${b_discard}" ]
119 atf_fail "STP failed to detect bridging loop"
126 if [ -z "${a_forwarding}" ] && [ -z "${b_forwarding}" ]
128 atf_fail "STP failed to detect bridging loop"
186 # Give STP time to do its thing
192 if [ -z "${a_discard}" ] && [ -z "${b_discard}" ]
194 atf_fail "STP failed to detect bridging loop"
201 if [ -z "${a_forwarding}" ] && [ -z "${b_forwarding}" ]
203 atf_fail "STP failed to detect bridging loop"
227 vnet_mkjail one ${bridge} ${epair}a
231 jexec one ifconfig ${bridge} up
232 jexec one ifconfig ${epair}a up
233 jexec one ifconfig ${bridge} addm ${epair}a
236 atf_check -s exit:1 -o ignore -e ignore \
237 jexec one ifconfig ${bridge} static ${epair}b 00:01:02:03:04:05
240 atf_check -s exit:1 -o ignore -e ignore \
241 jexec one ifconfig ${bridge} static ${epair}a 00:01:02:03:04
244 atf_check -s exit:0 -o ignore \
245 jexec one ifconfig ${bridge} static ${epair}a 00:01:02:03:04:05
248 atf_check -s exit:0 -o ignore \
249 jexec one ifconfig ${bridge} addr
252 atf_check -s exit:1 -o ignore -e ignore \
253 jexec one ifconfig ${bridge} deladdr 00:01:02:03:04
256 atf_check -s exit:1 -o ignore -e ignore \
257 jexec one ifconfig ${bridge} deladdr 00:01:02:03:04:06
260 atf_check -s exit:0 -o ignore \
261 jexec one ifconfig ${bridge} deladdr 00:01:02:03:04:05
286 vnet_mkjail one ${bridge} ${epair}a ${epair_span}a
291 jexec one ifconfig ${bridge} up
292 jexec one ifconfig ${epair}a up
293 jexec one ifconfig ${epair_span}a up
294 jexec one ifconfig ${bridge} addm ${epair}a
296 jexec one ifconfig ${bridge} span ${epair_span}a
297 jexec one ifconfig ${bridge} 192.0.2.1/24
300 jexec one ping -c 1 -t 1 192.0.2.2
303 atf_check -s exit:0 \
305 --sendif ${epair}b \
306 --to 192.0.2.2 \
307 --recvif ${epair_span}b
309 jexec one ifconfig ${bridge} -span ${epair_span}a
312 atf_check -s exit:1 \
314 --sendif ${epair}b \
315 --to 192.0.2.2 \
316 --recvif ${epair_span}b
381 atf_check -s exit:0 -o ignore \
382 jexec bridge_mac_conflict_one ping -c 3 192.0.2.2
404 vnet_mkjail one ${bridge} ${epair}a
406 jexec one sysctl net.link.bridge.inherit_mac=1
408 # Attempt to provoke the panic described in #216510
409 jexec one ifconfig ${bridge} 192.0.0.1/24 up
410 jexec one ifconfig ${bridge} addm ${epair}a
452 atf_check -s exit:0 \
454 --sendif ${epair_one}b \
455 --recvif ${epair_two}b
477 vnet_mkjail one ${epair}a
480 jexec one sysctl net.link.gif.max_nesting=2
483 jexec one ifconfig ${epair}a 192.0.2.1/24 up
487 gif_one=$(jexec one ifconfig gif create)
490 jexec one ifconfig ${gif_one} tunnel 192.0.2.1 192.0.2.2
491 jexec one ifconfig ${gif_one} up
495 bridge_one=$(jexec one ifconfig bridge create)
497 jexec one ifconfig ${bridge_one} 198.51.100.1/24 up
498 jexec one ifconfig ${bridge_one} addm ${gif_one}
503 atf_check -s exit:0 -o ignore \
504 jexec one ping -c 1 192.0.2.2
507 atf_check -s exit:0 -o ignore \
508 jexec one ping -c 1 198.51.100.2
509 atf_check -s exit:0 -o ignore \
510 jexec one ping -c 1 -s 1200 198.51.100.2
511 atf_check -s exit:0 -o ignore \
512 jexec one ping -c 1 -s 2000 198.51.100.2
515 jexec one ifconfig ${epair}a mtu 1000
518 atf_check -s exit:0 -o ignore \
519 jexec one ping -c 1 -s 1200 198.51.100.2
520 atf_check -s exit:0 -o ignore \
521 jexec one ping -c 1 -s 2000 198.51.100.2
549 if [ $mtu -ne $expected ];
565 atf_check -s exit:0 \
569 atf_check -s exit:0 \
573 atf_check -s exit:0 \
581 atf_check -s exit:1 -e ignore \
588 # We're not allowed to change the MTU of a member interface
589 atf_check -s exit:1 -e ignore \
596 atf_check -s exit:0 -e ignore \
629 vnet_mkjail one ${epaira}b
637 jexec one ifconfig ${epaira}b up
638 jexec one ifconfig ${epaira}b.${vid} create
645 jexec one ifconfig ${epaira}b ether 02:05:6e:06:28:1a
646 jexec one ifconfig ${epaira}b.${vid} ether 02:05:6e:06:28:1b
649 jexec one ifconfig ${epaira}b.${vid} 192.0.2.1/24 up
655 jexec one ifconfig
659 atf_check -s exit:0 -o ignore \
660 jexec one ping -c 1 -t 1 192.0.2.2
663 jexec one ifconfig ${epaira}b 192.0.2.1/24 up
669 atf_check -s exit:0 -o ignore \
670 jexec one ping -c 1 -t 1 192.0.2.2
697 atf_check -s exit:0 -o inline:"$ifcount\n" \
698 sh -c "ifconfig ${bridge} | grep member: | wc -l | xargs"