START sys/net/pair 2024-06-26T04:31:15Z ==== 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.318 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.318/0.318/0.318/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.365 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.365/0.365/0.365/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 89707956 717.664 100.00% Conn: 1 Mbps: 717.664 Peak Mbps: 717.664 Avg Mbps: 717.664 2000 89534220 716.991 100.00% Conn: 1 Mbps: 716.991 Peak Mbps: 717.664 Avg Mbps: 716.991 3000 89573960 716.592 100.00% Conn: 1 Mbps: 716.592 Peak Mbps: 717.664 Avg Mbps: 716.592 4000 87324676 699.297 100.00% Conn: 1 Mbps: 699.297 Peak Mbps: 717.664 Avg Mbps: 699.297 5000 88063840 704.511 100.00% Conn: 1 Mbps: 704.511 Peak Mbps: 717.664 Avg Mbps: 704.511 --- 169.254.1.11 tcpbench statistics --- 533873988 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 699.297/711.011/717.664/7.624 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 91964800 735.718 100.00% Conn: 1 Mbps: 735.718 Peak Mbps: 735.718 Avg Mbps: 735.718 2000 91520832 732.900 100.00% Conn: 1 Mbps: 732.900 Peak Mbps: 735.718 Avg Mbps: 732.900 3000 88938904 711.511 100.00% Conn: 1 Mbps: 711.511 Peak Mbps: 735.718 Avg Mbps: 711.511 4000 89348560 714.788 100.00% Conn: 1 Mbps: 714.788 Peak Mbps: 735.718 Avg Mbps: 714.788 5001 90759744 726.078 100.00% Conn: 1 Mbps: 726.078 Peak Mbps: 735.718 Avg Mbps: 726.078 --- fc00:0:0:1::11 tcpbench statistics --- 542832760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 711.511/724.199/735.718/9.607 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.456 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.456/0.456/0.456/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.836 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.836/0.836/0.836/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 26376768 210.803 100.00% Conn: 1 Mbps: 210.803 Peak Mbps: 210.803 Avg Mbps: 210.803 2001 26554872 212.652 100.00% Conn: 1 Mbps: 212.652 Peak Mbps: 212.652 Avg Mbps: 212.652 3001 27458424 219.667 100.00% Conn: 1 Mbps: 219.667 Peak Mbps: 219.667 Avg Mbps: 219.667 4002 27438152 219.286 100.00% Conn: 1 Mbps: 219.286 Peak Mbps: 219.667 Avg Mbps: 219.286 5005 27375888 218.570 100.00% Conn: 1 Mbps: 218.570 Peak Mbps: 219.667 Avg Mbps: 218.570 --- 169.254.1.12 tcpbench statistics --- 161789384 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 210.803/216.196/219.667/3.712 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 1003 26784996 213.639 100.00% Conn: 1 Mbps: 213.639 Peak Mbps: 213.639 Avg Mbps: 213.639 2004 26595072 212.761 100.00% Conn: 1 Mbps: 212.761 Peak Mbps: 213.639 Avg Mbps: 212.761 3007 26675040 212.974 100.00% Conn: 1 Mbps: 212.974 Peak Mbps: 213.639 Avg Mbps: 212.974 4009 26830692 214.431 100.00% Conn: 1 Mbps: 214.431 Peak Mbps: 214.431 Avg Mbps: 214.431 5008 25634028 205.278 100.00% Conn: 1 Mbps: 205.278 Peak Mbps: 214.431 Avg Mbps: 205.278 --- fc00:0:0:1::12 tcpbench statistics --- 159356232 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 205.278/211.817/214.431/3.321 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.401 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.401/0.401/0.401/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.502 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.502/0.502/0.502/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 1001 49484108 395.477 100.00% Conn: 1 Mbps: 395.477 Peak Mbps: 395.477 Avg Mbps: 395.477 2001 49158240 393.266 100.00% Conn: 1 Mbps: 393.266 Peak Mbps: 395.477 Avg Mbps: 393.266 3001 47362132 378.897 100.00% Conn: 1 Mbps: 378.897 Peak Mbps: 395.477 Avg Mbps: 378.897 4002 45939440 367.516 100.00% Conn: 1 Mbps: 367.516 Peak Mbps: 395.477 Avg Mbps: 367.516 5002 46845512 375.139 100.00% Conn: 1 Mbps: 375.139 Peak Mbps: 395.477 Avg Mbps: 375.139 --- 169.254.0.13 tcpbench statistics --- 284967312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 367.516/382.059/395.477/10.724 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 44595000 356.404 100.00% Conn: 1 Mbps: 356.404 Peak Mbps: 356.404 Avg Mbps: 356.404 2000 42708136 342.007 100.00% Conn: 1 Mbps: 342.007 Peak Mbps: 356.404 Avg Mbps: 342.007 3000 45102392 360.819 100.00% Conn: 1 Mbps: 360.819 Peak Mbps: 360.819 Avg Mbps: 360.819 4000 44571216 356.570 100.00% Conn: 1 Mbps: 356.570 Peak Mbps: 360.819 Avg Mbps: 356.570 5001 43865624 350.925 100.00% Conn: 1 Mbps: 350.925 Peak Mbps: 360.819 Avg Mbps: 350.925 --- fc00::13 tcpbench statistics --- 265770344 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 342.007/353.345/360.819/6.481 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.339 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.339/0.339/0.339/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.413 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.413/0.413/0.413/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 27200680 217.171 100.00% Conn: 1 Mbps: 217.171 Peak Mbps: 217.171 Avg Mbps: 217.171 2001 27167376 217.557 100.00% Conn: 1 Mbps: 217.557 Peak Mbps: 217.557 Avg Mbps: 217.557 3003 27294800 217.923 100.00% Conn: 1 Mbps: 217.923 Peak Mbps: 217.923 Avg Mbps: 217.923 4008 27478696 218.954 100.00% Conn: 1 Mbps: 218.954 Peak Mbps: 218.954 Avg Mbps: 218.954 5008 26505640 212.045 100.00% Conn: 1 Mbps: 212.045 Peak Mbps: 218.954 Avg Mbps: 212.045 --- 169.254.1.11 tcpbench statistics --- 162817464 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 212.045/216.730/218.954/2.416 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 26806416 213.810 100.00% Conn: 1 Mbps: 213.810 Peak Mbps: 213.810 Avg Mbps: 213.810 2003 27010620 216.085 100.00% Conn: 1 Mbps: 216.085 Peak Mbps: 216.085 Avg Mbps: 216.085 3005 26980632 215.414 100.00% Conn: 1 Mbps: 215.414 Peak Mbps: 216.085 Avg Mbps: 215.414 4006 25933908 207.471 100.00% Conn: 1 Mbps: 207.471 Peak Mbps: 216.085 Avg Mbps: 207.471 5009 26953500 215.198 100.00% Conn: 1 Mbps: 215.198 Peak Mbps: 216.085 Avg Mbps: 215.198 --- fc00:0:0:1::11 tcpbench statistics --- 160480068 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 207.471/213.596/216.085/3.150 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.317 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.317/0.317/0.317/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.418 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.418/0.418/0.418/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 90182888 721.463 100.00% Conn: 1 Mbps: 721.463 Peak Mbps: 721.463 Avg Mbps: 721.463 2000 85705672 685.645 100.00% Conn: 1 Mbps: 685.645 Peak Mbps: 721.463 Avg Mbps: 685.645 3000 89079512 712.636 100.00% Conn: 1 Mbps: 712.636 Peak Mbps: 721.463 Avg Mbps: 712.636 4001 89163496 713.308 100.00% Conn: 1 Mbps: 713.308 Peak Mbps: 721.463 Avg Mbps: 713.308 5001 89257616 714.061 100.00% Conn: 1 Mbps: 714.061 Peak Mbps: 721.463 Avg Mbps: 714.061 --- 169.254.1.12 tcpbench statistics --- 532307968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 685.645/709.423/721.463/12.307 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 87370752 698.966 100.00% Conn: 1 Mbps: 698.966 Peak Mbps: 698.966 Avg Mbps: 698.966 2001 87806292 701.749 100.00% Conn: 1 Mbps: 701.749 Peak Mbps: 701.749 Avg Mbps: 701.749 3000 87700620 702.307 100.00% Conn: 1 Mbps: 702.307 Peak Mbps: 702.307 Avg Mbps: 702.307 4001 87652068 701.217 100.00% Conn: 1 Mbps: 701.217 Peak Mbps: 702.307 Avg Mbps: 701.217 5001 85787100 686.297 100.00% Conn: 1 Mbps: 686.297 Peak Mbps: 702.307 Avg Mbps: 686.297 --- fc00:0:0:1::12 tcpbench statistics --- 522727968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 686.297/698.107/702.307/6.013 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.324 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.324/0.324/0.324/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.376 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.376/0.376/0.376/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 128426820 1027.415 100.00% Conn: 1 Mbps: 1027.415 Peak Mbps: 1027.415 Avg Mbps: 1027.415 2000 127984920 1023.879 100.00% Conn: 1 Mbps: 1023.879 Peak Mbps: 1027.415 Avg Mbps: 1023.879 3000 127003440 1016.028 100.00% Conn: 1 Mbps: 1016.028 Peak Mbps: 1027.415 Avg Mbps: 1016.028 4000 124876900 999.015 100.00% Conn: 1 Mbps: 999.015 Peak Mbps: 1027.415 Avg Mbps: 999.015 5000 128606512 1028.852 100.00% Conn: 1 Mbps: 1028.852 Peak Mbps: 1028.852 Avg Mbps: 1028.852 --- 169.254.0.13 tcpbench statistics --- 765210672 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 999.015/1019.038/1028.852/10.954 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 125733296 1005.866 100.00% Conn: 1 Mbps: 1005.866 Peak Mbps: 1005.866 Avg Mbps: 1005.866 2000 121302160 970.417 100.00% Conn: 1 Mbps: 970.417 Peak Mbps: 1005.866 Avg Mbps: 970.417 3000 121988776 975.910 100.00% Conn: 1 Mbps: 975.910 Peak Mbps: 1005.866 Avg Mbps: 975.910 4000 124473672 995.789 100.00% Conn: 1 Mbps: 995.789 Peak Mbps: 1005.866 Avg Mbps: 995.789 5000 124735240 997.882 100.00% Conn: 1 Mbps: 997.882 Peak Mbps: 1005.866 Avg Mbps: 997.882 --- fc00::13 tcpbench statistics --- 742183680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 970.417/989.173/1005.866/13.609 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.357 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.357/0.357/0.357/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.432 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.432/0.432/0.432/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 1004 26607000 212.008 100.00% Conn: 1 Mbps: 212.008 Peak Mbps: 212.008 Avg Mbps: 212.008 2002 27274528 218.633 100.00% Conn: 1 Mbps: 218.633 Peak Mbps: 218.633 Avg Mbps: 218.633 3005 27375888 218.570 100.00% Conn: 1 Mbps: 218.570 Peak Mbps: 218.633 Avg Mbps: 218.570 4005 27403400 219.447 100.00% Conn: 1 Mbps: 219.447 Peak Mbps: 219.447 Avg Mbps: 219.447 5009 26805376 213.802 100.00% Conn: 1 Mbps: 213.802 Peak Mbps: 219.447 Avg Mbps: 213.802 --- 169.254.1.11 tcpbench statistics --- 162268672 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 212.008/216.492/219.447/2.999 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 46342032 370.736 100.00% Conn: 1 Mbps: 370.736 Peak Mbps: 370.736 Avg Mbps: 370.736 2001 46482712 371.490 100.00% Conn: 1 Mbps: 371.490 Peak Mbps: 371.490 Avg Mbps: 371.490 3001 46411360 371.663 100.00% Conn: 1 Mbps: 371.663 Peak Mbps: 371.663 Avg Mbps: 371.663 4003 44350128 354.447 100.00% Conn: 1 Mbps: 354.447 Peak Mbps: 371.663 Avg Mbps: 354.447 5009 44450696 353.836 100.00% Conn: 1 Mbps: 353.836 Peak Mbps: 371.663 Avg Mbps: 353.836 --- fc00:0:0:1::11 tcpbench statistics --- 271974848 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 353.836/364.434/371.663/8.412 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.320 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.320/0.320/0.320/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.392 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.392/0.392/0.392/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 127044990 1016.360 100.00% Conn: 1 Mbps: 1016.360 Peak Mbps: 1016.360 Avg Mbps: 1016.360 2000 123273816 987.178 100.00% Conn: 1 Mbps: 987.178 Peak Mbps: 1016.360 Avg Mbps: 987.178 3000 124353444 994.828 100.00% Conn: 1 Mbps: 994.828 Peak Mbps: 1016.360 Avg Mbps: 994.828 4000 126479972 1011.840 100.00% Conn: 1 Mbps: 1011.840 Peak Mbps: 1016.360 Avg Mbps: 1011.840 5000 126234626 1009.877 100.00% Conn: 1 Mbps: 1009.877 Peak Mbps: 1016.360 Avg Mbps: 1009.877 --- 169.254.1.12 tcpbench statistics --- 753376092 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 987.178/1004.016/1016.360/11.099 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 120763684 966.109 100.00% Conn: 1 Mbps: 966.109 Peak Mbps: 966.109 Avg Mbps: 966.109 2000 125291072 1003.332 100.00% Conn: 1 Mbps: 1003.332 Peak Mbps: 1003.332 Avg Mbps: 1003.332 3000 125356464 1002.852 100.00% Conn: 1 Mbps: 1002.852 Peak Mbps: 1003.332 Avg Mbps: 1002.852 4000 125029504 1000.236 100.00% Conn: 1 Mbps: 1000.236 Peak Mbps: 1003.332 Avg Mbps: 1000.236 5000 125323768 1002.590 100.00% Conn: 1 Mbps: 1002.590 Peak Mbps: 1003.332 Avg Mbps: 1002.590 --- fc00:0:0:1::12 tcpbench statistics --- 741595332 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 966.109/995.024/1003.332/14.497 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.324 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.324/0.324/0.324/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.374 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.374/0.374/0.374/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 131502046 1052.016 100.00% Conn: 1 Mbps: 1052.016 Peak Mbps: 1052.016 Avg Mbps: 1052.016 2000 130536768 1044.294 100.00% Conn: 1 Mbps: 1044.294 Peak Mbps: 1052.016 Avg Mbps: 1044.294 3000 130438608 1043.509 100.00% Conn: 1 Mbps: 1043.509 Peak Mbps: 1052.016 Avg Mbps: 1043.509 4000 125105912 1000.847 100.00% Conn: 1 Mbps: 1000.847 Peak Mbps: 1052.016 Avg Mbps: 1000.847 5000 130373188 1042.986 100.00% Conn: 1 Mbps: 1042.986 Peak Mbps: 1052.016 Avg Mbps: 1042.986 --- 169.254.0.13 tcpbench statistics --- 778460574 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1000.847/1036.730/1052.016/18.240 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 130866604 1046.933 100.00% Conn: 1 Mbps: 1046.933 Peak Mbps: 1046.933 Avg Mbps: 1046.933 2000 129574248 1037.632 100.00% Conn: 1 Mbps: 1037.632 Peak Mbps: 1046.933 Avg Mbps: 1037.632 3000 124506368 996.051 100.00% Conn: 1 Mbps: 996.051 Peak Mbps: 1046.933 Avg Mbps: 996.051 4000 129933904 1039.471 100.00% Conn: 1 Mbps: 1039.471 Peak Mbps: 1046.933 Avg Mbps: 1039.471 5000 130195472 1041.564 100.00% Conn: 1 Mbps: 1041.564 Peak Mbps: 1046.933 Avg Mbps: 1041.564 --- fc00::13 tcpbench statistics --- 774781628 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 996.051/1032.330/1046.933/18.405 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 2m03.04s