START sys/net/pair 2024-12-27T04:59:18Z ==== 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.037 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.037/0.037/0.037/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.054 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.054/0.054/0.054/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 655638468 5245.108 100.00% Conn: 1 Mbps: 5245.108 Peak Mbps: 5245.108 Avg Mbps: 5245.108 2000 657339340 5263.979 100.00% Conn: 1 Mbps: 5263.979 Peak Mbps: 5263.979 Avg Mbps: 5263.979 3000 653491108 5227.929 100.00% Conn: 1 Mbps: 5227.929 Peak Mbps: 5263.979 Avg Mbps: 5227.929 4000 654660864 5237.287 100.00% Conn: 1 Mbps: 5237.287 Peak Mbps: 5263.979 Avg Mbps: 5237.287 5000 650376892 5203.015 100.00% Conn: 1 Mbps: 5203.015 Peak Mbps: 5263.979 Avg Mbps: 5203.015 --- 169.254.1.11 tcpbench statistics --- 3923965940 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5203.015/5235.463/5263.979/20.095 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 661004928 5288.039 100.00% Conn: 1 Mbps: 5288.039 Peak Mbps: 5288.039 Avg Mbps: 5288.039 2000 654686312 5237.490 100.00% Conn: 1 Mbps: 5237.490 Peak Mbps: 5288.039 Avg Mbps: 5237.490 3000 657262912 5258.103 100.00% Conn: 1 Mbps: 5258.103 Peak Mbps: 5288.039 Avg Mbps: 5258.103 4000 657279288 5258.234 100.00% Conn: 1 Mbps: 5258.234 Peak Mbps: 5288.039 Avg Mbps: 5258.234 5000 658586888 5268.695 100.00% Conn: 1 Mbps: 5268.695 Peak Mbps: 5288.039 Avg Mbps: 5268.695 --- fc00:0:0:1::11 tcpbench statistics --- 3945766120 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5237.490/5262.113/5288.039/16.449 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.067 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.067/0.067/0.067/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.139 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.139/0.139/0.139/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 214102040 1712.816 100.00% Conn: 1 Mbps: 1712.816 Peak Mbps: 1712.816 Avg Mbps: 1712.816 2000 214272864 1714.183 100.00% Conn: 1 Mbps: 1714.183 Peak Mbps: 1714.183 Avg Mbps: 1714.183 3001 213641640 1709.133 100.00% Conn: 1 Mbps: 1709.133 Peak Mbps: 1714.183 Avg Mbps: 1709.133 4002 213842296 1710.738 100.00% Conn: 1 Mbps: 1710.738 Peak Mbps: 1714.183 Avg Mbps: 1710.738 5001 212843624 1704.453 100.00% Conn: 1 Mbps: 1704.453 Peak Mbps: 1714.183 Avg Mbps: 1704.453 --- 169.254.1.12 tcpbench statistics --- 1281077320 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1704.453/1710.265/1714.183/3.380 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 202535740 1620.286 100.00% Conn: 1 Mbps: 1620.286 Peak Mbps: 1620.286 Avg Mbps: 1620.286 2000 203381948 1627.056 100.00% Conn: 1 Mbps: 1627.056 Peak Mbps: 1627.056 Avg Mbps: 1627.056 3001 203471588 1627.773 100.00% Conn: 1 Mbps: 1627.773 Peak Mbps: 1627.773 Avg Mbps: 1627.773 4001 204300168 1636.037 100.00% Conn: 1 Mbps: 1636.037 Peak Mbps: 1636.037 Avg Mbps: 1636.037 5001 204513252 1636.106 100.00% Conn: 1 Mbps: 1636.106 Peak Mbps: 1636.106 Avg Mbps: 1636.106 --- fc00:0:0:1::12 tcpbench statistics --- 1222472524 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1620.286/1629.452/1636.106/6.004 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.059 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.059/0.059/0.059/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.068 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.068/0.068/0.068/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 339043964 2712.352 100.00% Conn: 1 Mbps: 2712.352 Peak Mbps: 2712.352 Avg Mbps: 2712.352 2000 339195116 2716.277 100.00% Conn: 1 Mbps: 2716.277 Peak Mbps: 2716.277 Avg Mbps: 2716.277 3000 339870696 2718.966 100.00% Conn: 1 Mbps: 2718.966 Peak Mbps: 2718.966 Avg Mbps: 2718.966 4000 340467076 2726.463 100.00% Conn: 1 Mbps: 2726.463 Peak Mbps: 2726.463 Avg Mbps: 2726.463 5000 340384376 2723.075 100.00% Conn: 1 Mbps: 2723.075 Peak Mbps: 2726.463 Avg Mbps: 2723.075 --- 169.254.0.13 tcpbench statistics --- 2040731356 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2712.352/2719.427/2726.463/4.960 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 310493752 2483.950 100.00% Conn: 1 Mbps: 2483.950 Peak Mbps: 2483.950 Avg Mbps: 2483.950 2000 309635968 2479.567 100.00% Conn: 1 Mbps: 2479.567 Peak Mbps: 2483.950 Avg Mbps: 2479.567 3000 309422432 2475.379 100.00% Conn: 1 Mbps: 2475.379 Peak Mbps: 2483.950 Avg Mbps: 2475.379 4000 310008584 2480.069 100.00% Conn: 1 Mbps: 2480.069 Peak Mbps: 2483.950 Avg Mbps: 2480.069 5000 310240056 2481.920 100.00% Conn: 1 Mbps: 2481.920 Peak Mbps: 2483.950 Avg Mbps: 2481.920 --- fc00::13 tcpbench statistics --- 1860222152 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2475.379/2480.177/2483.950/2.852 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.060 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.060/0.060/0.060/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.048 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.048/0.048/0.048/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 217244864 1737.959 100.00% Conn: 1 Mbps: 1737.959 Peak Mbps: 1737.959 Avg Mbps: 1737.959 2000 219890496 1759.124 100.00% Conn: 1 Mbps: 1759.124 Peak Mbps: 1759.124 Avg Mbps: 1759.124 3001 218878616 1751.029 100.00% Conn: 1 Mbps: 1751.029 Peak Mbps: 1759.124 Avg Mbps: 1751.029 4001 218155000 1745.240 100.00% Conn: 1 Mbps: 1745.240 Peak Mbps: 1759.124 Avg Mbps: 1745.240 5001 216770600 1734.165 100.00% Conn: 1 Mbps: 1734.165 Peak Mbps: 1759.124 Avg Mbps: 1734.165 --- 169.254.1.11 tcpbench statistics --- 1306297648 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1734.165/1745.503/1759.124/8.962 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 206829540 1654.636 100.00% Conn: 1 Mbps: 1654.636 Peak Mbps: 1654.636 Avg Mbps: 1654.636 2001 209514008 1676.112 100.00% Conn: 1 Mbps: 1676.112 Peak Mbps: 1676.112 Avg Mbps: 1676.112 3001 207159492 1658.935 100.00% Conn: 1 Mbps: 1658.935 Peak Mbps: 1676.112 Avg Mbps: 1658.935 4001 207359808 1658.878 100.00% Conn: 1 Mbps: 1658.878 Peak Mbps: 1676.112 Avg Mbps: 1658.878 5002 206576684 1652.613 100.00% Conn: 1 Mbps: 1652.613 Peak Mbps: 1676.112 Avg Mbps: 1652.613 --- fc00:0:0:1::11 tcpbench statistics --- 1243915012 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1652.613/1660.235/1676.112/8.307 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.051 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.051/0.051/0.051/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.045 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.045/0.045/0.045/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 619909128 4959.273 100.00% Conn: 1 Mbps: 4959.273 Peak Mbps: 4959.273 Avg Mbps: 4959.273 2000 611992856 4900.844 100.00% Conn: 1 Mbps: 4900.844 Peak Mbps: 4959.273 Avg Mbps: 4900.844 3000 615727248 4925.818 100.00% Conn: 1 Mbps: 4925.818 Peak Mbps: 4959.273 Avg Mbps: 4925.818 4000 613697152 4909.577 100.00% Conn: 1 Mbps: 4909.577 Peak Mbps: 4959.273 Avg Mbps: 4909.577 5000 615922728 4927.382 100.00% Conn: 1 Mbps: 4927.382 Peak Mbps: 4959.273 Avg Mbps: 4927.382 --- 169.254.1.12 tcpbench statistics --- 3687831616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4900.844/4924.579/4959.273/20.007 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 640232376 5121.859 100.00% Conn: 1 Mbps: 5121.859 Peak Mbps: 5121.859 Avg Mbps: 5121.859 2000 642709956 5146.826 100.00% Conn: 1 Mbps: 5146.826 Peak Mbps: 5146.826 Avg Mbps: 5146.826 3000 641532676 5132.261 100.00% Conn: 1 Mbps: 5132.261 Peak Mbps: 5146.826 Avg Mbps: 5132.261 4000 636975928 5095.807 100.00% Conn: 1 Mbps: 5095.807 Peak Mbps: 5146.826 Avg Mbps: 5095.807 5000 638879452 5111.036 100.00% Conn: 1 Mbps: 5111.036 Peak Mbps: 5146.826 Avg Mbps: 5111.036 --- fc00:0:0:1::12 tcpbench statistics --- 3836797948 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5095.807/5121.558/5146.826/17.475 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.058 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.058/0.058/0.058/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.054 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.054/0.054/0.054/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 1079616740 8636.934 100.00% Conn: 1 Mbps: 8636.934 Peak Mbps: 8636.934 Avg Mbps: 8636.934 2000 1076765350 8622.746 100.00% Conn: 1 Mbps: 8622.746 Peak Mbps: 8636.934 Avg Mbps: 8622.746 3000 1075620290 8613.576 100.00% Conn: 1 Mbps: 8613.576 Peak Mbps: 8636.934 Avg Mbps: 8613.576 4000 1072855788 8582.846 100.00% Conn: 1 Mbps: 8582.846 Peak Mbps: 8636.934 Avg Mbps: 8582.846 5000 1073608256 8588.866 100.00% Conn: 1 Mbps: 8588.866 Peak Mbps: 8636.934 Avg Mbps: 8588.866 --- 169.254.0.13 tcpbench statistics --- 6455755230 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8582.846/8608.994/8636.934/20.394 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 1046294684 8370.357 100.00% Conn: 1 Mbps: 8370.357 Peak Mbps: 8370.357 Avg Mbps: 8370.357 2000 1037672952 8309.693 100.00% Conn: 1 Mbps: 8309.693 Peak Mbps: 8370.357 Avg Mbps: 8309.693 3000 1037149816 8297.199 100.00% Conn: 1 Mbps: 8297.199 Peak Mbps: 8370.357 Avg Mbps: 8297.199 4000 1039602016 8316.816 100.00% Conn: 1 Mbps: 8316.816 Peak Mbps: 8370.357 Avg Mbps: 8316.816 5000 1030577920 8244.623 100.00% Conn: 1 Mbps: 8244.623 Peak Mbps: 8370.357 Avg Mbps: 8244.623 --- fc00::13 tcpbench statistics --- 6224948732 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8244.623/8307.738/8370.357/40.254 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.060 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.060/0.060/0.060/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.057 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.057/0.057/0.057/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 212157104 1697.257 100.00% Conn: 1 Mbps: 1697.257 Peak Mbps: 1697.257 Avg Mbps: 1697.257 2001 212477672 1699.821 100.00% Conn: 1 Mbps: 1699.821 Peak Mbps: 1699.821 Avg Mbps: 1699.821 3001 213470000 1707.760 100.00% Conn: 1 Mbps: 1707.760 Peak Mbps: 1707.760 Avg Mbps: 1707.760 4001 213646376 1709.171 100.00% Conn: 1 Mbps: 1709.171 Peak Mbps: 1709.171 Avg Mbps: 1709.171 5002 213654056 1709.232 100.00% Conn: 1 Mbps: 1709.232 Peak Mbps: 1709.232 Avg Mbps: 1709.232 --- 169.254.1.11 tcpbench statistics --- 1278786144 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1697.257/1704.648/1709.232/5.081 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 317309536 2538.476 100.00% Conn: 1 Mbps: 2538.476 Peak Mbps: 2538.476 Avg Mbps: 2538.476 2000 315721160 2525.769 100.00% Conn: 1 Mbps: 2525.769 Peak Mbps: 2538.476 Avg Mbps: 2525.769 3000 314660488 2517.284 100.00% Conn: 1 Mbps: 2517.284 Peak Mbps: 2538.476 Avg Mbps: 2517.284 4001 313001176 2504.009 100.00% Conn: 1 Mbps: 2504.009 Peak Mbps: 2538.476 Avg Mbps: 2504.009 5001 313053656 2506.936 100.00% Conn: 1 Mbps: 2506.936 Peak Mbps: 2538.476 Avg Mbps: 2506.936 --- fc00:0:0:1::11 tcpbench statistics --- 1887692728 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2504.009/2518.495/2538.476/12.626 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.047 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.047/0.047/0.047/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.050 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.050/0.050/0.050/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 1070330438 8562.644 100.00% Conn: 1 Mbps: 8562.644 Peak Mbps: 8562.644 Avg Mbps: 8562.644 2000 1076961646 8624.317 100.00% Conn: 1 Mbps: 8624.317 Peak Mbps: 8624.317 Avg Mbps: 8624.317 3000 1067163204 8537.306 100.00% Conn: 1 Mbps: 8537.306 Peak Mbps: 8624.317 Avg Mbps: 8537.306 4000 1070729248 8565.834 100.00% Conn: 1 Mbps: 8565.834 Peak Mbps: 8624.317 Avg Mbps: 8565.834 5000 1079251766 8634.014 100.00% Conn: 1 Mbps: 8634.014 Peak Mbps: 8634.014 Avg Mbps: 8634.014 --- 169.254.1.12 tcpbench statistics --- 6437668324 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8537.306/8584.823/8634.014/37.656 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 1028068104 8224.545 100.00% Conn: 1 Mbps: 8224.545 Peak Mbps: 8224.545 Avg Mbps: 8224.545 2000 1023940632 8199.725 100.00% Conn: 1 Mbps: 8199.725 Peak Mbps: 8224.545 Avg Mbps: 8199.725 3000 1017336040 8138.688 100.00% Conn: 1 Mbps: 8138.688 Peak Mbps: 8224.545 Avg Mbps: 8138.688 4000 1008279248 8066.234 100.00% Conn: 1 Mbps: 8066.234 Peak Mbps: 8224.545 Avg Mbps: 8066.234 5000 1011614240 8092.914 100.00% Conn: 1 Mbps: 8092.914 Peak Mbps: 8224.545 Avg Mbps: 8092.914 --- fc00:0:0:1::12 tcpbench statistics --- 6098694568 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8066.234/8144.421/8224.545/60.461 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.050 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.050/0.050/0.050/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.047 ms --- fc00::13 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-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 1120376288 8963.010 100.00% Conn: 1 Mbps: 8963.010 Peak Mbps: 8963.010 Avg Mbps: 8963.010 2000 1115173934 8930.322 100.00% Conn: 1 Mbps: 8930.322 Peak Mbps: 8963.010 Avg Mbps: 8930.322 3000 1114077948 8912.624 100.00% Conn: 1 Mbps: 8912.624 Peak Mbps: 8963.010 Avg Mbps: 8912.624 4000 1119871984 8958.976 100.00% Conn: 1 Mbps: 8958.976 Peak Mbps: 8963.010 Avg Mbps: 8958.976 5000 1113280566 8906.245 100.00% Conn: 1 Mbps: 8906.245 Peak Mbps: 8963.010 Avg Mbps: 8906.245 --- 169.254.0.13 tcpbench statistics --- 6698543542 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8906.245/8934.235/8963.010/23.264 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 1108389728 8867.118 100.00% Conn: 1 Mbps: 8867.118 Peak Mbps: 8867.118 Avg Mbps: 8867.118 2000 1105713328 8854.561 100.00% Conn: 1 Mbps: 8854.561 Peak Mbps: 8867.118 Avg Mbps: 8854.561 3000 1102411032 8819.288 100.00% Conn: 1 Mbps: 8819.288 Peak Mbps: 8867.118 Avg Mbps: 8819.288 4000 1103588088 8828.705 100.00% Conn: 1 Mbps: 8828.705 Peak Mbps: 8867.118 Avg Mbps: 8828.705 5000 1104372792 8834.982 100.00% Conn: 1 Mbps: 8834.982 Peak Mbps: 8867.118 Avg Mbps: 8834.982 --- fc00::13 tcpbench statistics --- 6628259232 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8819.288/8840.931/8867.118/17.463 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.88s