START sys/net/pair 2024-12-23T04:59:39Z ==== 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.038 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.038/0.038/0.038/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 645123264 5160.986 100.00% Conn: 1 Mbps: 5160.986 Peak Mbps: 5160.986 Avg Mbps: 5160.986 2000 645870376 5172.135 100.00% Conn: 1 Mbps: 5172.135 Peak Mbps: 5172.135 Avg Mbps: 5172.135 3000 645385548 5163.084 100.00% Conn: 1 Mbps: 5163.084 Peak Mbps: 5172.135 Avg Mbps: 5163.084 4000 642826292 5147.758 100.00% Conn: 1 Mbps: 5147.758 Peak Mbps: 5172.135 Avg Mbps: 5147.758 5000 645687572 5165.501 100.00% Conn: 1 Mbps: 5165.501 Peak Mbps: 5172.135 Avg Mbps: 5165.501 --- 169.254.1.11 tcpbench statistics --- 3869666604 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5147.758/5161.893/5172.135/7.999 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 657365976 5258.928 100.00% Conn: 1 Mbps: 5258.928 Peak Mbps: 5258.928 Avg Mbps: 5258.928 2000 656509752 5257.335 100.00% Conn: 1 Mbps: 5257.335 Peak Mbps: 5258.928 Avg Mbps: 5257.335 3000 659189416 5273.515 100.00% Conn: 1 Mbps: 5273.515 Peak Mbps: 5273.515 Avg Mbps: 5273.515 4000 656509752 5252.078 100.00% Conn: 1 Mbps: 5252.078 Peak Mbps: 5273.515 Avg Mbps: 5252.078 5000 655391904 5243.135 100.00% Conn: 1 Mbps: 5243.135 Peak Mbps: 5273.515 Avg Mbps: 5243.135 --- fc00:0:0:1::11 tcpbench statistics --- 3941539976 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5243.135/5256.998/5273.515/9.930 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.080 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.080/0.080/0.080/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.150 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.150/0.150/0.150/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 216987128 1735.897 100.00% Conn: 1 Mbps: 1735.897 Peak Mbps: 1735.897 Avg Mbps: 1735.897 2001 216718200 1733.746 100.00% Conn: 1 Mbps: 1733.746 Peak Mbps: 1735.897 Avg Mbps: 1733.746 3001 216869512 1734.956 100.00% Conn: 1 Mbps: 1734.956 Peak Mbps: 1735.897 Avg Mbps: 1734.956 4002 216911000 1733.554 100.00% Conn: 1 Mbps: 1733.554 Peak Mbps: 1735.897 Avg Mbps: 1733.554 5002 216718584 1733.749 100.00% Conn: 1 Mbps: 1733.749 Peak Mbps: 1735.897 Avg Mbps: 1733.749 --- 169.254.1.12 tcpbench statistics --- 1300272960 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1733.554/1734.380/1735.897/0.907 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 206004780 1648.038 100.00% Conn: 1 Mbps: 1648.038 Peak Mbps: 1648.038 Avg Mbps: 1648.038 2000 204950264 1639.602 100.00% Conn: 1 Mbps: 1639.602 Peak Mbps: 1648.038 Avg Mbps: 1639.602 3001 205814260 1644.869 100.00% Conn: 1 Mbps: 1644.869 Peak Mbps: 1648.038 Avg Mbps: 1644.869 4002 209120096 1672.961 100.00% Conn: 1 Mbps: 1672.961 Peak Mbps: 1672.961 Avg Mbps: 1672.961 5002 208595652 1670.436 100.00% Conn: 1 Mbps: 1670.436 Peak Mbps: 1672.961 Avg Mbps: 1670.436 --- fc00:0:0:1::12 tcpbench statistics --- 1243344912 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1639.602/1655.181/1672.961/13.776 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.068 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.068/0.068/0.068/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 338861860 2710.895 100.00% Conn: 1 Mbps: 2710.895 Peak Mbps: 2710.895 Avg Mbps: 2710.895 2000 339673256 2717.386 100.00% Conn: 1 Mbps: 2717.386 Peak Mbps: 2717.386 Avg Mbps: 2717.386 3000 338966024 2714.443 100.00% Conn: 1 Mbps: 2714.443 Peak Mbps: 2717.386 Avg Mbps: 2714.443 4000 339180340 2713.443 100.00% Conn: 1 Mbps: 2713.443 Peak Mbps: 2717.386 Avg Mbps: 2713.443 5000 339656800 2717.254 100.00% Conn: 1 Mbps: 2717.254 Peak Mbps: 2717.386 Avg Mbps: 2717.254 --- 169.254.0.13 tcpbench statistics --- 2038053892 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2710.895/2714.684/2717.386/2.444 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 305949968 2447.600 100.00% Conn: 1 Mbps: 2447.600 Peak Mbps: 2447.600 Avg Mbps: 2447.600 2000 305736432 2445.891 100.00% Conn: 1 Mbps: 2445.891 Peak Mbps: 2447.600 Avg Mbps: 2445.891 3000 305348480 2442.788 100.00% Conn: 1 Mbps: 2442.788 Peak Mbps: 2447.600 Avg Mbps: 2442.788 4000 305563056 2446.951 100.00% Conn: 1 Mbps: 2446.951 Peak Mbps: 2447.600 Avg Mbps: 2446.951 5000 305443096 2443.545 100.00% Conn: 1 Mbps: 2443.545 Peak Mbps: 2447.600 Avg Mbps: 2443.545 --- fc00::13 tcpbench statistics --- 1834712968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2442.788/2445.355/2447.600/1.884 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.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-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.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-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 218205712 1745.646 100.00% Conn: 1 Mbps: 1745.646 Peak Mbps: 1745.646 Avg Mbps: 1745.646 2000 221125072 1770.771 100.00% Conn: 1 Mbps: 1770.771 Peak Mbps: 1770.771 Avg Mbps: 1770.771 3000 220138760 1761.110 100.00% Conn: 1 Mbps: 1761.110 Peak Mbps: 1770.771 Avg Mbps: 1761.110 4001 219893600 1759.149 100.00% Conn: 1 Mbps: 1759.149 Peak Mbps: 1770.771 Avg Mbps: 1759.149 5001 219506872 1756.055 100.00% Conn: 1 Mbps: 1756.055 Peak Mbps: 1770.771 Avg Mbps: 1756.055 --- 169.254.1.11 tcpbench statistics --- 1317922208 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1745.646/1758.546/1770.771/8.112 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 208421464 1667.372 100.00% Conn: 1 Mbps: 1667.372 Peak Mbps: 1667.372 Avg Mbps: 1667.372 2000 210158208 1681.266 100.00% Conn: 1 Mbps: 1681.266 Peak Mbps: 1681.266 Avg Mbps: 1681.266 3001 209676520 1677.412 100.00% Conn: 1 Mbps: 1677.412 Peak Mbps: 1681.266 Avg Mbps: 1677.412 4002 208767308 1670.138 100.00% Conn: 1 Mbps: 1670.138 Peak Mbps: 1681.266 Avg Mbps: 1670.138 5002 214864824 1718.919 100.00% Conn: 1 Mbps: 1718.919 Peak Mbps: 1718.919 Avg Mbps: 1718.919 --- fc00:0:0:1::11 tcpbench statistics --- 1262696724 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1667.372/1683.021/1718.919/18.623 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.049 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.049/0.049/0.049/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.059 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.059/0.059/0.059/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 618859272 4950.874 100.00% Conn: 1 Mbps: 4950.874 Peak Mbps: 4950.874 Avg Mbps: 4950.874 2000 617673360 4946.333 100.00% Conn: 1 Mbps: 4946.333 Peak Mbps: 4950.874 Avg Mbps: 4946.333 3000 614078032 4912.624 100.00% Conn: 1 Mbps: 4912.624 Peak Mbps: 4950.874 Avg Mbps: 4912.624 4000 616759672 4934.077 100.00% Conn: 1 Mbps: 4934.077 Peak Mbps: 4950.874 Avg Mbps: 4934.077 5000 614645592 4922.087 100.00% Conn: 1 Mbps: 4922.087 Peak Mbps: 4950.874 Avg Mbps: 4922.087 --- 169.254.1.12 tcpbench statistics --- 3694042088 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4912.624/4933.199/4950.874/14.370 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 624965020 4999.720 100.00% Conn: 1 Mbps: 4999.720 Peak Mbps: 4999.720 Avg Mbps: 4999.720 2000 625280000 5002.240 100.00% Conn: 1 Mbps: 5002.240 Peak Mbps: 5002.240 Avg Mbps: 5002.240 3000 625069872 5000.559 100.00% Conn: 1 Mbps: 5000.559 Peak Mbps: 5002.240 Avg Mbps: 5000.559 4000 619636332 4962.053 100.00% Conn: 1 Mbps: 4962.053 Peak Mbps: 5002.240 Avg Mbps: 4962.053 5000 624035392 4992.283 100.00% Conn: 1 Mbps: 4992.283 Peak Mbps: 5002.240 Avg Mbps: 4992.283 --- fc00:0:0:1::12 tcpbench statistics --- 3744627080 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4962.053/4991.371/5002.240/15.051 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.048 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.048/0.048/0.048/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.051 ms --- fc00::13 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-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 1073842504 8590.740 100.00% Conn: 1 Mbps: 8590.740 Peak Mbps: 8590.740 Avg Mbps: 8590.740 2000 1085124288 8689.684 100.00% Conn: 1 Mbps: 8689.684 Peak Mbps: 8689.684 Avg Mbps: 8689.684 3000 1076245210 8609.962 100.00% Conn: 1 Mbps: 8609.962 Peak Mbps: 8689.684 Avg Mbps: 8609.962 4000 1076274610 8610.197 100.00% Conn: 1 Mbps: 8610.197 Peak Mbps: 8689.684 Avg Mbps: 8610.197 5000 1080315036 8642.520 100.00% Conn: 1 Mbps: 8642.520 Peak Mbps: 8689.684 Avg Mbps: 8642.520 --- 169.254.0.13 tcpbench statistics --- 6465704348 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8590.740/8628.621/8689.684/34.769 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 1037550700 8300.406 100.00% Conn: 1 Mbps: 8300.406 Peak Mbps: 8300.406 Avg Mbps: 8300.406 2000 1030120176 8249.211 100.00% Conn: 1 Mbps: 8249.211 Peak Mbps: 8300.406 Avg Mbps: 8249.211 3000 1019265104 8154.121 100.00% Conn: 1 Mbps: 8154.121 Peak Mbps: 8300.406 Avg Mbps: 8154.121 4000 1029891304 8239.130 100.00% Conn: 1 Mbps: 8239.130 Peak Mbps: 8300.406 Avg Mbps: 8239.130 5000 1031624192 8252.994 100.00% Conn: 1 Mbps: 8252.994 Peak Mbps: 8300.406 Avg Mbps: 8252.994 --- fc00::13 tcpbench statistics --- 6179552532 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8154.121/8239.172/8300.406/47.487 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.057 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.057/0.057/0.057/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 1000 212751832 1702.015 100.00% Conn: 1 Mbps: 1702.015 Peak Mbps: 1702.015 Avg Mbps: 1702.015 2000 213487760 1707.902 100.00% Conn: 1 Mbps: 1707.902 Peak Mbps: 1707.902 Avg Mbps: 1707.902 3001 211393056 1691.144 100.00% Conn: 1 Mbps: 1691.144 Peak Mbps: 1707.902 Avg Mbps: 1691.144 4002 211992248 1694.244 100.00% Conn: 1 Mbps: 1694.244 Peak Mbps: 1707.902 Avg Mbps: 1694.244 5002 211414496 1691.316 100.00% Conn: 1 Mbps: 1691.316 Peak Mbps: 1707.902 Avg Mbps: 1691.316 --- 169.254.1.11 tcpbench statistics --- 1272777072 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1691.144/1697.324/1707.902/6.598 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 313184112 2505.473 100.00% Conn: 1 Mbps: 2505.473 Peak Mbps: 2505.473 Avg Mbps: 2505.473 2001 312115552 2496.924 100.00% Conn: 1 Mbps: 2496.924 Peak Mbps: 2505.473 Avg Mbps: 2496.924 3001 311378688 2493.523 100.00% Conn: 1 Mbps: 2493.523 Peak Mbps: 2505.473 Avg Mbps: 2493.523 4001 313588296 2508.706 100.00% Conn: 1 Mbps: 2508.706 Peak Mbps: 2508.706 Avg Mbps: 2508.706 5002 310796440 2486.372 100.00% Conn: 1 Mbps: 2486.372 Peak Mbps: 2508.706 Avg Mbps: 2486.372 --- fc00:0:0:1::11 tcpbench statistics --- 1873422800 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2486.372/2498.200/2508.706/8.083 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.048 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.048/0.048/0.048/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 1073644616 8589.157 100.00% Conn: 1 Mbps: 8589.157 Peak Mbps: 8589.157 Avg Mbps: 8589.157 2000 1080985714 8656.542 100.00% Conn: 1 Mbps: 8656.542 Peak Mbps: 8656.542 Avg Mbps: 8656.542 3000 1090080762 8720.646 100.00% Conn: 1 Mbps: 8720.646 Peak Mbps: 8720.646 Avg Mbps: 8720.646 4000 1077452386 8619.619 100.00% Conn: 1 Mbps: 8619.619 Peak Mbps: 8720.646 Avg Mbps: 8619.619 5000 1086629224 8701.736 100.00% Conn: 1 Mbps: 8701.736 Peak Mbps: 8720.646 Avg Mbps: 8701.736 --- 169.254.1.12 tcpbench statistics --- 6483169784 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8589.157/8657.540/8720.646/49.094 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 1031632184 8253.057 100.00% Conn: 1 Mbps: 8253.057 Peak Mbps: 8253.057 Avg Mbps: 8253.057 2000 1024398376 8203.390 100.00% Conn: 1 Mbps: 8203.390 Peak Mbps: 8253.057 Avg Mbps: 8203.390 3000 1020867208 8166.938 100.00% Conn: 1 Mbps: 8166.938 Peak Mbps: 8253.057 Avg Mbps: 8166.938 4000 1024594552 8196.756 100.00% Conn: 1 Mbps: 8196.756 Peak Mbps: 8253.057 Avg Mbps: 8196.756 5000 1019428584 8155.429 100.00% Conn: 1 Mbps: 8155.429 Peak Mbps: 8253.057 Avg Mbps: 8155.429 --- fc00:0:0:1::12 tcpbench statistics --- 6134006464 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8155.429/8195.114/8253.057/34.051 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.040 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.040/0.040/0.040/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.047 ms --- fc00::13 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-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 1139861900 9118.895 100.00% Conn: 1 Mbps: 9118.895 Peak Mbps: 9118.895 Avg Mbps: 9118.895 2000 1141134080 9138.211 100.00% Conn: 1 Mbps: 9138.211 Peak Mbps: 9138.211 Avg Mbps: 9138.211 3000 1139792724 9118.342 100.00% Conn: 1 Mbps: 9118.342 Peak Mbps: 9138.211 Avg Mbps: 9118.342 4000 1142540868 9149.476 100.00% Conn: 1 Mbps: 9149.476 Peak Mbps: 9149.476 Avg Mbps: 9149.476 5000 1142066486 9136.532 100.00% Conn: 1 Mbps: 9136.532 Peak Mbps: 9149.476 Avg Mbps: 9136.532 --- 169.254.0.13 tcpbench statistics --- 6844665326 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9118.342/9132.291/9149.476/12.020 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 1047437532 8379.500 100.00% Conn: 1 Mbps: 8379.500 Peak Mbps: 8379.500 Avg Mbps: 8379.500 2000 1015635848 8133.220 100.00% Conn: 1 Mbps: 8133.220 Peak Mbps: 8379.500 Avg Mbps: 8133.220 3000 1029073904 8232.591 100.00% Conn: 1 Mbps: 8232.591 Peak Mbps: 8379.500 Avg Mbps: 8232.591 4000 1015080016 8120.640 100.00% Conn: 1 Mbps: 8120.640 Peak Mbps: 8379.500 Avg Mbps: 8120.640 5000 1027046752 8216.374 100.00% Conn: 1 Mbps: 8216.374 Peak Mbps: 8379.500 Avg Mbps: 8216.374 --- fc00::13 tcpbench statistics --- 6163478740 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8120.640/8216.465/8379.500/92.685 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 1m52.87s