==== carp_1 ==== doas -n ksh /home/src/regress/sys/netinet/carp/carp_1.sh -R "54 55" -I "11 12" -v ifconfig: bridge45 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge45 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device + ifconfig pair11 rdomain 54 192.168.0.2/24 + ifconfig pair12 rdomain 55 192.168.0.3/24 patch pair11 + ifconfig carp11 rdomain 54 192.168.0.1/24 vhid 251 carpdev pair11 -group carp group regressfde4a + ifconfig carp12 rdomain 55 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regressfde4b advskew 100 + wait_until ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp12 | grep -q 'status: backup' + ifconfig -g regressfde4a carpdemote + wait_until ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp12 | grep -q 'status: master' + cleanup + exit 0 ==== carp_2 ==== doas -n ksh /home/src/regress/sys/netinet/carp/carp_2.sh -R "54 55" -I "11 12" -v ifconfig: bridge45 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge45 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device + ifconfig pair11 rdomain 54 192.168.0.2/24 + ifconfig pair12 rdomain 55 192.168.0.3/24 patch pair11 + ifconfig pair11 + sed -n /^.*lladdr \(.*\)/s//\1/p + lladdr1=fe:e1:ba:d0:69:43 + ifconfig pair12 + sed -n /^.*lladdr \(.*\)/s//\1/p + lladdr2=fe:e1:ba:d1:77:b8 + ifconfig carp11 rdomain 54 lladdr fe:e1:ba:d0:69:43 192.168.0.1/24 vhid 251 carpdev pair11 -group carp group regress6d5da + ifconfig carp12 rdomain 55 lladdr fe:e1:ba:d1:77:b8 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress6d5db advskew 100 + wait_until ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp12 | grep -q 'status: backup' + ifconfig -g regress6d5da carpdemote + wait_until ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp12 | grep -q 'status: master' + cleanup + exit 0 ==== carp_3 ==== doas -n ksh /home/src/regress/sys/netinet/carp/carp_3.sh -R "54 55" -I "11 12" -v ifconfig: bridge45 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge45 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device + ifconfig pair11 rdomain 54 192.168.0.2/24 + ifconfig pair12 rdomain 55 192.168.0.3/24 patch pair11 + ifconfig carp11 rdomain 54 192.168.0.1/24 vhid 251 carpdev pair11 -group carp group regress7fa0a carppeer 192.168.0.3 + ifconfig carp12 rdomain 55 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress7fa0b advskew 100 carppeer 192.168.0.2 + wait_until ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp12 | grep -q 'status: backup' + ifconfig -g regress7fa0a carpdemote + wait_until ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp12 | grep -q 'status: master' + cleanup + exit 0 ==== carp_4 ==== doas -n ksh /home/src/regress/sys/netinet/carp/carp_4.sh -R "54 55" -I "11 12" -v ifconfig: bridge45 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge45 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge46 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge47 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge48 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: vxlan49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device ifconfig: bridge49 SIOCBRDGNFINDPV 1: Inappropriate ioctl for device + ifconfig pair11 rdomain 54 192.168.0.2/24 + ifconfig pair12 rdomain 55 192.168.0.3/24 patch pair11 + ifconfig pair11 + sed -n /^.*lladdr \(.*\)/s//\1/p + lladdr1=fe:e1:ba:d4:9c:14 + ifconfig pair12 + sed -n /^.*lladdr \(.*\)/s//\1/p + lladdr2=fe:e1:ba:d5:cf:fe + ifconfig carp11 rdomain 54 lladdr fe:e1:ba:d4:9c:14 192.168.0.1/24 vhid 251 carpdev pair11 -group carp group regress55e0a carppeer 192.168.0.3 + ifconfig carp12 rdomain 55 lladdr fe:e1:ba:d5:cf:fe 192.168.0.1/24 vhid 251 carpdev pair12 -group carp group regress55e0b advskew 100 carppeer 192.168.0.2 + wait_until ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp11 | grep -q 'status: master' + test sh -c ifconfig carp12 | grep -q 'status: backup' + ifconfig -g regress55e0a carpdemote + wait_until ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp11 | grep -q 'status: backup' + test sh -c ifconfig carp12 | grep -q 'status: master' + cleanup + exit 0