START sys/net/pair 2025-02-13T16:57:02Z ==== 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.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 924853124 7398.825 100.00% Conn: 1 Mbps: 7398.825 Peak Mbps: 7398.825 Avg Mbps: 7398.825 2000 924741852 7405.340 100.00% Conn: 1 Mbps: 7405.340 Peak Mbps: 7405.340 Avg Mbps: 7405.340 3000 924153700 7393.230 100.00% Conn: 1 Mbps: 7393.230 Peak Mbps: 7405.340 Avg Mbps: 7393.230 4000 924964396 7399.715 100.00% Conn: 1 Mbps: 7399.715 Peak Mbps: 7405.340 Avg Mbps: 7399.715 5000 925417432 7403.339 100.00% Conn: 1 Mbps: 7403.339 Peak Mbps: 7405.340 Avg Mbps: 7403.339 --- 169.254.1.11 tcpbench statistics --- 5548220620 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7393.230/7400.090/7405.340/4.170 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 920964048 7367.712 100.00% Conn: 1 Mbps: 7367.712 Peak Mbps: 7367.712 Avg Mbps: 7367.712 2000 924848768 7406.196 100.00% Conn: 1 Mbps: 7406.196 Peak Mbps: 7406.196 Avg Mbps: 7406.196 3000 921891624 7375.133 100.00% Conn: 1 Mbps: 7375.133 Peak Mbps: 7406.196 Avg Mbps: 7375.133 4000 924135248 7400.482 100.00% Conn: 1 Mbps: 7400.482 Peak Mbps: 7406.196 Avg Mbps: 7400.482 5000 926077608 7408.621 100.00% Conn: 1 Mbps: 7408.621 Peak Mbps: 7408.621 Avg Mbps: 7408.621 --- fc00:0:0:1::11 tcpbench statistics --- 5541759208 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7367.712/7391.629/7408.621/16.873 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.120 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.120/0.120/0.120/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 366676000 2930.478 100.00% Conn: 1 Mbps: 2930.478 Peak Mbps: 2930.478 Avg Mbps: 2930.478 2000 382523504 3063.251 100.00% Conn: 1 Mbps: 3063.251 Peak Mbps: 3063.251 Avg Mbps: 3063.251 3001 382931896 3063.455 100.00% Conn: 1 Mbps: 3063.455 Peak Mbps: 3063.455 Avg Mbps: 3063.455 4000 383916460 3074.406 100.00% Conn: 1 Mbps: 3074.406 Peak Mbps: 3074.406 Avg Mbps: 3074.406 5001 382929960 3063.440 100.00% Conn: 1 Mbps: 3063.440 Peak Mbps: 3074.406 Avg Mbps: 3063.440 --- 169.254.1.12 tcpbench statistics --- 2283272572 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2930.478/3039.006/3074.406/54.432 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 345468264 2760.985 100.00% Conn: 1 Mbps: 2760.985 Peak Mbps: 2760.985 Avg Mbps: 2760.985 2001 358525792 2868.206 100.00% Conn: 1 Mbps: 2868.206 Peak Mbps: 2868.206 Avg Mbps: 2868.206 3002 359399424 2875.195 100.00% Conn: 1 Mbps: 2875.195 Peak Mbps: 2875.195 Avg Mbps: 2875.195 4002 357564416 2860.515 100.00% Conn: 1 Mbps: 2860.515 Peak Mbps: 2875.195 Avg Mbps: 2860.515 5002 357688560 2861.508 100.00% Conn: 1 Mbps: 2861.508 Peak Mbps: 2875.195 Avg Mbps: 2861.508 --- fc00:0:0:1::12 tcpbench statistics --- 2134900152 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2760.985/2845.282/2875.195/42.477 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.062 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.062/0.062/0.062/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 702785584 5622.285 100.00% Conn: 1 Mbps: 5622.285 Peak Mbps: 5622.285 Avg Mbps: 5622.285 2000 742954916 5943.639 100.00% Conn: 1 Mbps: 5943.639 Peak Mbps: 5943.639 Avg Mbps: 5943.639 3001 744462272 5955.698 100.00% Conn: 1 Mbps: 5955.698 Peak Mbps: 5955.698 Avg Mbps: 5955.698 4001 748034108 5984.273 100.00% Conn: 1 Mbps: 5984.273 Peak Mbps: 5984.273 Avg Mbps: 5984.273 5001 754129944 6033.040 100.00% Conn: 1 Mbps: 6033.040 Peak Mbps: 6033.040 Avg Mbps: 6033.040 --- 169.254.0.13 tcpbench statistics --- 4452370620 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5622.285/5907.787/6033.040/146.035 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 639529016 5116.232 100.00% Conn: 1 Mbps: 5116.232 Peak Mbps: 5116.232 Avg Mbps: 5116.232 2000 666221032 5329.768 100.00% Conn: 1 Mbps: 5329.768 Peak Mbps: 5329.768 Avg Mbps: 5329.768 3001 668671304 5349.370 100.00% Conn: 1 Mbps: 5349.370 Peak Mbps: 5349.370 Avg Mbps: 5349.370 4001 666717616 5339.080 100.00% Conn: 1 Mbps: 5339.080 Peak Mbps: 5349.370 Avg Mbps: 5339.080 5002 672429696 5374.064 100.00% Conn: 1 Mbps: 5374.064 Peak Mbps: 5374.064 Avg Mbps: 5374.064 --- fc00::13 tcpbench statistics --- 3981581944 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5116.232/5301.703/5374.064/93.907 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.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 1001 373143496 2982.166 100.00% Conn: 1 Mbps: 2982.166 Peak Mbps: 2982.166 Avg Mbps: 2982.166 2001 385351680 3082.813 100.00% Conn: 1 Mbps: 3082.813 Peak Mbps: 3082.813 Avg Mbps: 3082.813 3002 388692264 3109.538 100.00% Conn: 1 Mbps: 3109.538 Peak Mbps: 3109.538 Avg Mbps: 3109.538 4001 386269784 3093.252 100.00% Conn: 1 Mbps: 3093.252 Peak Mbps: 3109.538 Avg Mbps: 3093.252 5002 388395496 3107.164 100.00% Conn: 1 Mbps: 3107.164 Peak Mbps: 3109.538 Avg Mbps: 3107.164 --- 169.254.1.11 tcpbench statistics --- 2309486424 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2982.166/3074.987/3109.538/47.413 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 349572516 2796.580 100.00% Conn: 1 Mbps: 2796.580 Peak Mbps: 2796.580 Avg Mbps: 2796.580 2001 359707968 2877.664 100.00% Conn: 1 Mbps: 2877.664 Peak Mbps: 2877.664 Avg Mbps: 2877.664 3001 357302272 2858.418 100.00% Conn: 1 Mbps: 2858.418 Peak Mbps: 2877.664 Avg Mbps: 2858.418 4002 360327776 2882.622 100.00% Conn: 1 Mbps: 2882.622 Peak Mbps: 2882.622 Avg Mbps: 2882.622 5002 361496576 2891.973 100.00% Conn: 1 Mbps: 2891.973 Peak Mbps: 2891.973 Avg Mbps: 2891.973 --- fc00:0:0:1::11 tcpbench statistics --- 2149641540 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2796.580/2861.451/2891.973/34.235 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.038 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.038/0.038/0.038/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 903071264 7224.570 100.00% Conn: 1 Mbps: 7224.570 Peak Mbps: 7224.570 Avg Mbps: 7224.570 2000 905887624 7254.355 100.00% Conn: 1 Mbps: 7254.355 Peak Mbps: 7254.355 Avg Mbps: 7254.355 3000 911507312 7292.058 100.00% Conn: 1 Mbps: 7292.058 Peak Mbps: 7292.058 Avg Mbps: 7292.058 4000 909934784 7279.478 100.00% Conn: 1 Mbps: 7279.478 Peak Mbps: 7292.058 Avg Mbps: 7279.478 5000 909525000 7276.200 100.00% Conn: 1 Mbps: 7276.200 Peak Mbps: 7292.058 Avg Mbps: 7276.200 --- 169.254.1.12 tcpbench statistics --- 5448647344 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7224.570/7265.332/7292.058/23.726 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 903965412 7231.723 100.00% Conn: 1 Mbps: 7231.723 Peak Mbps: 7231.723 Avg Mbps: 7231.723 2000 909703116 7284.910 100.00% Conn: 1 Mbps: 7284.910 Peak Mbps: 7284.910 Avg Mbps: 7284.910 3000 909099072 7272.793 100.00% Conn: 1 Mbps: 7272.793 Peak Mbps: 7284.910 Avg Mbps: 7272.793 4000 909131916 7273.055 100.00% Conn: 1 Mbps: 7273.055 Peak Mbps: 7284.910 Avg Mbps: 7273.055 5000 911231076 7289.849 100.00% Conn: 1 Mbps: 7289.849 Peak Mbps: 7289.849 Avg Mbps: 7289.849 --- fc00:0:0:1::12 tcpbench statistics --- 5452489560 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7231.723/7270.466/7289.849/20.481 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.040 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.040/0.040/0.040/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.041 ms --- fc00::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-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 1251029096 10008.233 100.00% Conn: 1 Mbps: 10008.233 Peak Mbps: 10008.233 Avg Mbps: 10008.233 2000 1253562614 10038.539 100.00% Conn: 1 Mbps: 10038.539 Peak Mbps: 10038.539 Avg Mbps: 10038.539 3000 1251370642 10010.965 100.00% Conn: 1 Mbps: 10010.965 Peak Mbps: 10038.539 Avg Mbps: 10010.965 4000 1252908294 10023.266 100.00% Conn: 1 Mbps: 10023.266 Peak Mbps: 10038.539 Avg Mbps: 10023.266 5000 1248426202 9987.410 100.00% Conn: 1 Mbps: 9987.410 Peak Mbps: 10038.539 Avg Mbps: 9987.410 --- 169.254.0.13 tcpbench statistics --- 7507293418 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9987.410/10013.683/10038.539/16.953 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 1185988452 9487.908 100.00% Conn: 1 Mbps: 9487.908 Peak Mbps: 9487.908 Avg Mbps: 9487.908 2000 1193142432 9554.694 100.00% Conn: 1 Mbps: 9554.694 Peak Mbps: 9554.694 Avg Mbps: 9554.694 3000 1178985064 9431.881 100.00% Conn: 1 Mbps: 9431.881 Peak Mbps: 9554.694 Avg Mbps: 9431.881 4000 1200499032 9603.992 100.00% Conn: 1 Mbps: 9603.992 Peak Mbps: 9603.992 Avg Mbps: 9603.992 5000 1188172640 9505.381 100.00% Conn: 1 Mbps: 9505.381 Peak Mbps: 9603.992 Avg Mbps: 9505.381 --- fc00::13 tcpbench statistics --- 7138687604 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9431.881/9516.771/9603.992/58.677 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.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-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.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-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 374300864 2994.407 100.00% Conn: 1 Mbps: 2994.407 Peak Mbps: 2994.407 Avg Mbps: 2994.407 2001 385992488 3087.940 100.00% Conn: 1 Mbps: 3087.940 Peak Mbps: 3087.940 Avg Mbps: 3087.940 3001 382651856 3061.215 100.00% Conn: 1 Mbps: 3061.215 Peak Mbps: 3087.940 Avg Mbps: 3061.215 4001 381681664 3053.453 100.00% Conn: 1 Mbps: 3053.453 Peak Mbps: 3087.940 Avg Mbps: 3053.453 5002 382122192 3056.978 100.00% Conn: 1 Mbps: 3056.978 Peak Mbps: 3087.940 Avg Mbps: 3056.978 --- 169.254.1.11 tcpbench statistics --- 2288430728 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2994.407/3050.799/3087.940/30.703 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 847004320 6776.035 100.00% Conn: 1 Mbps: 6776.035 Peak Mbps: 6776.035 Avg Mbps: 6776.035 2000 900475824 7203.807 100.00% Conn: 1 Mbps: 7203.807 Peak Mbps: 7203.807 Avg Mbps: 7203.807 3000 915246576 7321.973 100.00% Conn: 1 Mbps: 7321.973 Peak Mbps: 7321.973 Avg Mbps: 7321.973 4000 918354536 7346.836 100.00% Conn: 1 Mbps: 7346.836 Peak Mbps: 7346.836 Avg Mbps: 7346.836 5001 900535344 7204.283 100.00% Conn: 1 Mbps: 7204.283 Peak Mbps: 7346.836 Avg Mbps: 7204.283 --- fc00:0:0:1::11 tcpbench statistics --- 5375789784 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6776.035/7170.587/7346.836/205.860 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.040 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.040/0.040/0.040/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.043 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.043/0.043/0.043/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 1247931498 9983.452 100.00% Conn: 1 Mbps: 9983.452 Peak Mbps: 9983.452 Avg Mbps: 9983.452 2000 1254445946 10045.613 100.00% Conn: 1 Mbps: 10045.613 Peak Mbps: 10045.613 Avg Mbps: 10045.613 3000 1252401196 10019.210 100.00% Conn: 1 Mbps: 10019.210 Peak Mbps: 10045.613 Avg Mbps: 10019.210 4000 1252172184 10017.377 100.00% Conn: 1 Mbps: 10017.377 Peak Mbps: 10045.613 Avg Mbps: 10017.377 5000 1253251812 10026.014 100.00% Conn: 1 Mbps: 10026.014 Peak Mbps: 10045.613 Avg Mbps: 10026.014 --- 169.254.1.12 tcpbench statistics --- 7512914634 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9983.452/10018.333/10045.613/20.108 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 1200551172 9604.409 100.00% Conn: 1 Mbps: 9604.409 Peak Mbps: 9604.409 Avg Mbps: 9604.409 2000 1193044344 9553.909 100.00% Conn: 1 Mbps: 9553.909 Peak Mbps: 9604.409 Avg Mbps: 9553.909 3000 1198504576 9588.037 100.00% Conn: 1 Mbps: 9588.037 Peak Mbps: 9604.409 Avg Mbps: 9588.037 4000 1200368248 9602.946 100.00% Conn: 1 Mbps: 9602.946 Peak Mbps: 9604.409 Avg Mbps: 9602.946 5000 1213544736 9708.358 100.00% Conn: 1 Mbps: 9708.358 Peak Mbps: 9708.358 Avg Mbps: 9708.358 --- fc00:0:0:1::12 tcpbench statistics --- 7215830468 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9553.909/9611.532/9708.358/51.715 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.036 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.036/0.036/0.036/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.041 ms --- fc00::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-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 1265987160 10127.897 100.00% Conn: 1 Mbps: 10127.897 Peak Mbps: 10127.897 Avg Mbps: 10127.897 2000 1268955492 10161.806 100.00% Conn: 1 Mbps: 10161.806 Peak Mbps: 10161.806 Avg Mbps: 10161.806 3000 1268382962 10147.064 100.00% Conn: 1 Mbps: 10147.064 Peak Mbps: 10161.806 Avg Mbps: 10147.064 4000 1269102714 10152.822 100.00% Conn: 1 Mbps: 10152.822 Peak Mbps: 10161.806 Avg Mbps: 10152.822 5000 1268922776 10151.382 100.00% Conn: 1 Mbps: 10151.382 Peak Mbps: 10161.806 Avg Mbps: 10151.382 --- 169.254.0.13 tcpbench statistics --- 7610028510 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10127.897/10148.194/10161.806/11.226 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 1279712292 10237.698 100.00% Conn: 1 Mbps: 10237.698 Peak Mbps: 10237.698 Avg Mbps: 10237.698 2000 1278315512 10236.761 100.00% Conn: 1 Mbps: 10236.761 Peak Mbps: 10237.698 Avg Mbps: 10236.761 3000 1278478992 10227.832 100.00% Conn: 1 Mbps: 10227.832 Peak Mbps: 10237.698 Avg Mbps: 10227.832 4000 1277759680 10222.077 100.00% Conn: 1 Mbps: 10222.077 Peak Mbps: 10237.698 Avg Mbps: 10222.077 5000 1275994096 10207.953 100.00% Conn: 1 Mbps: 10207.953 Peak Mbps: 10237.698 Avg Mbps: 10207.953 --- fc00::13 tcpbench statistics --- 7672205340 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10207.953/10226.464/10237.698/10.918 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.82s