START sys/net/pair 2024-04-25T08:28:24Z ==== 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.156 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.156/0.156/0.156/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.214 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.214/0.214/0.214/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 205074156 1640.593 100.00% Conn: 1 Mbps: 1640.593 Peak Mbps: 1640.593 Avg Mbps: 1640.593 2000 201195672 1611.177 100.00% Conn: 1 Mbps: 1611.177 Peak Mbps: 1640.593 Avg Mbps: 1611.177 3000 201632672 1613.061 100.00% Conn: 1 Mbps: 1613.061 Peak Mbps: 1640.593 Avg Mbps: 1613.061 4000 199510696 1596.086 100.00% Conn: 1 Mbps: 1596.086 Peak Mbps: 1640.593 Avg Mbps: 1596.086 5000 200838012 1606.704 100.00% Conn: 1 Mbps: 1606.704 Peak Mbps: 1640.593 Avg Mbps: 1606.704 --- 169.254.1.11 tcpbench statistics --- 1209836332 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1596.086/1613.524/1640.593/14.759 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 210266416 1682.131 100.00% Conn: 1 Mbps: 1682.131 Peak Mbps: 1682.131 Avg Mbps: 1682.131 2000 205866376 1646.931 100.00% Conn: 1 Mbps: 1646.931 Peak Mbps: 1682.131 Avg Mbps: 1646.931 3000 203297704 1626.382 100.00% Conn: 1 Mbps: 1626.382 Peak Mbps: 1682.131 Avg Mbps: 1626.382 4000 206825664 1656.262 100.00% Conn: 1 Mbps: 1656.262 Peak Mbps: 1682.131 Avg Mbps: 1656.262 5000 205343128 1642.745 100.00% Conn: 1 Mbps: 1642.745 Peak Mbps: 1682.131 Avg Mbps: 1642.745 --- fc00:0:0:1::11 tcpbench statistics --- 1237283320 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1626.382/1650.890/1682.131/18.371 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.216 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.216/0.216/0.216/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.442 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.442/0.442/0.442/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 89392280 712.999 100.00% Conn: 1 Mbps: 712.999 Peak Mbps: 712.999 Avg Mbps: 712.999 2005 90207504 720.939 100.00% Conn: 1 Mbps: 720.939 Peak Mbps: 720.939 Avg Mbps: 720.939 3006 89799168 717.676 100.00% Conn: 1 Mbps: 717.676 Peak Mbps: 720.939 Avg Mbps: 717.676 4006 89476264 716.527 100.00% Conn: 1 Mbps: 716.527 Peak Mbps: 720.939 Avg Mbps: 716.527 5009 89828128 716.476 100.00% Conn: 1 Mbps: 716.476 Peak Mbps: 720.939 Avg Mbps: 716.476 --- 169.254.1.12 tcpbench statistics --- 536866272 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 712.999/716.923/720.939/2.547 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 85978452 687.140 100.00% Conn: 1 Mbps: 687.140 Peak Mbps: 687.140 Avg Mbps: 687.140 2005 86359728 688.811 100.00% Conn: 1 Mbps: 688.811 Peak Mbps: 688.811 Avg Mbps: 688.811 3007 86375436 689.624 100.00% Conn: 1 Mbps: 689.624 Peak Mbps: 689.624 Avg Mbps: 689.624 4007 86180620 690.135 100.00% Conn: 1 Mbps: 690.135 Peak Mbps: 690.135 Avg Mbps: 690.135 5010 85821372 685.201 100.00% Conn: 1 Mbps: 685.201 Peak Mbps: 690.135 Avg Mbps: 685.201 --- fc00:0:0:1::12 tcpbench statistics --- 516378472 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 685.201/688.182/690.135/1.804 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.251 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.251/0.251/0.251/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 116334876 930.679 100.00% Conn: 1 Mbps: 930.679 Peak Mbps: 930.679 Avg Mbps: 930.679 2000 115985164 927.881 100.00% Conn: 1 Mbps: 927.881 Peak Mbps: 930.679 Avg Mbps: 927.881 3000 115325480 922.604 100.00% Conn: 1 Mbps: 922.604 Peak Mbps: 930.679 Avg Mbps: 922.604 4000 114475044 915.800 100.00% Conn: 1 Mbps: 915.800 Peak Mbps: 930.679 Avg Mbps: 915.800 5000 116064644 928.517 100.00% Conn: 1 Mbps: 928.517 Peak Mbps: 930.679 Avg Mbps: 928.517 --- 169.254.0.13 tcpbench statistics --- 694218060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 915.800/925.096/930.679/5.353 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 105648528 845.188 100.00% Conn: 1 Mbps: 845.188 Peak Mbps: 845.188 Avg Mbps: 845.188 2000 104950864 840.447 100.00% Conn: 1 Mbps: 840.447 Peak Mbps: 845.188 Avg Mbps: 840.447 3000 104086712 832.694 100.00% Conn: 1 Mbps: 832.694 Peak Mbps: 845.188 Avg Mbps: 832.694 4000 104847800 838.782 100.00% Conn: 1 Mbps: 838.782 Peak Mbps: 845.188 Avg Mbps: 838.782 5000 104942936 839.543 100.00% Conn: 1 Mbps: 839.543 Peak Mbps: 845.188 Avg Mbps: 839.543 --- fc00::13 tcpbench statistics --- 629063016 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 832.694/839.331/845.188/3.999 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.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-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.229 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.229/0.229/0.229/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 1002 90255400 720.602 100.00% Conn: 1 Mbps: 720.602 Peak Mbps: 720.602 Avg Mbps: 720.602 2000 89785704 720.447 100.00% Conn: 1 Mbps: 720.447 Peak Mbps: 720.602 Avg Mbps: 720.447 3002 90703424 724.902 100.00% Conn: 1 Mbps: 724.902 Peak Mbps: 724.902 Avg Mbps: 724.902 4002 90783352 726.267 100.00% Conn: 1 Mbps: 726.267 Peak Mbps: 726.267 Avg Mbps: 726.267 5002 90860480 726.884 100.00% Conn: 1 Mbps: 726.884 Peak Mbps: 726.884 Avg Mbps: 726.884 --- 169.254.1.11 tcpbench statistics --- 542976288 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 720.447/723.820/726.884/2.767 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 1001 86760388 693.390 100.00% Conn: 1 Mbps: 693.390 Peak Mbps: 693.390 Avg Mbps: 693.390 2003 86902368 694.524 100.00% Conn: 1 Mbps: 694.524 Peak Mbps: 694.524 Avg Mbps: 694.524 3003 86742432 693.939 100.00% Conn: 1 Mbps: 693.939 Peak Mbps: 694.524 Avg Mbps: 693.939 4006 87320772 696.477 100.00% Conn: 1 Mbps: 696.477 Peak Mbps: 696.477 Avg Mbps: 696.477 5005 86059848 689.859 100.00% Conn: 1 Mbps: 689.859 Peak Mbps: 696.477 Avg Mbps: 689.859 --- fc00:0:0:1::11 tcpbench statistics --- 520205512 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 689.859/693.638/696.477/2.158 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.184 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.184/0.184/0.184/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.199 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.199/0.199/0.199/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 203047416 1624.379 100.00% Conn: 1 Mbps: 1624.379 Peak Mbps: 1624.379 Avg Mbps: 1624.379 2000 199952928 1601.225 100.00% Conn: 1 Mbps: 1601.225 Peak Mbps: 1624.379 Avg Mbps: 1601.225 3000 199344712 1594.758 100.00% Conn: 1 Mbps: 1594.758 Peak Mbps: 1624.379 Avg Mbps: 1594.758 4000 197652000 1581.216 100.00% Conn: 1 Mbps: 1581.216 Peak Mbps: 1624.379 Avg Mbps: 1581.216 5000 198594760 1588.758 100.00% Conn: 1 Mbps: 1588.758 Peak Mbps: 1624.379 Avg Mbps: 1588.758 --- 169.254.1.12 tcpbench statistics --- 1197293672 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1581.216/1598.067/1624.379/14.723 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 206251752 1650.014 100.00% Conn: 1 Mbps: 1650.014 Peak Mbps: 1650.014 Avg Mbps: 1650.014 2000 205456356 1645.296 100.00% Conn: 1 Mbps: 1645.296 Peak Mbps: 1650.014 Avg Mbps: 1645.296 3000 203161560 1625.292 100.00% Conn: 1 Mbps: 1625.292 Peak Mbps: 1650.014 Avg Mbps: 1625.292 4000 205651992 1645.216 100.00% Conn: 1 Mbps: 1645.216 Peak Mbps: 1650.014 Avg Mbps: 1645.216 5000 205404948 1643.240 100.00% Conn: 1 Mbps: 1643.240 Peak Mbps: 1650.014 Avg Mbps: 1643.240 --- fc00:0:0:1::12 tcpbench statistics --- 1232085540 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1625.292/1641.812/1650.014/8.555 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.188 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.188/0.188/0.188/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.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-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 351043126 2808.345 100.00% Conn: 1 Mbps: 2808.345 Peak Mbps: 2808.345 Avg Mbps: 2808.345 2000 345611824 2767.662 100.00% Conn: 1 Mbps: 2767.662 Peak Mbps: 2808.345 Avg Mbps: 2767.662 3000 346936822 2775.495 100.00% Conn: 1 Mbps: 2775.495 Peak Mbps: 2808.345 Avg Mbps: 2775.495 4000 346004416 2768.035 100.00% Conn: 1 Mbps: 2768.035 Peak Mbps: 2808.345 Avg Mbps: 2768.035 5000 345873552 2766.988 100.00% Conn: 1 Mbps: 2766.988 Peak Mbps: 2808.345 Avg Mbps: 2766.988 --- 169.254.0.13 tcpbench statistics --- 2081474156 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2766.988/2777.305/2808.345/15.825 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 330672472 2645.380 100.00% Conn: 1 Mbps: 2645.380 Peak Mbps: 2645.380 Avg Mbps: 2645.380 2000 336016792 2690.825 100.00% Conn: 1 Mbps: 2690.825 Peak Mbps: 2690.825 Avg Mbps: 2690.825 3000 337390024 2699.120 100.00% Conn: 1 Mbps: 2699.120 Peak Mbps: 2699.120 Avg Mbps: 2699.120 4000 336932280 2695.458 100.00% Conn: 1 Mbps: 2695.458 Peak Mbps: 2699.120 Avg Mbps: 2695.458 5000 335003216 2680.026 100.00% Conn: 1 Mbps: 2680.026 Peak Mbps: 2699.120 Avg Mbps: 2680.026 --- fc00::13 tcpbench statistics --- 2009677464 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2645.380/2682.162/2699.120/19.478 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.196 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.196/0.196/0.196/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 1000 88805840 710.447 100.00% Conn: 1 Mbps: 710.447 Peak Mbps: 710.447 Avg Mbps: 710.447 2003 88592984 706.624 100.00% Conn: 1 Mbps: 706.624 Peak Mbps: 710.447 Avg Mbps: 706.624 3004 88355512 706.138 100.00% Conn: 1 Mbps: 706.138 Peak Mbps: 710.447 Avg Mbps: 706.138 4003 87758936 703.478 100.00% Conn: 1 Mbps: 703.478 Peak Mbps: 710.447 Avg Mbps: 703.478 5007 89296712 711.528 100.00% Conn: 1 Mbps: 711.528 Peak Mbps: 711.528 Avg Mbps: 711.528 --- 169.254.1.11 tcpbench statistics --- 530985944 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 703.478/707.643/711.528/2.953 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 138074520 1102.391 100.00% Conn: 1 Mbps: 1102.391 Peak Mbps: 1102.391 Avg Mbps: 1102.391 2003 135969200 1087.754 100.00% Conn: 1 Mbps: 1087.754 Peak Mbps: 1102.391 Avg Mbps: 1087.754 3004 135847296 1085.693 100.00% Conn: 1 Mbps: 1085.693 Peak Mbps: 1102.391 Avg Mbps: 1085.693 4004 137032648 1096.261 100.00% Conn: 1 Mbps: 1096.261 Peak Mbps: 1102.391 Avg Mbps: 1096.261 5005 136876760 1095.014 100.00% Conn: 1 Mbps: 1095.014 Peak Mbps: 1102.391 Avg Mbps: 1095.014 --- fc00:0:0:1::11 tcpbench statistics --- 820317624 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1085.693/1093.423/1102.391/6.048 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.161 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.161/0.161/0.161/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.210 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.210/0.210/0.210/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 350373410 2802.987 100.00% Conn: 1 Mbps: 2802.987 Peak Mbps: 2802.987 Avg Mbps: 2802.987 2000 346167996 2769.344 100.00% Conn: 1 Mbps: 2769.344 Peak Mbps: 2802.987 Avg Mbps: 2769.344 3000 350126632 2801.013 100.00% Conn: 1 Mbps: 2801.013 Peak Mbps: 2802.987 Avg Mbps: 2801.013 4000 349128782 2793.030 100.00% Conn: 1 Mbps: 2793.030 Peak Mbps: 2802.987 Avg Mbps: 2793.030 5000 349112424 2792.899 100.00% Conn: 1 Mbps: 2792.899 Peak Mbps: 2802.987 Avg Mbps: 2792.899 --- 169.254.1.12 tcpbench statistics --- 2094823222 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2769.344/2791.855/2802.987/11.975 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 313882388 2511.059 100.00% Conn: 1 Mbps: 2511.059 Peak Mbps: 2511.059 Avg Mbps: 2511.059 2000 320292320 2562.339 100.00% Conn: 1 Mbps: 2562.339 Peak Mbps: 2562.339 Avg Mbps: 2562.339 3000 322120992 2576.968 100.00% Conn: 1 Mbps: 2576.968 Peak Mbps: 2576.968 Avg Mbps: 2576.968 4000 320813152 2566.505 100.00% Conn: 1 Mbps: 2566.505 Peak Mbps: 2576.968 Avg Mbps: 2566.505 5000 317707032 2541.656 100.00% Conn: 1 Mbps: 2541.656 Peak Mbps: 2576.968 Avg Mbps: 2541.656 --- fc00:0:0:1::12 tcpbench statistics --- 1909318708 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2511.059/2551.705/2576.968/23.338 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.152 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.152/0.152/0.152/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.207 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.207/0.207/0.207/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 360710302 2885.682 100.00% Conn: 1 Mbps: 2885.682 Peak Mbps: 2885.682 Avg Mbps: 2885.682 2000 358436496 2870.362 100.00% Conn: 1 Mbps: 2870.362 Peak Mbps: 2885.682 Avg Mbps: 2870.362 3000 356048228 2848.386 100.00% Conn: 1 Mbps: 2848.386 Peak Mbps: 2885.682 Avg Mbps: 2848.386 4000 355508414 2844.067 100.00% Conn: 1 Mbps: 2844.067 Peak Mbps: 2885.682 Avg Mbps: 2844.067 5000 353038332 2827.134 100.00% Conn: 1 Mbps: 2827.134 Peak Mbps: 2885.682 Avg Mbps: 2827.134 --- 169.254.0.13 tcpbench statistics --- 2141523936 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2827.134/2855.126/2885.682/20.577 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 378767928 3030.143 100.00% Conn: 1 Mbps: 3030.143 Peak Mbps: 3030.143 Avg Mbps: 3030.143 2000 378652376 3029.219 100.00% Conn: 1 Mbps: 3029.219 Peak Mbps: 3030.143 Avg Mbps: 3029.219 3000 377213752 3017.710 100.00% Conn: 1 Mbps: 3017.710 Peak Mbps: 3030.143 Avg Mbps: 3017.710 4000 373257536 2986.060 100.00% Conn: 1 Mbps: 2986.060 Peak Mbps: 3030.143 Avg Mbps: 2986.060 5000 377311840 3018.495 100.00% Conn: 1 Mbps: 3018.495 Peak Mbps: 3030.143 Avg Mbps: 3018.495 --- fc00::13 tcpbench statistics --- 2261730568 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2986.060/3016.325/3030.143/15.999 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