START sys/net/pair 2025-01-04T02:45:37Z ==== 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.040 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.040/0.040/0.040/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.048 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.048/0.048/0.048/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 1027875100 8223.001 100.00% Conn: 1 Mbps: 8223.001 Peak Mbps: 8223.001 Avg Mbps: 8223.001 2000 1024147488 8201.381 100.00% Conn: 1 Mbps: 8201.381 Peak Mbps: 8223.001 Avg Mbps: 8201.381 3000 1024131592 8193.053 100.00% Conn: 1 Mbps: 8193.053 Peak Mbps: 8223.001 Avg Mbps: 8193.053 4000 1021834620 8174.677 100.00% Conn: 1 Mbps: 8174.677 Peak Mbps: 8223.001 Avg Mbps: 8174.677 5000 1020761640 8166.093 100.00% Conn: 1 Mbps: 8166.093 Peak Mbps: 8223.001 Avg Mbps: 8166.093 --- 169.254.1.11 tcpbench statistics --- 6141387808 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8166.093/8191.641/8223.001/20.104 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 1017717360 8141.739 100.00% Conn: 1 Mbps: 8141.739 Peak Mbps: 8141.739 Avg Mbps: 8141.739 2000 1019033408 8160.428 100.00% Conn: 1 Mbps: 8160.428 Peak Mbps: 8160.428 Avg Mbps: 8160.428 3000 1020349456 8162.796 100.00% Conn: 1 Mbps: 8162.796 Peak Mbps: 8162.796 Avg Mbps: 8162.796 4000 1019390168 8155.121 100.00% Conn: 1 Mbps: 8155.121 Peak Mbps: 8162.796 Avg Mbps: 8155.121 5000 1017971056 8143.768 100.00% Conn: 1 Mbps: 8143.768 Peak Mbps: 8162.796 Avg Mbps: 8143.768 --- fc00:0:0:1::11 tcpbench statistics --- 6119187160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8141.739/8152.770/8162.796/8.572 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.066 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.066/0.066/0.066/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.126 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.126/0.126/0.126/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 1001 352859736 2820.058 100.00% Conn: 1 Mbps: 2820.058 Peak Mbps: 2820.058 Avg Mbps: 2820.058 2001 362528872 2900.231 100.00% Conn: 1 Mbps: 2900.231 Peak Mbps: 2900.231 Avg Mbps: 2900.231 3001 363601040 2908.808 100.00% Conn: 1 Mbps: 2908.808 Peak Mbps: 2908.808 Avg Mbps: 2908.808 4002 363627752 2909.022 100.00% Conn: 1 Mbps: 2909.022 Peak Mbps: 2909.022 Avg Mbps: 2909.022 5002 362213320 2897.707 100.00% Conn: 1 Mbps: 2897.707 Peak Mbps: 2909.022 Avg Mbps: 2897.707 --- 169.254.1.12 tcpbench statistics --- 2166591288 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2820.058/2887.165/2909.022/33.857 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 1001 346823008 2771.812 100.00% Conn: 1 Mbps: 2771.812 Peak Mbps: 2771.812 Avg Mbps: 2771.812 2002 356126132 2849.009 100.00% Conn: 1 Mbps: 2849.009 Peak Mbps: 2849.009 Avg Mbps: 2849.009 3002 355476776 2843.814 100.00% Conn: 1 Mbps: 2843.814 Peak Mbps: 2849.009 Avg Mbps: 2843.814 4003 355602576 2844.821 100.00% Conn: 1 Mbps: 2844.821 Peak Mbps: 2849.009 Avg Mbps: 2844.821 5003 356062836 2848.503 100.00% Conn: 1 Mbps: 2848.503 Peak Mbps: 2849.009 Avg Mbps: 2848.503 --- fc00:0:0:1::12 tcpbench statistics --- 2122654016 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2771.812/2831.592/2849.009/29.958 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.054 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.054/0.054/0.054/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.069 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.069/0.069/0.069/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 734395060 5875.160 100.00% Conn: 1 Mbps: 5875.160 Peak Mbps: 5875.160 Avg Mbps: 5875.160 2000 770367988 6169.113 100.00% Conn: 1 Mbps: 6169.113 Peak Mbps: 6169.113 Avg Mbps: 6169.113 3001 768011452 6144.092 100.00% Conn: 1 Mbps: 6144.092 Peak Mbps: 6169.113 Avg Mbps: 6144.092 4001 766735752 6133.886 100.00% Conn: 1 Mbps: 6133.886 Peak Mbps: 6169.113 Avg Mbps: 6133.886 5001 769199492 6153.596 100.00% Conn: 1 Mbps: 6153.596 Peak Mbps: 6169.113 Avg Mbps: 6153.596 --- 169.254.0.13 tcpbench statistics --- 4580094796 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5875.160/6095.169/6169.113/110.614 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 654766112 5238.129 100.00% Conn: 1 Mbps: 5238.129 Peak Mbps: 5238.129 Avg Mbps: 5238.129 2001 687246608 5497.973 100.00% Conn: 1 Mbps: 5497.973 Peak Mbps: 5497.973 Avg Mbps: 5497.973 3001 689577440 5516.620 100.00% Conn: 1 Mbps: 5516.620 Peak Mbps: 5516.620 Avg Mbps: 5516.620 4001 692708480 5541.668 100.00% Conn: 1 Mbps: 5541.668 Peak Mbps: 5541.668 Avg Mbps: 5541.668 5001 690466936 5523.735 100.00% Conn: 1 Mbps: 5523.735 Peak Mbps: 5541.668 Avg Mbps: 5523.735 --- fc00::13 tcpbench statistics --- 4105907672 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5238.129/5463.625/5541.668/113.614 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.041 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.041/0.041/0.041/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.051 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.051/0.051/0.051/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 1001 349111584 2790.103 100.00% Conn: 1 Mbps: 2790.103 Peak Mbps: 2790.103 Avg Mbps: 2790.103 2001 359318696 2874.550 100.00% Conn: 1 Mbps: 2874.550 Peak Mbps: 2874.550 Avg Mbps: 2874.550 3002 358226632 2865.813 100.00% Conn: 1 Mbps: 2865.813 Peak Mbps: 2874.550 Avg Mbps: 2865.813 4002 357625936 2861.007 100.00% Conn: 1 Mbps: 2861.007 Peak Mbps: 2874.550 Avg Mbps: 2861.007 5001 357421592 2862.235 100.00% Conn: 1 Mbps: 2862.235 Peak Mbps: 2874.550 Avg Mbps: 2862.235 --- 169.254.1.11 tcpbench statistics --- 2138476888 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2790.103/2850.742/2874.550/30.687 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 1001 343169816 2742.616 100.00% Conn: 1 Mbps: 2742.616 Peak Mbps: 2742.616 Avg Mbps: 2742.616 2001 353075332 2824.603 100.00% Conn: 1 Mbps: 2824.603 Peak Mbps: 2824.603 Avg Mbps: 2824.603 3001 352403388 2822.049 100.00% Conn: 1 Mbps: 2822.049 Peak Mbps: 2824.603 Avg Mbps: 2822.049 4001 353944952 2831.560 100.00% Conn: 1 Mbps: 2831.560 Peak Mbps: 2831.560 Avg Mbps: 2831.560 5002 351819796 2814.558 100.00% Conn: 1 Mbps: 2814.558 Peak Mbps: 2831.560 Avg Mbps: 2814.558 --- fc00:0:0:1::11 tcpbench statistics --- 2103434072 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2742.616/2807.077/2831.560/32.686 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.038 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.038/0.038/0.038/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.045 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.045/0.045/0.045/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 962820088 7702.561 100.00% Conn: 1 Mbps: 7702.561 Peak Mbps: 7702.561 Avg Mbps: 7702.561 2000 956615408 7660.584 100.00% Conn: 1 Mbps: 7660.584 Peak Mbps: 7702.561 Avg Mbps: 7660.584 3000 956941208 7655.530 100.00% Conn: 1 Mbps: 7655.530 Peak Mbps: 7702.561 Avg Mbps: 7655.530 4000 958399344 7667.195 100.00% Conn: 1 Mbps: 7667.195 Peak Mbps: 7702.561 Avg Mbps: 7667.195 5000 960116672 7680.933 100.00% Conn: 1 Mbps: 7680.933 Peak Mbps: 7702.561 Avg Mbps: 7680.933 --- 169.254.1.12 tcpbench statistics --- 5752785264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7655.530/7673.360/7702.561/16.907 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 968686656 7749.493 100.00% Conn: 1 Mbps: 7749.493 Peak Mbps: 7749.493 Avg Mbps: 7749.493 2000 963655812 7716.963 100.00% Conn: 1 Mbps: 7716.963 Peak Mbps: 7749.493 Avg Mbps: 7716.963 3000 958529292 7668.234 100.00% Conn: 1 Mbps: 7668.234 Peak Mbps: 7749.493 Avg Mbps: 7668.234 4000 955860360 7646.883 100.00% Conn: 1 Mbps: 7646.883 Peak Mbps: 7749.493 Avg Mbps: 7646.883 5000 959119056 7672.952 100.00% Conn: 1 Mbps: 7672.952 Peak Mbps: 7749.493 Avg Mbps: 7672.952 --- fc00:0:0:1::12 tcpbench statistics --- 5771066364 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7646.883/7690.905/7749.493/37.110 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.039 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.039/0.039/0.039/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.049 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.049/0.049/0.049/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 1362776074 10902.209 100.00% Conn: 1 Mbps: 10902.209 Peak Mbps: 10902.209 Avg Mbps: 10902.209 2000 1344218650 10764.514 100.00% Conn: 1 Mbps: 10764.514 Peak Mbps: 10902.209 Avg Mbps: 10764.514 3000 1343776984 10750.216 100.00% Conn: 1 Mbps: 10750.216 Peak Mbps: 10902.209 Avg Mbps: 10750.216 4000 1359447948 10875.584 100.00% Conn: 1 Mbps: 10875.584 Peak Mbps: 10902.209 Avg Mbps: 10875.584 5000 1337708166 10701.665 100.00% Conn: 1 Mbps: 10701.665 Peak Mbps: 10902.209 Avg Mbps: 10701.665 --- 169.254.0.13 tcpbench statistics --- 8090788758 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10701.665/10798.837/10902.209/76.890 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 1369920700 10959.366 100.00% Conn: 1 Mbps: 10959.366 Peak Mbps: 10959.366 Avg Mbps: 10959.366 2000 1370093184 10971.717 100.00% Conn: 1 Mbps: 10971.717 Peak Mbps: 10971.717 Avg Mbps: 10971.717 3000 1369962400 10959.699 100.00% Conn: 1 Mbps: 10959.699 Peak Mbps: 10971.717 Avg Mbps: 10959.699 4000 1370649016 10965.192 100.00% Conn: 1 Mbps: 10965.192 Peak Mbps: 10971.717 Avg Mbps: 10965.192 5000 1372251120 10978.009 100.00% Conn: 1 Mbps: 10978.009 Peak Mbps: 10978.009 Avg Mbps: 10978.009 --- fc00::13 tcpbench statistics --- 8224081268 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10959.366/10966.797/10978.009/7.185 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.058 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.058/0.058/0.058/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 352632176 2818.239 100.00% Conn: 1 Mbps: 2818.239 Peak Mbps: 2818.239 Avg Mbps: 2818.239 2001 359379408 2875.035 100.00% Conn: 1 Mbps: 2875.035 Peak Mbps: 2875.035 Avg Mbps: 2875.035 3002 360922248 2887.378 100.00% Conn: 1 Mbps: 2887.378 Peak Mbps: 2887.378 Avg Mbps: 2887.378 4002 360275104 2882.201 100.00% Conn: 1 Mbps: 2882.201 Peak Mbps: 2887.378 Avg Mbps: 2882.201 5003 360281504 2882.252 100.00% Conn: 1 Mbps: 2882.252 Peak Mbps: 2887.378 Avg Mbps: 2882.252 --- 169.254.1.11 tcpbench statistics --- 2152082856 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2818.239/2869.021/2887.378/25.693 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 780579656 6244.637 100.00% Conn: 1 Mbps: 6244.637 Peak Mbps: 6244.637 Avg Mbps: 6244.637 2000 827523952 6620.192 100.00% Conn: 1 Mbps: 6620.192 Peak Mbps: 6620.192 Avg Mbps: 6620.192 3000 822103904 6576.831 100.00% Conn: 1 Mbps: 6576.831 Peak Mbps: 6620.192 Avg Mbps: 6576.831 4001 820429696 6563.438 100.00% Conn: 1 Mbps: 6563.438 Peak Mbps: 6620.192 Avg Mbps: 6563.438 5001 822441928 6579.535 100.00% Conn: 1 Mbps: 6579.535 Peak Mbps: 6620.192 Avg Mbps: 6579.535 --- fc00:0:0:1::11 tcpbench statistics --- 4894645200 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6244.637/6516.927/6620.192/137.460 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.050 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.050/0.050/0.050/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 1357575374 10860.603 100.00% Conn: 1 Mbps: 10860.603 Peak Mbps: 10860.603 Avg Mbps: 10860.603 2000 1338002610 10714.736 100.00% Conn: 1 Mbps: 10714.736 Peak Mbps: 10860.603 Avg Mbps: 10714.736 3000 1357043322 10856.347 100.00% Conn: 1 Mbps: 10856.347 Peak Mbps: 10860.603 Avg Mbps: 10856.347 4000 1355718324 10845.747 100.00% Conn: 1 Mbps: 10845.747 Peak Mbps: 10860.603 Avg Mbps: 10845.747 5000 1352364934 10818.919 100.00% Conn: 1 Mbps: 10818.919 Peak Mbps: 10860.603 Avg Mbps: 10818.919 --- 169.254.1.12 tcpbench statistics --- 8100212110 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10714.736/10819.270/10860.603/54.243 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 1384565012 11076.520 100.00% Conn: 1 Mbps: 11076.520 Peak Mbps: 11076.520 Avg Mbps: 11076.520 2000 1391051320 11139.550 100.00% Conn: 1 Mbps: 11139.550 Peak Mbps: 11139.550 Avg Mbps: 11139.550 3000 1390135832 11121.087 100.00% Conn: 1 Mbps: 11121.087 Peak Mbps: 11139.550 Avg Mbps: 11121.087 4000 1393372736 11146.982 100.00% Conn: 1 Mbps: 11146.982 Peak Mbps: 11146.982 Avg Mbps: 11146.982 5000 1391476368 11131.811 100.00% Conn: 1 Mbps: 11131.811 Peak Mbps: 11146.982 Avg Mbps: 11131.811 --- fc00:0:0:1::12 tcpbench statistics --- 8338579164 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11076.520/11123.190/11146.982/24.862 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.038 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.038/0.038/0.038/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.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-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 1340491616 10723.933 100.00% Conn: 1 Mbps: 10723.933 Peak Mbps: 10723.933 Avg Mbps: 10723.933 2000 1339851064 10729.538 100.00% Conn: 1 Mbps: 10729.538 Peak Mbps: 10729.538 Avg Mbps: 10729.538 3000 1339327608 10714.621 100.00% Conn: 1 Mbps: 10714.621 Peak Mbps: 10729.538 Avg Mbps: 10714.621 4000 1349600432 10796.803 100.00% Conn: 1 Mbps: 10796.803 Peak Mbps: 10796.803 Avg Mbps: 10796.803 5000 1348831606 10790.653 100.00% Conn: 1 Mbps: 10790.653 Peak Mbps: 10796.803 Avg Mbps: 10790.653 --- 169.254.0.13 tcpbench statistics --- 8066753994 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10714.621/10751.110/10796.803/35.176 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 1359353556 10874.828 100.00% Conn: 1 Mbps: 10874.828 Peak Mbps: 10874.828 Avg Mbps: 10874.828 2000 1348317648 10797.339 100.00% Conn: 1 Mbps: 10797.339 Peak Mbps: 10874.828 Avg Mbps: 10797.339 3000 1347859904 10782.879 100.00% Conn: 1 Mbps: 10782.879 Peak Mbps: 10874.828 Avg Mbps: 10782.879 4000 1347532944 10780.264 100.00% Conn: 1 Mbps: 10780.264 Peak Mbps: 10874.828 Avg Mbps: 10780.264 5000 1347925296 10783.402 100.00% Conn: 1 Mbps: 10783.402 Peak Mbps: 10874.828 Avg Mbps: 10783.402 --- fc00::13 tcpbench statistics --- 8100484052 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10780.264/10803.742/10874.828/36.040 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.92s