START sys/net/pair 2024-07-26T00:45: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.040 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.040/0.040/0.040/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.044 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.044/0.044/0.044/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 937975272 7503.802 100.00% Conn: 1 Mbps: 7503.802 Peak Mbps: 7503.802 Avg Mbps: 7503.802 2000 939032356 7519.779 100.00% Conn: 1 Mbps: 7519.779 Peak Mbps: 7519.779 Avg Mbps: 7519.779 3000 936751280 7494.010 100.00% Conn: 1 Mbps: 7494.010 Peak Mbps: 7519.779 Avg Mbps: 7494.010 4000 936934084 7495.473 100.00% Conn: 1 Mbps: 7495.473 Peak Mbps: 7519.779 Avg Mbps: 7495.473 5000 936409516 7491.276 100.00% Conn: 1 Mbps: 7491.276 Peak Mbps: 7519.779 Avg Mbps: 7491.276 --- 169.254.1.11 tcpbench statistics --- 5623472284 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7491.276/7500.868/7519.779/10.338 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 938151952 7505.216 100.00% Conn: 1 Mbps: 7505.216 Peak Mbps: 7505.216 Avg Mbps: 7505.216 2000 937929968 7510.951 100.00% Conn: 1 Mbps: 7510.951 Peak Mbps: 7510.951 Avg Mbps: 7510.951 3000 938215376 7505.723 100.00% Conn: 1 Mbps: 7505.723 Peak Mbps: 7510.951 Avg Mbps: 7505.723 4000 939769264 7518.154 100.00% Conn: 1 Mbps: 7518.154 Peak Mbps: 7518.154 Avg Mbps: 7518.154 5000 940538280 7524.306 100.00% Conn: 1 Mbps: 7524.306 Peak Mbps: 7524.306 Avg Mbps: 7524.306 --- fc00:0:0:1::11 tcpbench statistics --- 5635357176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7505.216/7512.870/7524.306/7.376 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.063 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.063/0.063/0.063/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.123 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.123/0.123/0.123/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 275510856 2204.087 100.00% Conn: 1 Mbps: 2204.087 Peak Mbps: 2204.087 Avg Mbps: 2204.087 2000 276139216 2209.114 100.00% Conn: 1 Mbps: 2209.114 Peak Mbps: 2209.114 Avg Mbps: 2209.114 3000 276291480 2210.332 100.00% Conn: 1 Mbps: 2210.332 Peak Mbps: 2210.332 Avg Mbps: 2210.332 4001 276091656 2208.733 100.00% Conn: 1 Mbps: 2208.733 Peak Mbps: 2210.332 Avg Mbps: 2208.733 5001 276180760 2209.446 100.00% Conn: 1 Mbps: 2209.446 Peak Mbps: 2210.332 Avg Mbps: 2209.446 --- 169.254.1.12 tcpbench statistics --- 1656255384 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2204.087/2208.342/2210.332/2.192 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 267318624 2138.549 100.00% Conn: 1 Mbps: 2138.549 Peak Mbps: 2138.549 Avg Mbps: 2138.549 2001 268240160 2145.921 100.00% Conn: 1 Mbps: 2145.921 Peak Mbps: 2145.921 Avg Mbps: 2145.921 3001 268288940 2146.312 100.00% Conn: 1 Mbps: 2146.312 Peak Mbps: 2146.312 Avg Mbps: 2146.312 4002 268309624 2146.477 100.00% Conn: 1 Mbps: 2146.477 Peak Mbps: 2146.477 Avg Mbps: 2146.477 5001 268088256 2146.853 100.00% Conn: 1 Mbps: 2146.853 Peak Mbps: 2146.853 Avg Mbps: 2146.853 --- fc00:0:0:1::12 tcpbench statistics --- 1607827472 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2138.549/2144.822/2146.853/3.151 Mbps ==== run-ping-1-3 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=254 time=0.056 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.056/0.056/0.056/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.064 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.064/0.064/0.064/0.000 ms ==== run-tcpbench-1-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 428214396 3425.715 100.00% Conn: 1 Mbps: 3425.715 Peak Mbps: 3425.715 Avg Mbps: 3425.715 2000 426426096 3414.824 100.00% Conn: 1 Mbps: 3414.824 Peak Mbps: 3425.715 Avg Mbps: 3414.824 3000 426330720 3410.646 100.00% Conn: 1 Mbps: 3410.646 Peak Mbps: 3425.715 Avg Mbps: 3410.646 4000 427960060 3423.680 100.00% Conn: 1 Mbps: 3423.680 Peak Mbps: 3425.715 Avg Mbps: 3423.680 5000 427920320 3423.363 100.00% Conn: 1 Mbps: 3423.363 Peak Mbps: 3425.715 Avg Mbps: 3423.363 --- 169.254.0.13 tcpbench statistics --- 2565050092 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3410.646/3419.646/3425.715/5.851 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 413294568 3306.357 100.00% Conn: 1 Mbps: 3306.357 Peak Mbps: 3306.357 Avg Mbps: 3306.357 2000 413992232 3315.253 100.00% Conn: 1 Mbps: 3315.253 Peak Mbps: 3315.253 Avg Mbps: 3315.253 3000 413960520 3311.684 100.00% Conn: 1 Mbps: 3311.684 Peak Mbps: 3315.253 Avg Mbps: 3311.684 4000 412327352 3298.619 100.00% Conn: 1 Mbps: 3298.619 Peak Mbps: 3315.253 Avg Mbps: 3298.619 5000 413754392 3310.035 100.00% Conn: 1 Mbps: 3310.035 Peak Mbps: 3315.253 Avg Mbps: 3310.035 --- fc00::13 tcpbench statistics --- 2478879472 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3298.619/3308.390/3315.253/5.662 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 279281784 2234.254 100.00% Conn: 1 Mbps: 2234.254 Peak Mbps: 2234.254 Avg Mbps: 2234.254 2000 280311792 2244.739 100.00% Conn: 1 Mbps: 2244.739 Peak Mbps: 2244.739 Avg Mbps: 2244.739 3001 280754096 2246.033 100.00% Conn: 1 Mbps: 2246.033 Peak Mbps: 2246.033 Avg Mbps: 2246.033 4001 281302392 2250.419 100.00% Conn: 1 Mbps: 2250.419 Peak Mbps: 2250.419 Avg Mbps: 2250.419 5001 281569376 2252.555 100.00% Conn: 1 Mbps: 2252.555 Peak Mbps: 2252.555 Avg Mbps: 2252.555 --- 169.254.1.11 tcpbench statistics --- 1684335648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2234.254/2245.600/2252.555/6.344 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 269148556 2153.188 100.00% Conn: 1 Mbps: 2153.188 Peak Mbps: 2153.188 Avg Mbps: 2153.188 2000 269429528 2157.594 100.00% Conn: 1 Mbps: 2157.594 Peak Mbps: 2157.594 Avg Mbps: 2157.594 3000 269911740 2161.455 100.00% Conn: 1 Mbps: 2161.455 Peak Mbps: 2161.455 Avg Mbps: 2161.455 4001 270115068 2158.762 100.00% Conn: 1 Mbps: 2158.762 Peak Mbps: 2161.455 Avg Mbps: 2158.762 5000 269729848 2159.999 100.00% Conn: 1 Mbps: 2159.999 Peak Mbps: 2161.455 Avg Mbps: 2159.999 --- fc00:0:0:1::11 tcpbench statistics --- 1618461176 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2153.188/2158.200/2161.455/2.815 Mbps ==== run-ping-2-2 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.039 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.042 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.042/0.042/0.042/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 957530544 7660.244 100.00% Conn: 1 Mbps: 7660.244 Peak Mbps: 7660.244 Avg Mbps: 7660.244 2000 958842432 7678.418 100.00% Conn: 1 Mbps: 7678.418 Peak Mbps: 7678.418 Avg Mbps: 7678.418 3000 959006056 7672.048 100.00% Conn: 1 Mbps: 7672.048 Peak Mbps: 7678.418 Avg Mbps: 7672.048 4000 959740192 7677.922 100.00% Conn: 1 Mbps: 7677.922 Peak Mbps: 7678.418 Avg Mbps: 7677.922 5000 959202984 7673.624 100.00% Conn: 1 Mbps: 7673.624 Peak Mbps: 7678.418 Avg Mbps: 7673.624 --- 169.254.1.12 tcpbench statistics --- 5753096584 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7660.244/7672.451/7678.418/6.574 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 956054568 7648.437 100.00% Conn: 1 Mbps: 7648.437 Peak Mbps: 7648.437 Avg Mbps: 7648.437 2000 958823460 7678.266 100.00% Conn: 1 Mbps: 7678.266 Peak Mbps: 7678.266 Avg Mbps: 7678.266 3000 958299384 7674.069 100.00% Conn: 1 Mbps: 7674.069 Peak Mbps: 7678.266 Avg Mbps: 7674.069 4000 958727784 7669.822 100.00% Conn: 1 Mbps: 7669.822 Peak Mbps: 7678.266 Avg Mbps: 7669.822 5000 957414024 7659.312 100.00% Conn: 1 Mbps: 7659.312 Peak Mbps: 7678.266 Avg Mbps: 7659.312 --- fc00:0:0:1::12 tcpbench statistics --- 5746980288 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7648.437/7665.981/7678.266/10.802 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.042 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.042/0.042/0.042/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.044 ms --- fc00::13 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-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 1413168974 11305.352 100.00% Conn: 1 Mbps: 11305.352 Peak Mbps: 11305.352 Avg Mbps: 11305.352 2000 1411661844 11304.599 100.00% Conn: 1 Mbps: 11304.599 Peak Mbps: 11305.352 Avg Mbps: 11304.599 3000 1413134076 11305.073 100.00% Conn: 1 Mbps: 11305.073 Peak Mbps: 11305.352 Avg Mbps: 11305.073 4000 1413166804 11305.334 100.00% Conn: 1 Mbps: 11305.334 Peak Mbps: 11305.352 Avg Mbps: 11305.334 5000 1414475420 11315.803 100.00% Conn: 1 Mbps: 11315.803 Peak Mbps: 11315.803 Avg Mbps: 11315.803 --- 169.254.0.13 tcpbench statistics --- 8477694282 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11304.599/11307.232/11315.803/4.294 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 1380171292 11041.370 100.00% Conn: 1 Mbps: 11041.370 Peak Mbps: 11041.370 Avg Mbps: 11041.370 2000 1380752080 11057.074 100.00% Conn: 1 Mbps: 11057.074 Peak Mbps: 11057.074 Avg Mbps: 11057.074 3000 1387160496 11097.284 100.00% Conn: 1 Mbps: 11097.284 Peak Mbps: 11097.284 Avg Mbps: 11097.284 4000 1380327032 11042.616 100.00% Conn: 1 Mbps: 11042.616 Peak Mbps: 11097.284 Avg Mbps: 11042.616 5000 1388664512 11109.316 100.00% Conn: 1 Mbps: 11109.316 Peak Mbps: 11109.316 Avg Mbps: 11109.316 --- fc00::13 tcpbench statistics --- 8313423484 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11041.370/11069.532/11109.316/28.375 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.046 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.046/0.046/0.046/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.051 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/0.000 ms ==== run-tcpbench-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 275141848 2201.135 100.00% Conn: 1 Mbps: 2201.135 Peak Mbps: 2201.135 Avg Mbps: 2201.135 2001 275684600 2205.477 100.00% Conn: 1 Mbps: 2205.477 Peak Mbps: 2205.477 Avg Mbps: 2205.477 3001 275610304 2207.090 100.00% Conn: 1 Mbps: 2207.090 Peak Mbps: 2207.090 Avg Mbps: 2207.090 4001 275752208 2206.018 100.00% Conn: 1 Mbps: 2206.018 Peak Mbps: 2207.090 Avg Mbps: 2206.018 5002 275550712 2204.406 100.00% Conn: 1 Mbps: 2204.406 Peak Mbps: 2207.090 Avg Mbps: 2204.406 --- 169.254.1.11 tcpbench statistics --- 1652408944 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2201.135/2204.825/2207.090/2.038 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 430966560 3447.732 100.00% Conn: 1 Mbps: 3447.732 Peak Mbps: 3447.732 Avg Mbps: 3447.732 2000 429098352 3432.787 100.00% Conn: 1 Mbps: 3432.787 Peak Mbps: 3447.732 Avg Mbps: 3432.787 3000 430063808 3440.510 100.00% Conn: 1 Mbps: 3440.510 Peak Mbps: 3447.732 Avg Mbps: 3440.510 4000 429157528 3436.697 100.00% Conn: 1 Mbps: 3436.697 Peak Mbps: 3447.732 Avg Mbps: 3436.697 5001 429779040 3438.232 100.00% Conn: 1 Mbps: 3438.232 Peak Mbps: 3447.732 Avg Mbps: 3438.232 --- fc00:0:0:1::11 tcpbench statistics --- 2578383336 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3432.787/3439.192/3447.732/4.957 Mbps # path MTU discovery in other rtable does not work in ip6_output() /sbin/route -T 13 -n get -host -inet6 fc00:0:0:1::11 route to: fc00:0:0:1::11 destination: fc00:: mask: ffff:ffff:ffff:: gateway: ::1 interface: lo13 if address: ::1 priority: 8 (static) flags: use mtu expire 7 32768 0 DISABLED ==== run-ping-3-2 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.040 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.040/0.040/0.040/0.000 ms ==== run-ping6-3-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.044 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.044/0.044/0.044/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 1401366766 11210.934 100.00% Conn: 1 Mbps: 11210.934 Peak Mbps: 11210.934 Avg Mbps: 11210.934 2000 1408783676 11281.551 100.00% Conn: 1 Mbps: 11281.551 Peak Mbps: 11281.551 Avg Mbps: 11281.551 3000 1408325652 11266.605 100.00% Conn: 1 Mbps: 11266.605 Peak Mbps: 11281.551 Avg Mbps: 11266.605 4000 1409667008 11277.336 100.00% Conn: 1 Mbps: 11277.336 Peak Mbps: 11281.551 Avg Mbps: 11277.336 5000 1406984296 11255.874 100.00% Conn: 1 Mbps: 11255.874 Peak Mbps: 11281.551 Avg Mbps: 11255.874 --- 169.254.1.12 tcpbench statistics --- 8441899040 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11210.934/11258.460/11281.551/25.382 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 1380442436 11043.539 100.00% Conn: 1 Mbps: 11043.539 Peak Mbps: 11043.539 Avg Mbps: 11043.539 2000 1377351696 11029.843 100.00% Conn: 1 Mbps: 11029.843 Peak Mbps: 11043.539 Avg Mbps: 11029.843 3000 1382223400 11057.787 100.00% Conn: 1 Mbps: 11057.787 Peak Mbps: 11057.787 Avg Mbps: 11057.787 4000 1398309832 11186.479 100.00% Conn: 1 Mbps: 11186.479 Peak Mbps: 11186.479 Avg Mbps: 11186.479 5000 1399258016 11194.064 100.00% Conn: 1 Mbps: 11194.064 Peak Mbps: 11194.064 Avg Mbps: 11194.064 --- fc00:0:0:1::12 tcpbench statistics --- 8322228284 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11029.843/11102.343/11194.064/72.375 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.039 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-ping6-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.044 ms --- fc00::13 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-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 1409794554 11278.356 100.00% Conn: 1 Mbps: 11278.356 Peak Mbps: 11278.356 Avg Mbps: 11278.356 2000 1418925636 11362.768 100.00% Conn: 1 Mbps: 11362.768 Peak Mbps: 11362.768 Avg Mbps: 11362.768 3000 1415752184 11326.017 100.00% Conn: 1 Mbps: 11326.017 Peak Mbps: 11362.768 Avg Mbps: 11326.017 4000 1413429348 11307.435 100.00% Conn: 1 Mbps: 11307.435 Peak Mbps: 11362.768 Avg Mbps: 11307.435 5000 1417060824 11336.487 100.00% Conn: 1 Mbps: 11336.487 Peak Mbps: 11362.768 Avg Mbps: 11336.487 --- 169.254.0.13 tcpbench statistics --- 8497552374 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11278.356/11322.213/11362.768/28.301 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 1439199348 11513.595 100.00% Conn: 1 Mbps: 11513.595 Peak Mbps: 11513.595 Avg Mbps: 11513.595 2000 1443986144 11563.453 100.00% Conn: 1 Mbps: 11563.453 Peak Mbps: 11563.453 Avg Mbps: 11563.453 3000 1440520368 11524.163 100.00% Conn: 1 Mbps: 11524.163 Peak Mbps: 11563.453 Avg Mbps: 11524.163 4000 1439670272 11517.362 100.00% Conn: 1 Mbps: 11517.362 Peak Mbps: 11563.453 Avg Mbps: 11517.362 5000 1437250768 11498.006 100.00% Conn: 1 Mbps: 11498.006 Peak Mbps: 11563.453 Avg Mbps: 11498.006 --- fc00::13 tcpbench statistics --- 8630651852 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11498.006/11523.316/11563.453/21.828 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m51.79s