START sys/net/pair 2025-01-05T02:50:26Z ==== 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.039 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.039/0.039/0.039/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.046 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.046/0.046/0.046/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 1026929288 8215.434 100.00% Conn: 1 Mbps: 8215.434 Peak Mbps: 8215.434 Avg Mbps: 8215.434 2000 1025824516 8214.811 100.00% Conn: 1 Mbps: 8214.811 Peak Mbps: 8215.434 Avg Mbps: 8214.811 3000 1026881600 8215.053 100.00% Conn: 1 Mbps: 8215.053 Peak Mbps: 8215.434 Avg Mbps: 8215.053 4000 1026508044 8212.064 100.00% Conn: 1 Mbps: 8212.064 Peak Mbps: 8215.434 Avg Mbps: 8212.064 5000 1022430720 8179.446 100.00% Conn: 1 Mbps: 8179.446 Peak Mbps: 8215.434 Avg Mbps: 8179.446 --- 169.254.1.11 tcpbench statistics --- 6153293912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8179.446/8207.362/8215.434/14.009 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 1032717136 8261.737 100.00% Conn: 1 Mbps: 8261.737 Peak Mbps: 8261.737 Avg Mbps: 8261.737 2000 1027373664 8227.217 100.00% Conn: 1 Mbps: 8227.217 Peak Mbps: 8261.737 Avg Mbps: 8227.217 3000 1031567576 8252.541 100.00% Conn: 1 Mbps: 8252.541 Peak Mbps: 8261.737 Avg Mbps: 8252.541 4000 1034049040 8272.392 100.00% Conn: 1 Mbps: 8272.392 Peak Mbps: 8272.392 Avg Mbps: 8272.392 5000 1030045400 8240.363 100.00% Conn: 1 Mbps: 8240.363 Peak Mbps: 8272.392 Avg Mbps: 8240.363 --- fc00:0:0:1::11 tcpbench statistics --- 6184077840 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8227.217/8250.850/8272.392/15.836 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.064 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.064/0.064/0.064/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.125 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.125/0.125/0.125/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 355844392 2843.911 100.00% Conn: 1 Mbps: 2843.911 Peak Mbps: 2843.911 Avg Mbps: 2843.911 2002 368092032 2944.736 100.00% Conn: 1 Mbps: 2944.736 Peak Mbps: 2944.736 Avg Mbps: 2944.736 3002 367393408 2942.089 100.00% Conn: 1 Mbps: 2942.089 Peak Mbps: 2944.736 Avg Mbps: 2942.089 4002 367595344 2940.763 100.00% Conn: 1 Mbps: 2940.763 Peak Mbps: 2944.736 Avg Mbps: 2940.763 5002 367935704 2943.486 100.00% Conn: 1 Mbps: 2943.486 Peak Mbps: 2944.736 Avg Mbps: 2943.486 --- 169.254.1.12 tcpbench statistics --- 2193282456 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2843.911/2922.997/2944.736/39.565 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 347859552 2782.876 100.00% Conn: 1 Mbps: 2782.876 Peak Mbps: 2782.876 Avg Mbps: 2782.876 2001 358100252 2864.802 100.00% Conn: 1 Mbps: 2864.802 Peak Mbps: 2864.802 Avg Mbps: 2864.802 3002 358315196 2866.522 100.00% Conn: 1 Mbps: 2866.522 Peak Mbps: 2866.522 Avg Mbps: 2866.522 4002 358319716 2866.558 100.00% Conn: 1 Mbps: 2866.558 Peak Mbps: 2866.558 Avg Mbps: 2866.558 5003 357532372 2860.259 100.00% Conn: 1 Mbps: 2860.259 Peak Mbps: 2866.558 Avg Mbps: 2860.259 --- fc00:0:0:1::12 tcpbench statistics --- 2136189992 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2782.876/2848.203/2866.558/32.744 Mbps ==== run-ping-1-3 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=254 time=0.056 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.056/0.056/0.056/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.067 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.067/0.067/0.067/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 741747100 5933.977 100.00% Conn: 1 Mbps: 5933.977 Peak Mbps: 5933.977 Avg Mbps: 5933.977 2000 772664820 6181.319 100.00% Conn: 1 Mbps: 6181.319 Peak Mbps: 6181.319 Avg Mbps: 6181.319 3000 771059044 6168.472 100.00% Conn: 1 Mbps: 6168.472 Peak Mbps: 6181.319 Avg Mbps: 6168.472 4000 777119536 6216.956 100.00% Conn: 1 Mbps: 6216.956 Peak Mbps: 6216.956 Avg Mbps: 6216.956 5001 779142440 6233.140 100.00% Conn: 1 Mbps: 6233.140 Peak Mbps: 6233.140 Avg Mbps: 6233.140 --- 169.254.0.13 tcpbench statistics --- 4620859344 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5933.977/6146.773/6233.140/108.932 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 1001 657699472 5256.339 100.00% Conn: 1 Mbps: 5256.339 Peak Mbps: 5256.339 Avg Mbps: 5256.339 2001 686316984 5490.536 100.00% Conn: 1 Mbps: 5490.536 Peak Mbps: 5490.536 Avg Mbps: 5490.536 3001 693502320 5548.019 100.00% Conn: 1 Mbps: 5548.019 Peak Mbps: 5548.019 Avg Mbps: 5548.019 4002 689220160 5513.761 100.00% Conn: 1 Mbps: 5513.761 Peak Mbps: 5548.019 Avg Mbps: 5513.761 5002 689362864 5514.903 100.00% Conn: 1 Mbps: 5514.903 Peak Mbps: 5548.019 Avg Mbps: 5514.903 --- fc00::13 tcpbench statistics --- 4099804592 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5256.339/5464.712/5548.019/105.784 Mbps ==== run-ping-2-1 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.042 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.052 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.052/0.052/0.052/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 353940904 2828.699 100.00% Conn: 1 Mbps: 2828.699 Peak Mbps: 2828.699 Avg Mbps: 2828.699 2001 365118384 2920.947 100.00% Conn: 1 Mbps: 2920.947 Peak Mbps: 2920.947 Avg Mbps: 2920.947 3001 364676016 2917.408 100.00% Conn: 1 Mbps: 2917.408 Peak Mbps: 2920.947 Avg Mbps: 2917.408 4002 364741392 2917.931 100.00% Conn: 1 Mbps: 2917.931 Peak Mbps: 2920.947 Avg Mbps: 2917.931 5002 363293016 2906.344 100.00% Conn: 1 Mbps: 2906.344 Peak Mbps: 2920.947 Avg Mbps: 2906.344 --- 169.254.1.11 tcpbench statistics --- 2174673552 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2828.699/2898.266/2920.947/35.135 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 346151524 2769.212 100.00% Conn: 1 Mbps: 2769.212 Peak Mbps: 2769.212 Avg Mbps: 2769.212 2001 356235608 2849.885 100.00% Conn: 1 Mbps: 2849.885 Peak Mbps: 2849.885 Avg Mbps: 2849.885 3001 356116980 2848.936 100.00% Conn: 1 Mbps: 2848.936 Peak Mbps: 2849.885 Avg Mbps: 2848.936 4002 356988768 2855.910 100.00% Conn: 1 Mbps: 2855.910 Peak Mbps: 2855.910 Avg Mbps: 2855.910 5003 355002508 2840.020 100.00% Conn: 1 Mbps: 2840.020 Peak Mbps: 2855.910 Avg Mbps: 2840.020 --- fc00:0:0:1::11 tcpbench statistics --- 2124706888 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2769.212/2832.793/2855.910/32.193 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.038 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.038/0.038/0.038/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.045 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.045/0.045/0.045/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 963664272 7709.314 100.00% Conn: 1 Mbps: 7709.314 Peak Mbps: 7709.314 Avg Mbps: 7709.314 2000 969000152 7759.761 100.00% Conn: 1 Mbps: 7759.761 Peak Mbps: 7759.761 Avg Mbps: 7759.761 3000 968164656 7745.317 100.00% Conn: 1 Mbps: 7745.317 Peak Mbps: 7759.761 Avg Mbps: 7745.317 4000 970326520 7762.612 100.00% Conn: 1 Mbps: 7762.612 Peak Mbps: 7762.612 Avg Mbps: 7762.612 5000 968735168 7749.881 100.00% Conn: 1 Mbps: 7749.881 Peak Mbps: 7762.612 Avg Mbps: 7749.881 --- 169.254.1.12 tcpbench statistics --- 5807728176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7709.314/7745.377/7762.612/19.104 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 965589324 7724.715 100.00% Conn: 1 Mbps: 7724.715 Peak Mbps: 7724.715 Avg Mbps: 7724.715 2000 949034520 7599.876 100.00% Conn: 1 Mbps: 7599.876 Peak Mbps: 7724.715 Avg Mbps: 7599.876 3000 946087128 7576.273 100.00% Conn: 1 Mbps: 7576.273 Peak Mbps: 7724.715 Avg Mbps: 7576.273 4000 945190344 7561.523 100.00% Conn: 1 Mbps: 7561.523 Peak Mbps: 7724.715 Avg Mbps: 7561.523 5000 946799700 7574.398 100.00% Conn: 1 Mbps: 7574.398 Peak Mbps: 7724.715 Avg Mbps: 7574.398 --- fc00:0:0:1::12 tcpbench statistics --- 5699746332 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7561.523/7607.357/7724.715/59.970 Mbps ==== run-ping-2-3 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.042 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.048 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-tcpbench-2-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 1369239134 10953.913 100.00% Conn: 1 Mbps: 10953.913 Peak Mbps: 10953.913 Avg Mbps: 10953.913 2000 1372207188 10988.646 100.00% Conn: 1 Mbps: 10988.646 Peak Mbps: 10988.646 Avg Mbps: 10988.646 3000 1367676022 10941.408 100.00% Conn: 1 Mbps: 10941.408 Peak Mbps: 10988.646 Avg Mbps: 10941.408 4000 1353739006 10829.912 100.00% Conn: 1 Mbps: 10829.912 Peak Mbps: 10988.646 Avg Mbps: 10829.912 5000 1341715876 10733.727 100.00% Conn: 1 Mbps: 10733.727 Peak Mbps: 10988.646 Avg Mbps: 10733.727 --- 169.254.0.13 tcpbench statistics --- 8152492784 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10733.727/10889.521/10988.646/94.329 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 1364829524 10918.636 100.00% Conn: 1 Mbps: 10918.636 Peak Mbps: 10918.636 Avg Mbps: 10918.636 2000 1403475800 11239.045 100.00% Conn: 1 Mbps: 11239.045 Peak Mbps: 11239.045 Avg Mbps: 11239.045 3000 1403868152 11230.945 100.00% Conn: 1 Mbps: 11230.945 Peak Mbps: 11239.045 Avg Mbps: 11230.945 4000 1403998936 11231.991 100.00% Conn: 1 Mbps: 11231.991 Peak Mbps: 11239.045 Avg Mbps: 11231.991 5000 1406974272 11255.794 100.00% Conn: 1 Mbps: 11255.794 Peak Mbps: 11255.794 Avg Mbps: 11255.794 --- fc00::13 tcpbench statistics --- 8388780420 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10918.636/11175.283/11255.794/128.631 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.043 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.043/0.043/0.043/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.055 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.055/0.055/0.055/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 355067212 2837.700 100.00% Conn: 1 Mbps: 2837.700 Peak Mbps: 2837.700 Avg Mbps: 2837.700 2001 363725608 2909.805 100.00% Conn: 1 Mbps: 2909.805 Peak Mbps: 2909.805 Avg Mbps: 2909.805 3002 364848608 2918.789 100.00% Conn: 1 Mbps: 2918.789 Peak Mbps: 2918.789 Avg Mbps: 2918.789 4002 364575992 2916.608 100.00% Conn: 1 Mbps: 2916.608 Peak Mbps: 2918.789 Avg Mbps: 2916.608 5003 361799800 2894.398 100.00% Conn: 1 Mbps: 2894.398 Peak Mbps: 2918.789 Avg Mbps: 2894.398 --- 169.254.1.11 tcpbench statistics --- 2170738436 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2837.700/2895.460/2918.789/30.115 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 777273952 6218.192 100.00% Conn: 1 Mbps: 6218.192 Peak Mbps: 6218.192 Avg Mbps: 6218.192 2000 826435432 6618.102 100.00% Conn: 1 Mbps: 6618.102 Peak Mbps: 6618.102 Avg Mbps: 6618.102 3000 828756800 6630.054 100.00% Conn: 1 Mbps: 6630.054 Peak Mbps: 6630.054 Avg Mbps: 6630.054 4000 830029472 6640.236 100.00% Conn: 1 Mbps: 6640.236 Peak Mbps: 6640.236 Avg Mbps: 6640.236 5001 827765464 6622.124 100.00% Conn: 1 Mbps: 6622.124 Peak Mbps: 6640.236 Avg Mbps: 6622.124 --- fc00:0:0:1::11 tcpbench statistics --- 4916538856 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6218.192/6545.741/6640.236/163.949 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.043 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.043/0.043/0.043/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.048 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.048/0.048/0.048/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 1374977556 10999.820 100.00% Conn: 1 Mbps: 10999.820 Peak Mbps: 10999.820 Avg Mbps: 10999.820 2000 1369998858 10970.962 100.00% Conn: 1 Mbps: 10970.962 Peak Mbps: 10999.820 Avg Mbps: 10970.962 3000 1381531248 11052.250 100.00% Conn: 1 Mbps: 11052.250 Peak Mbps: 11052.250 Avg Mbps: 11052.250 4000 1371896386 10975.171 100.00% Conn: 1 Mbps: 10975.171 Peak Mbps: 11052.250 Avg Mbps: 10975.171 5000 1353444562 10827.556 100.00% Conn: 1 Mbps: 10827.556 Peak Mbps: 11052.250 Avg Mbps: 10827.556 --- 169.254.1.12 tcpbench statistics --- 8197457690 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10827.556/10965.152/11052.250/74.639 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 1394588356 11156.707 100.00% Conn: 1 Mbps: 11156.707 Peak Mbps: 11156.707 Avg Mbps: 11156.707 2000 1401056296 11219.670 100.00% Conn: 1 Mbps: 11219.670 Peak Mbps: 11219.670 Avg Mbps: 11219.670 3000 1402069872 11216.559 100.00% Conn: 1 Mbps: 11216.559 Peak Mbps: 11219.670 Avg Mbps: 11216.559 4000 1402952664 11223.621 100.00% Conn: 1 Mbps: 11223.621 Peak Mbps: 11223.621 Avg Mbps: 11223.621 5000 1395007536 11160.060 100.00% Conn: 1 Mbps: 11160.060 Peak Mbps: 11223.621 Avg Mbps: 11160.060 --- fc00:0:0:1::12 tcpbench statistics --- 8382181300 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11156.707/11195.323/11223.621/30.263 Mbps ==== run-ping-3-3 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.039 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-ping6-3-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.044 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-tcpbench-3-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 1344224974 10753.800 100.00% Conn: 1 Mbps: 10753.800 Peak Mbps: 10753.800 Avg Mbps: 10753.800 2000 1355718324 10856.603 100.00% Conn: 1 Mbps: 10856.603 Peak Mbps: 10856.603 Avg Mbps: 10856.603 3000 1344365872 10754.927 100.00% Conn: 1 Mbps: 10754.927 Peak Mbps: 10856.603 Avg Mbps: 10754.927 4000 1332817124 10662.537 100.00% Conn: 1 Mbps: 10662.537 Peak Mbps: 10856.603 Avg Mbps: 10662.537 5000 1330968670 10647.749 100.00% Conn: 1 Mbps: 10647.749 Peak Mbps: 10856.603 Avg Mbps: 10647.749 --- 169.254.0.13 tcpbench statistics --- 8038016722 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10647.749/10735.123/10856.603/75.368 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 1351250276 10810.002 100.00% Conn: 1 Mbps: 10810.002 Peak Mbps: 10810.002 Avg Mbps: 10810.002 2000 1350867936 10817.761 100.00% Conn: 1 Mbps: 10817.761 Peak Mbps: 10817.761 Avg Mbps: 10817.761 3000 1351685336 10813.483 100.00% Conn: 1 Mbps: 10813.483 Peak Mbps: 10817.761 Avg Mbps: 10813.483 4000 1358355320 10866.843 100.00% Conn: 1 Mbps: 10866.843 Peak Mbps: 10866.843 Avg Mbps: 10866.843 5000 1360644040 10885.152 100.00% Conn: 1 Mbps: 10885.152 Peak Mbps: 10885.152 Avg Mbps: 10885.152 --- fc00::13 tcpbench statistics --- 8129425340 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10810.002/10838.648/10885.152/31.137 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m51.92s