Lines Matching +full:bridge0 +full:- +full:2
2 # SPDX-License-Identifier: BSD-2-Clause
14 # 2. Redistributions in binary form must reproduce the above copyright
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
117 if [ -z "${a_discard}" ] && [ -z "${b_discard}" ]
126 if [ -z "${a_forwarding}" ] && [ -z "${b_forwarding}" ]
192 if [ -z "${a_discard}" ] && [ -z "${b_discard}" ]
201 if [ -z "${a_forwarding}" ] && [ -z "${b_forwarding}" ]
236 atf_check -s exit:1 -o ignore -e ignore \
240 atf_check -s exit:1 -o ignore -e ignore \
244 atf_check -s exit:0 -o ignore \
248 atf_check -s exit:0 \
249 -o match:"00:01:02:03:04:05 Vlan0 ${epair}a 0 flags=1<STATIC>" \
253 atf_check -s exit:1 -o ignore -e ignore \
257 atf_check -s exit:1 -o ignore -e ignore \
261 atf_check -s exit:0 -o ignore \
294 atf_check -s exit:1 -o ignore -e ignore jexec one \
298 atf_check -s exit:1 -o ignore -e ignore jexec one \
302 atf_check -s exit:1 -o ignore -e ignore jexec one \
306 atf_check -s exit:0 -o ignore jexec one \
310 atf_check -s exit:0 \
311 -o match:"00:01:02:03:04:05 Vlan10 ${epair}a 0 flags=1<STATIC>" \
315 atf_check -s exit:1 -o ignore -e ignore jexec one \
319 atf_check -s exit:1 -o ignore -e ignore jexec one \
323 atf_check -s exit:1 -o ignore -e ignore jexec one \
327 atf_check -s exit:0 -o ignore jexec one \
367 jexec one ping -c 1 -t 1 192.0.2.2
370 atf_check -s exit:0 \
372 --sendif ${epair}b \
373 --to 192.0.2.2 \
374 --recvif ${epair_span}b
376 jexec one ifconfig ${bridge} -span ${epair_span}a
379 atf_check -s exit:1 \
381 --sendif ${epair}b \
382 --to 192.0.2.2 \
383 --recvif ${epair_span}b
439 jexec bridge_mac_conflict_one ifconfig bridge0 192.0.2.1/24 up \
444 jexec bridge_mac_conflict_two ifconfig bridge0 192.0.2.2/24 up \
448 atf_check -s exit:0 -o ignore \
449 jexec bridge_mac_conflict_one ping -c 3 192.0.2.2
519 atf_check -s exit:0 \
521 --sendif ${epair_one}b \
522 --recvif ${epair_two}b
547 jexec one sysctl net.link.gif.max_nesting=2
548 jexec two sysctl net.link.gif.max_nesting=2
570 atf_check -s exit:0 -o ignore \
571 jexec one ping -c 1 192.0.2.2
574 atf_check -s exit:0 -o ignore \
575 jexec one ping -c 1 198.51.100.2
576 atf_check -s exit:0 -o ignore \
577 jexec one ping -c 1 -s 1200 198.51.100.2
578 atf_check -s exit:0 -o ignore \
579 jexec one ping -c 1 -s 2000 198.51.100.2
585 atf_check -s exit:0 -o ignore \
586 jexec one ping -c 1 -s 1200 198.51.100.2
587 atf_check -s exit:0 -o ignore \
588 jexec one ping -c 1 -s 2000 198.51.100.2
613 expected=$2
616 if [ "$mtu" -ne "$expected" ];
632 atf_check -s exit:0 \
636 atf_check -s exit:0 \
640 atf_check -s exit:0 \
648 atf_check -s exit:1 -e ignore \
656 atf_check -s exit:1 -e ignore \
663 atf_check -s exit:0 -e ignore \
726 atf_check -s exit:0 -o ignore \
727 jexec one ping -c 1 -t 1 192.0.2.2
736 atf_check -s exit:0 -o ignore \
737 jexec one ping -c 1 -t 1 192.0.2.2
764 atf_check -s exit:0 -o inline:"$ifcount\n" \
765 sh -c "ifconfig ${bridge} | grep member: | wc -l | xargs"
791 jexec one ifconfig bridge0 create addm ${ep}b
793 atf_check -s exit:0 -o ignore ping -c3 -t1 192.0.2.2
821 atf_check -s exit:1 -e ignore jexec one ifconfig ${bridge} addm ${ep}
826 atf_check -s exit:1 -e ignore jexec one ifconfig ${bridge} addm ${ep}
828 # adding an interface with an IPv6 link-local address
830 jexec one ifconfig ${ep} inet6 -ifdisabled auto_linklocal up
831 atf_check -s exit:1 -e ignore jexec one ifconfig ${bridge} addm ${ep}
836 atf_check -s exit:1 -e ignore jexec one ifconfig ${ep} inet 192.0.2.2/32
841 atf_check -s exit:1 -e ignore jexec one ifconfig ${ep} inet6 2001:db8::1/128
870 atf_check -s exit:0 jexec one ifconfig ${epone}a up
871 atf_check -s exit:0 jexec one \
879 atf_check -s exit:0 -o save:bridge jexec two ifconfig bridge create
881 atf_check -s exit:0 jexec two ifconfig ${bridge} addm ${epone}b up
883 atf_check -s exit:0 -o ignore jexec two \
885 atf_check -s exit:0 jexec two ifconfig ${epone}b up
886 atf_check -s exit:0 jexec two \
890 atf_check -s exit:0 -o ignore jexec one ping -c 3 -t 1 192.0.2.2
891 atf_check -s exit:0 -o ignore jexec two ping -c 3 -t 1 192.0.2.1
929 atf_check -s exit:0 -o ignore jexec one ping -c 3 -t 1 192.0.2.2
930 atf_check -s exit:0 -o ignore jexec two ping -c 3 -t 1 192.0.2.1
933 ifconfig ${bridge} -untagged ${epone}a
934 atf_check -s exit:2 -o ignore jexec one ping -c 3 -t 1 192.0.2.2
935 atf_check -s exit:2 -o ignore jexec two ping -c 3 -t 1 192.0.2.1
972 atf_check -s exit:2 -o ignore jexec one ping -c 3 -t 1 192.0.2.2
973 atf_check -s exit:2 -o ignore jexec two ping -c 3 -t 1 192.0.2.1
1014 atf_check -s exit:2 -o ignore jexec one ping -c 3 -t 1 192.0.2.2
1015 atf_check -s exit:2 -o ignore jexec two ping -c 3 -t 1 192.0.2.1
1058 atf_check -s exit:0 -o ignore jexec one ping -c 3 -t 1 192.0.2.2
1059 atf_check -s exit:0 -o ignore jexec two ping -c 3 -t 1 192.0.2.1
1103 atf_check -s exit:2 -o ignore jexec one ping -c 3 -t 1 192.0.2.2
1104 atf_check -s exit:2 -o ignore jexec two ping -c 3 -t 1 192.0.2.1
1109 atf_check -s exit:0 ifconfig ${bridge} untagged ${epone}a 20
1110 atf_check -s exit:0 ifconfig ${bridge} untagged ${eptwo}a 20
1112 atf_check -s exit:2 -o ignore jexec one ping -c 3 -t 1 192.0.2.2
1113 atf_check -s exit:2 -o ignore jexec two ping -c 3 -t 1 192.0.2.1
1115 atf_check -s exit:0 ifconfig ${bridge} -untagged ${epone}a
1116 atf_check -s exit:0 ifconfig ${bridge} -untagged ${eptwo}a
1118 # Add VLANs 10-30 to the access list; now access should be allowed.
1119 ifconfig ${bridge} +tagged ${epone}a 10-30
1120 ifconfig ${bridge} +tagged ${eptwo}a 10-30
1121 atf_check -s exit:0 -o ignore jexec one ping -c 3 -t 1 192.0.2.2
1122 atf_check -s exit:0 -o ignore jexec two ping -c 3 -t 1 192.0.2.1
1126 ifconfig ${bridge} -tagged ${epone}a 20
1127 ifconfig ${bridge} -tagged ${eptwo}a 20
1128 atf_check -s exit:2 -o ignore jexec one ping -c 3 -t 1 192.0.2.2
1129 atf_check -s exit:2 -o ignore jexec two ping -c 3 -t 1 192.0.2.1
1159 atf_check -s exit:0 -o not-match:"tagged" ifconfig ${bridge}
1161 # Add vlans 100-149.
1162 atf_check -s exit:0 ifconfig ${bridge} tagged ${ep}a 100-149
1163 atf_check -s exit:0 -o match:"tagged 100-149" ifconfig ${bridge}
1165 # Replace the vlan list with 139-199.
1166 atf_check -s exit:0 ifconfig ${bridge} tagged ${ep}a 139-199
1167 atf_check -s exit:0 -o match:"tagged 139-199" ifconfig ${bridge}
1169 # Add vlans 100-170.
1170 atf_check -s exit:0 ifconfig ${bridge} +tagged ${ep}a 100-170
1171 atf_check -s exit:0 -o match:"tagged 100-199" ifconfig ${bridge}
1173 # Remove vlans 104, 105, and 150-159
1174 atf_check -s exit:0 ifconfig ${bridge} -tagged ${ep}a 104,105,150-159
1175 atf_check -s exit:0 -o match:"tagged 100-103,106-149,160-199" \
1179 atf_check -s exit:0 ifconfig ${bridge} tagged ${ep}a none
1180 atf_check -s exit:0 -o not-match:"tagged" ifconfig ${bridge}
1183 for bad_vlan in -1 0 4096 4097 foo 0-10 4000-5000 foo-40 40-foo; do
1184 atf_check -s exit:1 -e ignore \
1226 atf_check -s exit:0 -o ignore ping -c 3 -t 1 192.0.2.1
1276 atf_check -s exit:2 -o ignore jexec one ping -c 3 -t 1 192.0.2.2
1277 atf_check -s exit:2 -o ignore jexec two ping -c 3 -t 1 192.0.2.1
1282 atf_check -s exit:0 -o ignore jexec one ping -c 3 -t 1 192.0.2.2
1283 atf_check -s exit:0 -o ignore jexec two ping -c 3 -t 1 192.0.2.1
1305 atf_check -s exit:0 ifconfig ${bridge}.1 create
1306 atf_check -s exit:1 -e ignore ifconfig ${bridge} addm ${bridge}.1