START sys/net/pair 2024-08-05T04:04:42Z ==== 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.055 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.055/0.055/0.055/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 564538492 4516.308 100.00% Conn: 1 Mbps: 4516.308 Peak Mbps: 4516.308 Avg Mbps: 4516.308 2000 561001632 4488.013 100.00% Conn: 1 Mbps: 4488.013 Peak Mbps: 4516.308 Avg Mbps: 4488.013 3000 559117956 4472.944 100.00% Conn: 1 Mbps: 4472.944 Peak Mbps: 4516.308 Avg Mbps: 4472.944 4000 558092664 4464.741 100.00% Conn: 1 Mbps: 4464.741 Peak Mbps: 4516.308 Avg Mbps: 4464.741 5000 562050768 4496.406 100.00% Conn: 1 Mbps: 4496.406 Peak Mbps: 4516.308 Avg Mbps: 4496.406 --- 169.254.1.11 tcpbench statistics --- 3364682476 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4464.741/4487.682/4516.308/18.106 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 553207912 4425.663 100.00% Conn: 1 Mbps: 4425.663 Peak Mbps: 4425.663 Avg Mbps: 4425.663 2000 552137632 4417.101 100.00% Conn: 1 Mbps: 4417.101 Peak Mbps: 4425.663 Avg Mbps: 4417.101 3000 551503392 4416.444 100.00% Conn: 1 Mbps: 4416.444 Peak Mbps: 4425.663 Avg Mbps: 4416.444 4000 551891864 4419.554 100.00% Conn: 1 Mbps: 4419.554 Peak Mbps: 4425.663 Avg Mbps: 4419.554 5000 552978000 4423.824 100.00% Conn: 1 Mbps: 4423.824 Peak Mbps: 4425.663 Avg Mbps: 4423.824 --- fc00:0:0:1::11 tcpbench statistics --- 3314149768 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4416.444/4420.517/4425.663/3.650 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.107 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.107/0.107/0.107/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.164 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.164/0.164/0.164/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 217700480 1741.604 100.00% Conn: 1 Mbps: 1741.604 Peak Mbps: 1741.604 Avg Mbps: 1741.604 2000 219365488 1754.924 100.00% Conn: 1 Mbps: 1754.924 Peak Mbps: 1754.924 Avg Mbps: 1754.924 3000 220005000 1760.040 100.00% Conn: 1 Mbps: 1760.040 Peak Mbps: 1760.040 Avg Mbps: 1760.040 4001 218136416 1745.091 100.00% Conn: 1 Mbps: 1745.091 Peak Mbps: 1760.040 Avg Mbps: 1745.091 5001 216436384 1731.491 100.00% Conn: 1 Mbps: 1731.491 Peak Mbps: 1760.040 Avg Mbps: 1731.491 --- 169.254.1.12 tcpbench statistics --- 1311509848 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1731.491/1746.630/1760.040/10.054 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 207369160 1658.953 100.00% Conn: 1 Mbps: 1658.953 Peak Mbps: 1658.953 Avg Mbps: 1658.953 2000 206170392 1649.363 100.00% Conn: 1 Mbps: 1649.363 Peak Mbps: 1658.953 Avg Mbps: 1649.363 3001 208451996 1667.616 100.00% Conn: 1 Mbps: 1667.616 Peak Mbps: 1667.616 Avg Mbps: 1667.616 4001 205537320 1644.299 100.00% Conn: 1 Mbps: 1644.299 Peak Mbps: 1667.616 Avg Mbps: 1644.299 5002 208047124 1664.377 100.00% Conn: 1 Mbps: 1664.377 Peak Mbps: 1667.616 Avg Mbps: 1664.377 --- fc00:0:0:1::12 tcpbench statistics --- 1243509004 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1644.299/1656.922/1667.616/8.838 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.077 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.077/0.077/0.077/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.089 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.089/0.089/0.089/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 301690184 2413.521 100.00% Conn: 1 Mbps: 2413.521 Peak Mbps: 2413.521 Avg Mbps: 2413.521 2000 301523136 2414.600 100.00% Conn: 1 Mbps: 2414.600 Peak Mbps: 2414.600 Avg Mbps: 2414.600 3000 298685700 2389.486 100.00% Conn: 1 Mbps: 2389.486 Peak Mbps: 2414.600 Avg Mbps: 2389.486 4000 299361420 2394.891 100.00% Conn: 1 Mbps: 2394.891 Peak Mbps: 2414.600 Avg Mbps: 2394.891 5000 300386712 2405.499 100.00% Conn: 1 Mbps: 2405.499 Peak Mbps: 2414.600 Avg Mbps: 2405.499 --- 169.254.0.13 tcpbench statistics --- 1801095860 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2389.486/2403.599/2414.600/9.981 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 294390424 2355.123 100.00% Conn: 1 Mbps: 2355.123 Peak Mbps: 2355.123 Avg Mbps: 2355.123 2000 294715472 2360.084 100.00% Conn: 1 Mbps: 2360.084 Peak Mbps: 2360.084 Avg Mbps: 2360.084 3000 296578552 2372.628 100.00% Conn: 1 Mbps: 2372.628 Peak Mbps: 2372.628 Avg Mbps: 2372.628 4000 293375640 2347.005 100.00% Conn: 1 Mbps: 2347.005 Peak Mbps: 2372.628 Avg Mbps: 2347.005 5000 294073304 2352.586 100.00% Conn: 1 Mbps: 2352.586 Peak Mbps: 2372.628 Avg Mbps: 2352.586 --- fc00::13 tcpbench statistics --- 1769209232 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2347.005/2357.485/2372.628/8.666 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.055 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.055/0.055/0.055/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.067 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.067/0.067/0.067/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 221663288 1773.306 100.00% Conn: 1 Mbps: 1773.306 Peak Mbps: 1773.306 Avg Mbps: 1773.306 2001 221577640 1772.621 100.00% Conn: 1 Mbps: 1772.621 Peak Mbps: 1773.306 Avg Mbps: 1772.621 3001 220083576 1760.669 100.00% Conn: 1 Mbps: 1760.669 Peak Mbps: 1773.306 Avg Mbps: 1760.669 4002 220236960 1761.896 100.00% Conn: 1 Mbps: 1761.896 Peak Mbps: 1773.306 Avg Mbps: 1761.896 5002 221400424 1771.203 100.00% Conn: 1 Mbps: 1771.203 Peak Mbps: 1773.306 Avg Mbps: 1771.203 --- 169.254.1.11 tcpbench statistics --- 1326356400 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1760.669/1767.939/1773.306/5.491 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 209433772 1675.470 100.00% Conn: 1 Mbps: 1675.470 Peak Mbps: 1675.470 Avg Mbps: 1675.470 2000 212067236 1698.236 100.00% Conn: 1 Mbps: 1698.236 Peak Mbps: 1698.236 Avg Mbps: 1698.236 3000 207483784 1659.870 100.00% Conn: 1 Mbps: 1659.870 Peak Mbps: 1698.236 Avg Mbps: 1659.870 4001 208738700 1669.910 100.00% Conn: 1 Mbps: 1669.910 Peak Mbps: 1698.236 Avg Mbps: 1669.910 5001 209186668 1673.493 100.00% Conn: 1 Mbps: 1673.493 Peak Mbps: 1698.236 Avg Mbps: 1673.493 --- fc00:0:0:1::11 tcpbench statistics --- 1256481172 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1659.870/1675.396/1698.236/12.621 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.044 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.044/0.044/0.044/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.052 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.052/0.052/0.052/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 566612536 4532.900 100.00% Conn: 1 Mbps: 4532.900 Peak Mbps: 4532.900 Avg Mbps: 4532.900 2000 564430400 4519.963 100.00% Conn: 1 Mbps: 4519.963 Peak Mbps: 4532.900 Avg Mbps: 4519.963 3000 564249400 4513.995 100.00% Conn: 1 Mbps: 4513.995 Peak Mbps: 4532.900 Avg Mbps: 4513.995 4000 564297184 4514.377 100.00% Conn: 1 Mbps: 4514.377 Peak Mbps: 4532.900 Avg Mbps: 4514.377 5000 563969936 4511.759 100.00% Conn: 1 Mbps: 4511.759 Peak Mbps: 4532.900 Avg Mbps: 4511.759 --- 169.254.1.12 tcpbench statistics --- 3385515224 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4511.759/4518.599/4532.900/7.644 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 557352684 4458.821 100.00% Conn: 1 Mbps: 4458.821 Peak Mbps: 4458.821 Avg Mbps: 4458.821 2000 559857396 4483.343 100.00% Conn: 1 Mbps: 4483.343 Peak Mbps: 4483.343 Avg Mbps: 4483.343 3000 558515076 4472.593 100.00% Conn: 1 Mbps: 4472.593 Peak Mbps: 4483.343 Avg Mbps: 4472.593 4000 558462240 4467.698 100.00% Conn: 1 Mbps: 4467.698 Peak Mbps: 4483.343 Avg Mbps: 4467.698 5000 561496740 4491.974 100.00% Conn: 1 Mbps: 4491.974 Peak Mbps: 4491.974 Avg Mbps: 4491.974 --- fc00:0:0:1::12 tcpbench statistics --- 3354413412 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4458.821/4474.886/4491.974/11.649 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.060 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.060/0.060/0.060/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.058 ms --- fc00::13 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-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 1058936630 8471.493 100.00% Conn: 1 Mbps: 8471.493 Peak Mbps: 8471.493 Avg Mbps: 8471.493 2000 1063662592 8517.819 100.00% Conn: 1 Mbps: 8517.819 Peak Mbps: 8517.819 Avg Mbps: 8517.819 3000 1061343072 8490.745 100.00% Conn: 1 Mbps: 8490.745 Peak Mbps: 8517.819 Avg Mbps: 8490.745 4000 1062386668 8499.093 100.00% Conn: 1 Mbps: 8499.093 Peak Mbps: 8517.819 Avg Mbps: 8499.093 5000 1061994076 8495.953 100.00% Conn: 1 Mbps: 8495.953 Peak Mbps: 8517.819 Avg Mbps: 8495.953 --- 169.254.0.13 tcpbench statistics --- 6370676990 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8471.493/8495.020/8517.819/14.893 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 1045211108 8361.689 100.00% Conn: 1 Mbps: 8361.689 Peak Mbps: 8361.689 Avg Mbps: 8361.689 2000 1045552688 8372.794 100.00% Conn: 1 Mbps: 8372.794 Peak Mbps: 8372.794 Avg Mbps: 8372.794 3000 1042642744 8341.142 100.00% Conn: 1 Mbps: 8341.142 Peak Mbps: 8372.794 Avg Mbps: 8341.142 4000 1045781560 8366.252 100.00% Conn: 1 Mbps: 8366.252 Peak Mbps: 8372.794 Avg Mbps: 8366.252 5000 1042904312 8343.234 100.00% Conn: 1 Mbps: 8343.234 Peak Mbps: 8372.794 Avg Mbps: 8343.234 --- fc00::13 tcpbench statistics --- 6265650644 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8341.142/8357.022/8372.794/12.633 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.057 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.057/0.057/0.057/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.064 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.064/0.064/0.064/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 213921720 1711.374 100.00% Conn: 1 Mbps: 1711.374 Peak Mbps: 1711.374 Avg Mbps: 1711.374 2000 214873248 1718.986 100.00% Conn: 1 Mbps: 1718.986 Peak Mbps: 1718.986 Avg Mbps: 1718.986 3001 213397680 1707.181 100.00% Conn: 1 Mbps: 1707.181 Peak Mbps: 1718.986 Avg Mbps: 1707.181 4001 215489920 1723.919 100.00% Conn: 1 Mbps: 1723.919 Peak Mbps: 1723.919 Avg Mbps: 1723.919 5001 214498600 1715.989 100.00% Conn: 1 Mbps: 1715.989 Peak Mbps: 1723.919 Avg Mbps: 1715.989 --- 169.254.1.11 tcpbench statistics --- 1284941112 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1707.181/1715.490/1723.919/5.822 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 306752752 2454.022 100.00% Conn: 1 Mbps: 2454.022 Peak Mbps: 2454.022 Avg Mbps: 2454.022 2001 302801224 2422.410 100.00% Conn: 1 Mbps: 2422.410 Peak Mbps: 2454.022 Avg Mbps: 2422.410 3001 305539552 2444.316 100.00% Conn: 1 Mbps: 2444.316 Peak Mbps: 2454.022 Avg Mbps: 2444.316 4001 305022552 2440.180 100.00% Conn: 1 Mbps: 2440.180 Peak Mbps: 2454.022 Avg Mbps: 2440.180 5002 305574176 2444.593 100.00% Conn: 1 Mbps: 2444.593 Peak Mbps: 2454.022 Avg Mbps: 2444.593 --- fc00:0:0:1::11 tcpbench statistics --- 1830649976 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2422.410/2441.104/2454.022/10.389 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.061 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.061/0.061/0.061/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.069 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.069/0.069/0.069/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 1063599438 8508.796 100.00% Conn: 1 Mbps: 8508.796 Peak Mbps: 8508.796 Avg Mbps: 8508.796 2000 1063139136 8513.627 100.00% Conn: 1 Mbps: 8513.627 Peak Mbps: 8513.627 Avg Mbps: 8513.627 3000 1065298392 8522.387 100.00% Conn: 1 Mbps: 8522.387 Peak Mbps: 8522.387 Avg Mbps: 8522.387 4000 1065690984 8525.528 100.00% Conn: 1 Mbps: 8525.528 Peak Mbps: 8525.528 Avg Mbps: 8525.528 5000 1061732348 8493.859 100.00% Conn: 1 Mbps: 8493.859 Peak Mbps: 8525.528 Avg Mbps: 8493.859 --- 169.254.1.12 tcpbench statistics --- 6385543874 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8493.859/8512.839/8525.528/11.220 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 1047501916 8380.015 100.00% Conn: 1 Mbps: 8380.015 Peak Mbps: 8380.015 Avg Mbps: 8380.015 2000 1048004888 8392.432 100.00% Conn: 1 Mbps: 8392.432 Peak Mbps: 8392.432 Avg Mbps: 8392.432 3000 1049770472 8398.164 100.00% Conn: 1 Mbps: 8398.164 Peak Mbps: 8398.164 Avg Mbps: 8398.164 4000 1048462632 8387.701 100.00% Conn: 1 Mbps: 8387.701 Peak Mbps: 8398.164 Avg Mbps: 8387.701 5000 1047579840 8380.639 100.00% Conn: 1 Mbps: 8380.639 Peak Mbps: 8398.164 Avg Mbps: 8380.639 --- fc00:0:0:1::12 tcpbench statistics --- 6285891556 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8380.015/8387.790/8398.164/6.939 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.055 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.055/0.055/0.055/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.053 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.053/0.053/0.053/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 1124270392 8994.163 100.00% Conn: 1 Mbps: 8994.163 Peak Mbps: 8994.163 Avg Mbps: 8994.163 2000 1121046456 8977.349 100.00% Conn: 1 Mbps: 8977.349 Peak Mbps: 8994.163 Avg Mbps: 8977.349 3000 1124645216 8997.162 100.00% Conn: 1 Mbps: 8997.162 Peak Mbps: 8997.162 Avg Mbps: 8997.162 4000 1118560040 8948.480 100.00% Conn: 1 Mbps: 8948.480 Peak Mbps: 8997.162 Avg Mbps: 8948.480 5000 1122616824 8980.935 100.00% Conn: 1 Mbps: 8980.935 Peak Mbps: 8997.162 Avg Mbps: 8980.935 --- 169.254.0.13 tcpbench statistics --- 6722795892 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8948.480/8979.618/8997.162/17.296 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 1091837980 8734.704 100.00% Conn: 1 Mbps: 8734.704 Peak Mbps: 8734.704 Avg Mbps: 8734.704 2000 1091752136 8742.760 100.00% Conn: 1 Mbps: 8742.760 Peak Mbps: 8742.760 Avg Mbps: 8742.760 3000 1089463416 8715.707 100.00% Conn: 1 Mbps: 8715.707 Peak Mbps: 8742.760 Avg Mbps: 8715.707 4000 1088874888 8710.999 100.00% Conn: 1 Mbps: 8710.999 Peak Mbps: 8742.760 Avg Mbps: 8710.999 5000 1090967432 8727.739 100.00% Conn: 1 Mbps: 8727.739 Peak Mbps: 8742.760 Avg Mbps: 8727.739 --- fc00::13 tcpbench statistics --- 6543176668 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8710.999/8726.382/8742.760/11.747 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.85s