START sys/net/pair 2024-09-05T08:31:38Z ==== 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.170 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.170/0.170/0.170/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.223 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.223/0.223/0.223/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 203246256 1625.970 100.00% Conn: 1 Mbps: 1625.970 Peak Mbps: 1625.970 Avg Mbps: 1625.970 2000 200178328 1601.427 100.00% Conn: 1 Mbps: 1601.427 Peak Mbps: 1625.970 Avg Mbps: 1601.427 3000 200226016 1601.808 100.00% Conn: 1 Mbps: 1601.808 Peak Mbps: 1625.970 Avg Mbps: 1601.808 4000 198620520 1588.964 100.00% Conn: 1 Mbps: 1588.964 Peak Mbps: 1625.970 Avg Mbps: 1588.964 5000 199955784 1599.646 100.00% Conn: 1 Mbps: 1599.646 Peak Mbps: 1625.970 Avg Mbps: 1599.646 --- 169.254.1.11 tcpbench statistics --- 1202222428 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1588.964/1603.563/1625.970/12.151 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 204478976 1635.832 100.00% Conn: 1 Mbps: 1635.832 Peak Mbps: 1635.832 Avg Mbps: 1635.832 2000 202227424 1619.439 100.00% Conn: 1 Mbps: 1619.439 Peak Mbps: 1635.832 Avg Mbps: 1619.439 3000 201173000 1609.384 100.00% Conn: 1 Mbps: 1609.384 Peak Mbps: 1635.832 Avg Mbps: 1609.384 4000 202869592 1622.957 100.00% Conn: 1 Mbps: 1622.957 Peak Mbps: 1635.832 Avg Mbps: 1622.957 5000 202330488 1618.644 100.00% Conn: 1 Mbps: 1618.644 Peak Mbps: 1635.832 Avg Mbps: 1618.644 --- fc00:0:0:1::11 tcpbench statistics --- 1215758800 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1609.384/1621.251/1635.832/8.561 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.259 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.259/0.259/0.259/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.471 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.471/0.471/0.471/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 87155176 695.156 100.00% Conn: 1 Mbps: 695.156 Peak Mbps: 695.156 Avg Mbps: 695.156 2001 87819696 703.965 100.00% Conn: 1 Mbps: 703.965 Peak Mbps: 703.965 Avg Mbps: 703.965 3003 88439496 706.104 100.00% Conn: 1 Mbps: 706.104 Peak Mbps: 706.104 Avg Mbps: 706.104 4004 87992064 703.937 100.00% Conn: 1 Mbps: 703.937 Peak Mbps: 706.104 Avg Mbps: 703.937 5005 87769072 701.451 100.00% Conn: 1 Mbps: 701.451 Peak Mbps: 706.104 Avg Mbps: 701.451 --- 169.254.1.12 tcpbench statistics --- 525764512 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 695.156/702.123/706.104/3.782 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 1002 82715472 660.403 100.00% Conn: 1 Mbps: 660.403 Peak Mbps: 660.403 Avg Mbps: 660.403 2000 82295640 659.684 100.00% Conn: 1 Mbps: 659.684 Peak Mbps: 660.403 Avg Mbps: 659.684 3004 82682628 659.483 100.00% Conn: 1 Mbps: 659.483 Peak Mbps: 660.403 Avg Mbps: 659.483 4006 82628364 659.707 100.00% Conn: 1 Mbps: 659.707 Peak Mbps: 660.403 Avg Mbps: 659.707 5007 82060020 655.824 100.00% Conn: 1 Mbps: 655.824 Peak Mbps: 660.403 Avg Mbps: 655.824 --- fc00:0:0:1::12 tcpbench statistics --- 494390128 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 655.824/659.020/660.403/1.628 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.212 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.212/0.212/0.212/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.261 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.261/0.261/0.261/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 117821152 942.569 100.00% Conn: 1 Mbps: 942.569 Peak Mbps: 942.569 Avg Mbps: 942.569 2000 118003956 944.032 100.00% Conn: 1 Mbps: 944.032 Peak Mbps: 944.032 Avg Mbps: 944.032 3000 117852944 943.767 100.00% Conn: 1 Mbps: 943.767 Peak Mbps: 944.032 Avg Mbps: 943.767 4000 116438200 931.506 100.00% Conn: 1 Mbps: 931.506 Peak Mbps: 944.032 Avg Mbps: 931.506 5000 117932424 943.459 100.00% Conn: 1 Mbps: 943.459 Peak Mbps: 944.032 Avg Mbps: 943.459 --- 169.254.0.13 tcpbench statistics --- 705981100 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 931.506/941.067/944.032/4.806 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 104847800 838.782 100.00% Conn: 1 Mbps: 838.782 Peak Mbps: 838.782 Avg Mbps: 838.782 2000 104514824 836.119 100.00% Conn: 1 Mbps: 836.119 Peak Mbps: 838.782 Avg Mbps: 836.119 3000 104031216 833.083 100.00% Conn: 1 Mbps: 833.083 Peak Mbps: 838.782 Avg Mbps: 833.083 4000 105791232 846.330 100.00% Conn: 1 Mbps: 846.330 Peak Mbps: 846.330 Avg Mbps: 846.330 5000 105672312 845.378 100.00% Conn: 1 Mbps: 845.378 Peak Mbps: 846.330 Avg Mbps: 845.378 --- fc00::13 tcpbench statistics --- 630886456 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 833.083/839.938/846.330/5.165 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.184 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.184/0.184/0.184/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 1001 88920288 710.652 100.00% Conn: 1 Mbps: 710.652 Peak Mbps: 710.652 Avg Mbps: 710.652 2004 88539408 706.197 100.00% Conn: 1 Mbps: 706.197 Peak Mbps: 710.652 Avg Mbps: 706.197 3004 89033176 712.978 100.00% Conn: 1 Mbps: 712.978 Peak Mbps: 712.978 Avg Mbps: 712.978 4007 89351736 712.676 100.00% Conn: 1 Mbps: 712.676 Peak Mbps: 712.978 Avg Mbps: 712.676 5008 88999872 711.999 100.00% Conn: 1 Mbps: 711.999 Peak Mbps: 712.978 Avg Mbps: 711.999 --- 169.254.1.11 tcpbench statistics --- 533527240 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 706.197/710.900/712.978/2.485 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 1003 83885004 669.073 100.00% Conn: 1 Mbps: 669.073 Peak Mbps: 669.073 Avg Mbps: 669.073 2002 84244860 675.309 100.00% Conn: 1 Mbps: 675.309 Peak Mbps: 675.309 Avg Mbps: 675.309 3004 84631848 676.378 100.00% Conn: 1 Mbps: 676.378 Peak Mbps: 676.378 Avg Mbps: 676.378 4008 84796068 675.666 100.00% Conn: 1 Mbps: 675.666 Peak Mbps: 676.378 Avg Mbps: 675.666 5009 84507612 676.061 100.00% Conn: 1 Mbps: 676.061 Peak Mbps: 676.378 Avg Mbps: 676.061 --- fc00:0:0:1::11 tcpbench statistics --- 505040760 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 669.073/674.497/676.378/2.736 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.149 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.149/0.149/0.149/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.202 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.202/0.202/0.202/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 199136200 1593.090 100.00% Conn: 1 Mbps: 1593.090 Peak Mbps: 1593.090 Avg Mbps: 1593.090 2000 196282192 1571.829 100.00% Conn: 1 Mbps: 1571.829 Peak Mbps: 1593.090 Avg Mbps: 1571.829 3000 196004176 1568.033 100.00% Conn: 1 Mbps: 1568.033 Peak Mbps: 1593.090 Avg Mbps: 1568.033 4000 194443232 1555.546 100.00% Conn: 1 Mbps: 1555.546 Peak Mbps: 1593.090 Avg Mbps: 1555.546 5000 195707336 1565.659 100.00% Conn: 1 Mbps: 1565.659 Peak Mbps: 1593.090 Avg Mbps: 1565.659 --- 169.254.1.12 tcpbench statistics --- 1176921368 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1555.546/1570.831/1593.090/12.367 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 193893840 1551.151 100.00% Conn: 1 Mbps: 1551.151 Peak Mbps: 1551.151 Avg Mbps: 1551.151 2000 192625776 1541.006 100.00% Conn: 1 Mbps: 1541.006 Peak Mbps: 1551.151 Avg Mbps: 1541.006 3000 189939708 1521.039 100.00% Conn: 1 Mbps: 1521.039 Peak Mbps: 1551.151 Avg Mbps: 1521.039 4000 192462984 1539.704 100.00% Conn: 1 Mbps: 1539.704 Peak Mbps: 1551.151 Avg Mbps: 1539.704 5000 191039268 1528.314 100.00% Conn: 1 Mbps: 1528.314 Peak Mbps: 1551.151 Avg Mbps: 1528.314 --- fc00:0:0:1::12 tcpbench statistics --- 1150538172 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1521.039/1536.243/1551.151/10.497 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.178 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.178/0.178/0.178/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 324756312 2598.050 100.00% Conn: 1 Mbps: 2598.050 Peak Mbps: 2598.050 Avg Mbps: 2598.050 2000 319439024 2558.070 100.00% Conn: 1 Mbps: 2558.070 Peak Mbps: 2598.050 Avg Mbps: 2558.070 3000 323872042 2590.976 100.00% Conn: 1 Mbps: 2590.976 Peak Mbps: 2598.050 Avg Mbps: 2590.976 4000 323626672 2589.013 100.00% Conn: 1 Mbps: 2589.013 Peak Mbps: 2598.050 Avg Mbps: 2589.013 5000 324575436 2596.603 100.00% Conn: 1 Mbps: 2596.603 Peak Mbps: 2598.050 Avg Mbps: 2596.603 --- 169.254.0.13 tcpbench statistics --- 1938751098 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2558.070/2586.543/2598.050/14.629 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 312281440 2498.252 100.00% Conn: 1 Mbps: 2498.252 Peak Mbps: 2498.252 Avg Mbps: 2498.252 2000 311625576 2495.500 100.00% Conn: 1 Mbps: 2495.500 Peak Mbps: 2498.252 Avg Mbps: 2495.500 3000 312017928 2496.143 100.00% Conn: 1 Mbps: 2496.143 Peak Mbps: 2498.252 Avg Mbps: 2496.143 4000 310644696 2485.158 100.00% Conn: 1 Mbps: 2485.158 Peak Mbps: 2498.252 Avg Mbps: 2485.158 5000 310219648 2481.757 100.00% Conn: 1 Mbps: 2481.757 Peak Mbps: 2498.252 Avg Mbps: 2481.757 --- fc00::13 tcpbench statistics --- 1866845456 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2481.757/2491.362/2498.252/6.606 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.189 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.189/0.189/0.189/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.233 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.233/0.233/0.233/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 86948056 694.196 100.00% Conn: 1 Mbps: 694.196 Peak Mbps: 694.196 Avg Mbps: 694.196 2001 86887240 696.491 100.00% Conn: 1 Mbps: 696.491 Peak Mbps: 696.491 Avg Mbps: 696.491 3001 86674384 693.395 100.00% Conn: 1 Mbps: 693.395 Peak Mbps: 696.491 Avg Mbps: 693.395 4003 86864072 694.218 100.00% Conn: 1 Mbps: 694.218 Peak Mbps: 696.491 Avg Mbps: 694.218 5006 86325416 688.538 100.00% Conn: 1 Mbps: 688.538 Peak Mbps: 696.491 Avg Mbps: 688.538 --- 169.254.1.11 tcpbench statistics --- 519805936 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 688.538/693.368/696.491/2.627 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 136699992 1093.600 100.00% Conn: 1 Mbps: 1093.600 Peak Mbps: 1093.600 Avg Mbps: 1093.600 2000 135495792 1085.051 100.00% Conn: 1 Mbps: 1085.051 Peak Mbps: 1093.600 Avg Mbps: 1085.051 3002 134921408 1078.293 100.00% Conn: 1 Mbps: 1078.293 Peak Mbps: 1093.600 Avg Mbps: 1078.293 4001 134067568 1073.614 100.00% Conn: 1 Mbps: 1073.614 Peak Mbps: 1093.600 Avg Mbps: 1073.614 5003 134304160 1073.360 100.00% Conn: 1 Mbps: 1073.360 Peak Mbps: 1093.600 Avg Mbps: 1073.360 --- fc00:0:0:1::11 tcpbench statistics --- 810006096 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1073.360/1080.784/1093.600/7.684 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.195 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.195/0.195/0.195/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.194 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.194/0.194/0.194/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 321501564 2572.013 100.00% Conn: 1 Mbps: 2572.013 Peak Mbps: 2572.013 Avg Mbps: 2572.013 2000 317737792 2544.447 100.00% Conn: 1 Mbps: 2544.447 Peak Mbps: 2572.013 Avg Mbps: 2544.447 3000 320976676 2567.813 100.00% Conn: 1 Mbps: 2567.813 Peak Mbps: 2572.013 Avg Mbps: 2567.813 4000 320747664 2565.981 100.00% Conn: 1 Mbps: 2565.981 Peak Mbps: 2572.013 Avg Mbps: 2565.981 5000 319733468 2557.868 100.00% Conn: 1 Mbps: 2557.868 Peak Mbps: 2572.013 Avg Mbps: 2557.868 --- 169.254.1.12 tcpbench statistics --- 1919956250 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2544.447/2561.624/2572.013/9.740 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 310876088 2487.009 100.00% Conn: 1 Mbps: 2487.009 Peak Mbps: 2487.009 Avg Mbps: 2487.009 2000 310938960 2490.002 100.00% Conn: 1 Mbps: 2490.002 Peak Mbps: 2490.002 Avg Mbps: 2490.002 3000 309958080 2482.147 100.00% Conn: 1 Mbps: 2482.147 Peak Mbps: 2490.002 Avg Mbps: 2482.147 4000 311004352 2488.035 100.00% Conn: 1 Mbps: 2488.035 Peak Mbps: 2490.002 Avg Mbps: 2488.035 5000 312377584 2499.021 100.00% Conn: 1 Mbps: 2499.021 Peak Mbps: 2499.021 Avg Mbps: 2499.021 --- fc00:0:0:1::12 tcpbench statistics --- 1862628248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2482.147/2489.243/2499.021/5.531 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.184 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.184/0.184/0.184/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.201 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.201/0.201/0.201/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 328502222 2628.018 100.00% Conn: 1 Mbps: 2628.018 Peak Mbps: 2628.018 Avg Mbps: 2628.018 2000 324820806 2598.566 100.00% Conn: 1 Mbps: 2598.566 Peak Mbps: 2628.018 Avg Mbps: 2598.566 3000 324689942 2597.520 100.00% Conn: 1 Mbps: 2597.520 Peak Mbps: 2628.018 Avg Mbps: 2597.520 4000 323692092 2589.537 100.00% Conn: 1 Mbps: 2589.537 Peak Mbps: 2628.018 Avg Mbps: 2589.537 5000 322694266 2581.554 100.00% Conn: 1 Mbps: 2581.554 Peak Mbps: 2628.018 Avg Mbps: 2581.554 --- 169.254.0.13 tcpbench statistics --- 1947698840 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2581.554/2599.039/2628.018/15.737 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 354901468 2839.212 100.00% Conn: 1 Mbps: 2839.212 Peak Mbps: 2839.212 Avg Mbps: 2839.212 2000 352364792 2821.740 100.00% Conn: 1 Mbps: 2821.740 Peak Mbps: 2839.212 Avg Mbps: 2821.740 3000 352528272 2820.226 100.00% Conn: 1 Mbps: 2820.226 Peak Mbps: 2839.212 Avg Mbps: 2820.226 4000 350795384 2806.363 100.00% Conn: 1 Mbps: 2806.363 Peak Mbps: 2839.212 Avg Mbps: 2806.363 5000 354032288 2832.258 100.00% Conn: 1 Mbps: 2832.258 Peak Mbps: 2839.212 Avg Mbps: 2832.258 --- fc00::13 tcpbench statistics --- 2117771700 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2806.363/2823.960/2839.212/11.225 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.91s