START sys/net/pair 2024-11-15T09:28:48Z ==== 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.174 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.174/0.174/0.174/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.236 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.236/0.236/0.236/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 110199020 881.592 100.00% Conn: 1 Mbps: 881.592 Peak Mbps: 881.592 Avg Mbps: 881.592 2000 109753932 878.910 100.00% Conn: 1 Mbps: 878.910 Peak Mbps: 881.592 Avg Mbps: 878.910 3001 109912892 879.303 100.00% Conn: 1 Mbps: 879.303 Peak Mbps: 881.592 Avg Mbps: 879.303 4000 109825464 879.483 100.00% Conn: 1 Mbps: 879.483 Peak Mbps: 881.592 Avg Mbps: 879.483 5000 109674452 877.396 100.00% Conn: 1 Mbps: 877.396 Peak Mbps: 881.592 Avg Mbps: 877.396 --- 169.254.1.11 tcpbench statistics --- 658404372 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 877.396/879.337/881.592/1.346 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 109802800 878.422 100.00% Conn: 1 Mbps: 878.422 Peak Mbps: 878.422 Avg Mbps: 878.422 2000 108613600 869.779 100.00% Conn: 1 Mbps: 869.779 Peak Mbps: 878.422 Avg Mbps: 869.779 3000 109398472 875.188 100.00% Conn: 1 Mbps: 875.188 Peak Mbps: 878.422 Avg Mbps: 875.188 4001 109327120 874.617 100.00% Conn: 1 Mbps: 874.617 Peak Mbps: 878.422 Avg Mbps: 874.617 5001 109152704 873.222 100.00% Conn: 1 Mbps: 873.222 Peak Mbps: 878.422 Avg Mbps: 873.222 --- fc00:0:0:1::11 tcpbench statistics --- 654940008 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 869.779/874.245/878.422/2.810 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.307 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.307/0.307/0.307/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.695 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.695/0.695/0.695/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 1001 40025616 319.885 100.00% Conn: 1 Mbps: 319.885 Peak Mbps: 319.885 Avg Mbps: 319.885 2002 40134216 321.074 100.00% Conn: 1 Mbps: 321.074 Peak Mbps: 321.074 Avg Mbps: 321.074 3004 39961904 319.057 100.00% Conn: 1 Mbps: 319.057 Peak Mbps: 321.074 Avg Mbps: 319.057 4004 40344176 322.753 100.00% Conn: 1 Mbps: 322.753 Peak Mbps: 322.753 Avg Mbps: 322.753 5006 40517936 323.820 100.00% Conn: 1 Mbps: 323.820 Peak Mbps: 323.820 Avg Mbps: 323.820 --- 169.254.1.12 tcpbench statistics --- 241065936 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 319.057/321.318/323.820/1.763 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 38665956 309.328 100.00% Conn: 1 Mbps: 309.328 Peak Mbps: 309.328 Avg Mbps: 309.328 2000 38868732 310.950 100.00% Conn: 1 Mbps: 310.950 Peak Mbps: 310.950 Avg Mbps: 310.950 3002 38915856 311.016 100.00% Conn: 1 Mbps: 311.016 Peak Mbps: 311.016 Avg Mbps: 311.016 4004 38858736 310.559 100.00% Conn: 1 Mbps: 310.559 Peak Mbps: 311.016 Avg Mbps: 310.559 5004 38901576 311.213 100.00% Conn: 1 Mbps: 311.213 Peak Mbps: 311.213 Avg Mbps: 311.213 --- fc00:0:0:1::12 tcpbench statistics --- 232939644 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 309.328/310.613/311.213/0.677 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.275 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.275/0.275/0.275/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.333 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.333/0.333/0.333/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 62805096 502.441 100.00% Conn: 1 Mbps: 502.441 Peak Mbps: 502.441 Avg Mbps: 502.441 2000 62797148 502.880 100.00% Conn: 1 Mbps: 502.880 Peak Mbps: 502.880 Avg Mbps: 502.880 3000 63051484 504.412 100.00% Conn: 1 Mbps: 504.412 Peak Mbps: 504.412 Avg Mbps: 504.412 4000 63289924 506.319 100.00% Conn: 1 Mbps: 506.319 Peak Mbps: 506.319 Avg Mbps: 506.319 5000 62558708 500.470 100.00% Conn: 1 Mbps: 500.470 Peak Mbps: 506.319 Avg Mbps: 500.470 --- 169.254.0.13 tcpbench statistics --- 377013380 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 500.470/503.304/506.319/1.964 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 62781832 502.255 100.00% Conn: 1 Mbps: 502.255 Peak Mbps: 502.255 Avg Mbps: 502.255 2000 62567776 501.043 100.00% Conn: 1 Mbps: 501.043 Peak Mbps: 502.255 Avg Mbps: 501.043 3000 62187232 497.498 100.00% Conn: 1 Mbps: 497.498 Peak Mbps: 502.255 Avg Mbps: 497.498 4000 62139664 497.615 100.00% Conn: 1 Mbps: 497.615 Peak Mbps: 502.255 Avg Mbps: 497.615 5000 62361648 498.893 100.00% Conn: 1 Mbps: 498.893 Peak Mbps: 502.255 Avg Mbps: 498.893 --- fc00::13 tcpbench statistics --- 373575288 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 497.498/499.461/502.255/1.892 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.225 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.225/0.225/0.225/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.284 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.284/0.284/0.284/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 40248608 321.346 100.00% Conn: 1 Mbps: 321.346 Peak Mbps: 321.346 Avg Mbps: 321.346 2001 40164624 321.639 100.00% Conn: 1 Mbps: 321.639 Peak Mbps: 321.639 Avg Mbps: 321.639 3002 40380376 322.720 100.00% Conn: 1 Mbps: 322.720 Peak Mbps: 322.720 Avg Mbps: 322.720 4003 40383272 322.743 100.00% Conn: 1 Mbps: 322.743 Peak Mbps: 322.743 Avg Mbps: 322.743 5003 40218200 322.068 100.00% Conn: 1 Mbps: 322.068 Peak Mbps: 322.743 Avg Mbps: 322.068 --- 169.254.1.11 tcpbench statistics --- 241504680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 321.346/322.103/322.743/0.562 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 39014388 311.803 100.00% Conn: 1 Mbps: 311.803 Peak Mbps: 311.803 Avg Mbps: 311.803 2001 39092928 313.056 100.00% Conn: 1 Mbps: 313.056 Peak Mbps: 313.056 Avg Mbps: 313.056 3001 39014388 312.115 100.00% Conn: 1 Mbps: 312.115 Peak Mbps: 313.056 Avg Mbps: 312.115 4002 39124344 312.995 100.00% Conn: 1 Mbps: 312.995 Peak Mbps: 313.056 Avg Mbps: 312.995 5003 39060084 312.169 100.00% Conn: 1 Mbps: 312.169 Peak Mbps: 313.056 Avg Mbps: 312.169 --- fc00:0:0:1::11 tcpbench statistics --- 234394776 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 311.803/312.428/313.056/0.504 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.189 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.189/0.189/0.189/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.228 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.228/0.228/0.228/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 105494040 843.952 100.00% Conn: 1 Mbps: 843.952 Peak Mbps: 843.952 Avg Mbps: 843.952 2000 105090048 841.562 100.00% Conn: 1 Mbps: 841.562 Peak Mbps: 843.952 Avg Mbps: 841.562 3000 106755248 854.042 100.00% Conn: 1 Mbps: 854.042 Peak Mbps: 854.042 Avg Mbps: 854.042 4000 106352704 851.673 100.00% Conn: 1 Mbps: 851.673 Peak Mbps: 854.042 Avg Mbps: 851.673 5000 106461304 852.543 100.00% Conn: 1 Mbps: 852.543 Peak Mbps: 854.042 Avg Mbps: 852.543 --- 169.254.1.12 tcpbench statistics --- 635321584 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 841.562/848.755/854.042/5.012 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 104281128 834.249 100.00% Conn: 1 Mbps: 834.249 Peak Mbps: 834.249 Avg Mbps: 834.249 2000 105417816 843.343 100.00% Conn: 1 Mbps: 843.343 Peak Mbps: 843.343 Avg Mbps: 843.343 3000 104513892 836.111 100.00% Conn: 1 Mbps: 836.111 Peak Mbps: 843.343 Avg Mbps: 836.111 4000 105052248 840.418 100.00% Conn: 1 Mbps: 840.418 Peak Mbps: 843.343 Avg Mbps: 840.418 5001 104956572 839.653 100.00% Conn: 1 Mbps: 839.653 Peak Mbps: 843.343 Avg Mbps: 839.653 --- fc00:0:0:1::12 tcpbench statistics --- 628652724 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 834.249/838.755/843.343/3.222 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.202 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.202/0.202/0.202/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.248 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.248/0.248/0.248/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 190359252 1522.874 100.00% Conn: 1 Mbps: 1522.874 Peak Mbps: 1522.874 Avg Mbps: 1522.874 2000 189948988 1521.113 100.00% Conn: 1 Mbps: 1521.113 Peak Mbps: 1522.874 Avg Mbps: 1521.113 3000 190112568 1520.901 100.00% Conn: 1 Mbps: 1520.901 Peak Mbps: 1522.874 Avg Mbps: 1520.901 4000 190079852 1520.639 100.00% Conn: 1 Mbps: 1520.639 Peak Mbps: 1522.874 Avg Mbps: 1520.639 5000 189916260 1519.330 100.00% Conn: 1 Mbps: 1519.330 Peak Mbps: 1522.874 Avg Mbps: 1519.330 --- 169.254.0.13 tcpbench statistics --- 1140169612 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1519.330/1520.971/1522.874/1.136 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 178766460 1430.132 100.00% Conn: 1 Mbps: 1430.132 Peak Mbps: 1430.132 Avg Mbps: 1430.132 2000 177637368 1422.521 100.00% Conn: 1 Mbps: 1422.521 Peak Mbps: 1430.132 Avg Mbps: 1422.521 3000 177473888 1419.791 100.00% Conn: 1 Mbps: 1419.791 Peak Mbps: 1430.132 Avg Mbps: 1419.791 4000 177539280 1420.314 100.00% Conn: 1 Mbps: 1420.314 Peak Mbps: 1430.132 Avg Mbps: 1420.314 5000 175577520 1404.620 100.00% Conn: 1 Mbps: 1404.620 Peak Mbps: 1430.132 Avg Mbps: 1404.620 --- fc00::13 tcpbench statistics --- 1064174140 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1404.620/1419.476/1430.132/8.298 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.235 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.235/0.235/0.235/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.286 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.286/0.286/0.286/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 1001 40089328 320.394 100.00% Conn: 1 Mbps: 320.394 Peak Mbps: 320.394 Avg Mbps: 320.394 2001 39882264 319.377 100.00% Conn: 1 Mbps: 319.377 Peak Mbps: 320.394 Avg Mbps: 319.377 3002 40008240 320.066 100.00% Conn: 1 Mbps: 320.066 Peak Mbps: 320.394 Avg Mbps: 320.066 4004 40008240 319.746 100.00% Conn: 1 Mbps: 319.746 Peak Mbps: 320.394 Avg Mbps: 319.746 5004 40074848 320.599 100.00% Conn: 1 Mbps: 320.599 Peak Mbps: 320.599 Avg Mbps: 320.599 --- 169.254.1.11 tcpbench statistics --- 239741016 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 319.377/320.037/320.599/0.439 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 1001 64380816 514.532 100.00% Conn: 1 Mbps: 514.532 Peak Mbps: 514.532 Avg Mbps: 514.532 2002 63401360 506.704 100.00% Conn: 1 Mbps: 506.704 Peak Mbps: 514.532 Avg Mbps: 506.704 3006 63490048 506.401 100.00% Conn: 1 Mbps: 506.401 Peak Mbps: 514.532 Avg Mbps: 506.401 4006 63317656 506.541 100.00% Conn: 1 Mbps: 506.541 Peak Mbps: 514.532 Avg Mbps: 506.541 5008 63594544 507.741 100.00% Conn: 1 Mbps: 507.741 Peak Mbps: 514.532 Avg Mbps: 507.741 --- fc00:0:0:1::11 tcpbench statistics --- 381093136 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 506.401/508.384/514.532/3.110 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.208 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.208/0.208/0.208/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.248 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.248/0.248/0.248/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 190473186 1523.785 100.00% Conn: 1 Mbps: 1523.785 Peak Mbps: 1523.785 Avg Mbps: 1523.785 2000 189916272 1520.851 100.00% Conn: 1 Mbps: 1520.851 Peak Mbps: 1523.785 Avg Mbps: 1520.851 3000 189981692 1519.854 100.00% Conn: 1 Mbps: 1519.854 Peak Mbps: 1523.785 Avg Mbps: 1519.854 4000 189981704 1519.854 100.00% Conn: 1 Mbps: 1519.854 Peak Mbps: 1523.785 Avg Mbps: 1519.854 5000 189948988 1519.592 100.00% Conn: 1 Mbps: 1519.592 Peak Mbps: 1523.785 Avg Mbps: 1519.592 --- 169.254.1.12 tcpbench statistics --- 1139760090 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1519.592/1520.787/1523.785/1.560 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 179076244 1432.610 100.00% Conn: 1 Mbps: 1432.610 Peak Mbps: 1432.610 Avg Mbps: 1432.610 2000 177441192 1420.950 100.00% Conn: 1 Mbps: 1420.950 Peak Mbps: 1432.610 Avg Mbps: 1420.950 3000 177441192 1419.530 100.00% Conn: 1 Mbps: 1419.530 Peak Mbps: 1432.610 Avg Mbps: 1419.530 4000 177604672 1420.837 100.00% Conn: 1 Mbps: 1420.837 Peak Mbps: 1432.610 Avg Mbps: 1420.837 5000 177735456 1421.884 100.00% Conn: 1 Mbps: 1421.884 Peak Mbps: 1432.610 Avg Mbps: 1421.884 --- fc00:0:0:1::12 tcpbench statistics --- 1066511076 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1419.530/1423.162/1432.610/4.783 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.171 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.171/0.171/0.171/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.233 ms --- fc00::13 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-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 189720340 1517.763 100.00% Conn: 1 Mbps: 1517.763 Peak Mbps: 1517.763 Avg Mbps: 1517.763 2000 189719976 1519.279 100.00% Conn: 1 Mbps: 1519.279 Peak Mbps: 1519.279 Avg Mbps: 1519.279 3000 190865024 1526.920 100.00% Conn: 1 Mbps: 1526.920 Peak Mbps: 1526.920 Avg Mbps: 1526.920 4000 190865036 1526.920 100.00% Conn: 1 Mbps: 1526.920 Peak Mbps: 1526.920 Avg Mbps: 1526.920 5000 190439728 1523.518 100.00% Conn: 1 Mbps: 1523.518 Peak Mbps: 1526.920 Avg Mbps: 1523.518 --- 169.254.0.13 tcpbench statistics --- 1142736868 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1517.763/1522.880/1526.920/3.800 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 189213840 1513.711 100.00% Conn: 1 Mbps: 1513.711 Peak Mbps: 1513.711 Avg Mbps: 1513.711 2000 188100088 1506.307 100.00% Conn: 1 Mbps: 1506.307 Peak Mbps: 1513.711 Avg Mbps: 1506.307 3000 188590528 1508.724 100.00% Conn: 1 Mbps: 1508.724 Peak Mbps: 1513.711 Avg Mbps: 1508.724 4000 188754008 1510.032 100.00% Conn: 1 Mbps: 1510.032 Peak Mbps: 1513.711 Avg Mbps: 1510.032 5000 188100088 1504.801 100.00% Conn: 1 Mbps: 1504.801 Peak Mbps: 1513.711 Avg Mbps: 1504.801 --- fc00::13 tcpbench statistics --- 1131643344 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1504.801/1508.715/1513.711/3.092 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 1m59.42s