START sys/net/pair 2024-06-15T08:36:41Z ==== 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.152 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.152/0.152/0.152/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.220 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.220/0.220/0.220/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 202419664 1619.357 100.00% Conn: 1 Mbps: 1619.357 Peak Mbps: 1619.357 Avg Mbps: 1619.357 2000 199216620 1595.328 100.00% Conn: 1 Mbps: 1595.328 Peak Mbps: 1619.357 Avg Mbps: 1595.328 3000 199621968 1596.976 100.00% Conn: 1 Mbps: 1596.976 Peak Mbps: 1619.357 Avg Mbps: 1596.976 4000 197897252 1583.178 100.00% Conn: 1 Mbps: 1583.178 Peak Mbps: 1619.357 Avg Mbps: 1583.178 5000 198707948 1589.664 100.00% Conn: 1 Mbps: 1589.664 Peak Mbps: 1619.357 Avg Mbps: 1589.664 --- 169.254.1.11 tcpbench statistics --- 1196603192 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1583.178/1596.901/1619.357/12.227 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 201799312 1614.394 100.00% Conn: 1 Mbps: 1614.394 Peak Mbps: 1614.394 Avg Mbps: 1614.394 2000 197185216 1579.061 100.00% Conn: 1 Mbps: 1579.061 Peak Mbps: 1614.394 Avg Mbps: 1579.061 3000 199127576 1593.021 100.00% Conn: 1 Mbps: 1593.021 Peak Mbps: 1614.394 Avg Mbps: 1593.021 4000 199119648 1592.957 100.00% Conn: 1 Mbps: 1592.957 Peak Mbps: 1614.394 Avg Mbps: 1592.957 5000 199175144 1593.401 100.00% Conn: 1 Mbps: 1593.401 Peak Mbps: 1614.394 Avg Mbps: 1593.401 --- fc00:0:0:1::11 tcpbench statistics --- 1194654464 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1579.061/1594.567/1614.394/11.313 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.223 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.223/0.223/0.223/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.435 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.435/0.435/0.435/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 1003 87224680 695.710 100.00% Conn: 1 Mbps: 695.710 Peak Mbps: 695.710 Avg Mbps: 695.710 2001 87305712 700.547 100.00% Conn: 1 Mbps: 700.547 Peak Mbps: 700.547 Avg Mbps: 700.547 3003 87822648 701.179 100.00% Conn: 1 Mbps: 701.179 Peak Mbps: 701.179 Avg Mbps: 701.179 4003 87323088 698.585 100.00% Conn: 1 Mbps: 698.585 Peak Mbps: 701.179 Avg Mbps: 698.585 5004 87412864 699.303 100.00% Conn: 1 Mbps: 699.303 Peak Mbps: 701.179 Avg Mbps: 699.303 --- 169.254.1.12 tcpbench statistics --- 523543280 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 695.710/699.065/701.179/1.908 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 84206304 672.977 100.00% Conn: 1 Mbps: 672.977 Peak Mbps: 672.977 Avg Mbps: 672.977 2003 84756084 676.695 100.00% Conn: 1 Mbps: 676.695 Peak Mbps: 676.695 Avg Mbps: 676.695 3003 84112056 672.896 100.00% Conn: 1 Mbps: 672.896 Peak Mbps: 676.695 Avg Mbps: 672.896 4003 84097776 673.456 100.00% Conn: 1 Mbps: 673.456 Peak Mbps: 676.695 Avg Mbps: 673.456 5003 83596548 669.442 100.00% Conn: 1 Mbps: 669.442 Peak Mbps: 676.695 Avg Mbps: 669.442 --- fc00:0:0:1::12 tcpbench statistics --- 505239252 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 669.442/673.093/676.695/2.302 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.241 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.241/0.241/0.241/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.273 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.273/0.273/0.273/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 115826204 926.610 100.00% Conn: 1 Mbps: 926.610 Peak Mbps: 926.610 Avg Mbps: 926.610 2000 114737328 918.817 100.00% Conn: 1 Mbps: 918.817 Peak Mbps: 926.610 Avg Mbps: 918.817 3000 115309584 923.400 100.00% Conn: 1 Mbps: 923.400 Peak Mbps: 926.610 Avg Mbps: 923.400 4000 115969268 927.754 100.00% Conn: 1 Mbps: 927.754 Peak Mbps: 927.754 Avg Mbps: 927.754 5000 118989508 951.916 100.00% Conn: 1 Mbps: 951.916 Peak Mbps: 951.916 Avg Mbps: 951.916 --- 169.254.0.13 tcpbench statistics --- 699431948 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 918.817/929.699/951.916/11.533 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 108502608 868.021 100.00% Conn: 1 Mbps: 868.021 Peak Mbps: 868.021 Avg Mbps: 868.021 2000 108280624 867.112 100.00% Conn: 1 Mbps: 867.112 Peak Mbps: 868.021 Avg Mbps: 867.112 3000 107416472 859.332 100.00% Conn: 1 Mbps: 859.332 Peak Mbps: 868.021 Avg Mbps: 859.332 4000 109065496 872.524 100.00% Conn: 1 Mbps: 872.524 Peak Mbps: 872.524 Avg Mbps: 872.524 5000 108724592 870.667 100.00% Conn: 1 Mbps: 870.667 Peak Mbps: 872.524 Avg Mbps: 870.667 --- fc00::13 tcpbench statistics --- 649731312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 859.332/867.531/872.524/4.526 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.191 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.191/0.191/0.191/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.222 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.222/0.222/0.222/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 1003 86803312 692.349 100.00% Conn: 1 Mbps: 692.349 Peak Mbps: 692.349 Avg Mbps: 692.349 2001 87557664 701.865 100.00% Conn: 1 Mbps: 701.865 Peak Mbps: 701.865 Avg Mbps: 701.865 3002 87809616 702.477 100.00% Conn: 1 Mbps: 702.477 Peak Mbps: 702.477 Avg Mbps: 702.477 4002 87776312 702.210 100.00% Conn: 1 Mbps: 702.210 Peak Mbps: 702.477 Avg Mbps: 702.210 5003 87834232 702.674 100.00% Conn: 1 Mbps: 702.674 Peak Mbps: 702.674 Avg Mbps: 702.674 --- 169.254.1.11 tcpbench statistics --- 524643760 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 692.349/700.315/702.674/3.992 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 1002 85446628 682.209 100.00% Conn: 1 Mbps: 682.209 Peak Mbps: 682.209 Avg Mbps: 682.209 2002 85405824 683.931 100.00% Conn: 1 Mbps: 683.931 Peak Mbps: 683.931 Avg Mbps: 683.931 3006 85670004 682.630 100.00% Conn: 1 Mbps: 682.630 Peak Mbps: 683.931 Avg Mbps: 682.630 4007 85430100 682.758 100.00% Conn: 1 Mbps: 682.758 Peak Mbps: 683.931 Avg Mbps: 682.758 5006 84818916 679.911 100.00% Conn: 1 Mbps: 679.911 Peak Mbps: 683.931 Avg Mbps: 679.911 --- fc00:0:0:1::11 tcpbench statistics --- 511293364 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 679.911/682.288/683.931/1.318 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.173 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.173/0.173/0.173/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.206 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.206/0.206/0.206/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 201419696 1611.358 100.00% Conn: 1 Mbps: 1611.358 Peak Mbps: 1611.358 Avg Mbps: 1611.358 2000 198839360 1592.307 100.00% Conn: 1 Mbps: 1592.307 Peak Mbps: 1611.358 Avg Mbps: 1592.307 3000 198901624 1591.213 100.00% Conn: 1 Mbps: 1591.213 Peak Mbps: 1611.358 Avg Mbps: 1591.213 4000 196987368 1575.899 100.00% Conn: 1 Mbps: 1575.899 Peak Mbps: 1611.358 Avg Mbps: 1575.899 5000 197245112 1577.961 100.00% Conn: 1 Mbps: 1577.961 Peak Mbps: 1611.358 Avg Mbps: 1577.961 --- 169.254.1.12 tcpbench statistics --- 1191968984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1575.899/1589.748/1611.358/12.700 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 193583964 1548.672 100.00% Conn: 1 Mbps: 1548.672 Peak Mbps: 1548.672 Avg Mbps: 1548.672 2000 191530500 1532.244 100.00% Conn: 1 Mbps: 1532.244 Peak Mbps: 1548.672 Avg Mbps: 1532.244 3000 189218568 1513.749 100.00% Conn: 1 Mbps: 1513.749 Peak Mbps: 1548.672 Avg Mbps: 1513.749 4000 191397696 1531.182 100.00% Conn: 1 Mbps: 1531.182 Peak Mbps: 1548.672 Avg Mbps: 1531.182 5000 191840376 1534.723 100.00% Conn: 1 Mbps: 1534.723 Peak Mbps: 1548.672 Avg Mbps: 1534.723 --- fc00:0:0:1::12 tcpbench statistics --- 1148590380 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1513.749/1532.114/1548.672/11.128 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.176 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.176/0.176/0.176/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.219 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.219/0.219/0.219/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 337470182 2699.761 100.00% Conn: 1 Mbps: 2699.761 Peak Mbps: 2699.761 Avg Mbps: 2699.761 2000 331887462 2657.757 100.00% Conn: 1 Mbps: 2657.757 Peak Mbps: 2699.761 Avg Mbps: 2657.757 3000 334913692 2679.310 100.00% Conn: 1 Mbps: 2679.310 Peak Mbps: 2699.761 Avg Mbps: 2679.310 4000 336140542 2689.124 100.00% Conn: 1 Mbps: 2689.124 Peak Mbps: 2699.761 Avg Mbps: 2689.124 5000 336451332 2691.611 100.00% Conn: 1 Mbps: 2691.611 Peak Mbps: 2699.761 Avg Mbps: 2691.611 --- 169.254.0.13 tcpbench statistics --- 2013429060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2657.757/2683.513/2699.761/14.437 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 313980444 2511.844 100.00% Conn: 1 Mbps: 2511.844 Peak Mbps: 2511.844 Avg Mbps: 2511.844 2000 313194984 2508.068 100.00% Conn: 1 Mbps: 2508.068 Peak Mbps: 2511.844 Avg Mbps: 2508.068 3000 312214104 2497.713 100.00% Conn: 1 Mbps: 2497.713 Peak Mbps: 2511.844 Avg Mbps: 2497.713 4000 313423856 2507.391 100.00% Conn: 1 Mbps: 2507.391 Peak Mbps: 2511.844 Avg Mbps: 2507.391 5000 311298616 2490.389 100.00% Conn: 1 Mbps: 2490.389 Peak Mbps: 2511.844 Avg Mbps: 2490.389 --- fc00::13 tcpbench statistics --- 1874004692 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2490.389/2503.081/2511.844/7.876 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.210 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.210/0.210/0.210/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.254 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.254/0.254/0.254/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 1002 86406504 689.872 100.00% Conn: 1 Mbps: 689.872 Peak Mbps: 689.872 Avg Mbps: 689.872 2003 86600536 692.804 100.00% Conn: 1 Mbps: 692.804 Peak Mbps: 692.804 Avg Mbps: 692.804 3002 86303696 691.121 100.00% Conn: 1 Mbps: 691.121 Peak Mbps: 692.804 Avg Mbps: 691.121 4003 85938800 687.510 100.00% Conn: 1 Mbps: 687.510 Peak Mbps: 692.804 Avg Mbps: 687.510 5004 86607776 692.170 100.00% Conn: 1 Mbps: 692.170 Peak Mbps: 692.804 Avg Mbps: 692.170 --- 169.254.1.11 tcpbench statistics --- 517697648 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 687.510/690.696/692.804/1.877 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 1002 136053816 1086.258 100.00% Conn: 1 Mbps: 1086.258 Peak Mbps: 1086.258 Avg Mbps: 1086.258 2003 133526080 1067.141 100.00% Conn: 1 Mbps: 1067.141 Peak Mbps: 1086.258 Avg Mbps: 1067.141 3003 133567328 1069.608 100.00% Conn: 1 Mbps: 1069.608 Peak Mbps: 1086.258 Avg Mbps: 1069.608 4004 134942528 1078.462 100.00% Conn: 1 Mbps: 1078.462 Peak Mbps: 1086.258 Avg Mbps: 1078.462 5006 134976192 1078.731 100.00% Conn: 1 Mbps: 1078.731 Peak Mbps: 1086.258 Avg Mbps: 1078.731 --- fc00:0:0:1::11 tcpbench statistics --- 806573248 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1067.141/1076.040/1086.258/6.900 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.198 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.198/0.198/0.198/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.236 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.236/0.236/0.236/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 337925672 2703.405 100.00% Conn: 1 Mbps: 2703.405 Peak Mbps: 2703.405 Avg Mbps: 2703.405 2000 330922316 2650.029 100.00% Conn: 1 Mbps: 2650.029 Peak Mbps: 2703.405 Avg Mbps: 2650.029 3000 334602878 2676.823 100.00% Conn: 1 Mbps: 2676.823 Peak Mbps: 2703.405 Avg Mbps: 2676.823 4000 335191778 2681.534 100.00% Conn: 1 Mbps: 2681.534 Peak Mbps: 2703.405 Avg Mbps: 2681.534 5000 334619248 2676.954 100.00% Conn: 1 Mbps: 2676.954 Peak Mbps: 2703.405 Avg Mbps: 2676.954 --- 169.254.1.12 tcpbench statistics --- 2005083922 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2650.029/2677.749/2703.405/16.985 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 306462740 2451.702 100.00% Conn: 1 Mbps: 2451.702 Peak Mbps: 2451.702 Avg Mbps: 2451.702 2000 308650240 2471.674 100.00% Conn: 1 Mbps: 2471.674 Peak Mbps: 2471.674 Avg Mbps: 2471.674 3000 307538576 2460.309 100.00% Conn: 1 Mbps: 2460.309 Peak Mbps: 2471.674 Avg Mbps: 2460.309 4000 308225192 2465.802 100.00% Conn: 1 Mbps: 2465.802 Peak Mbps: 2471.674 Avg Mbps: 2465.802 5000 307538576 2460.309 100.00% Conn: 1 Mbps: 2460.309 Peak Mbps: 2471.674 Avg Mbps: 2460.309 --- fc00:0:0:1::12 tcpbench statistics --- 1843207436 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2451.702/2461.959/2471.674/6.630 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.173 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.173/0.173/0.173/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.209 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.209/0.209/0.209/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 343552734 2748.422 100.00% Conn: 1 Mbps: 2748.422 Peak Mbps: 2748.422 Avg Mbps: 2748.422 2000 345350096 2765.566 100.00% Conn: 1 Mbps: 2765.566 Peak Mbps: 2765.566 Avg Mbps: 2765.566 3000 345611824 2764.895 100.00% Conn: 1 Mbps: 2764.895 Peak Mbps: 2765.566 Avg Mbps: 2764.895 4000 344679418 2757.435 100.00% Conn: 1 Mbps: 2757.435 Peak Mbps: 2765.566 Avg Mbps: 2757.435 5000 337089306 2696.714 100.00% Conn: 1 Mbps: 2696.714 Peak Mbps: 2765.566 Avg Mbps: 2696.714 --- 169.254.0.13 tcpbench statistics --- 2056677000 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2696.714/2746.607/2765.566/25.705 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 343114648 2744.917 100.00% Conn: 1 Mbps: 2744.917 Peak Mbps: 2744.917 Avg Mbps: 2744.917 2000 339449872 2718.317 100.00% Conn: 1 Mbps: 2718.317 Peak Mbps: 2744.917 Avg Mbps: 2718.317 3000 338926736 2711.414 100.00% Conn: 1 Mbps: 2711.414 Peak Mbps: 2744.917 Avg Mbps: 2711.414 4000 338534384 2708.275 100.00% Conn: 1 Mbps: 2708.275 Peak Mbps: 2744.917 Avg Mbps: 2708.275 5000 341051976 2728.416 100.00% Conn: 1 Mbps: 2728.416 Peak Mbps: 2744.917 Avg Mbps: 2728.416 --- fc00::13 tcpbench statistics --- 2040887144 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2708.275/2722.268/2744.917/13.267 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 1m53.95s