START sys/net/pair 2024-03-25T09:30:09Z ==== 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.173 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.173/0.173/0.173/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.216 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.216/0.216/0.216/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 196736704 1573.894 100.00% Conn: 1 Mbps: 1573.894 Peak Mbps: 1573.894 Avg Mbps: 1573.894 2000 192580040 1540.640 100.00% Conn: 1 Mbps: 1540.640 Peak Mbps: 1573.894 Avg Mbps: 1540.640 3000 191117608 1530.471 100.00% Conn: 1 Mbps: 1530.471 Peak Mbps: 1573.894 Avg Mbps: 1530.471 4000 191038128 1528.305 100.00% Conn: 1 Mbps: 1528.305 Peak Mbps: 1573.894 Avg Mbps: 1528.305 5000 190402288 1524.743 100.00% Conn: 1 Mbps: 1524.743 Peak Mbps: 1573.894 Avg Mbps: 1524.743 --- 169.254.1.11 tcpbench statistics --- 1152459860 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1524.743/1539.611/1573.894/17.938 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 210683872 1685.471 100.00% Conn: 1 Mbps: 1685.471 Peak Mbps: 1685.471 Avg Mbps: 1685.471 2000 206469424 1651.755 100.00% Conn: 1 Mbps: 1651.755 Peak Mbps: 1685.471 Avg Mbps: 1651.755 3000 207301344 1658.411 100.00% Conn: 1 Mbps: 1658.411 Peak Mbps: 1685.471 Avg Mbps: 1658.411 4000 204265440 1634.124 100.00% Conn: 1 Mbps: 1634.124 Peak Mbps: 1685.471 Avg Mbps: 1634.124 5000 205002224 1640.018 100.00% Conn: 1 Mbps: 1640.018 Peak Mbps: 1685.471 Avg Mbps: 1640.018 --- fc00:0:0:1::11 tcpbench statistics --- 1239350840 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1634.124/1653.956/1685.471/17.919 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.249 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.249/0.249/0.249/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.420 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.420/0.420/0.420/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 1003 86942376 693.459 100.00% Conn: 1 Mbps: 693.459 Peak Mbps: 693.459 Avg Mbps: 693.459 2003 86872816 695.678 100.00% Conn: 1 Mbps: 695.678 Peak Mbps: 695.678 Avg Mbps: 695.678 3002 86465872 692.419 100.00% Conn: 1 Mbps: 692.419 Peak Mbps: 695.678 Avg Mbps: 692.419 4006 87554992 698.345 100.00% Conn: 1 Mbps: 698.345 Peak Mbps: 698.345 Avg Mbps: 698.345 5009 87561288 699.092 100.00% Conn: 1 Mbps: 699.092 Peak Mbps: 699.092 Avg Mbps: 699.092 --- 169.254.1.12 tcpbench statistics --- 521770824 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 692.419/695.799/699.092/2.617 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 1002 85504356 682.670 100.00% Conn: 1 Mbps: 682.670 Peak Mbps: 682.670 Avg Mbps: 682.670 2002 84883996 679.072 100.00% Conn: 1 Mbps: 679.072 Peak Mbps: 682.670 Avg Mbps: 679.072 3006 85532308 681.532 100.00% Conn: 1 Mbps: 681.532 Peak Mbps: 682.670 Avg Mbps: 681.532 4008 85775676 685.520 100.00% Conn: 1 Mbps: 685.520 Peak Mbps: 685.520 Avg Mbps: 685.520 5008 85672860 686.069 100.00% Conn: 1 Mbps: 686.069 Peak Mbps: 686.069 Avg Mbps: 686.069 --- fc00:0:0:1::12 tcpbench statistics --- 512481064 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 679.072/682.973/686.069/2.587 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.219 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.219/0.219/0.219/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.280 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.280/0.280/0.280/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 112146280 897.170 100.00% Conn: 1 Mbps: 897.170 Peak Mbps: 897.170 Avg Mbps: 897.170 2000 110636160 885.975 100.00% Conn: 1 Mbps: 885.975 Peak Mbps: 897.170 Avg Mbps: 885.975 3000 110818964 886.552 100.00% Conn: 1 Mbps: 886.552 Peak Mbps: 897.170 Avg Mbps: 886.552 4000 110962028 887.696 100.00% Conn: 1 Mbps: 887.696 Peak Mbps: 897.170 Avg Mbps: 887.696 5000 110493096 883.945 100.00% Conn: 1 Mbps: 883.945 Peak Mbps: 897.170 Avg Mbps: 883.945 --- 169.254.0.13 tcpbench statistics --- 666018556 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 883.945/888.268/897.170/4.615 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 104356264 834.850 100.00% Conn: 1 Mbps: 834.850 Peak Mbps: 834.850 Avg Mbps: 834.850 2000 103864728 830.918 100.00% Conn: 1 Mbps: 830.918 Peak Mbps: 834.850 Avg Mbps: 830.918 3000 104284912 834.279 100.00% Conn: 1 Mbps: 834.279 Peak Mbps: 834.850 Avg Mbps: 834.279 4000 103246344 825.971 100.00% Conn: 1 Mbps: 825.971 Peak Mbps: 834.850 Avg Mbps: 825.971 5000 104300768 834.406 100.00% Conn: 1 Mbps: 834.406 Peak Mbps: 834.850 Avg Mbps: 834.406 --- fc00::13 tcpbench statistics --- 623703688 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 825.971/832.085/834.850/3.364 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.182 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.182/0.182/0.182/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.234 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.234/0.234/0.234/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 1003 87488160 697.812 100.00% Conn: 1 Mbps: 697.812 Peak Mbps: 697.812 Avg Mbps: 697.812 2002 87515840 700.828 100.00% Conn: 1 Mbps: 700.828 Peak Mbps: 700.828 Avg Mbps: 700.828 3005 87373992 697.597 100.00% Conn: 1 Mbps: 697.597 Peak Mbps: 700.828 Avg Mbps: 697.597 4004 87997968 705.395 100.00% Conn: 1 Mbps: 705.395 Peak Mbps: 705.395 Avg Mbps: 705.395 5006 88045752 703.662 100.00% Conn: 1 Mbps: 703.662 Peak Mbps: 705.395 Avg Mbps: 703.662 --- 169.254.1.11 tcpbench statistics --- 526151800 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 697.597/701.059/705.395/3.104 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 1001 85872992 686.298 100.00% Conn: 1 Mbps: 686.298 Peak Mbps: 686.298 Avg Mbps: 686.298 2003 85504780 683.355 100.00% Conn: 1 Mbps: 683.355 Peak Mbps: 686.298 Avg Mbps: 683.355 3003 85591676 684.733 100.00% Conn: 1 Mbps: 684.733 Peak Mbps: 686.298 Avg Mbps: 684.733 4004 86033140 688.265 100.00% Conn: 1 Mbps: 688.265 Peak Mbps: 688.265 Avg Mbps: 688.265 5007 86081480 687.277 100.00% Conn: 1 Mbps: 687.277 Peak Mbps: 688.265 Avg Mbps: 687.277 --- fc00:0:0:1::11 tcpbench statistics --- 514803656 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 683.355/685.986/688.265/1.758 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.166 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.166/0.166/0.166/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.199 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.199/0.199/0.199/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 189825616 1518.605 100.00% Conn: 1 Mbps: 1518.605 Peak Mbps: 1518.605 Avg Mbps: 1518.605 2000 189418672 1516.866 100.00% Conn: 1 Mbps: 1516.866 Peak Mbps: 1518.605 Avg Mbps: 1516.866 3000 188710600 1509.685 100.00% Conn: 1 Mbps: 1509.685 Peak Mbps: 1518.605 Avg Mbps: 1509.685 4000 189712616 1519.220 100.00% Conn: 1 Mbps: 1519.220 Peak Mbps: 1519.220 Avg Mbps: 1519.220 5000 186875984 1495.008 100.00% Conn: 1 Mbps: 1495.008 Peak Mbps: 1519.220 Avg Mbps: 1495.008 --- 169.254.1.12 tcpbench statistics --- 1132023288 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1495.008/1511.877/1519.220/9.093 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 195496268 1563.970 100.00% Conn: 1 Mbps: 1563.970 Peak Mbps: 1563.970 Avg Mbps: 1563.970 2000 193005016 1544.040 100.00% Conn: 1 Mbps: 1544.040 Peak Mbps: 1563.970 Avg Mbps: 1544.040 3000 192839368 1542.715 100.00% Conn: 1 Mbps: 1542.715 Peak Mbps: 1563.970 Avg Mbps: 1542.715 4000 192110268 1536.882 100.00% Conn: 1 Mbps: 1536.882 Peak Mbps: 1563.970 Avg Mbps: 1536.882 5000 190259580 1522.077 100.00% Conn: 1 Mbps: 1522.077 Peak Mbps: 1563.970 Avg Mbps: 1522.077 --- fc00:0:0:1::12 tcpbench statistics --- 1155950716 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1522.077/1541.937/1563.970/13.494 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.162 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.162/0.162/0.162/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.212 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.212/0.212/0.212/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 307988492 2463.908 100.00% Conn: 1 Mbps: 2463.908 Peak Mbps: 2463.908 Avg Mbps: 2463.908 2000 306009106 2450.523 100.00% Conn: 1 Mbps: 2450.523 Peak Mbps: 2463.908 Avg Mbps: 2450.523 3000 304258800 2434.070 100.00% Conn: 1 Mbps: 2434.070 Peak Mbps: 2463.908 Avg Mbps: 2434.070 4000 305960032 2447.680 100.00% Conn: 1 Mbps: 2447.680 Peak Mbps: 2463.908 Avg Mbps: 2447.680 5000 305960032 2447.680 100.00% Conn: 1 Mbps: 2447.680 Peak Mbps: 2463.908 Avg Mbps: 2447.680 --- 169.254.0.13 tcpbench statistics --- 1835940198 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2434.070/2448.772/2463.908/9.494 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 330479212 2643.834 100.00% Conn: 1 Mbps: 2643.834 Peak Mbps: 2643.834 Avg Mbps: 2643.834 2000 322709520 2581.676 100.00% Conn: 1 Mbps: 2581.676 Peak Mbps: 2643.834 Avg Mbps: 2581.676 3000 324475104 2595.801 100.00% Conn: 1 Mbps: 2595.801 Peak Mbps: 2643.834 Avg Mbps: 2595.801 4000 325521376 2604.171 100.00% Conn: 1 Mbps: 2604.171 Peak Mbps: 2643.834 Avg Mbps: 2604.171 5000 326829216 2614.634 100.00% Conn: 1 Mbps: 2614.634 Peak Mbps: 2643.834 Avg Mbps: 2614.634 --- fc00::13 tcpbench statistics --- 1956647468 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2581.676/2608.023/2643.834/20.902 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.174 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.174/0.174/0.174/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.241 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.241/0.241/0.241/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 85779520 686.236 100.00% Conn: 1 Mbps: 686.236 Peak Mbps: 686.236 Avg Mbps: 686.236 2002 86523792 691.499 100.00% Conn: 1 Mbps: 691.499 Peak Mbps: 691.499 Avg Mbps: 691.499 3000 86326864 691.999 100.00% Conn: 1 Mbps: 691.999 Peak Mbps: 691.999 Avg Mbps: 691.999 4002 86577368 691.927 100.00% Conn: 1 Mbps: 691.927 Peak Mbps: 691.999 Avg Mbps: 691.927 5003 86703344 692.934 100.00% Conn: 1 Mbps: 692.934 Peak Mbps: 692.934 Avg Mbps: 692.934 --- 169.254.1.11 tcpbench statistics --- 517565880 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 686.236/690.919/692.934/2.388 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1002 136747728 1091.798 100.00% Conn: 1 Mbps: 1091.798 Peak Mbps: 1091.798 Avg Mbps: 1091.798 2003 135002120 1080.017 100.00% Conn: 1 Mbps: 1080.017 Peak Mbps: 1091.798 Avg Mbps: 1080.017 3003 134749328 1077.995 100.00% Conn: 1 Mbps: 1077.995 Peak Mbps: 1091.798 Avg Mbps: 1077.995 4004 135387680 1083.101 100.00% Conn: 1 Mbps: 1083.101 Peak Mbps: 1091.798 Avg Mbps: 1083.101 5004 133719080 1069.753 100.00% Conn: 1 Mbps: 1069.753 Peak Mbps: 1091.798 Avg Mbps: 1069.753 --- fc00:0:0:1::11 tcpbench statistics --- 809957272 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 1069.753/1080.533/1091.798/7.161 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.199 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.199/0.199/0.199/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.217 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.217/0.217/0.217/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 331463496 2651.708 100.00% Conn: 1 Mbps: 2651.708 Peak Mbps: 2651.708 Avg Mbps: 2651.708 2000 331314932 2653.173 100.00% Conn: 1 Mbps: 2653.173 Peak Mbps: 2653.173 Avg Mbps: 2653.173 3000 331854746 2654.838 100.00% Conn: 1 Mbps: 2654.838 Peak Mbps: 2654.838 Avg Mbps: 2654.838 4000 329957218 2639.658 100.00% Conn: 1 Mbps: 2639.658 Peak Mbps: 2654.838 Avg Mbps: 2639.658 5000 332558128 2660.465 100.00% Conn: 1 Mbps: 2660.465 Peak Mbps: 2660.465 Avg Mbps: 2660.465 --- 169.254.1.12 tcpbench statistics --- 1991244312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2639.658/2651.968/2660.465/6.834 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 307049612 2456.397 100.00% Conn: 1 Mbps: 2456.397 Peak Mbps: 2456.397 Avg Mbps: 2456.397 2000 303190008 2425.520 100.00% Conn: 1 Mbps: 2425.520 Peak Mbps: 2456.397 Avg Mbps: 2425.520 3000 305020984 2440.168 100.00% Conn: 1 Mbps: 2440.168 Peak Mbps: 2456.397 Avg Mbps: 2440.168 4000 305020984 2440.168 100.00% Conn: 1 Mbps: 2440.168 Peak Mbps: 2456.397 Avg Mbps: 2440.168 5000 304595936 2436.767 100.00% Conn: 1 Mbps: 2436.767 Peak Mbps: 2456.397 Avg Mbps: 2436.767 --- fc00:0:0:1::12 tcpbench statistics --- 1828917628 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2425.520/2439.804/2456.397/9.888 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.154 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.154/0.154/0.154/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.204 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.204/0.204/0.204/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 301594260 2412.754 100.00% Conn: 1 Mbps: 2412.754 Peak Mbps: 2412.754 Avg Mbps: 2412.754 2000 302950160 2423.601 100.00% Conn: 1 Mbps: 2423.601 Peak Mbps: 2423.601 Avg Mbps: 2423.601 3000 303081024 2424.648 100.00% Conn: 1 Mbps: 2424.648 Peak Mbps: 2424.648 Avg Mbps: 2424.648 4000 302393988 2419.152 100.00% Conn: 1 Mbps: 2419.152 Peak Mbps: 2424.648 Avg Mbps: 2419.152 5000 301706952 2413.656 100.00% Conn: 1 Mbps: 2413.656 Peak Mbps: 2424.648 Avg Mbps: 2413.656 --- 169.254.0.13 tcpbench statistics --- 1809998156 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2412.754/2418.762/2424.648/4.907 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 356829892 2854.639 100.00% Conn: 1 Mbps: 2854.639 Peak Mbps: 2854.639 Avg Mbps: 2854.639 2000 350599208 2807.601 100.00% Conn: 1 Mbps: 2807.601 Peak Mbps: 2854.639 Avg Mbps: 2807.601 3000 350272248 2802.178 100.00% Conn: 1 Mbps: 2802.178 Peak Mbps: 2854.639 Avg Mbps: 2802.178 4000 348866320 2790.931 100.00% Conn: 1 Mbps: 2790.931 Peak Mbps: 2854.639 Avg Mbps: 2790.931 5000 344942800 2759.542 100.00% Conn: 1 Mbps: 2759.542 Peak Mbps: 2854.639 Avg Mbps: 2759.542 --- fc00::13 tcpbench statistics --- 2098774684 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2759.542/2802.978/2854.639/30.733 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 1m54.04s