START sys/net/pair 2024-03-15T05:03:33Z ==== 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.060 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.060/0.060/0.060/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 542951724 4343.614 100.00% Conn: 1 Mbps: 4343.614 Peak Mbps: 4343.614 Avg Mbps: 4343.614 2000 544183664 4357.827 100.00% Conn: 1 Mbps: 4357.827 Peak Mbps: 4357.827 Avg Mbps: 4357.827 3000 544700284 4357.602 100.00% Conn: 1 Mbps: 4357.602 Peak Mbps: 4357.827 Avg Mbps: 4357.602 4000 546273988 4370.192 100.00% Conn: 1 Mbps: 4370.192 Peak Mbps: 4370.192 Avg Mbps: 4370.192 5000 544652596 4357.221 100.00% Conn: 1 Mbps: 4357.221 Peak Mbps: 4370.192 Avg Mbps: 4357.221 --- 169.254.1.11 tcpbench statistics --- 3267494332 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4343.614/4357.291/4370.192/8.413 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 537328128 4298.625 100.00% Conn: 1 Mbps: 4298.625 Peak Mbps: 4298.625 Avg Mbps: 4298.625 2000 537692816 4305.848 100.00% Conn: 1 Mbps: 4305.848 Peak Mbps: 4305.848 Avg Mbps: 4305.848 3000 537914800 4303.318 100.00% Conn: 1 Mbps: 4303.318 Peak Mbps: 4305.848 Avg Mbps: 4303.318 4000 538477688 4307.822 100.00% Conn: 1 Mbps: 4307.822 Peak Mbps: 4307.822 Avg Mbps: 4307.822 5000 539238776 4313.910 100.00% Conn: 1 Mbps: 4313.910 Peak Mbps: 4313.910 Avg Mbps: 4313.910 --- fc00:0:0:1::11 tcpbench statistics --- 3231072256 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4298.625/4305.905/4313.910/5.049 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.094 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.094/0.094/0.094/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.161 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.161/0.161/0.161/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 219772336 1758.179 100.00% Conn: 1 Mbps: 1758.179 Peak Mbps: 1758.179 Avg Mbps: 1758.179 2000 224787488 1798.300 100.00% Conn: 1 Mbps: 1798.300 Peak Mbps: 1798.300 Avg Mbps: 1798.300 3000 223803072 1792.217 100.00% Conn: 1 Mbps: 1792.217 Peak Mbps: 1798.300 Avg Mbps: 1792.217 4001 220660120 1765.281 100.00% Conn: 1 Mbps: 1765.281 Peak Mbps: 1798.300 Avg Mbps: 1765.281 5001 221599432 1772.795 100.00% Conn: 1 Mbps: 1772.795 Peak Mbps: 1798.300 Avg Mbps: 1772.795 --- 169.254.1.12 tcpbench statistics --- 1332199880 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1758.179/1777.354/1798.300/15.452 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1001 210664224 1683.630 100.00% Conn: 1 Mbps: 1683.630 Peak Mbps: 1683.630 Avg Mbps: 1683.630 2000 209642424 1678.818 100.00% Conn: 1 Mbps: 1678.818 Peak Mbps: 1683.630 Avg Mbps: 1678.818 3001 206585416 1652.683 100.00% Conn: 1 Mbps: 1652.683 Peak Mbps: 1683.630 Avg Mbps: 1652.683 4002 207393664 1659.149 100.00% Conn: 1 Mbps: 1659.149 Peak Mbps: 1683.630 Avg Mbps: 1659.149 5002 206000432 1648.003 100.00% Conn: 1 Mbps: 1648.003 Peak Mbps: 1683.630 Avg Mbps: 1648.003 --- fc00:0:0:1::12 tcpbench statistics --- 1247870768 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1648.003/1664.457/1683.630/14.222 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.075 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.075/0.075/0.075/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.080 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.080/0.080/0.080/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 308334572 2466.677 100.00% Conn: 1 Mbps: 2466.677 Peak Mbps: 2466.677 Avg Mbps: 2466.677 2000 308668528 2471.820 100.00% Conn: 1 Mbps: 2471.820 Peak Mbps: 2471.820 Avg Mbps: 2471.820 3000 309415500 2475.324 100.00% Conn: 1 Mbps: 2475.324 Peak Mbps: 2475.324 Avg Mbps: 2475.324 4000 308166964 2465.336 100.00% Conn: 1 Mbps: 2465.336 Peak Mbps: 2475.324 Avg Mbps: 2465.336 5000 310552204 2484.418 100.00% Conn: 1 Mbps: 2484.418 Peak Mbps: 2484.418 Avg Mbps: 2484.418 --- 169.254.0.13 tcpbench statistics --- 1853520168 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2465.336/2472.715/2484.418/6.863 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 270217952 2161.744 100.00% Conn: 1 Mbps: 2161.744 Peak Mbps: 2161.744 Avg Mbps: 2161.744 2000 270638656 2167.277 100.00% Conn: 1 Mbps: 2167.277 Peak Mbps: 2167.277 Avg Mbps: 2167.277 3000 271650192 2173.202 100.00% Conn: 1 Mbps: 2173.202 Peak Mbps: 2173.202 Avg Mbps: 2173.202 4000 272120672 2176.965 100.00% Conn: 1 Mbps: 2176.965 Peak Mbps: 2176.965 Avg Mbps: 2176.965 5000 270638656 2165.109 100.00% Conn: 1 Mbps: 2165.109 Peak Mbps: 2176.965 Avg Mbps: 2165.109 --- fc00::13 tcpbench statistics --- 1625492008 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2161.744/2168.859/2176.965/5.509 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.059 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.059/0.059/0.059/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.059 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.059/0.059/0.059/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 218716192 1749.730 100.00% Conn: 1 Mbps: 1749.730 Peak Mbps: 1749.730 Avg Mbps: 1749.730 2000 220850312 1768.571 100.00% Conn: 1 Mbps: 1768.571 Peak Mbps: 1768.571 Avg Mbps: 1768.571 3000 221745168 1773.961 100.00% Conn: 1 Mbps: 1773.961 Peak Mbps: 1773.961 Avg Mbps: 1773.961 4000 217681648 1743.196 100.00% Conn: 1 Mbps: 1743.196 Peak Mbps: 1773.961 Avg Mbps: 1743.196 5000 218867728 1750.942 100.00% Conn: 1 Mbps: 1750.942 Peak Mbps: 1773.961 Avg Mbps: 1750.942 --- 169.254.1.11 tcpbench statistics --- 1318103040 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1743.196/1757.280/1773.961/11.843 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 211468900 1691.751 100.00% Conn: 1 Mbps: 1691.751 Peak Mbps: 1691.751 Avg Mbps: 1691.751 2000 214106656 1712.853 100.00% Conn: 1 Mbps: 1712.853 Peak Mbps: 1712.853 Avg Mbps: 1712.853 3000 213195012 1705.560 100.00% Conn: 1 Mbps: 1705.560 Peak Mbps: 1712.853 Avg Mbps: 1705.560 4001 212014052 1696.112 100.00% Conn: 1 Mbps: 1696.112 Peak Mbps: 1712.853 Avg Mbps: 1696.112 5001 211149232 1689.194 100.00% Conn: 1 Mbps: 1689.194 Peak Mbps: 1712.853 Avg Mbps: 1689.194 --- fc00:0:0:1::11 tcpbench statistics --- 1271844032 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1689.194/1699.094/1712.853/8.854 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.063 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.063/0.063/0.063/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.060 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.060/0.060/0.060/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 542697368 4341.579 100.00% Conn: 1 Mbps: 4341.579 Peak Mbps: 4341.579 Avg Mbps: 4341.579 2000 537739416 4306.222 100.00% Conn: 1 Mbps: 4306.222 Peak Mbps: 4341.579 Avg Mbps: 4306.222 3000 534956360 4279.651 100.00% Conn: 1 Mbps: 4279.651 Peak Mbps: 4341.579 Avg Mbps: 4279.651 4000 543192584 4345.541 100.00% Conn: 1 Mbps: 4345.541 Peak Mbps: 4345.541 Avg Mbps: 4345.541 5000 539558104 4320.786 100.00% Conn: 1 Mbps: 4320.786 Peak Mbps: 4345.541 Avg Mbps: 4320.786 --- 169.254.1.12 tcpbench statistics --- 3241502936 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4279.651/4318.756/4345.541/24.202 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 531164592 4249.317 100.00% Conn: 1 Mbps: 4249.317 Peak Mbps: 4249.317 Avg Mbps: 4249.317 2000 528190068 4229.750 100.00% Conn: 1 Mbps: 4229.750 Peak Mbps: 4249.317 Avg Mbps: 4229.750 3000 527451792 4219.614 100.00% Conn: 1 Mbps: 4219.614 Peak Mbps: 4249.317 Avg Mbps: 4219.614 4000 525742476 4210.150 100.00% Conn: 1 Mbps: 4210.150 Peak Mbps: 4249.317 Avg Mbps: 4210.150 5000 527993004 4223.944 100.00% Conn: 1 Mbps: 4223.944 Peak Mbps: 4249.317 Avg Mbps: 4223.944 --- fc00:0:0:1::12 tcpbench statistics --- 3167385396 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4210.150/4226.555/4249.317/13.057 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.062 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.062/0.062/0.062/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.062 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.062/0.062/0.062/0.000 ms ==== run-tcpbench-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 1018143226 8145.146 100.00% Conn: 1 Mbps: 8145.146 Peak Mbps: 8145.146 Avg Mbps: 8145.146 2000 1018318216 8154.700 100.00% Conn: 1 Mbps: 8154.700 Peak Mbps: 8154.700 Avg Mbps: 8154.700 3000 1015439208 8123.514 100.00% Conn: 1 Mbps: 8123.514 Peak Mbps: 8154.700 Avg Mbps: 8123.514 4000 1016208034 8129.664 100.00% Conn: 1 Mbps: 8129.664 Peak Mbps: 8154.700 Avg Mbps: 8129.664 5000 1016486120 8131.889 100.00% Conn: 1 Mbps: 8131.889 Peak Mbps: 8154.700 Avg Mbps: 8131.889 --- 169.254.0.13 tcpbench statistics --- 6101211788 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8123.514/8136.983/8154.700/11.327 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 996976368 7975.811 100.00% Conn: 1 Mbps: 7975.811 Peak Mbps: 7975.811 Avg Mbps: 7975.811 2000 999778288 8006.233 100.00% Conn: 1 Mbps: 8006.233 Peak Mbps: 8006.233 Avg Mbps: 8006.233 3000 998208880 7985.671 100.00% Conn: 1 Mbps: 7985.671 Peak Mbps: 8006.233 Avg Mbps: 7985.671 4000 999614808 7996.918 100.00% Conn: 1 Mbps: 7996.918 Peak Mbps: 8006.233 Avg Mbps: 7996.918 5000 1002295880 8018.367 100.00% Conn: 1 Mbps: 8018.367 Peak Mbps: 8018.367 Avg Mbps: 8018.367 --- fc00::13 tcpbench statistics --- 5999464368 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7975.811/7996.600/8018.367/14.955 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.064 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.064/0.064/0.064/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.075 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.075/0.075/0.075/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 215872440 1726.980 100.00% Conn: 1 Mbps: 1726.980 Peak Mbps: 1726.980 Avg Mbps: 1726.980 2000 215516072 1724.129 100.00% Conn: 1 Mbps: 1724.129 Peak Mbps: 1726.980 Avg Mbps: 1724.129 3001 217573192 1740.586 100.00% Conn: 1 Mbps: 1740.586 Peak Mbps: 1740.586 Avg Mbps: 1740.586 4001 214621024 1716.968 100.00% Conn: 1 Mbps: 1716.968 Peak Mbps: 1740.586 Avg Mbps: 1716.968 5002 213698536 1709.588 100.00% Conn: 1 Mbps: 1709.588 Peak Mbps: 1740.586 Avg Mbps: 1709.588 --- 169.254.1.11 tcpbench statistics --- 1292119096 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1709.588/1723.650/1740.586/10.397 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 305009040 2440.072 100.00% Conn: 1 Mbps: 2440.072 Peak Mbps: 2440.072 Avg Mbps: 2440.072 2001 304940328 2439.523 100.00% Conn: 1 Mbps: 2439.523 Peak Mbps: 2440.072 Avg Mbps: 2439.523 3001 305270104 2442.161 100.00% Conn: 1 Mbps: 2442.161 Peak Mbps: 2442.161 Avg Mbps: 2442.161 4002 303798000 2430.384 100.00% Conn: 1 Mbps: 2430.384 Peak Mbps: 2442.161 Avg Mbps: 2430.384 5002 306212584 2449.701 100.00% Conn: 1 Mbps: 2449.701 Peak Mbps: 2449.701 Avg Mbps: 2449.701 --- fc00:0:0:1::11 tcpbench statistics --- 1829274600 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2430.384/2440.368/2449.701/6.177 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.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-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.067 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.067/0.067/0.067/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 1017488670 8139.909 100.00% Conn: 1 Mbps: 8139.909 Peak Mbps: 8139.909 Avg Mbps: 8139.909 2000 996954668 7983.621 100.00% Conn: 1 Mbps: 7983.621 Peak Mbps: 8139.909 Avg Mbps: 7983.621 3000 1007325640 8058.605 100.00% Conn: 1 Mbps: 8058.605 Peak Mbps: 8139.909 Avg Mbps: 8058.605 4000 1004937372 8039.499 100.00% Conn: 1 Mbps: 8039.499 Peak Mbps: 8139.909 Avg Mbps: 8039.499 5000 1007456504 8059.652 100.00% Conn: 1 Mbps: 8059.652 Peak Mbps: 8139.909 Avg Mbps: 8059.652 --- 169.254.1.12 tcpbench statistics --- 6040965038 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7983.621/8056.257/8139.909/50.143 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 997940540 7983.524 100.00% Conn: 1 Mbps: 7983.524 Peak Mbps: 7983.524 Avg Mbps: 7983.524 2000 997620352 7988.952 100.00% Conn: 1 Mbps: 7988.952 Peak Mbps: 7988.952 Avg Mbps: 7988.952 3000 998633928 7989.071 100.00% Conn: 1 Mbps: 7989.071 Peak Mbps: 7989.071 Avg Mbps: 7989.071 4000 1000857256 8006.858 100.00% Conn: 1 Mbps: 8006.858 Peak Mbps: 8006.858 Avg Mbps: 8006.858 5000 999810984 7998.488 100.00% Conn: 1 Mbps: 7998.488 Peak Mbps: 8006.858 Avg Mbps: 7998.488 --- fc00:0:0:1::12 tcpbench statistics --- 5991829492 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7983.524/7993.379/8006.858/8.283 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.055 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.055/0.055/0.055/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.053 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.053/0.053/0.053/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 1027431498 8219.452 100.00% Conn: 1 Mbps: 8219.452 Peak Mbps: 8219.452 Avg Mbps: 8219.452 2000 1026071908 8216.792 100.00% Conn: 1 Mbps: 8216.792 Peak Mbps: 8219.452 Avg Mbps: 8216.792 3000 1029408940 8235.272 100.00% Conn: 1 Mbps: 8235.272 Peak Mbps: 8235.272 Avg Mbps: 8235.272 4000 1029114496 8232.916 100.00% Conn: 1 Mbps: 8232.916 Peak Mbps: 8235.272 Avg Mbps: 8232.916 5000 1030684864 8245.479 100.00% Conn: 1 Mbps: 8245.479 Peak Mbps: 8245.479 Avg Mbps: 8245.479 --- 169.254.0.13 tcpbench statistics --- 6172905830 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8216.792/8229.982/8245.479/10.598 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 1040094436 8320.755 100.00% Conn: 1 Mbps: 8320.755 Peak Mbps: 8320.755 Avg Mbps: 8320.755 2000 1045421904 8371.747 100.00% Conn: 1 Mbps: 8371.747 Peak Mbps: 8371.747 Avg Mbps: 8371.747 3000 1043525536 8348.204 100.00% Conn: 1 Mbps: 8348.204 Peak Mbps: 8371.747 Avg Mbps: 8348.204 4000 1043427448 8347.420 100.00% Conn: 1 Mbps: 8347.420 Peak Mbps: 8371.747 Avg Mbps: 8347.420 5000 1039503928 8316.031 100.00% Conn: 1 Mbps: 8316.031 Peak Mbps: 8371.747 Avg Mbps: 8316.031 --- fc00::13 tcpbench statistics --- 6250954044 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8316.031/8340.832/8371.747/20.355 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 1m52.96s