START sys/net/pair 2024-10-16T01:43:33Z ==== ifconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 fc00::13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair11 destroy ifconfig: pair11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair12 destroy ifconfig: pair12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/route -n -T 11 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 11 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo12 rdomain 12 /sbin/ifconfig lo12 inet 127.0.0.1/8 /sbin/ifconfig lo12 inet6 ::1/128 /sbin/route -n -T 12 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 12 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 127.0.0.1/8 /sbin/ifconfig lo13 inet6 ::1/128 /sbin/route -n -T 13 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 13 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig pair11 rdomain 11 /sbin/ifconfig pair11 inet 169.254.1.11/24 /sbin/ifconfig pair11 inet6 fc00:0:0:1::11/64 /sbin/ifconfig pair12 rdomain 12 /sbin/ifconfig pair12 inet 169.254.1.12/24 /sbin/ifconfig pair12 inet6 fc00:0:0:1::12/64 /sbin/ifconfig pair11 patch pair12 /sbin/ifconfig lo13 inet 169.254.0.13/24 alias /sbin/ifconfig lo13 inet6 fc00::13/64 /sbin/ifconfig pair11 mtu 8000 /sbin/route -n -T 11 add -inet 169.254.0.13 169.254.1.12 add host 169.254.0.13: gateway 169.254.1.12 /sbin/route -n -T 11 add -inet6 fc00::13 fc00:0:0:1::12 add host fc00::13: gateway fc00:0:0:1::12 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'LO_N1="lo11"' >>addr.py.tmp echo 'PAIR_N1="pair11"' >>addr.py.tmp echo 'IP_N1="169.254.1.11"' >>addr.py.tmp echo 'IP6_N1="fc00:0:0:1::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'LO_N2="lo12"' >>addr.py.tmp echo 'PAIR_N2="pair12"' >>addr.py.tmp echo 'IP_N2="169.254.1.12"' >>addr.py.tmp echo 'IP6_N2="fc00:0:0:1::12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'LO_N3="lo13"' >>addr.py.tmp echo 'PAIR_N3="pair13"' >>addr.py.tmp echo 'IP_N3="169.254.0.13"' >>addr.py.tmp echo 'IP6_N3="fc00::13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1-1 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.042 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.043 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 916118272 7328.946 100.00% Conn: 1 Mbps: 7328.946 Peak Mbps: 7328.946 Avg Mbps: 7328.946 2000 916865384 7342.265 100.00% Conn: 1 Mbps: 7342.265 Peak Mbps: 7342.265 Avg Mbps: 7342.265 3000 915959312 7327.674 100.00% Conn: 1 Mbps: 7327.674 Peak Mbps: 7342.265 Avg Mbps: 7327.674 4000 915315524 7322.524 100.00% Conn: 1 Mbps: 7322.524 Peak Mbps: 7342.265 Avg Mbps: 7322.524 5000 916793852 7334.351 100.00% Conn: 1 Mbps: 7334.351 Peak Mbps: 7342.265 Avg Mbps: 7334.351 --- 169.254.1.11 tcpbench statistics --- 5497377264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7322.524/7331.152/7342.265/6.710 Mbps ==== run-tcpbench6-1-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 927013112 7416.105 100.00% Conn: 1 Mbps: 7416.105 Peak Mbps: 7416.105 Avg Mbps: 7416.105 2000 927956544 7431.083 100.00% Conn: 1 Mbps: 7431.083 Peak Mbps: 7431.083 Avg Mbps: 7431.083 3000 927005184 7416.041 100.00% Conn: 1 Mbps: 7416.041 Peak Mbps: 7431.083 Avg Mbps: 7416.041 4000 928416368 7427.331 100.00% Conn: 1 Mbps: 7427.331 Peak Mbps: 7431.083 Avg Mbps: 7427.331 5000 926941760 7415.534 100.00% Conn: 1 Mbps: 7415.534 Peak Mbps: 7431.083 Avg Mbps: 7415.534 --- fc00:0:0:1::11 tcpbench statistics --- 5565392576 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7415.534/7421.219/7431.083/6.632 Mbps ==== run-ping-1-2 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.062 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.062/0.062/0.062/0.000 ms ==== run-ping6-1-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.124 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.124/0.124/0.124/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 267720624 2141.765 100.00% Conn: 1 Mbps: 2141.765 Peak Mbps: 2141.765 Avg Mbps: 2141.765 2001 268368632 2146.949 100.00% Conn: 1 Mbps: 2146.949 Peak Mbps: 2146.949 Avg Mbps: 2146.949 3000 267924320 2145.540 100.00% Conn: 1 Mbps: 2145.540 Peak Mbps: 2146.949 Avg Mbps: 2145.540 4001 268123576 2144.989 100.00% Conn: 1 Mbps: 2144.989 Peak Mbps: 2146.949 Avg Mbps: 2144.989 5001 268105360 2144.843 100.00% Conn: 1 Mbps: 2144.843 Peak Mbps: 2146.949 Avg Mbps: 2144.843 --- 169.254.1.12 tcpbench statistics --- 1607633064 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2141.765/2144.817/2146.949/1.698 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 258954644 2071.637 100.00% Conn: 1 Mbps: 2071.637 Peak Mbps: 2071.637 Avg Mbps: 2071.637 2000 259241964 2076.012 100.00% Conn: 1 Mbps: 2076.012 Peak Mbps: 2076.012 Avg Mbps: 2076.012 3001 259645268 2077.162 100.00% Conn: 1 Mbps: 2077.162 Peak Mbps: 2077.162 Avg Mbps: 2077.162 4002 259473032 2075.784 100.00% Conn: 1 Mbps: 2075.784 Peak Mbps: 2077.162 Avg Mbps: 2075.784 5001 259130100 2075.116 100.00% Conn: 1 Mbps: 2075.116 Peak Mbps: 2077.162 Avg Mbps: 2075.116 --- fc00:0:0:1::12 tcpbench statistics --- 1555574276 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2071.637/2075.142/2077.162/1.873 Mbps ==== run-ping-1-3 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=254 time=0.056 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.056/0.056/0.056/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.064 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.064/0.064/0.064/0.000 ms ==== run-tcpbench-1-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 421363220 3370.906 100.00% Conn: 1 Mbps: 3370.906 Peak Mbps: 3370.906 Avg Mbps: 3370.906 2000 420647900 3368.552 100.00% Conn: 1 Mbps: 3368.552 Peak Mbps: 3370.906 Avg Mbps: 3368.552 3000 421474492 3371.796 100.00% Conn: 1 Mbps: 3371.796 Peak Mbps: 3371.796 Avg Mbps: 3371.796 4000 421697036 3373.576 100.00% Conn: 1 Mbps: 3373.576 Peak Mbps: 3373.576 Avg Mbps: 3373.576 5000 420012060 3360.096 100.00% Conn: 1 Mbps: 3360.096 Peak Mbps: 3373.576 Avg Mbps: 3360.096 --- 169.254.0.13 tcpbench statistics --- 2526240008 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3360.096/3368.985/3373.576/4.730 Mbps ==== run-tcpbench6-1-3 ==== rm -f nc.log nc -6 -v -l -V 13 fc00::13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00::13 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00::13 elapsed_ms bytes mbps bwidth 1000 411288784 3290.310 100.00% Conn: 1 Mbps: 3290.310 Peak Mbps: 3290.310 Avg Mbps: 3290.310 2000 410575264 3287.890 100.00% Conn: 1 Mbps: 3287.890 Peak Mbps: 3290.310 Avg Mbps: 3287.890 3000 410052016 3280.416 100.00% Conn: 1 Mbps: 3280.416 Peak Mbps: 3290.310 Avg Mbps: 3280.416 4000 411399776 3291.198 100.00% Conn: 1 Mbps: 3291.198 Peak Mbps: 3291.198 Avg Mbps: 3291.198 5000 411796176 3294.369 100.00% Conn: 1 Mbps: 3294.369 Peak Mbps: 3294.369 Avg Mbps: 3294.369 --- fc00::13 tcpbench statistics --- 2466416656 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3280.416/3288.837/3294.369/4.694 Mbps ==== run-ping-2-1 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.045 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.045 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 267314152 2138.513 100.00% Conn: 1 Mbps: 2138.513 Peak Mbps: 2138.513 Avg Mbps: 2138.513 2000 267354472 2138.836 100.00% Conn: 1 Mbps: 2138.836 Peak Mbps: 2138.836 Avg Mbps: 2138.836 3001 268556536 2148.452 100.00% Conn: 1 Mbps: 2148.452 Peak Mbps: 2148.452 Avg Mbps: 2148.452 4000 268166464 2147.479 100.00% Conn: 1 Mbps: 2147.479 Peak Mbps: 2148.452 Avg Mbps: 2147.479 5001 268793840 2150.351 100.00% Conn: 1 Mbps: 2150.351 Peak Mbps: 2150.351 Avg Mbps: 2150.351 --- 169.254.1.11 tcpbench statistics --- 1608279592 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2138.513/2144.726/2150.351/5.028 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 259666424 2077.331 100.00% Conn: 1 Mbps: 2077.331 Peak Mbps: 2077.331 Avg Mbps: 2077.331 2000 259901616 2079.213 100.00% Conn: 1 Mbps: 2079.213 Peak Mbps: 2079.213 Avg Mbps: 2079.213 3001 260258928 2082.071 100.00% Conn: 1 Mbps: 2082.071 Peak Mbps: 2082.071 Avg Mbps: 2082.071 4001 260656760 2087.341 100.00% Conn: 1 Mbps: 2087.341 Peak Mbps: 2087.341 Avg Mbps: 2087.341 5001 261056940 2088.456 100.00% Conn: 1 Mbps: 2088.456 Peak Mbps: 2088.456 Avg Mbps: 2088.456 --- fc00:0:0:1::11 tcpbench statistics --- 1562314596 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2077.331/2082.883/2088.456/4.379 Mbps ==== run-ping-2-2 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.039 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.043 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-tcpbench-2-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 925496440 7403.972 100.00% Conn: 1 Mbps: 7403.972 Peak Mbps: 7403.972 Avg Mbps: 7403.972 2000 921945944 7382.951 100.00% Conn: 1 Mbps: 7382.951 Peak Mbps: 7403.972 Avg Mbps: 7382.951 3000 922549760 7380.398 100.00% Conn: 1 Mbps: 7380.398 Peak Mbps: 7403.972 Avg Mbps: 7380.398 4000 923223080 7385.785 100.00% Conn: 1 Mbps: 7385.785 Peak Mbps: 7403.972 Avg Mbps: 7385.785 5000 922730760 7381.846 100.00% Conn: 1 Mbps: 7381.846 Peak Mbps: 7403.972 Avg Mbps: 7381.846 --- 169.254.1.12 tcpbench statistics --- 5538937384 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7380.398/7386.990/7403.972/8.672 Mbps ==== run-tcpbench6-2-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 937256376 7498.051 100.00% Conn: 1 Mbps: 7498.051 Peak Mbps: 7498.051 Avg Mbps: 7498.051 2000 938261688 7513.607 100.00% Conn: 1 Mbps: 7513.607 Peak Mbps: 7513.607 Avg Mbps: 7513.607 3000 937901832 7503.215 100.00% Conn: 1 Mbps: 7503.215 Peak Mbps: 7513.607 Avg Mbps: 7503.215 4000 938066052 7512.040 100.00% Conn: 1 Mbps: 7512.040 Peak Mbps: 7513.607 Avg Mbps: 7512.040 5000 937264944 7498.120 100.00% Conn: 1 Mbps: 7498.120 Peak Mbps: 7513.607 Avg Mbps: 7498.120 --- fc00:0:0:1::12 tcpbench statistics --- 5626454232 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7498.051/7505.007/7513.607/6.670 Mbps ==== run-ping-2-3 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.043 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.045 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-2-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 1372723362 10981.787 100.00% Conn: 1 Mbps: 10981.787 Peak Mbps: 10981.787 Avg Mbps: 10981.787 2000 1383134332 11076.151 100.00% Conn: 1 Mbps: 11076.151 Peak Mbps: 11076.151 Avg Mbps: 11076.151 3000 1383984948 11071.880 100.00% Conn: 1 Mbps: 11071.880 Peak Mbps: 11076.151 Avg Mbps: 11071.880 4000 1381923840 11055.391 100.00% Conn: 1 Mbps: 11055.391 Peak Mbps: 11076.151 Avg Mbps: 11055.391 5000 1377670760 11021.366 100.00% Conn: 1 Mbps: 11021.366 Peak Mbps: 11076.151 Avg Mbps: 11021.366 --- 169.254.0.13 tcpbench statistics --- 8275635782 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10981.787/11041.315/11076.151/35.461 Mbps ==== run-tcpbench6-2-3 ==== rm -f nc.log nc -6 -v -l -V 13 fc00::13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00::13 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00::13 elapsed_ms bytes mbps bwidth 1000 1320215756 10561.726 100.00% Conn: 1 Mbps: 10561.726 Peak Mbps: 10561.726 Avg Mbps: 10561.726 2000 1325495840 10614.581 100.00% Conn: 1 Mbps: 10614.581 Peak Mbps: 10614.581 Avg Mbps: 10614.581 3000 1310096024 10480.768 100.00% Conn: 1 Mbps: 10480.768 Peak Mbps: 10614.581 Avg Mbps: 10480.768 4000 1327097944 10616.784 100.00% Conn: 1 Mbps: 10616.784 Peak Mbps: 10616.784 Avg Mbps: 10616.784 5000 1291165040 10329.320 100.00% Conn: 1 Mbps: 10329.320 Peak Mbps: 10616.784 Avg Mbps: 10329.320 --- fc00::13 tcpbench statistics --- 7904045796 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10329.320/10520.636/10616.784/107.656 Mbps ==== run-ping-3-1 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.047 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.050 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.050/0.050/0.050/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 264559080 2114.358 100.00% Conn: 1 Mbps: 2114.358 Peak Mbps: 2114.358 Avg Mbps: 2114.358 2000 264919720 2121.479 100.00% Conn: 1 Mbps: 2121.479 Peak Mbps: 2121.479 Avg Mbps: 2121.479 3000 265029432 2120.235 100.00% Conn: 1 Mbps: 2120.235 Peak Mbps: 2121.479 Avg Mbps: 2120.235 4001 265125664 2121.005 100.00% Conn: 1 Mbps: 2121.005 Peak Mbps: 2121.479 Avg Mbps: 2121.005 5001 264851768 2120.935 100.00% Conn: 1 Mbps: 2120.935 Peak Mbps: 2121.479 Avg Mbps: 2120.935 --- 169.254.1.11 tcpbench statistics --- 1589238192 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2114.358/2119.603/2121.479/2.652 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 412788848 3302.311 100.00% Conn: 1 Mbps: 3302.311 Peak Mbps: 3302.311 Avg Mbps: 3302.311 2000 411441016 3291.528 100.00% Conn: 1 Mbps: 3291.528 Peak Mbps: 3302.311 Avg Mbps: 3291.528 3000 410970504 3291.055 100.00% Conn: 1 Mbps: 3291.055 Peak Mbps: 3302.311 Avg Mbps: 3291.055 4000 411703824 3293.631 100.00% Conn: 1 Mbps: 3293.631 Peak Mbps: 3302.311 Avg Mbps: 3293.631 5001 411686120 3293.489 100.00% Conn: 1 Mbps: 3293.489 Peak Mbps: 3302.311 Avg Mbps: 3293.489 --- fc00:0:0:1::11 tcpbench statistics --- 2469963928 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3291.055/3294.403/3302.311/4.085 Mbps # path MTU discovery in other rtable does not work in ip6_output() /sbin/route -T 13 -n get -host -inet6 fc00:0:0:1::11 route to: fc00:0:0:1::11 destination: fc00:: mask: ffff:ffff:ffff:: gateway: ::1 interface: lo13 if address: ::1 priority: 8 (static) flags: use mtu expire 7 32768 0 DISABLED ==== run-ping-3-2 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.040 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.040/0.040/0.040/0.000 ms ==== run-ping6-3-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.047 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-tcpbench-3-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 1380969736 11047.758 100.00% Conn: 1 Mbps: 11047.758 Peak Mbps: 11047.758 Avg Mbps: 11047.758 2000 1383854084 11081.915 100.00% Conn: 1 Mbps: 11081.915 Peak Mbps: 11081.915 Avg Mbps: 11081.915 3000 1386144204 11089.154 100.00% Conn: 1 Mbps: 11089.154 Peak Mbps: 11089.154 Avg Mbps: 11089.154 4000 1390593580 11124.749 100.00% Conn: 1 Mbps: 11124.749 Peak Mbps: 11124.749 Avg Mbps: 11124.749 5000 1390200988 11121.608 100.00% Conn: 1 Mbps: 11121.608 Peak Mbps: 11124.749 Avg Mbps: 11121.608 --- 169.254.1.12 tcpbench statistics --- 8309400636 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11047.758/11093.037/11124.749/28.323 Mbps ==== run-tcpbench6-3-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 1294117796 10352.942 100.00% Conn: 1 Mbps: 10352.942 Peak Mbps: 10352.942 Avg Mbps: 10352.942 2000 1300614184 10415.329 100.00% Conn: 1 Mbps: 10415.329 Peak Mbps: 10415.329 Avg Mbps: 10415.329 3000 1290184160 10321.473 100.00% Conn: 1 Mbps: 10321.473 Peak Mbps: 10415.329 Avg Mbps: 10321.473 4000 1305616672 10444.933 100.00% Conn: 1 Mbps: 10444.933 Peak Mbps: 10444.933 Avg Mbps: 10444.933 5000 1332656264 10661.250 100.00% Conn: 1 Mbps: 10661.250 Peak Mbps: 10661.250 Avg Mbps: 10661.250 --- fc00:0:0:1::12 tcpbench statistics --- 7816871708 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10321.473/10439.186/10661.250/119.339 Mbps ==== run-ping-3-3 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.037 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.037/0.037/0.037/0.000 ms ==== run-ping6-3-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.042 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/0.000 ms ==== run-tcpbench-3-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 1405075470 11240.604 100.00% Conn: 1 Mbps: 11240.604 Peak Mbps: 11240.604 Avg Mbps: 11240.604 2000 1413658360 11320.587 100.00% Conn: 1 Mbps: 11320.587 Peak Mbps: 11320.587 Avg Mbps: 11320.587 3000 1413494780 11307.958 100.00% Conn: 1 Mbps: 11307.958 Peak Mbps: 11320.587 Avg Mbps: 11307.958 4000 1415163296 11321.306 100.00% Conn: 1 Mbps: 11321.306 Peak Mbps: 11321.306 Avg Mbps: 11321.306 5000 1416242924 11329.943 100.00% Conn: 1 Mbps: 11329.943 Peak Mbps: 11329.943 Avg Mbps: 11329.943 --- 169.254.0.13 tcpbench statistics --- 8476409858 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11240.604/11304.080/11329.943/32.504 Mbps ==== run-tcpbench6-3-3 ==== rm -f nc.log nc -6 -v -l -V 13 fc00::13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00::13 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00::13 elapsed_ms bytes mbps bwidth 1000 1440661340 11525.291 100.00% Conn: 1 Mbps: 11525.291 Peak Mbps: 11525.291 Avg Mbps: 11525.291 2000 1447321136 11590.159 100.00% Conn: 1 Mbps: 11590.159 Peak Mbps: 11590.159 Avg Mbps: 11590.159 3000 1445359376 11562.875 100.00% Conn: 1 Mbps: 11562.875 Peak Mbps: 11590.159 Avg Mbps: 11562.875 4000 1450558040 11604.464 100.00% Conn: 1 Mbps: 11604.464 Peak Mbps: 11604.464 Avg Mbps: 11604.464 5000 1444999720 11559.998 100.00% Conn: 1 Mbps: 11559.998 Peak Mbps: 11604.464 Avg Mbps: 11559.998 --- fc00::13 tcpbench statistics --- 8670008508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11525.291/11568.557/11604.464/27.326 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m51.82s