START sys/net/pair 2025-02-21T02:42:36Z ==== 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.040 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.040/0.040/0.040/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.045 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.045/0.045/0.045/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 925862520 7406.900 100.00% Conn: 1 Mbps: 7406.900 Peak Mbps: 7406.900 Avg Mbps: 7406.900 2000 927054720 7423.862 100.00% Conn: 1 Mbps: 7423.862 Peak Mbps: 7423.862 Avg Mbps: 7423.862 3000 923986792 7391.894 100.00% Conn: 1 Mbps: 7391.894 Peak Mbps: 7423.862 Avg Mbps: 7391.894 4000 923684768 7389.478 100.00% Conn: 1 Mbps: 7389.478 Peak Mbps: 7423.862 Avg Mbps: 7389.478 5000 925512808 7404.102 100.00% Conn: 1 Mbps: 7404.102 Peak Mbps: 7423.862 Avg Mbps: 7404.102 --- 169.254.1.11 tcpbench statistics --- 5552369476 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7389.478/7403.247/7423.862/12.309 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 944716336 7557.731 100.00% Conn: 1 Mbps: 7557.731 Peak Mbps: 7557.731 Avg Mbps: 7557.731 2000 942195232 7545.107 100.00% Conn: 1 Mbps: 7545.107 Peak Mbps: 7557.731 Avg Mbps: 7545.107 3000 942274512 7538.196 100.00% Conn: 1 Mbps: 7538.196 Peak Mbps: 7557.731 Avg Mbps: 7538.196 4000 942877040 7543.016 100.00% Conn: 1 Mbps: 7543.016 Peak Mbps: 7557.731 Avg Mbps: 7543.016 5000 941513424 7532.107 100.00% Conn: 1 Mbps: 7532.107 Peak Mbps: 7557.731 Avg Mbps: 7532.107 --- fc00:0:0:1::11 tcpbench statistics --- 5656326736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7532.107/7543.231/7557.731/8.519 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.114 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.114/0.114/0.114/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 362636072 2898.190 100.00% Conn: 1 Mbps: 2898.190 Peak Mbps: 2898.190 Avg Mbps: 2898.190 2001 386857560 3094.860 100.00% Conn: 1 Mbps: 3094.860 Peak Mbps: 3094.860 Avg Mbps: 3094.860 3001 387154520 3097.236 100.00% Conn: 1 Mbps: 3097.236 Peak Mbps: 3097.236 Avg Mbps: 3097.236 4002 383778816 3070.231 100.00% Conn: 1 Mbps: 3070.231 Peak Mbps: 3097.236 Avg Mbps: 3070.231 5002 383516672 3068.133 100.00% Conn: 1 Mbps: 3068.133 Peak Mbps: 3097.236 Avg Mbps: 3068.133 --- 169.254.1.12 tcpbench statistics --- 2290361248 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2898.190/3045.730/3097.236/74.749 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1001 357313640 2855.653 100.00% Conn: 1 Mbps: 2855.653 Peak Mbps: 2855.653 Avg Mbps: 2855.653 2002 365690880 2925.527 100.00% Conn: 1 Mbps: 2925.527 Peak Mbps: 2925.527 Avg Mbps: 2925.527 3002 364642304 2917.138 100.00% Conn: 1 Mbps: 2917.138 Peak Mbps: 2925.527 Avg Mbps: 2917.138 4003 361251904 2890.015 100.00% Conn: 1 Mbps: 2890.015 Peak Mbps: 2925.527 Avg Mbps: 2890.015 5003 363780996 2910.248 100.00% Conn: 1 Mbps: 2910.248 Peak Mbps: 2925.527 Avg Mbps: 2910.248 --- fc00:0:0:1::12 tcpbench statistics --- 2178450688 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2855.653/2899.716/2925.527/24.965 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.068 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.068/0.068/0.068/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 749146408 5993.171 100.00% Conn: 1 Mbps: 5993.171 Peak Mbps: 5993.171 Avg Mbps: 5993.171 2000 792741468 6341.932 100.00% Conn: 1 Mbps: 6341.932 Peak Mbps: 6341.932 Avg Mbps: 6341.932 3000 804083404 6432.667 100.00% Conn: 1 Mbps: 6432.667 Peak Mbps: 6432.667 Avg Mbps: 6432.667 4001 783990580 6271.925 100.00% Conn: 1 Mbps: 6271.925 Peak Mbps: 6432.667 Avg Mbps: 6271.925 5001 783649096 6269.193 100.00% Conn: 1 Mbps: 6269.193 Peak Mbps: 6432.667 Avg Mbps: 6269.193 --- 169.254.0.13 tcpbench statistics --- 4695487856 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5993.171/6261.778/6432.667/146.925 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 666300832 5330.407 100.00% Conn: 1 Mbps: 5330.407 Peak Mbps: 5330.407 Avg Mbps: 5330.407 2000 692701592 5541.613 100.00% Conn: 1 Mbps: 5541.613 Peak Mbps: 5541.613 Avg Mbps: 5541.613 3000 692079704 5536.638 100.00% Conn: 1 Mbps: 5536.638 Peak Mbps: 5541.613 Avg Mbps: 5536.638 4001 691844328 5534.755 100.00% Conn: 1 Mbps: 5534.755 Peak Mbps: 5541.613 Avg Mbps: 5534.755 5002 704656496 5637.252 100.00% Conn: 1 Mbps: 5637.252 Peak Mbps: 5637.252 Avg Mbps: 5637.252 --- fc00::13 tcpbench statistics --- 4150369480 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5330.407/5516.133/5637.252/100.579 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.041 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.041/0.041/0.041/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.050 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.050/0.050/0.050/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 371213904 2969.711 100.00% Conn: 1 Mbps: 2969.711 Peak Mbps: 2969.711 Avg Mbps: 2969.711 2000 390070272 3120.562 100.00% Conn: 1 Mbps: 3120.562 Peak Mbps: 3120.562 Avg Mbps: 3120.562 3000 390332416 3122.659 100.00% Conn: 1 Mbps: 3122.659 Peak Mbps: 3122.659 Avg Mbps: 3122.659 4001 384040960 3072.328 100.00% Conn: 1 Mbps: 3072.328 Peak Mbps: 3122.659 Avg Mbps: 3072.328 5001 385613824 3084.911 100.00% Conn: 1 Mbps: 3084.911 Peak Mbps: 3122.659 Avg Mbps: 3084.911 --- 169.254.1.11 tcpbench statistics --- 2307409488 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2969.711/3074.034/3122.659/55.738 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 349102652 2790.031 100.00% Conn: 1 Mbps: 2790.031 Peak Mbps: 2790.031 Avg Mbps: 2790.031 2001 359399424 2875.195 100.00% Conn: 1 Mbps: 2875.195 Peak Mbps: 2875.195 Avg Mbps: 2875.195 3001 364642304 2917.138 100.00% Conn: 1 Mbps: 2917.138 Peak Mbps: 2917.138 Avg Mbps: 2917.138 4002 357826560 2862.612 100.00% Conn: 1 Mbps: 2862.612 Peak Mbps: 2917.138 Avg Mbps: 2862.612 5003 358612992 2868.904 100.00% Conn: 1 Mbps: 2868.904 Peak Mbps: 2917.138 Avg Mbps: 2868.904 --- fc00:0:0:1::11 tcpbench statistics --- 2147995072 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2790.031/2862.776/2917.138/41.083 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.039 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.039/0.039/0.039/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.042 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.042/0.042/0.042/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 897051928 7176.415 100.00% Conn: 1 Mbps: 7176.415 Peak Mbps: 7176.415 Avg Mbps: 7176.415 2000 897435648 7186.672 100.00% Conn: 1 Mbps: 7186.672 Peak Mbps: 7186.672 Avg Mbps: 7186.672 3000 895893528 7167.148 100.00% Conn: 1 Mbps: 7167.148 Peak Mbps: 7186.672 Avg Mbps: 7167.148 4000 894861104 7158.889 100.00% Conn: 1 Mbps: 7158.889 Peak Mbps: 7186.672 Avg Mbps: 7158.889 5000 896811560 7174.492 100.00% Conn: 1 Mbps: 7174.492 Peak Mbps: 7186.672 Avg Mbps: 7174.492 --- 169.254.1.12 tcpbench statistics --- 5380518944 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7158.889/7172.723/7186.672/9.314 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 898014936 7184.119 100.00% Conn: 1 Mbps: 7184.119 Peak Mbps: 7184.119 Avg Mbps: 7184.119 2000 895498800 7171.162 100.00% Conn: 1 Mbps: 7171.162 Peak Mbps: 7184.119 Avg Mbps: 7171.162 3000 895681584 7165.453 100.00% Conn: 1 Mbps: 7165.453 Peak Mbps: 7184.119 Avg Mbps: 7165.453 4000 896516964 7179.315 100.00% Conn: 1 Mbps: 7179.315 Peak Mbps: 7184.119 Avg Mbps: 7179.315 5000 895547352 7164.379 100.00% Conn: 1 Mbps: 7164.379 Peak Mbps: 7184.119 Avg Mbps: 7164.379 --- fc00:0:0:1::12 tcpbench statistics --- 5379677268 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7164.379/7172.886/7184.119/7.722 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.041 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.041/0.041/0.041/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.047 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/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 1273711966 10189.696 100.00% Conn: 1 Mbps: 10189.696 Peak Mbps: 10189.696 Avg Mbps: 10189.696 2000 1279424612 10245.643 100.00% Conn: 1 Mbps: 10245.643 Peak Mbps: 10245.643 Avg Mbps: 10245.643 3000 1279620908 10236.967 100.00% Conn: 1 Mbps: 10236.967 Peak Mbps: 10245.643 Avg Mbps: 10236.967 4000 1280373376 10242.987 100.00% Conn: 1 Mbps: 10242.987 Peak Mbps: 10245.643 Avg Mbps: 10242.987 5000 1280749610 10245.997 100.00% Conn: 1 Mbps: 10245.997 Peak Mbps: 10245.997 Avg Mbps: 10245.997 --- 169.254.0.13 tcpbench statistics --- 7674548292 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10189.696/10232.258/10245.997/21.526 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 1234273564 9874.189 100.00% Conn: 1 Mbps: 9874.189 Peak Mbps: 9874.189 Avg Mbps: 9874.189 2000 1235549144 9894.287 100.00% Conn: 1 Mbps: 9894.287 Peak Mbps: 9894.287 Avg Mbps: 9894.287 3000 1234797136 9878.377 100.00% Conn: 1 Mbps: 9878.377 Peak Mbps: 9894.287 Avg Mbps: 9878.377 4000 1234927920 9879.423 100.00% Conn: 1 Mbps: 9879.423 Peak Mbps: 9894.287 Avg Mbps: 9879.423 5000 1240813200 9926.506 100.00% Conn: 1 Mbps: 9926.506 Peak Mbps: 9926.506 Avg Mbps: 9926.506 --- fc00::13 tcpbench statistics --- 7413032860 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9874.189/9890.556/9926.506/19.217 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.046 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.046/0.046/0.046/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.054 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.054/0.054/0.054/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 371317920 2967.576 100.00% Conn: 1 Mbps: 2967.576 Peak Mbps: 2967.576 Avg Mbps: 2967.576 2001 379060224 3032.482 100.00% Conn: 1 Mbps: 3032.482 Peak Mbps: 3032.482 Avg Mbps: 3032.482 3001 382730240 3061.842 100.00% Conn: 1 Mbps: 3061.842 Peak Mbps: 3061.842 Avg Mbps: 3061.842 4002 380370944 3042.968 100.00% Conn: 1 Mbps: 3042.968 Peak Mbps: 3061.842 Avg Mbps: 3042.968 5002 386138112 3089.105 100.00% Conn: 1 Mbps: 3089.105 Peak Mbps: 3089.105 Avg Mbps: 3089.105 --- 169.254.1.11 tcpbench statistics --- 2279201952 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2967.576/3038.794/3089.105/40.476 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 846492112 6771.937 100.00% Conn: 1 Mbps: 6771.937 Peak Mbps: 6771.937 Avg Mbps: 6771.937 2000 913238552 7305.908 100.00% Conn: 1 Mbps: 7305.908 Peak Mbps: 7305.908 Avg Mbps: 7305.908 3000 918814720 7350.518 100.00% Conn: 1 Mbps: 7350.518 Peak Mbps: 7350.518 Avg Mbps: 7350.518 4001 896008192 7168.066 100.00% Conn: 1 Mbps: 7168.066 Peak Mbps: 7350.518 Avg Mbps: 7168.066 5001 914136104 7313.089 100.00% Conn: 1 Mbps: 7313.089 Peak Mbps: 7350.518 Avg Mbps: 7313.089 --- fc00:0:0:1::11 tcpbench statistics --- 5399704000 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6771.937/7181.903/7350.518/214.141 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.049 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.049/0.049/0.049/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 1257062818 10056.503 100.00% Conn: 1 Mbps: 10056.503 Peak Mbps: 10056.503 Avg Mbps: 10056.503 2000 1259402420 10085.305 100.00% Conn: 1 Mbps: 10085.305 Peak Mbps: 10085.305 Avg Mbps: 10085.305 3000 1258813532 10070.508 100.00% Conn: 1 Mbps: 10070.508 Peak Mbps: 10085.305 Avg Mbps: 10070.508 4000 1257177732 10057.422 100.00% Conn: 1 Mbps: 10057.422 Peak Mbps: 10085.305 Avg Mbps: 10057.422 5000 1259860444 10078.884 100.00% Conn: 1 Mbps: 10078.884 Peak Mbps: 10085.305 Avg Mbps: 10078.884 --- 169.254.1.12 tcpbench statistics --- 7551392206 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10056.503/10069.724/10085.305/11.432 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 1251019140 10008.153 100.00% Conn: 1 Mbps: 10008.153 Peak Mbps: 10008.153 Avg Mbps: 10008.153 2000 1256082232 10058.717 100.00% Conn: 1 Mbps: 10058.717 Peak Mbps: 10058.717 Avg Mbps: 10058.717 3000 1254153168 10033.225 100.00% Conn: 1 Mbps: 10033.225 Peak Mbps: 10058.717 Avg Mbps: 10033.225 4000 1261804032 10094.432 100.00% Conn: 1 Mbps: 10094.432 Peak Mbps: 10094.432 Avg Mbps: 10094.432 5000 1251374008 10010.992 100.00% Conn: 1 Mbps: 10010.992 Peak Mbps: 10094.432 Avg Mbps: 10010.992 --- fc00:0:0:1::12 tcpbench statistics --- 7530057068 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10008.153/10041.104/10094.432/32.276 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 1267696922 10141.575 100.00% Conn: 1 Mbps: 10141.575 Peak Mbps: 10141.575 Avg Mbps: 10141.575 2000 1270460428 10173.857 100.00% Conn: 1 Mbps: 10173.857 Peak Mbps: 10173.857 Avg Mbps: 10173.857 3000 1271818142 10184.730 100.00% Conn: 1 Mbps: 10184.730 Peak Mbps: 10184.730 Avg Mbps: 10184.730 4000 1271294686 10170.357 100.00% Conn: 1 Mbps: 10170.357 Peak Mbps: 10184.730 Avg Mbps: 10170.357 5000 1270394996 10163.160 100.00% Conn: 1 Mbps: 10163.160 Peak Mbps: 10184.730 Avg Mbps: 10163.160 --- 169.254.0.13 tcpbench statistics --- 7622207392 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10141.575/10166.736/10184.730/14.377 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 1290552132 10324.417 100.00% Conn: 1 Mbps: 10324.417 Peak Mbps: 10324.417 Avg Mbps: 10324.417 2000 1292276704 10348.562 100.00% Conn: 1 Mbps: 10348.562 Peak Mbps: 10348.562 Avg Mbps: 10348.562 3000 1295709784 10365.678 100.00% Conn: 1 Mbps: 10365.678 Peak Mbps: 10365.678 Avg Mbps: 10365.678 4000 1296723360 10373.787 100.00% Conn: 1 Mbps: 10373.787 Peak Mbps: 10373.787 Avg Mbps: 10373.787 5000 1291884352 10335.075 100.00% Conn: 1 Mbps: 10335.075 Peak Mbps: 10373.787 Avg Mbps: 10335.075 --- fc00::13 tcpbench statistics --- 7762071412 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10324.417/10349.504/10373.787/18.383 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.91s