==== network_statement ==== doas -n ksh /home/src/regress/usr.sbin/ospf6d/network_statement.sh /usr/sbin/ospf6d /home/src/regress/usr.sbin/ospf6d /home/src/regress/usr.sbin/ospf6d/obj 59 60 pair59 pair60 check if rdomains are busy check if interfaces are busy + echo setup setup + ifconfig pair59 inet6 rdomain 59 2001:db8::59/64 up + ifconfig pair60 inet6 rdomain 60 2001:db8::60/64 up + ifconfig pair59 patch pair60 + ifconfig lo59 inet6 2001:db8:aaaa::59/128 + ifconfig lo60 inet6 2001:db8:aaaa::60/128 + ifconfig vether59 inet6 rdomain 59 2001:db8:59::/64 up + ifconfig vether60 inet6 rdomain 60 2001:db8:60::/64 up + ifconfig vether60 inet6 rdomain 60 2001:db8:60:60::/64 up + sed s/{RDOMAIN1}/59/g;s/{PAIR1}/pair59/g /home/src/regress/usr.sbin/ospf6d/ospf6d.network_statement.rdomain1.conf + > /home/src/regress/usr.sbin/ospf6d/obj/ospf6d.1.conf + chmod 0600 /home/src/regress/usr.sbin/ospf6d/obj/ospf6d.1.conf + sed s/{RDOMAIN2}/60/g;s/{PAIR2}/pair60/g /home/src/regress/usr.sbin/ospf6d/ospf6d.network_statement.rdomain2.conf + > /home/src/regress/usr.sbin/ospf6d/obj/ospf6d.2.conf + chmod 0600 /home/src/regress/usr.sbin/ospf6d/obj/ospf6d.2.conf + echo add routes add routes + route -T 60 add -inet6 default 2001:db8:60::1 add net default: gateway 2001:db8:60::1 + route -T 60 add 2001:db8:ffff::/126 2001:db8:60::2 add net 2001:db8:ffff::/126: gateway 2001:db8:60::2 + route -T 60 add 2001:db8:fffe::/64 2001:db8:60::3 -label toOSPF add net 2001:db8:fffe::/64: gateway 2001:db8:60::3 + echo start ospf6d start ospf6d + route -T 59 exec /usr/sbin/ospf6d -v -f /home/src/regress/usr.sbin/ospf6d/obj/ospf6d.1.conf interface with index 4 not found if_newaddr: ifindex 4, addr fe80::1/64, dest :: interface with index 1 not found interface with index 2 not found interface with index 3 not found interface with index 5 not found interface with index 293 not found if_newaddr: ifindex 293, addr fe80::1/64, dest :: interface with index 482 not found interface with index 489 not found interface with index 499 not found interface with index 500 not found if_newaddr: ifindex 500, addr fe80::fce1:baff:feda:709b/64 if_newaddr: ifindex 500, addr 2001:db8::59/64 interface with index 501 not found if_newaddr: ifindex 501, addr fe80::1/64, dest :: if_newaddr: ifindex 501, addr 2001:db8:aaaa::59/128, dest :: interface with index 502 not found if_newaddr: ifindex 502, addr fe80::fce1:baff:fedb:7eff/64 if_newaddr: ifindex 502, addr 2001:db8::60/64 interface with index 503 not found if_newaddr: ifindex 503, addr fe80::1/64, dest :: if_newaddr: ifindex 503, addr 2001:db8:aaaa::60/128, dest :: interface with index 504 not found if_newaddr: ifindex 504, addr fe80::fce1:baff:fedc:1e26/64 if_newaddr: ifindex 504, addr 2001:db8:59::/64 interface with index 505 not found if_newaddr: ifindex 505, addr fe80::fce1:baff:fedd:7c0e/64 if_newaddr: ifindex 505, addr 2001:db8:60::/64 if_newaddr: ifindex 505, addr 2001:db8:60:60::/64 + route -T 60 exec /usr/sbin/ospf6d -v -f /home/src/regress/usr.sbin/ospf6d/obj/ospf6d.2.conf interface with index 4 not found if_newaddr: ifindex 4, addr fe80::1/64, dest :: interface with index 1 not found interface with index 2 not found interface with index 3 not found interface with index 5 not found interface with index 293 not found if_newaddr: ifindex 293, addr fe80::1/64, dest :: interface with index 482 not found interface with index 489 not found interface with index 499 not found interface with index 500 not found if_newaddr: ifindex 500, addr fe80::fce1:baff:feda:709b/64 if_newaddr: ifindex 500, addr 2001:db8::59/64 interface with index 501 not found if_newaddr: ifindex 501, addr fe80::1/64, dest :: if_newaddr: ifindex 501, addr 2001:db8:aaaa::59/128, dest :: interface with index 502 not found if_newaddr: ifindex 502, addr fe80::fce1:baff:fedb:7eff/64 if_newaddr: ifindex 502, addr 2001:db8::60/64 interface with index 503 not found if_newaddr: ifindex 503, addr fe80::1/64, dest :: if_newaddr: ifindex 503, addr 2001:db8:aaaa::60/128, dest :: interface with index 504 not found if_newaddr: ifindex 504, addr fe80::fce1:baff:fedc:1e26/64 if_newaddr: ifindex 504, addr 2001:db8:59::/64 interface with index 505 not found if_newaddr: ifindex 505, addr fe80::fce1:baff:fedd:7c0e/64 if_newaddr: ifindex 505, addr 2001:db8:60::/64 if_newaddr: ifindex 505, addr 2001:db8:60:60::/64 + sleep 55 + echo tests tests + route -T 59 exec ospf6ctl sh fib flags: * = valid, O = OSPF, C = Connected, S = Static Flags Prio Destination Nexthop *O 62 ::/0 fe80::fce1:baff:fedb:7eff%pair59 *C 0 ::1/128 link#0 * 1 ::1/128 ::1 *C 4 2001:db8::/64 2001:db8::59 *C 4 2001:db8:59::/64 2001:db8:59:: *O 62 2001:db8:60::/64 fe80::fce1:baff:fedb:7eff%pair59 *O 62 2001:db8:60:60::/64 fe80::fce1:baff:fedb:7eff%pair59 * 1 2001:db8:aaaa::59/128 2001:db8:aaaa::59 *O 62 2001:db8:aaaa::60/128 fe80::fce1:baff:fedb:7eff%pair59 *O 62 2001:db8:fffe::/64 fe80::fce1:baff:fedb:7eff%pair59 *O 62 2001:db8:ffff::/126 fe80::fce1:baff:fedb:7eff%pair59 *C 4 fe80::%pair59/64 fe80::fce1:baff:feda:709b%pair59 * 1 fe80::1%lo59/128 fe80::1%lo59 *C 4 fe80::%vether59/64 fe80::fce1:baff:fedc:1e26%vether59 * 4 ff01::%pair59/32 fe80::fce1:baff:feda:709b%pair59 * 4 ff01::%lo59/32 fe80::1%lo59 * 4 ff01::%vether59/32 fe80::fce1:baff:fedc:1e26%vether59 * 4 ff02::%pair59/32 fe80::fce1:baff:feda:709b%pair59 * 4 ff02::%lo59/32 fe80::1%lo59 * 4 ff02::%vether59/32 fe80::fce1:baff:fedc:1e26%vether59 + route -T 59 exec ospf6ctl sh rib Destination Nexthop Path Type Type Cost Uptime ::2.2.2.2 fe80::fce1:baff:fedb:7eff%pair59 Inter-Area Router 10 00:00:08 2001:db8::/64 :: C Intra-Area Network 10 00:00:14 2001:db8:60::/64 fe80::fce1:baff:fedb:7eff%pair59 Intra-Area Network 65545 00:00:08 2001:db8:60:60::/64 fe80::fce1:baff:fedb:7eff%pair59 Intra-Area Network 65545 00:00:08 2001:db8:aaaa::60/128 fe80::fce1:baff:fedb:7eff%pair59 Intra-Area Network 10 00:00:08 ::/0 fe80::fce1:baff:fedb:7eff%pair59 Type 1 ext Network 110 00:00:08 2001:db8:fffe::/64 fe80::fce1:baff:fedb:7eff%pair59 Type 1 ext Network 110 00:00:08 2001:db8:ffff::/126 fe80::fce1:baff:fedb:7eff%pair59 Type 1 ext Network 110 00:00:08 + route -T 59 exec ospf6ctl sh rib + grep 2001:db8:aaaa::60/128 2001:db8:aaaa::60/128 fe80::fce1:baff:fedb:7eff%pair59 Intra-Area Network 10 00:00:08 + route -T 59 exec ospf6ctl sh rib + grep 2001:db8:60::/64 2001:db8:60::/64 fe80::fce1:baff:fedb:7eff%pair59 Intra-Area Network 65545 00:00:08 + route -T 59 exec ospf6ctl sh rib + grep 2001:db8:60:60::/64 2001:db8:60:60::/64 fe80::fce1:baff:fedb:7eff%pair59 Intra-Area Network 65545 00:00:08 + route -T 59 exec ospf6ctl sh rib + grep 2001:db8:ffff::/126 2001:db8:ffff::/126 fe80::fce1:baff:fedb:7eff%pair59 Type 1 ext Network 110 00:00:08 + route -T 59 exec ospf6ctl sh rib + grep ::/0 ::/0 fe80::fce1:baff:fedb:7eff%pair59 Type 1 ext Network 110 00:00:08 + route -T 59 exec ospf6ctl sh rib + grep 2001:db8:fffe::/64 2001:db8:fffe::/64 fe80::fce1:baff:fedb:7eff%pair59 Type 1 ext Network 110 00:00:08 + exit 0 + error_notify 0 cleanup SUCCESS