START sys/net/pair 2024-04-26T00:41:12Z ==== 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.289 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.289/0.289/0.289/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.382 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.382/0.382/0.382/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 103657816 829.263 100.00% Conn: 1 Mbps: 829.263 Peak Mbps: 829.263 Avg Mbps: 829.263 2000 101432376 812.271 100.00% Conn: 1 Mbps: 812.271 Peak Mbps: 829.263 Avg Mbps: 812.271 3000 101138300 809.106 100.00% Conn: 1 Mbps: 809.106 Peak Mbps: 829.263 Avg Mbps: 809.106 4000 100844224 806.754 100.00% Conn: 1 Mbps: 806.754 Peak Mbps: 829.263 Avg Mbps: 806.754 5000 100828328 806.627 100.00% Conn: 1 Mbps: 806.627 Peak Mbps: 829.263 Avg Mbps: 806.627 --- 169.254.1.11 tcpbench statistics --- 608713476 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 806.627/812.804/829.263/8.481 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 100114784 800.918 100.00% Conn: 1 Mbps: 800.918 Peak Mbps: 800.918 Avg Mbps: 800.918 2000 99036576 793.086 100.00% Conn: 1 Mbps: 793.086 Peak Mbps: 800.918 Avg Mbps: 793.086 3000 98996936 791.975 100.00% Conn: 1 Mbps: 791.975 Peak Mbps: 800.918 Avg Mbps: 791.975 4000 98774952 790.991 100.00% Conn: 1 Mbps: 790.991 Peak Mbps: 800.918 Avg Mbps: 790.991 5000 98973152 791.785 100.00% Conn: 1 Mbps: 791.785 Peak Mbps: 800.918 Avg Mbps: 791.785 --- fc00:0:0:1::11 tcpbench statistics --- 594758560 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 790.991/793.751/800.918/3.646 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.460 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.460/0.460/0.460/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=1.021 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 = 1.021/1.021/1.021/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 29135208 232.849 100.00% Conn: 1 Mbps: 232.849 Peak Mbps: 232.849 Avg Mbps: 232.849 2002 29310416 234.483 100.00% Conn: 1 Mbps: 234.483 Peak Mbps: 234.483 Avg Mbps: 234.483 3003 29426256 235.410 100.00% Conn: 1 Mbps: 235.410 Peak Mbps: 235.410 Avg Mbps: 235.410 4005 29426256 234.940 100.00% Conn: 1 Mbps: 234.940 Peak Mbps: 235.410 Avg Mbps: 234.940 5005 29374128 235.228 100.00% Conn: 1 Mbps: 235.228 Peak Mbps: 235.410 Avg Mbps: 235.228 --- 169.254.1.12 tcpbench statistics --- 175969648 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 232.849/234.582/235.410/0.921 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 1005 27429024 218.340 100.00% Conn: 1 Mbps: 218.340 Peak Mbps: 218.340 Avg Mbps: 218.340 2004 27323352 219.025 100.00% Conn: 1 Mbps: 219.025 Peak Mbps: 219.025 Avg Mbps: 219.025 3004 27344772 218.977 100.00% Conn: 1 Mbps: 218.977 Peak Mbps: 219.025 Avg Mbps: 218.977 4006 27473292 219.348 100.00% Conn: 1 Mbps: 219.348 Peak Mbps: 219.348 Avg Mbps: 219.348 5013 27511848 218.782 100.00% Conn: 1 Mbps: 218.782 Peak Mbps: 219.348 Avg Mbps: 218.782 --- fc00:0:0:1::12 tcpbench statistics --- 164165736 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 218.340/218.894/219.348/0.331 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.414 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.414/0.414/0.414/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.569 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.569/0.569/0.569/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 44810824 358.487 100.00% Conn: 1 Mbps: 358.487 Peak Mbps: 358.487 Avg Mbps: 358.487 2000 44675708 357.406 100.00% Conn: 1 Mbps: 357.406 Peak Mbps: 358.487 Avg Mbps: 357.406 3000 44588280 357.063 100.00% Conn: 1 Mbps: 357.063 Peak Mbps: 358.487 Avg Mbps: 357.063 4000 44548540 356.388 100.00% Conn: 1 Mbps: 356.388 Peak Mbps: 358.487 Avg Mbps: 356.388 5000 44612124 357.254 100.00% Conn: 1 Mbps: 357.254 Peak Mbps: 358.487 Avg Mbps: 357.254 --- 169.254.0.13 tcpbench statistics --- 267871444 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 356.388/357.320/358.487/0.679 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 39322880 314.583 100.00% Conn: 1 Mbps: 314.583 Peak Mbps: 314.583 Avg Mbps: 314.583 2000 39505224 316.358 100.00% Conn: 1 Mbps: 316.358 Peak Mbps: 316.358 Avg Mbps: 316.358 3001 39687568 317.183 100.00% Conn: 1 Mbps: 317.183 Peak Mbps: 317.183 Avg Mbps: 317.183 4001 39196032 313.882 100.00% Conn: 1 Mbps: 313.882 Peak Mbps: 317.183 Avg Mbps: 313.882 5001 39322880 314.583 100.00% Conn: 1 Mbps: 314.583 Peak Mbps: 317.183 Avg Mbps: 314.583 --- fc00::13 tcpbench statistics --- 236325752 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 313.882/315.318/317.183/1.241 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.317 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.317/0.317/0.317/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.422 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.422/0.422/0.422/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 1005 29446528 234.400 100.00% Conn: 1 Mbps: 234.400 Peak Mbps: 234.400 Avg Mbps: 234.400 2009 29491416 235.226 100.00% Conn: 1 Mbps: 235.226 Peak Mbps: 235.226 Avg Mbps: 235.226 3009 29445080 235.561 100.00% Conn: 1 Mbps: 235.561 Peak Mbps: 235.561 Avg Mbps: 235.561 4013 29507344 235.353 100.00% Conn: 1 Mbps: 235.353 Peak Mbps: 235.561 Avg Mbps: 235.353 5013 29424808 235.398 100.00% Conn: 1 Mbps: 235.398 Peak Mbps: 235.561 Avg Mbps: 235.398 --- 169.254.1.11 tcpbench statistics --- 176283864 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 234.400/235.188/235.561/0.408 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 1002 27193404 217.113 100.00% Conn: 1 Mbps: 217.113 Peak Mbps: 217.113 Avg Mbps: 217.113 2004 27343344 218.310 100.00% Conn: 1 Mbps: 218.310 Peak Mbps: 218.310 Avg Mbps: 218.310 3007 27317640 218.105 100.00% Conn: 1 Mbps: 218.105 Peak Mbps: 218.310 Avg Mbps: 218.105 4007 27329064 218.633 100.00% Conn: 1 Mbps: 218.633 Peak Mbps: 218.633 Avg Mbps: 218.633 5010 27390468 218.686 100.00% Conn: 1 Mbps: 218.686 Peak Mbps: 218.686 Avg Mbps: 218.686 --- fc00:0:0:1::11 tcpbench statistics --- 163530276 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 217.113/218.169/218.686/0.570 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.281 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.281/0.281/0.281/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.372 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.372/0.372/0.372/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 95546280 764.370 100.00% Conn: 1 Mbps: 764.370 Peak Mbps: 764.370 Avg Mbps: 764.370 2000 91490432 732.656 100.00% Conn: 1 Mbps: 732.656 Peak Mbps: 764.370 Avg Mbps: 732.656 3000 90486968 724.620 100.00% Conn: 1 Mbps: 724.620 Peak Mbps: 764.370 Avg Mbps: 724.620 4000 91080648 728.645 100.00% Conn: 1 Mbps: 728.645 Peak Mbps: 764.370 Avg Mbps: 728.645 5000 90764984 726.120 100.00% Conn: 1 Mbps: 726.120 Peak Mbps: 764.370 Avg Mbps: 726.120 --- 169.254.1.12 tcpbench statistics --- 550628064 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 724.620/735.282/764.370/14.797 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 88458888 707.671 100.00% Conn: 1 Mbps: 707.671 Peak Mbps: 707.671 Avg Mbps: 707.671 2000 89345676 715.481 100.00% Conn: 1 Mbps: 715.481 Peak Mbps: 715.481 Avg Mbps: 715.481 3000 89208588 713.669 100.00% Conn: 1 Mbps: 713.669 Peak Mbps: 715.481 Avg Mbps: 713.669 4000 89816916 719.255 100.00% Conn: 1 Mbps: 719.255 Peak Mbps: 719.255 Avg Mbps: 719.255 5000 89702676 717.621 100.00% Conn: 1 Mbps: 717.621 Peak Mbps: 719.255 Avg Mbps: 717.621 --- fc00:0:0:1::12 tcpbench statistics --- 534271920 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 707.671/714.739/719.255/4.009 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.312 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.312/0.312/0.312/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.407 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.407/0.407/0.407/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 119234336 953.875 100.00% Conn: 1 Mbps: 953.875 Peak Mbps: 953.875 Avg Mbps: 953.875 2000 100699848 805.599 100.00% Conn: 1 Mbps: 805.599 Peak Mbps: 953.875 Avg Mbps: 805.599 3000 99685652 797.485 100.00% Conn: 1 Mbps: 797.485 Peak Mbps: 953.875 Avg Mbps: 797.485 4001 99096764 792.774 100.00% Conn: 1 Mbps: 792.774 Peak Mbps: 953.875 Avg Mbps: 792.774 5001 98736888 789.895 100.00% Conn: 1 Mbps: 789.895 Peak Mbps: 953.875 Avg Mbps: 789.895 --- 169.254.0.13 tcpbench statistics --- 617171856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 789.895/827.926/953.875/63.198 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 131079720 1048.638 100.00% Conn: 1 Mbps: 1048.638 Peak Mbps: 1048.638 Avg Mbps: 1048.638 2000 128626064 1030.039 100.00% Conn: 1 Mbps: 1030.039 Peak Mbps: 1048.638 Avg Mbps: 1030.039 3000 126697000 1013.576 100.00% Conn: 1 Mbps: 1013.576 Peak Mbps: 1048.638 Avg Mbps: 1013.576 4000 124604456 996.836 100.00% Conn: 1 Mbps: 996.836 Peak Mbps: 1048.638 Avg Mbps: 996.836 5001 125487248 1003.898 100.00% Conn: 1 Mbps: 1003.898 Peak Mbps: 1048.638 Avg Mbps: 1003.898 --- fc00::13 tcpbench statistics --- 760477720 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 996.836/1018.597/1048.638/18.699 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.344 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.344/0.344/0.344/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.468 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.468/0.468/0.468/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 28165048 225.095 100.00% Conn: 1 Mbps: 225.095 Peak Mbps: 225.095 Avg Mbps: 225.095 2001 28337360 226.699 100.00% Conn: 1 Mbps: 226.699 Peak Mbps: 226.699 Avg Mbps: 226.699 3002 28595104 228.761 100.00% Conn: 1 Mbps: 228.761 Peak Mbps: 228.761 Avg Mbps: 228.761 4005 28800720 229.717 100.00% Conn: 1 Mbps: 229.717 Peak Mbps: 229.717 Avg Mbps: 229.717 5007 28689224 229.285 100.00% Conn: 1 Mbps: 229.285 Peak Mbps: 229.717 Avg Mbps: 229.285 --- 169.254.1.11 tcpbench statistics --- 171115952 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 225.095/227.911/229.717/1.747 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1001 46287896 369.933 100.00% Conn: 1 Mbps: 369.933 Peak Mbps: 369.933 Avg Mbps: 369.933 2003 46142848 368.406 100.00% Conn: 1 Mbps: 368.406 Peak Mbps: 369.933 Avg Mbps: 368.406 3005 45917824 366.976 100.00% Conn: 1 Mbps: 366.976 Peak Mbps: 369.933 Avg Mbps: 366.976 4006 45851808 366.814 100.00% Conn: 1 Mbps: 366.814 Peak Mbps: 369.933 Avg Mbps: 366.814 5007 45954376 367.268 100.00% Conn: 1 Mbps: 367.268 Peak Mbps: 369.933 Avg Mbps: 367.268 --- fc00:0:0:1::11 tcpbench statistics --- 275502104 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 366.814/367.879/369.933/1.168 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.316 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.316/0.316/0.316/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.415 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.415/0.415/0.415/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 140354374 1122.835 100.00% Conn: 1 Mbps: 1122.835 Peak Mbps: 1122.835 Avg Mbps: 1122.835 2000 134920784 1080.447 100.00% Conn: 1 Mbps: 1080.447 Peak Mbps: 1122.835 Avg Mbps: 1080.447 3000 134201032 1073.608 100.00% Conn: 1 Mbps: 1073.608 Peak Mbps: 1122.835 Avg Mbps: 1073.608 4000 135640536 1085.124 100.00% Conn: 1 Mbps: 1085.124 Peak Mbps: 1122.835 Avg Mbps: 1085.124 5000 134168316 1074.421 100.00% Conn: 1 Mbps: 1074.421 Peak Mbps: 1122.835 Avg Mbps: 1074.421 --- 169.254.1.12 tcpbench statistics --- 812766322 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1073.608/1087.287/1122.835/18.263 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 133775880 1070.207 100.00% Conn: 1 Mbps: 1070.207 Peak Mbps: 1070.207 Avg Mbps: 1070.207 2000 124898720 1000.190 100.00% Conn: 1 Mbps: 1000.190 Peak Mbps: 1070.207 Avg Mbps: 1000.190 3000 125585336 1004.683 100.00% Conn: 1 Mbps: 1004.683 Peak Mbps: 1070.207 Avg Mbps: 1004.683 4000 123852448 990.820 100.00% Conn: 1 Mbps: 990.820 Peak Mbps: 1070.207 Avg Mbps: 990.820 5000 124375584 995.005 100.00% Conn: 1 Mbps: 995.005 Peak Mbps: 1070.207 Avg Mbps: 995.005 --- fc00:0:0:1::12 tcpbench statistics --- 757223208 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 990.820/1012.181/1070.207/29.388 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.313 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.313/0.313/0.313/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.377 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.377/0.377/0.377/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 107865368 862.923 100.00% Conn: 1 Mbps: 862.923 Peak Mbps: 862.923 Avg Mbps: 862.923 2000 99325776 794.606 100.00% Conn: 1 Mbps: 794.606 Peak Mbps: 862.923 Avg Mbps: 794.606 3000 100470836 803.767 100.00% Conn: 1 Mbps: 803.767 Peak Mbps: 862.923 Avg Mbps: 803.767 4000 99489356 795.915 100.00% Conn: 1 Mbps: 795.915 Peak Mbps: 862.923 Avg Mbps: 795.915 5000 100110960 801.689 100.00% Conn: 1 Mbps: 801.689 Peak Mbps: 862.923 Avg Mbps: 801.689 --- 169.254.0.13 tcpbench statistics --- 605933752 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 794.606/811.780/862.923/25.800 Mbps ==== run-tcpbench6-3-3 ==== rm -f nc.log nc -6 -v -l -V 13 fc00::13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00::13 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00::13 elapsed_ms bytes mbps bwidth 1000 136996600 1095.973 100.00% Conn: 1 Mbps: 1095.973 Peak Mbps: 1095.973 Avg Mbps: 1095.973 2000 132811152 1063.553 100.00% Conn: 1 Mbps: 1063.553 Peak Mbps: 1095.973 Avg Mbps: 1063.553 3000 132941936 1063.535 100.00% Conn: 1 Mbps: 1063.535 Peak Mbps: 1095.973 Avg Mbps: 1063.535 4000 132582280 1060.658 100.00% Conn: 1 Mbps: 1060.658 Peak Mbps: 1095.973 Avg Mbps: 1060.658 5000 132059144 1056.473 100.00% Conn: 1 Mbps: 1056.473 Peak Mbps: 1095.973 Avg Mbps: 1056.473 --- fc00::13 tcpbench statistics --- 799515648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1056.473/1068.038/1095.973/14.205 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 2m11.31s