START sys/net/pair 2025-02-14T16:17:27Z ==== 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.036 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.036/0.036/0.036/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.040 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.040/0.040/0.040/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 934660956 7477.288 100.00% Conn: 1 Mbps: 7477.288 Peak Mbps: 7477.288 Avg Mbps: 7477.288 2000 933802572 7477.898 100.00% Conn: 1 Mbps: 7477.898 Peak Mbps: 7477.898 Avg Mbps: 7477.898 3000 932872656 7462.981 100.00% Conn: 1 Mbps: 7462.981 Peak Mbps: 7477.898 Avg Mbps: 7462.981 4000 933707196 7469.658 100.00% Conn: 1 Mbps: 7469.658 Peak Mbps: 7477.898 Avg Mbps: 7469.658 5000 933937688 7471.502 100.00% Conn: 1 Mbps: 7471.502 Peak Mbps: 7477.898 Avg Mbps: 7471.502 --- 169.254.1.11 tcpbench statistics --- 5602751848 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7462.981/7471.865/7477.898/5.472 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 931270448 7450.164 100.00% Conn: 1 Mbps: 7450.164 Peak Mbps: 7450.164 Avg Mbps: 7450.164 2000 932380368 7466.509 100.00% Conn: 1 Mbps: 7466.509 Peak Mbps: 7466.509 Avg Mbps: 7466.509 3000 933736056 7469.888 100.00% Conn: 1 Mbps: 7469.888 Peak Mbps: 7469.888 Avg Mbps: 7469.888 4000 931397296 7451.178 100.00% Conn: 1 Mbps: 7451.178 Peak Mbps: 7469.888 Avg Mbps: 7451.178 5000 936447432 7491.579 100.00% Conn: 1 Mbps: 7491.579 Peak Mbps: 7491.579 Avg Mbps: 7491.579 --- fc00:0:0:1::11 tcpbench statistics --- 5601528400 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7450.164/7465.864/7491.579/15.100 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.061 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.061/0.061/0.061/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.119 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.119/0.119/0.119/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 364178992 2910.521 100.00% Conn: 1 Mbps: 2910.521 Peak Mbps: 2910.521 Avg Mbps: 2910.521 2001 378237072 3025.897 100.00% Conn: 1 Mbps: 3025.897 Peak Mbps: 3025.897 Avg Mbps: 3025.897 3001 379846656 3038.773 100.00% Conn: 1 Mbps: 3038.773 Peak Mbps: 3038.773 Avg Mbps: 3038.773 4001 379335040 3037.718 100.00% Conn: 1 Mbps: 3037.718 Peak Mbps: 3038.773 Avg Mbps: 3037.718 5002 377056464 3016.452 100.00% Conn: 1 Mbps: 3016.452 Peak Mbps: 3038.773 Avg Mbps: 3016.452 --- 169.254.1.12 tcpbench statistics --- 2255300072 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2910.521/3005.872/3038.773/48.376 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 349803476 2798.428 100.00% Conn: 1 Mbps: 2798.428 Peak Mbps: 2798.428 Avg Mbps: 2798.428 2000 357030976 2856.248 100.00% Conn: 1 Mbps: 2856.248 Peak Mbps: 2856.248 Avg Mbps: 2856.248 3001 356777984 2854.224 100.00% Conn: 1 Mbps: 2854.224 Peak Mbps: 2856.248 Avg Mbps: 2854.224 4001 355991552 2847.932 100.00% Conn: 1 Mbps: 2847.932 Peak Mbps: 2856.248 Avg Mbps: 2847.932 5002 357040128 2856.321 100.00% Conn: 1 Mbps: 2856.321 Peak Mbps: 2856.321 Avg Mbps: 2856.321 --- fc00:0:0:1::12 tcpbench statistics --- 2133684244 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2798.428/2842.631/2856.321/22.313 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.054 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.054/0.054/0.054/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.059 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.059/0.059/0.059/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 747687184 5981.497 100.00% Conn: 1 Mbps: 5981.497 Peak Mbps: 5981.497 Avg Mbps: 5981.497 2001 782989132 6263.913 100.00% Conn: 1 Mbps: 6263.913 Peak Mbps: 6263.913 Avg Mbps: 6263.913 3001 785914136 6287.313 100.00% Conn: 1 Mbps: 6287.313 Peak Mbps: 6287.313 Avg Mbps: 6287.313 4001 785755036 6286.040 100.00% Conn: 1 Mbps: 6286.040 Peak Mbps: 6287.313 Avg Mbps: 6286.040 5001 785691732 6291.826 100.00% Conn: 1 Mbps: 6291.826 Peak Mbps: 6291.826 Avg Mbps: 6291.826 --- 169.254.0.13 tcpbench statistics --- 4678203396 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5981.497/6222.118/6291.826/120.699 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 663020200 5304.162 100.00% Conn: 1 Mbps: 5304.162 Peak Mbps: 5304.162 Avg Mbps: 5304.162 2000 692301632 5538.413 100.00% Conn: 1 Mbps: 5538.413 Peak Mbps: 5538.413 Avg Mbps: 5538.413 3000 698718424 5589.747 100.00% Conn: 1 Mbps: 5589.747 Peak Mbps: 5589.747 Avg Mbps: 5589.747 4000 700161840 5606.902 100.00% Conn: 1 Mbps: 5606.902 Peak Mbps: 5606.902 Avg Mbps: 5606.902 5001 699328360 5594.627 100.00% Conn: 1 Mbps: 5594.627 Peak Mbps: 5606.902 Avg Mbps: 5594.627 --- fc00::13 tcpbench statistics --- 4147310256 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5304.162/5526.770/5606.902/113.738 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.043 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.043/0.043/0.043/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 368815256 2950.522 100.00% Conn: 1 Mbps: 2950.522 Peak Mbps: 2950.522 Avg Mbps: 2950.522 2001 379846656 3038.773 100.00% Conn: 1 Mbps: 3038.773 Peak Mbps: 3038.773 Avg Mbps: 3038.773 3001 381168992 3049.352 100.00% Conn: 1 Mbps: 3049.352 Peak Mbps: 3049.352 Avg Mbps: 3049.352 4001 384040960 3072.328 100.00% Conn: 1 Mbps: 3072.328 Peak Mbps: 3072.328 Avg Mbps: 3072.328 5001 382205952 3057.648 100.00% Conn: 1 Mbps: 3057.648 Peak Mbps: 3072.328 Avg Mbps: 3057.648 --- 169.254.1.11 tcpbench statistics --- 2276448760 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2950.522/3033.725/3072.328/43.023 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 349657156 2794.463 100.00% Conn: 1 Mbps: 2794.463 Peak Mbps: 2794.463 Avg Mbps: 2794.463 2001 358350848 2866.807 100.00% Conn: 1 Mbps: 2866.807 Peak Mbps: 2866.807 Avg Mbps: 2866.807 3001 355205120 2841.641 100.00% Conn: 1 Mbps: 2841.641 Peak Mbps: 2866.807 Avg Mbps: 2841.641 4001 354156544 2833.252 100.00% Conn: 1 Mbps: 2833.252 Peak Mbps: 2866.807 Avg Mbps: 2833.252 5002 354942976 2839.544 100.00% Conn: 1 Mbps: 2839.544 Peak Mbps: 2866.807 Avg Mbps: 2839.544 --- fc00:0:0:1::11 tcpbench statistics --- 2131187780 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2794.463/2835.141/2866.807/23.335 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.036 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.036/0.036/0.036/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.040 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.040/0.040/0.040/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 906792624 7254.341 100.00% Conn: 1 Mbps: 7254.341 Peak Mbps: 7254.341 Avg Mbps: 7254.341 2000 910115784 7288.214 100.00% Conn: 1 Mbps: 7288.214 Peak Mbps: 7288.214 Avg Mbps: 7288.214 3000 909869624 7278.957 100.00% Conn: 1 Mbps: 7278.957 Peak Mbps: 7288.214 Avg Mbps: 7278.957 4000 910182392 7288.748 100.00% Conn: 1 Mbps: 7288.748 Peak Mbps: 7288.748 Avg Mbps: 7288.748 5000 907490560 7259.924 100.00% Conn: 1 Mbps: 7259.924 Peak Mbps: 7288.748 Avg Mbps: 7259.924 --- 169.254.1.12 tcpbench statistics --- 5454747768 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7254.341/7274.037/7288.748/14.344 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 910552776 7284.422 100.00% Conn: 1 Mbps: 7284.422 Peak Mbps: 7284.422 Avg Mbps: 7284.422 2000 909376104 7282.291 100.00% Conn: 1 Mbps: 7282.291 Peak Mbps: 7284.422 Avg Mbps: 7282.291 3000 907034184 7256.273 100.00% Conn: 1 Mbps: 7256.273 Peak Mbps: 7284.422 Avg Mbps: 7256.273 4000 905674728 7245.398 100.00% Conn: 1 Mbps: 7245.398 Peak Mbps: 7284.422 Avg Mbps: 7245.398 5000 908182296 7265.458 100.00% Conn: 1 Mbps: 7265.458 Peak Mbps: 7284.422 Avg Mbps: 7265.458 --- fc00:0:0:1::12 tcpbench statistics --- 5449330824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7245.398/7266.769/7284.422/14.974 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.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-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.042 ms --- fc00::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-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 1274473002 10195.784 100.00% Conn: 1 Mbps: 10195.784 Peak Mbps: 10195.784 Avg Mbps: 10195.784 2000 1275302396 10212.632 100.00% Conn: 1 Mbps: 10212.632 Peak Mbps: 10212.632 Avg Mbps: 10212.632 3000 1273830176 10190.641 100.00% Conn: 1 Mbps: 10190.641 Peak Mbps: 10212.632 Avg Mbps: 10190.641 4000 1275694988 10205.560 100.00% Conn: 1 Mbps: 10205.560 Peak Mbps: 10212.632 Avg Mbps: 10205.560 5000 1273437584 10187.501 100.00% Conn: 1 Mbps: 10187.501 Peak Mbps: 10212.632 Avg Mbps: 10187.501 --- 169.254.0.13 tcpbench statistics --- 7644376350 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10187.501/10198.424/10212.632/9.377 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 1262908276 10103.266 100.00% Conn: 1 Mbps: 10103.266 Peak Mbps: 10103.266 Avg Mbps: 10103.266 2000 1261575160 10102.704 100.00% Conn: 1 Mbps: 10102.704 Peak Mbps: 10103.266 Avg Mbps: 10102.704 3000 1265302504 10122.420 100.00% Conn: 1 Mbps: 10122.420 Peak Mbps: 10122.420 Avg Mbps: 10122.420 4000 1263994664 10111.957 100.00% Conn: 1 Mbps: 10111.957 Peak Mbps: 10122.420 Avg Mbps: 10111.957 5000 1264681280 10117.450 100.00% Conn: 1 Mbps: 10117.450 Peak Mbps: 10122.420 Avg Mbps: 10117.450 --- fc00::13 tcpbench statistics --- 7584222132 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10102.704/10111.560/10122.420/7.746 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.048 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-tcpbench-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 373952696 2988.633 100.00% Conn: 1 Mbps: 2988.633 Peak Mbps: 2988.633 Avg Mbps: 2988.633 2001 379793696 3038.350 100.00% Conn: 1 Mbps: 3038.350 Peak Mbps: 3038.350 Avg Mbps: 3038.350 3002 378011648 3024.093 100.00% Conn: 1 Mbps: 3024.093 Peak Mbps: 3038.350 Avg Mbps: 3024.093 4002 382992384 3063.939 100.00% Conn: 1 Mbps: 3063.939 Peak Mbps: 3063.939 Avg Mbps: 3063.939 5003 384040960 3072.328 100.00% Conn: 1 Mbps: 3072.328 Peak Mbps: 3072.328 Avg Mbps: 3072.328 --- 169.254.1.11 tcpbench statistics --- 2280997336 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2988.633/3037.468/3072.328/29.935 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 861498464 6891.988 100.00% Conn: 1 Mbps: 6891.988 Peak Mbps: 6891.988 Avg Mbps: 6891.988 2000 892600320 7140.803 100.00% Conn: 1 Mbps: 7140.803 Peak Mbps: 7140.803 Avg Mbps: 7140.803 3000 911736832 7293.895 100.00% Conn: 1 Mbps: 7293.895 Peak Mbps: 7293.895 Avg Mbps: 7293.895 4001 900426320 7203.411 100.00% Conn: 1 Mbps: 7203.411 Peak Mbps: 7293.895 Avg Mbps: 7203.411 5001 906663680 7253.309 100.00% Conn: 1 Mbps: 7253.309 Peak Mbps: 7293.895 Avg Mbps: 7253.309 --- fc00:0:0:1::11 tcpbench statistics --- 5354515888 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6891.988/7156.681/7293.895/141.889 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.041 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.041/0.041/0.041/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.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-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 1272951362 10183.611 100.00% Conn: 1 Mbps: 10183.611 Peak Mbps: 10183.611 Avg Mbps: 10183.611 2000 1274697150 10207.785 100.00% Conn: 1 Mbps: 10207.785 Peak Mbps: 10207.785 Avg Mbps: 10207.785 3000 1276872764 10214.982 100.00% Conn: 1 Mbps: 10214.982 Peak Mbps: 10214.982 Avg Mbps: 10214.982 4000 1274549928 10196.399 100.00% Conn: 1 Mbps: 10196.399 Peak Mbps: 10214.982 Avg Mbps: 10196.399 5000 1272979560 10183.836 100.00% Conn: 1 Mbps: 10183.836 Peak Mbps: 10214.982 Avg Mbps: 10183.836 --- 169.254.1.12 tcpbench statistics --- 7645193904 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10183.611/10197.323/10214.982/12.586 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 1258714980 10069.720 100.00% Conn: 1 Mbps: 10069.720 Peak Mbps: 10069.720 Avg Mbps: 10069.720 2000 1262000208 10106.108 100.00% Conn: 1 Mbps: 10106.108 Peak Mbps: 10106.108 Avg Mbps: 10106.108 3000 1263798488 10110.388 100.00% Conn: 1 Mbps: 10110.388 Peak Mbps: 10110.388 Avg Mbps: 10110.388 4000 1265662160 10125.297 100.00% Conn: 1 Mbps: 10125.297 Peak Mbps: 10125.297 Avg Mbps: 10125.297 5000 1263994664 10111.957 100.00% Conn: 1 Mbps: 10111.957 Peak Mbps: 10125.297 Avg Mbps: 10111.957 --- fc00:0:0:1::12 tcpbench statistics --- 7580094228 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10069.720/10104.694/10125.297/18.627 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.035 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.035/0.035/0.035/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.039 ms --- fc00::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-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 1278272968 10226.184 100.00% Conn: 1 Mbps: 10226.184 Peak Mbps: 10226.184 Avg Mbps: 10226.184 2000 1282090966 10266.995 100.00% Conn: 1 Mbps: 10266.995 Peak Mbps: 10266.995 Avg Mbps: 10266.995 3000 1284201148 10273.609 100.00% Conn: 1 Mbps: 10273.609 Peak Mbps: 10273.609 Avg Mbps: 10273.609 4000 1282434484 10259.476 100.00% Conn: 1 Mbps: 10259.476 Peak Mbps: 10273.609 Avg Mbps: 10259.476 5000 1278361342 10226.891 100.00% Conn: 1 Mbps: 10226.891 Peak Mbps: 10273.609 Avg Mbps: 10226.891 --- 169.254.0.13 tcpbench statistics --- 7686797554 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10226.184/10250.631/10273.609/20.176 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 1277695076 10221.561 100.00% Conn: 1 Mbps: 10221.561 Peak Mbps: 10221.561 Avg Mbps: 10221.561 2000 1280146488 10251.423 100.00% Conn: 1 Mbps: 10251.423 Peak Mbps: 10251.423 Avg Mbps: 10251.423 3000 1280408056 10243.264 100.00% Conn: 1 Mbps: 10243.264 Peak Mbps: 10251.423 Avg Mbps: 10243.264 4000 1283873832 10270.991 100.00% Conn: 1 Mbps: 10270.991 Peak Mbps: 10270.991 Avg Mbps: 10270.991 5000 1282010160 10256.081 100.00% Conn: 1 Mbps: 10256.081 Peak Mbps: 10270.991 Avg Mbps: 10256.081 --- fc00::13 tcpbench statistics --- 7685064804 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10221.561/10248.664/10270.991/16.278 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 1m52.67s