START sys/net/pair 2024-06-16T01:46:04Z ==== 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.039 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.039/0.039/0.039/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.041 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.041/0.041/0.041/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 941806208 7534.450 100.00% Conn: 1 Mbps: 7534.450 Peak Mbps: 7534.450 Avg Mbps: 7534.450 2000 941178316 7536.963 100.00% Conn: 1 Mbps: 7536.963 Peak Mbps: 7536.963 Avg Mbps: 7536.963 3000 941345224 7530.762 100.00% Conn: 1 Mbps: 7530.762 Peak Mbps: 7536.963 Avg Mbps: 7530.762 4000 940542476 7524.340 100.00% Conn: 1 Mbps: 7524.340 Peak Mbps: 7536.963 Avg Mbps: 7524.340 5000 938030908 7511.759 100.00% Conn: 1 Mbps: 7511.759 Peak Mbps: 7536.963 Avg Mbps: 7511.759 --- 169.254.1.11 tcpbench statistics --- 5643016416 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7511.759/7527.655/7536.963/9.013 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 940316296 7522.530 100.00% Conn: 1 Mbps: 7522.530 Peak Mbps: 7522.530 Avg Mbps: 7522.530 2000 940538280 7531.838 100.00% Conn: 1 Mbps: 7531.838 Peak Mbps: 7531.838 Avg Mbps: 7531.838 3000 940641344 7525.131 100.00% Conn: 1 Mbps: 7525.131 Peak Mbps: 7531.838 Avg Mbps: 7525.131 4000 940704768 7525.638 100.00% Conn: 1 Mbps: 7525.638 Peak Mbps: 7531.838 Avg Mbps: 7525.638 5000 939848544 7518.788 100.00% Conn: 1 Mbps: 7518.788 Peak Mbps: 7531.838 Avg Mbps: 7518.788 --- fc00:0:0:1::11 tcpbench statistics --- 5643277248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7518.788/7524.785/7531.838/4.281 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.065 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.065/0.065/0.065/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.121 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.121/0.121/0.121/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 1000 280060864 2240.487 100.00% Conn: 1 Mbps: 2240.487 Peak Mbps: 2240.487 Avg Mbps: 2240.487 2000 280260616 2244.329 100.00% Conn: 1 Mbps: 2244.329 Peak Mbps: 2244.329 Avg Mbps: 2244.329 3000 280608424 2244.867 100.00% Conn: 1 Mbps: 2244.867 Peak Mbps: 2244.867 Avg Mbps: 2244.867 4001 280855248 2246.842 100.00% Conn: 1 Mbps: 2246.842 Peak Mbps: 2246.842 Avg Mbps: 2246.842 5001 280479488 2246.082 100.00% Conn: 1 Mbps: 2246.082 Peak Mbps: 2246.842 Avg Mbps: 2246.082 --- 169.254.1.12 tcpbench statistics --- 1682247912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2240.487/2244.522/2246.842/2.202 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 271442984 2171.544 100.00% Conn: 1 Mbps: 2171.544 Peak Mbps: 2171.544 Avg Mbps: 2171.544 2000 271806428 2176.628 100.00% Conn: 1 Mbps: 2176.628 Peak Mbps: 2176.628 Avg Mbps: 2176.628 3001 272103452 2176.828 100.00% Conn: 1 Mbps: 2176.828 Peak Mbps: 2176.828 Avg Mbps: 2176.828 4002 272207216 2177.658 100.00% Conn: 1 Mbps: 2177.658 Peak Mbps: 2177.658 Avg Mbps: 2177.658 5002 272027428 2176.219 100.00% Conn: 1 Mbps: 2176.219 Peak Mbps: 2177.658 Avg Mbps: 2176.219 --- fc00:0:0:1::12 tcpbench statistics --- 1631093024 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2171.544/2175.775/2177.658/2.167 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.057 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.057/0.057/0.057/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.065 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.065/0.065/0.065/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 431934060 3455.472 100.00% Conn: 1 Mbps: 3455.472 Peak Mbps: 3455.472 Avg Mbps: 3455.472 2000 430908768 3450.721 100.00% Conn: 1 Mbps: 3450.721 Peak Mbps: 3455.472 Avg Mbps: 3450.721 3000 433428284 3467.426 100.00% Conn: 1 Mbps: 3467.426 Peak Mbps: 3467.426 Avg Mbps: 3467.426 4000 433364700 3466.918 100.00% Conn: 1 Mbps: 3466.918 Peak Mbps: 3467.426 Avg Mbps: 3466.918 5000 434636380 3477.091 100.00% Conn: 1 Mbps: 3477.091 Peak Mbps: 3477.091 Avg Mbps: 3477.091 --- 169.254.0.13 tcpbench statistics --- 2600021292 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3450.721/3463.526/3477.091/9.376 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 407245504 3257.964 100.00% Conn: 1 Mbps: 3257.964 Peak Mbps: 3257.964 Avg Mbps: 3257.964 2000 407427848 3262.685 100.00% Conn: 1 Mbps: 3262.685 Peak Mbps: 3262.685 Avg Mbps: 3262.685 3000 407261360 3258.091 100.00% Conn: 1 Mbps: 3258.091 Peak Mbps: 3262.685 Avg Mbps: 3258.091 4000 408569480 3271.828 100.00% Conn: 1 Mbps: 3271.828 Peak Mbps: 3271.828 Avg Mbps: 3271.828 5000 408101728 3264.814 100.00% Conn: 1 Mbps: 3264.814 Peak Mbps: 3271.828 Avg Mbps: 3264.814 --- fc00::13 tcpbench statistics --- 2447326032 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3257.964/3263.076/3271.828/5.114 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.043 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.043/0.043/0.043/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.046 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.046/0.046/0.046/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 281929952 2255.440 100.00% Conn: 1 Mbps: 2255.440 Peak Mbps: 2255.440 Avg Mbps: 2255.440 2000 283091352 2264.731 100.00% Conn: 1 Mbps: 2264.731 Peak Mbps: 2264.731 Avg Mbps: 2264.731 3000 284687384 2277.499 100.00% Conn: 1 Mbps: 2277.499 Peak Mbps: 2277.499 Avg Mbps: 2277.499 4000 284438776 2277.788 100.00% Conn: 1 Mbps: 2277.788 Peak Mbps: 2277.788 Avg Mbps: 2277.788 5001 284895552 2279.164 100.00% Conn: 1 Mbps: 2279.164 Peak Mbps: 2279.164 Avg Mbps: 2279.164 --- 169.254.1.11 tcpbench statistics --- 1703365048 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2255.440/2270.924/2279.164/9.342 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 274954364 2199.635 100.00% Conn: 1 Mbps: 2199.635 Peak Mbps: 2199.635 Avg Mbps: 2199.635 2001 275737244 2205.898 100.00% Conn: 1 Mbps: 2205.898 Peak Mbps: 2205.898 Avg Mbps: 2205.898 3001 275644396 2205.155 100.00% Conn: 1 Mbps: 2205.155 Peak Mbps: 2205.898 Avg Mbps: 2205.155 4001 275616444 2204.932 100.00% Conn: 1 Mbps: 2204.932 Peak Mbps: 2205.898 Avg Mbps: 2204.932 5001 275777752 2206.222 100.00% Conn: 1 Mbps: 2206.222 Peak Mbps: 2206.222 Avg Mbps: 2206.222 --- fc00:0:0:1::11 tcpbench statistics --- 1652946720 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2199.635/2204.368/2206.222/2.413 Mbps ==== run-ping-2-2 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.039 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.041 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.041/0.041/0.041/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 950347016 7602.776 100.00% Conn: 1 Mbps: 7602.776 Peak Mbps: 7602.776 Avg Mbps: 7602.776 2000 949685280 7605.087 100.00% Conn: 1 Mbps: 7605.087 Peak Mbps: 7605.087 Avg Mbps: 7605.087 3000 948991688 7591.934 100.00% Conn: 1 Mbps: 7591.934 Peak Mbps: 7605.087 Avg Mbps: 7591.934 4000 950927664 7607.421 100.00% Conn: 1 Mbps: 7607.421 Peak Mbps: 7607.421 Avg Mbps: 7607.421 5000 949372512 7594.980 100.00% Conn: 1 Mbps: 7594.980 Peak Mbps: 7607.421 Avg Mbps: 7594.980 --- 169.254.1.12 tcpbench statistics --- 5700217072 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7591.934/7600.440/7607.421/5.966 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 943022640 7544.181 100.00% Conn: 1 Mbps: 7544.181 Peak Mbps: 7544.181 Avg Mbps: 7544.181 2000 945256032 7569.618 100.00% Conn: 1 Mbps: 7569.618 Peak Mbps: 7569.618 Avg Mbps: 7569.618 3000 944769084 7558.153 100.00% Conn: 1 Mbps: 7558.153 Peak Mbps: 7569.618 Avg Mbps: 7558.153 4000 945665868 7565.327 100.00% Conn: 1 Mbps: 7565.327 Peak Mbps: 7569.618 Avg Mbps: 7565.327 5000 947716476 7581.732 100.00% Conn: 1 Mbps: 7581.732 Peak Mbps: 7581.732 Avg Mbps: 7581.732 --- fc00:0:0:1::12 tcpbench statistics --- 5674457880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7544.181/7563.802/7581.732/12.446 Mbps ==== run-ping-2-3 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.040 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.040/0.040/0.040/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.046 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/0.000 ms ==== run-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 1410735056 11285.880 100.00% Conn: 1 Mbps: 11285.880 Peak Mbps: 11285.880 Avg Mbps: 11285.880 2000 1418041404 11355.687 100.00% Conn: 1 Mbps: 11355.687 Peak Mbps: 11355.687 Avg Mbps: 11355.687 3000 1416814950 11334.520 100.00% Conn: 1 Mbps: 11334.520 Peak Mbps: 11355.687 Avg Mbps: 11334.520 4000 1414181816 11313.455 100.00% Conn: 1 Mbps: 11313.455 Peak Mbps: 11355.687 Avg Mbps: 11313.455 5000 1413167620 11305.341 100.00% Conn: 1 Mbps: 11305.341 Peak Mbps: 11355.687 Avg Mbps: 11305.341 --- 169.254.0.13 tcpbench statistics --- 8489249202 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11285.880/11318.976/11355.687/24.087 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 1332242052 10657.936 100.00% Conn: 1 Mbps: 10657.936 Peak Mbps: 10657.936 Avg Mbps: 10657.936 2000 1362082664 10907.569 100.00% Conn: 1 Mbps: 10907.569 Peak Mbps: 10907.569 Avg Mbps: 10907.569 3000 1370518232 10964.146 100.00% Conn: 1 Mbps: 10964.146 Peak Mbps: 10964.146 Avg Mbps: 10964.146 4000 1329779016 10638.232 100.00% Conn: 1 Mbps: 10638.232 Peak Mbps: 10964.146 Avg Mbps: 10638.232 5000 1371727984 10973.824 100.00% Conn: 1 Mbps: 10973.824 Peak Mbps: 10973.824 Avg Mbps: 10973.824 --- fc00::13 tcpbench statistics --- 8118362244 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10638.232/10828.341/10973.824/149.040 Mbps ==== run-ping-3-1 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.046 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.050 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.050/0.050/0.050/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 278878864 2231.031 100.00% Conn: 1 Mbps: 2231.031 Peak Mbps: 2231.031 Avg Mbps: 2231.031 2000 280367600 2245.186 100.00% Conn: 1 Mbps: 2245.186 Peak Mbps: 2245.186 Avg Mbps: 2245.186 3001 280497640 2243.981 100.00% Conn: 1 Mbps: 2243.981 Peak Mbps: 2245.186 Avg Mbps: 2243.981 4001 280359848 2242.879 100.00% Conn: 1 Mbps: 2242.879 Peak Mbps: 2245.186 Avg Mbps: 2242.879 5001 280523752 2246.436 100.00% Conn: 1 Mbps: 2246.436 Peak Mbps: 2246.436 Avg Mbps: 2246.436 --- 169.254.1.11 tcpbench statistics --- 1681312344 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2231.031/2241.903/2246.436/5.564 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 437630768 3501.046 100.00% Conn: 1 Mbps: 3501.046 Peak Mbps: 3501.046 Avg Mbps: 3501.046 2000 435861648 3490.384 100.00% Conn: 1 Mbps: 3490.384 Peak Mbps: 3501.046 Avg Mbps: 3490.384 3000 436164040 3489.312 100.00% Conn: 1 Mbps: 3489.312 Peak Mbps: 3501.046 Avg Mbps: 3489.312 4000 434683648 3480.950 100.00% Conn: 1 Mbps: 3480.950 Peak Mbps: 3501.046 Avg Mbps: 3480.950 5001 436352672 3490.821 100.00% Conn: 1 Mbps: 3490.821 Peak Mbps: 3501.046 Avg Mbps: 3490.821 --- fc00:0:0:1::11 tcpbench statistics --- 2616462160 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3480.950/3490.503/3501.046/6.387 Mbps # path MTU discovery in other rtable does not work in ip6_output() /sbin/route -T 13 -n get -host -inet6 fc00:0:0:1::11 route to: fc00:0:0:1::11 destination: fc00:: mask: ffff:ffff:ffff:: gateway: ::1 interface: lo13 if address: ::1 priority: 8 (static) flags: use mtu expire 7 32768 0 DISABLED ==== run-ping-3-2 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.041 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.041/0.041/0.041/0.000 ms ==== run-ping6-3-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.047 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.047/0.047/0.047/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 1408031346 11264.251 100.00% Conn: 1 Mbps: 11264.251 Peak Mbps: 11264.251 Avg Mbps: 11264.251 2000 1411072908 11299.883 100.00% Conn: 1 Mbps: 11299.883 Peak Mbps: 11299.883 Avg Mbps: 11299.883 3000 1412284288 11298.274 100.00% Conn: 1 Mbps: 11298.274 Peak Mbps: 11299.883 Avg Mbps: 11298.274 4000 1405904668 11247.237 100.00% Conn: 1 Mbps: 11247.237 Peak Mbps: 11299.883 Avg Mbps: 11247.237 5000 1410452192 11283.618 100.00% Conn: 1 Mbps: 11283.618 Peak Mbps: 11299.883 Avg Mbps: 11283.618 --- 169.254.1.12 tcpbench statistics --- 8459604382 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11247.237/11278.653/11299.883/20.272 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 1340345620 10722.765 100.00% Conn: 1 Mbps: 10722.765 Peak Mbps: 10722.765 Avg Mbps: 10722.765 2000 1343413248 10758.064 100.00% Conn: 1 Mbps: 10758.064 Peak Mbps: 10758.064 Avg Mbps: 10758.064 3000 1360742128 10885.937 100.00% Conn: 1 Mbps: 10885.937 Peak Mbps: 10885.937 Avg Mbps: 10885.937 4000 1336775960 10694.208 100.00% Conn: 1 Mbps: 10694.208 Peak Mbps: 10885.937 Avg Mbps: 10694.208 5000 1322814768 10582.518 100.00% Conn: 1 Mbps: 10582.518 Peak Mbps: 10885.937 Avg Mbps: 10582.518 --- fc00:0:0:1::12 tcpbench statistics --- 8028247028 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10582.518/10728.698/10885.937/98.163 Mbps ==== run-ping-3-3 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.039 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-ping6-3-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.043 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-tcpbench-3-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 1420472080 11363.777 100.00% Conn: 1 Mbps: 11363.777 Peak Mbps: 11363.777 Avg Mbps: 11363.777 2000 1425304404 11413.849 100.00% Conn: 1 Mbps: 11413.849 Peak Mbps: 11413.849 Avg Mbps: 11413.849 3000 1428674164 11429.393 100.00% Conn: 1 Mbps: 11429.393 Peak Mbps: 11429.393 Avg Mbps: 11429.393 4000 1428445128 11427.561 100.00% Conn: 1 Mbps: 11427.561 Peak Mbps: 11429.393 Avg Mbps: 11427.561 5000 1428838584 11430.709 100.00% Conn: 1 Mbps: 11430.709 Peak Mbps: 11430.709 Avg Mbps: 11430.709 --- 169.254.0.13 tcpbench statistics --- 8559885908 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11363.777/11413.058/11430.709/25.369 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 1436124084 11488.993 100.00% Conn: 1 Mbps: 11488.993 Peak Mbps: 11488.993 Avg Mbps: 11488.993 2000 1441566640 11544.077 100.00% Conn: 1 Mbps: 11544.077 Peak Mbps: 11544.077 Avg Mbps: 11544.077 3000 1433359944 11466.880 100.00% Conn: 1 Mbps: 11466.880 Peak Mbps: 11544.077 Avg Mbps: 11466.880 4000 1435648664 11485.189 100.00% Conn: 1 Mbps: 11485.189 Peak Mbps: 11544.077 Avg Mbps: 11485.189 5000 1437054592 11496.437 100.00% Conn: 1 Mbps: 11496.437 Peak Mbps: 11544.077 Avg Mbps: 11496.437 --- fc00::13 tcpbench statistics --- 8617963964 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11466.880/11496.315/11544.077/25.788 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m51.81s