START sys/net/pair 2024-03-06T06:33:40Z ==== 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.298 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.298/0.298/0.298/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.362 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.362/0.362/0.362/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 89343468 714.748 100.00% Conn: 1 Mbps: 714.748 Peak Mbps: 714.748 Avg Mbps: 714.748 2000 87459792 699.678 100.00% Conn: 1 Mbps: 699.678 Peak Mbps: 714.748 Avg Mbps: 699.678 3000 86243748 689.950 100.00% Conn: 1 Mbps: 689.950 Peak Mbps: 714.748 Avg Mbps: 689.950 4000 89836244 718.690 100.00% Conn: 1 Mbps: 718.690 Peak Mbps: 718.690 Avg Mbps: 718.690 5000 91314572 730.517 100.00% Conn: 1 Mbps: 730.517 Peak Mbps: 730.517 Avg Mbps: 730.517 --- 169.254.1.11 tcpbench statistics --- 536029016 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 689.950/710.717/730.517/14.318 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 90934160 727.473 100.00% Conn: 1 Mbps: 727.473 Peak Mbps: 727.473 Avg Mbps: 727.473 2000 89522976 716.184 100.00% Conn: 1 Mbps: 716.184 Peak Mbps: 727.473 Avg Mbps: 716.184 3000 91996512 735.972 100.00% Conn: 1 Mbps: 735.972 Peak Mbps: 735.972 Avg Mbps: 735.972 4000 92337416 739.439 100.00% Conn: 1 Mbps: 739.439 Peak Mbps: 739.439 Avg Mbps: 739.439 5001 91885520 735.084 100.00% Conn: 1 Mbps: 735.084 Peak Mbps: 739.439 Avg Mbps: 735.084 --- fc00:0:0:1::11 tcpbench statistics --- 547507680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 716.184/730.830/739.439/8.300 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.458 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.458/0.458/0.458/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.899 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.899/0.899/0.899/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 1002 27651008 220.767 100.00% Conn: 1 Mbps: 220.767 Peak Mbps: 220.767 Avg Mbps: 220.767 2003 27879792 223.038 100.00% Conn: 1 Mbps: 223.038 Peak Mbps: 223.038 Avg Mbps: 223.038 3007 27926128 222.741 100.00% Conn: 1 Mbps: 222.741 Peak Mbps: 223.038 Avg Mbps: 222.741 4008 27704584 221.415 100.00% Conn: 1 Mbps: 221.415 Peak Mbps: 223.038 Avg Mbps: 221.415 5009 27164480 217.316 100.00% Conn: 1 Mbps: 217.316 Peak Mbps: 223.038 Avg Mbps: 217.316 --- 169.254.1.12 tcpbench statistics --- 165943696 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 217.316/221.055/223.038/2.048 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 27351912 218.815 100.00% Conn: 1 Mbps: 218.815 Peak Mbps: 218.815 Avg Mbps: 218.815 2004 27596100 219.889 100.00% Conn: 1 Mbps: 219.889 Peak Mbps: 219.889 Avg Mbps: 219.889 3004 26400864 211.207 100.00% Conn: 1 Mbps: 211.207 Peak Mbps: 219.889 Avg Mbps: 211.207 4006 27678924 221.210 100.00% Conn: 1 Mbps: 221.210 Peak Mbps: 221.210 Avg Mbps: 221.210 5006 27933108 223.465 100.00% Conn: 1 Mbps: 223.465 Peak Mbps: 223.465 Avg Mbps: 223.465 --- fc00:0:0:1::12 tcpbench statistics --- 164201436 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 211.207/218.917/223.465/4.156 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.398 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.398/0.398/0.398/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.518 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.518/0.518/0.518/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 47378028 379.024 100.00% Conn: 1 Mbps: 379.024 Peak Mbps: 379.024 Avg Mbps: 379.024 2000 45693052 365.544 100.00% Conn: 1 Mbps: 365.544 Peak Mbps: 379.024 Avg Mbps: 365.544 3001 46932940 375.464 100.00% Conn: 1 Mbps: 375.464 Peak Mbps: 379.024 Avg Mbps: 375.464 4001 46289152 370.313 100.00% Conn: 1 Mbps: 370.313 Peak Mbps: 379.024 Avg Mbps: 370.313 5001 46201724 369.614 100.00% Conn: 1 Mbps: 369.614 Peak Mbps: 379.024 Avg Mbps: 369.614 --- 169.254.0.13 tcpbench statistics --- 278791996 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 365.544/371.992/379.024/4.723 Mbps ==== run-tcpbench6-1-3 ==== rm -f nc.log nc -6 -v -l -V 13 fc00::13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00::13 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00::13 elapsed_ms bytes mbps bwidth 1001 44444368 355.200 100.00% Conn: 1 Mbps: 355.200 Peak Mbps: 355.200 Avg Mbps: 355.200 2000 44333376 355.022 100.00% Conn: 1 Mbps: 355.022 Peak Mbps: 355.200 Avg Mbps: 355.022 3000 44190672 353.525 100.00% Conn: 1 Mbps: 353.525 Peak Mbps: 355.200 Avg Mbps: 353.525 4000 43992472 351.940 100.00% Conn: 1 Mbps: 351.940 Peak Mbps: 355.200 Avg Mbps: 351.940 5001 42200744 337.606 100.00% Conn: 1 Mbps: 337.606 Peak Mbps: 355.200 Avg Mbps: 337.606 --- fc00::13 tcpbench statistics --- 263487080 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 337.606/350.659/355.200/6.632 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.340 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.340/0.340/0.340/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.425 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.425/0.425/0.425/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 1002 27624944 220.558 100.00% Conn: 1 Mbps: 220.558 Peak Mbps: 220.558 Avg Mbps: 220.558 2006 27981152 223.180 100.00% Conn: 1 Mbps: 223.180 Peak Mbps: 223.180 Avg Mbps: 223.180 3009 26763384 213.467 100.00% Conn: 1 Mbps: 213.467 Peak Mbps: 223.180 Avg Mbps: 213.467 4010 27691552 221.532 100.00% Conn: 1 Mbps: 221.532 Peak Mbps: 223.180 Avg Mbps: 221.532 5013 27868208 222.279 100.00% Conn: 1 Mbps: 222.279 Peak Mbps: 223.180 Avg Mbps: 222.279 --- 169.254.1.11 tcpbench statistics --- 165341328 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 213.467/220.203/223.180/3.477 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 1003 27009192 215.427 100.00% Conn: 1 Mbps: 215.427 Peak Mbps: 215.427 Avg Mbps: 215.427 2003 26687892 213.717 100.00% Conn: 1 Mbps: 213.717 Peak Mbps: 215.427 Avg Mbps: 213.717 3008 27504708 219.161 100.00% Conn: 1 Mbps: 219.161 Peak Mbps: 219.161 Avg Mbps: 219.161 4006 27656076 221.692 100.00% Conn: 1 Mbps: 221.692 Peak Mbps: 221.692 Avg Mbps: 221.692 5007 27687492 221.279 100.00% Conn: 1 Mbps: 221.279 Peak Mbps: 221.692 Avg Mbps: 221.279 --- fc00:0:0:1::11 tcpbench statistics --- 163710204 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 213.717/218.255/221.692/3.174 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.288 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.288/0.288/0.288/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.359 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.359/0.359/0.359/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 90485520 723.884 100.00% Conn: 1 Mbps: 723.884 Peak Mbps: 723.884 Avg Mbps: 723.884 2000 90769328 726.882 100.00% Conn: 1 Mbps: 726.882 Peak Mbps: 726.882 Avg Mbps: 726.882 3000 90798288 726.386 100.00% Conn: 1 Mbps: 726.386 Peak Mbps: 726.882 Avg Mbps: 726.386 4000 90898200 727.914 100.00% Conn: 1 Mbps: 727.914 Peak Mbps: 727.914 Avg Mbps: 727.914 5000 86820632 694.565 100.00% Conn: 1 Mbps: 694.565 Peak Mbps: 727.914 Avg Mbps: 694.565 --- 169.254.1.12 tcpbench statistics --- 540244456 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 694.565/719.926/727.914/12.750 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 92611512 740.892 100.00% Conn: 1 Mbps: 740.892 Peak Mbps: 740.892 Avg Mbps: 740.892 2000 92340192 738.722 100.00% Conn: 1 Mbps: 738.722 Peak Mbps: 740.892 Avg Mbps: 738.722 3000 90915048 727.320 100.00% Conn: 1 Mbps: 727.320 Peak Mbps: 740.892 Avg Mbps: 727.320 4000 89669832 717.359 100.00% Conn: 1 Mbps: 717.359 Peak Mbps: 740.892 Avg Mbps: 717.359 5000 92227380 737.819 100.00% Conn: 1 Mbps: 737.819 Peak Mbps: 740.892 Avg Mbps: 737.819 --- fc00:0:0:1::12 tcpbench statistics --- 549905664 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 717.359/732.422/740.892/8.871 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.327 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.327/0.327/0.327/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.378 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.378/0.378/0.378/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 127903326 1023.227 100.00% Conn: 1 Mbps: 1023.227 Peak Mbps: 1023.227 Avg Mbps: 1023.227 2000 125007764 1000.062 100.00% Conn: 1 Mbps: 1000.062 Peak Mbps: 1023.227 Avg Mbps: 1000.062 3000 128770104 1030.161 100.00% Conn: 1 Mbps: 1030.161 Peak Mbps: 1030.161 Avg Mbps: 1030.161 4000 128835536 1030.684 100.00% Conn: 1 Mbps: 1030.684 Peak Mbps: 1030.684 Avg Mbps: 1030.684 5001 128868252 1030.946 100.00% Conn: 1 Mbps: 1030.946 Peak Mbps: 1030.946 Avg Mbps: 1030.946 --- 169.254.0.13 tcpbench statistics --- 766551990 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1000.062/1023.016/1030.946/11.829 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 123952012 991.616 100.00% Conn: 1 Mbps: 991.616 Peak Mbps: 991.616 Avg Mbps: 991.616 2000 127023960 1017.209 100.00% Conn: 1 Mbps: 1017.209 Peak Mbps: 1017.209 Avg Mbps: 1017.209 3000 127089352 1016.715 100.00% Conn: 1 Mbps: 1016.715 Peak Mbps: 1017.209 Avg Mbps: 1016.715 4000 127416312 1019.330 100.00% Conn: 1 Mbps: 1019.330 Peak Mbps: 1019.330 Avg Mbps: 1019.330 5000 125716120 1005.729 100.00% Conn: 1 Mbps: 1005.729 Peak Mbps: 1019.330 Avg Mbps: 1005.729 --- fc00::13 tcpbench statistics --- 754821332 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 991.616/1010.120/1019.330/10.395 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.348 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.348/0.348/0.348/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.429 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.429/0.429/0.429/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 1003 27665488 220.662 100.00% Conn: 1 Mbps: 220.662 Peak Mbps: 220.662 Avg Mbps: 220.662 2008 27942056 222.646 100.00% Conn: 1 Mbps: 222.646 Peak Mbps: 222.646 Avg Mbps: 222.646 3012 27565576 219.865 100.00% Conn: 1 Mbps: 219.865 Peak Mbps: 222.646 Avg Mbps: 219.865 4010 26785104 214.710 100.00% Conn: 1 Mbps: 214.710 Peak Mbps: 222.646 Avg Mbps: 214.710 5014 27743680 221.286 100.00% Conn: 1 Mbps: 221.286 Peak Mbps: 222.646 Avg Mbps: 221.286 --- 169.254.1.11 tcpbench statistics --- 165234176 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 214.710/219.834/222.646/2.719 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 1002 46688864 372.765 100.00% Conn: 1 Mbps: 372.765 Peak Mbps: 372.765 Avg Mbps: 372.765 2002 46248848 370.361 100.00% Conn: 1 Mbps: 370.361 Peak Mbps: 372.765 Avg Mbps: 370.361 3005 45644344 364.426 100.00% Conn: 1 Mbps: 364.426 Peak Mbps: 372.765 Avg Mbps: 364.426 4007 44917752 358.625 100.00% Conn: 1 Mbps: 358.625 Peak Mbps: 372.765 Avg Mbps: 358.625 5009 44411912 354.940 100.00% Conn: 1 Mbps: 354.940 Peak Mbps: 372.765 Avg Mbps: 354.940 --- fc00:0:0:1::11 tcpbench statistics --- 271910440 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 354.940/364.224/372.765/6.756 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.315 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.315/0.315/0.315/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.405 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.405/0.405/0.405/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 126726538 1013.812 100.00% Conn: 1 Mbps: 1013.812 Peak Mbps: 1013.812 Avg Mbps: 1013.812 2000 129588004 1036.704 100.00% Conn: 1 Mbps: 1036.704 Peak Mbps: 1036.704 Avg Mbps: 1036.704 3000 129620708 1036.966 100.00% Conn: 1 Mbps: 1036.966 Peak Mbps: 1036.966 Avg Mbps: 1036.966 4000 129620720 1036.966 100.00% Conn: 1 Mbps: 1036.966 Peak Mbps: 1036.966 Avg Mbps: 1036.966 5000 128213932 1025.711 100.00% Conn: 1 Mbps: 1025.711 Peak Mbps: 1036.966 Avg Mbps: 1025.711 --- 169.254.1.12 tcpbench statistics --- 769464702 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 1013.812/1030.032/1036.966/9.191 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 127646048 1021.168 100.00% Conn: 1 Mbps: 1021.168 Peak Mbps: 1021.168 Avg Mbps: 1021.168 2000 126533520 1012.268 100.00% Conn: 1 Mbps: 1012.268 Peak Mbps: 1021.168 Avg Mbps: 1012.268 3000 126631608 1013.053 100.00% Conn: 1 Mbps: 1013.053 Peak Mbps: 1021.168 Avg Mbps: 1013.053 4000 121661816 973.295 100.00% Conn: 1 Mbps: 973.295 Peak Mbps: 1021.168 Avg Mbps: 973.295 5000 127089352 1016.715 100.00% Conn: 1 Mbps: 1016.715 Peak Mbps: 1021.168 Avg Mbps: 1016.715 --- fc00:0:0:1::12 tcpbench statistics --- 756292040 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 973.295/1007.300/1021.168/17.292 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.299 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.299/0.299/0.299/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.359 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.359/0.359/0.359/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 132408838 1059.271 100.00% Conn: 1 Mbps: 1059.271 Peak Mbps: 1059.271 Avg Mbps: 1059.271 2000 129555288 1037.480 100.00% Conn: 1 Mbps: 1037.480 Peak Mbps: 1059.271 Avg Mbps: 1037.480 3000 127494180 1019.953 100.00% Conn: 1 Mbps: 1019.953 Peak Mbps: 1059.271 Avg Mbps: 1019.953 4000 131125644 1049.005 100.00% Conn: 1 Mbps: 1049.005 Peak Mbps: 1059.271 Avg Mbps: 1049.005 5000 131125656 1049.005 100.00% Conn: 1 Mbps: 1049.005 Peak Mbps: 1059.271 Avg Mbps: 1049.005 --- 169.254.0.13 tcpbench statistics --- 782606250 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1019.953/1042.943/1059.271/13.405 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 130981796 1047.854 100.00% Conn: 1 Mbps: 1047.854 Peak Mbps: 1047.854 Avg Mbps: 1047.854 2000 133955512 1071.644 100.00% Conn: 1 Mbps: 1071.644 Peak Mbps: 1071.644 Avg Mbps: 1071.644 3000 134151688 1073.214 100.00% Conn: 1 Mbps: 1073.214 Peak Mbps: 1073.214 Avg Mbps: 1073.214 4000 134053600 1072.429 100.00% Conn: 1 Mbps: 1072.429 Peak Mbps: 1073.214 Avg Mbps: 1072.429 5000 132647672 1061.181 100.00% Conn: 1 Mbps: 1061.181 Peak Mbps: 1073.214 Avg Mbps: 1061.181 --- fc00::13 tcpbench statistics --- 795527996 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 1047.854/1065.264/1073.214/9.747 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 2m02.93s