START sys/net/pair 2024-07-05T08:40:17Z ==== 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.170 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.170/0.170/0.170/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.207 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.207/0.207/0.207/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 207108984 1656.872 100.00% Conn: 1 Mbps: 1656.872 Peak Mbps: 1656.872 Avg Mbps: 1656.872 2000 203142932 1626.770 100.00% Conn: 1 Mbps: 1626.770 Peak Mbps: 1656.872 Avg Mbps: 1626.770 3000 201616916 1612.935 100.00% Conn: 1 Mbps: 1612.935 Peak Mbps: 1656.872 Avg Mbps: 1612.935 4000 203333684 1628.298 100.00% Conn: 1 Mbps: 1628.298 Peak Mbps: 1656.872 Avg Mbps: 1628.298 5000 202864752 1622.918 100.00% Conn: 1 Mbps: 1622.918 Peak Mbps: 1656.872 Avg Mbps: 1622.918 --- 169.254.1.11 tcpbench statistics --- 1220979708 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1612.935/1629.559/1656.872/14.668 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 201085792 1608.686 100.00% Conn: 1 Mbps: 1608.686 Peak Mbps: 1608.686 Avg Mbps: 1608.686 2000 196971160 1577.347 100.00% Conn: 1 Mbps: 1577.347 Peak Mbps: 1608.686 Avg Mbps: 1577.347 3000 199032440 1592.260 100.00% Conn: 1 Mbps: 1592.260 Peak Mbps: 1608.686 Avg Mbps: 1592.260 4000 199539832 1596.319 100.00% Conn: 1 Mbps: 1596.319 Peak Mbps: 1608.686 Avg Mbps: 1596.319 5000 199817312 1598.538 100.00% Conn: 1 Mbps: 1598.538 Peak Mbps: 1608.686 Avg Mbps: 1598.538 --- fc00:0:0:1::11 tcpbench statistics --- 1194480048 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1577.347/1594.630/1608.686/10.198 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.236 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.236/0.236/0.236/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.460 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.460/0.460/0.460/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 82924120 661.409 100.00% Conn: 1 Mbps: 661.409 Peak Mbps: 661.409 Avg Mbps: 661.409 2005 83462720 667.035 100.00% Conn: 1 Mbps: 667.035 Peak Mbps: 667.035 Avg Mbps: 667.035 3004 83300544 667.071 100.00% Conn: 1 Mbps: 667.071 Peak Mbps: 667.071 Avg Mbps: 667.071 4006 83640824 668.458 100.00% Conn: 1 Mbps: 668.458 Peak Mbps: 668.458 Avg Mbps: 668.458 5006 83287512 666.967 100.00% Conn: 1 Mbps: 666.967 Peak Mbps: 668.458 Avg Mbps: 666.967 --- 169.254.1.12 tcpbench statistics --- 498773792 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 661.409/666.188/668.458/2.454 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1003 80196480 639.653 100.00% Conn: 1 Mbps: 639.653 Peak Mbps: 639.653 Avg Mbps: 639.653 2002 79920268 640.643 100.00% Conn: 1 Mbps: 640.643 Peak Mbps: 640.643 Avg Mbps: 640.643 3002 79846620 639.412 100.00% Conn: 1 Mbps: 639.412 Peak Mbps: 640.643 Avg Mbps: 639.412 4003 79928016 638.785 100.00% Conn: 1 Mbps: 638.785 Peak Mbps: 640.643 Avg Mbps: 638.785 5005 79145472 632.531 100.00% Conn: 1 Mbps: 632.531 Peak Mbps: 640.643 Avg Mbps: 632.531 --- fc00:0:0:1::12 tcpbench statistics --- 478700692 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 632.531/638.205/640.643/2.899 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.241 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.241/0.241/0.241/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.275 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.275/0.275/0.275/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 114395564 915.165 100.00% Conn: 1 Mbps: 915.165 Peak Mbps: 915.165 Avg Mbps: 915.165 2000 114975768 920.727 100.00% Conn: 1 Mbps: 920.727 Peak Mbps: 920.727 Avg Mbps: 920.727 3000 114006112 912.049 100.00% Conn: 1 Mbps: 912.049 Peak Mbps: 920.727 Avg Mbps: 912.049 4000 115683140 925.465 100.00% Conn: 1 Mbps: 925.465 Peak Mbps: 925.465 Avg Mbps: 925.465 5000 115206260 921.650 100.00% Conn: 1 Mbps: 921.650 Peak Mbps: 925.465 Avg Mbps: 921.650 --- 169.254.0.13 tcpbench statistics --- 689671804 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 912.049/919.011/925.465/4.792 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 99401264 795.210 100.00% Conn: 1 Mbps: 795.210 Peak Mbps: 795.210 Avg Mbps: 795.210 2000 97894944 783.943 100.00% Conn: 1 Mbps: 783.943 Peak Mbps: 795.210 Avg Mbps: 783.943 3000 99139640 793.117 100.00% Conn: 1 Mbps: 793.117 Peak Mbps: 795.210 Avg Mbps: 793.117 4000 98774952 790.200 100.00% Conn: 1 Mbps: 790.200 Peak Mbps: 795.210 Avg Mbps: 790.200 5000 100717312 805.738 100.00% Conn: 1 Mbps: 805.738 Peak Mbps: 805.738 Avg Mbps: 805.738 --- fc00::13 tcpbench statistics --- 596502720 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 783.943/793.642/805.738/7.141 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.190 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.190/0.190/0.190/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.222 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.222/0.222/0.222/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1002 83538016 666.970 100.00% Conn: 1 Mbps: 666.970 Peak Mbps: 666.970 Avg Mbps: 666.970 2001 84111424 674.240 100.00% Conn: 1 Mbps: 674.240 Peak Mbps: 674.240 Avg Mbps: 674.240 3003 83875400 669.664 100.00% Conn: 1 Mbps: 669.664 Peak Mbps: 674.240 Avg Mbps: 669.664 4002 84001376 672.684 100.00% Conn: 1 Mbps: 672.684 Peak Mbps: 674.240 Avg Mbps: 672.684 5005 84408264 673.918 100.00% Conn: 1 Mbps: 673.918 Peak Mbps: 674.240 Avg Mbps: 673.918 --- 169.254.1.11 tcpbench statistics --- 503098912 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 666.970/671.495/674.240/2.780 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 1002 80850504 645.513 100.00% Conn: 1 Mbps: 645.513 Peak Mbps: 645.513 Avg Mbps: 645.513 2003 80833368 646.667 100.00% Conn: 1 Mbps: 646.667 Peak Mbps: 646.667 Avg Mbps: 646.667 3002 80306436 643.095 100.00% Conn: 1 Mbps: 643.095 Peak Mbps: 646.667 Avg Mbps: 643.095 4004 80543484 643.704 100.00% Conn: 1 Mbps: 643.704 Peak Mbps: 646.667 Avg Mbps: 643.704 5008 80013696 638.195 100.00% Conn: 1 Mbps: 638.195 Peak Mbps: 646.667 Avg Mbps: 638.195 --- fc00:0:0:1::11 tcpbench statistics --- 482652576 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 638.195/643.435/646.667/2.912 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.167 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.167/0.167/0.167/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.226 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.226/0.226/0.226/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 204288184 1634.305 100.00% Conn: 1 Mbps: 1634.305 Peak Mbps: 1634.305 Avg Mbps: 1634.305 2000 199656032 1597.248 100.00% Conn: 1 Mbps: 1597.248 Peak Mbps: 1634.305 Avg Mbps: 1597.248 3000 200542208 1604.338 100.00% Conn: 1 Mbps: 1604.338 Peak Mbps: 1634.305 Avg Mbps: 1604.338 4000 198089296 1584.714 100.00% Conn: 1 Mbps: 1584.714 Peak Mbps: 1634.305 Avg Mbps: 1584.714 5000 199515576 1597.722 100.00% Conn: 1 Mbps: 1597.722 Peak Mbps: 1634.305 Avg Mbps: 1597.722 --- 169.254.1.12 tcpbench statistics --- 1201893576 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1584.714/1603.666/1634.305/16.583 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 194010936 1552.087 100.00% Conn: 1 Mbps: 1552.087 Peak Mbps: 1552.087 Avg Mbps: 1552.087 2000 192020304 1537.700 100.00% Conn: 1 Mbps: 1537.700 Peak Mbps: 1552.087 Avg Mbps: 1537.700 3000 189841176 1520.250 100.00% Conn: 1 Mbps: 1520.250 Peak Mbps: 1552.087 Avg Mbps: 1520.250 4000 191302020 1530.416 100.00% Conn: 1 Mbps: 1530.416 Peak Mbps: 1552.087 Avg Mbps: 1530.416 5000 191199204 1529.594 100.00% Conn: 1 Mbps: 1529.594 Peak Mbps: 1552.087 Avg Mbps: 1529.594 --- fc00:0:0:1::12 tcpbench statistics --- 1149789900 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1520.250/1534.009/1552.087/10.604 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.182 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.182/0.182/0.182/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.230 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.230/0.230/0.230/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 320111472 2560.892 100.00% Conn: 1 Mbps: 2560.892 Peak Mbps: 2560.892 Avg Mbps: 2560.892 2000 327552592 2620.421 100.00% Conn: 1 Mbps: 2620.421 Peak Mbps: 2620.421 Avg Mbps: 2620.421 3000 325131608 2601.053 100.00% Conn: 1 Mbps: 2601.053 Peak Mbps: 2620.421 Avg Mbps: 2601.053 4000 326587470 2612.700 100.00% Conn: 1 Mbps: 2612.700 Peak Mbps: 2620.421 Avg Mbps: 2612.700 5000 327552592 2620.421 100.00% Conn: 1 Mbps: 2620.421 Peak Mbps: 2620.421 Avg Mbps: 2620.421 --- 169.254.0.13 tcpbench statistics --- 1949237408 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2560.892/2603.097/2620.421/22.262 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 304565340 2436.523 100.00% Conn: 1 Mbps: 2436.523 Peak Mbps: 2436.523 Avg Mbps: 2436.523 2000 300966680 2410.144 100.00% Conn: 1 Mbps: 2410.144 Peak Mbps: 2436.523 Avg Mbps: 2410.144 3000 300476240 2403.810 100.00% Conn: 1 Mbps: 2403.810 Peak Mbps: 2436.523 Avg Mbps: 2403.810 4000 301457120 2411.657 100.00% Conn: 1 Mbps: 2411.657 Peak Mbps: 2436.523 Avg Mbps: 2411.657 5000 297697080 2381.577 100.00% Conn: 1 Mbps: 2381.577 Peak Mbps: 2436.523 Avg Mbps: 2381.577 --- fc00::13 tcpbench statistics --- 1805671396 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2381.577/2408.742/2436.523/17.576 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.199 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.199/0.199/0.199/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.237 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.237/0.237/0.237/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 83025424 664.203 100.00% Conn: 1 Mbps: 664.203 Peak Mbps: 664.203 Avg Mbps: 664.203 2002 83329504 665.305 100.00% Conn: 1 Mbps: 665.305 Peak Mbps: 665.305 Avg Mbps: 665.305 3003 82968952 663.752 100.00% Conn: 1 Mbps: 663.752 Peak Mbps: 665.305 Avg Mbps: 663.752 4004 82570752 659.906 100.00% Conn: 1 Mbps: 659.906 Peak Mbps: 665.305 Avg Mbps: 659.906 5004 83123888 665.657 100.00% Conn: 1 Mbps: 665.657 Peak Mbps: 665.657 Avg Mbps: 665.657 --- 169.254.1.11 tcpbench statistics --- 497999056 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 659.906/663.765/665.657/2.051 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 1001 134611904 1075.819 100.00% Conn: 1 Mbps: 1075.819 Peak Mbps: 1075.819 Avg Mbps: 1075.819 2002 134503696 1076.030 100.00% Conn: 1 Mbps: 1076.030 Peak Mbps: 1076.030 Avg Mbps: 1076.030 3002 132957136 1064.722 100.00% Conn: 1 Mbps: 1064.722 Peak Mbps: 1076.030 Avg Mbps: 1064.722 4005 133536608 1066.161 100.00% Conn: 1 Mbps: 1066.161 Peak Mbps: 1076.030 Avg Mbps: 1066.161 5005 133428672 1068.498 100.00% Conn: 1 Mbps: 1068.498 Peak Mbps: 1076.030 Avg Mbps: 1068.498 --- fc00:0:0:1::11 tcpbench statistics --- 801926808 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1064.722/1070.246/1076.030/4.791 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.167 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.167/0.167/0.167/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.238 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.238/0.238/0.238/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 325951342 2607.611 100.00% Conn: 1 Mbps: 2607.611 Peak Mbps: 2607.611 Avg Mbps: 2607.611 2000 325851360 2609.420 100.00% Conn: 1 Mbps: 2609.420 Peak Mbps: 2609.420 Avg Mbps: 2609.420 3000 323577586 2588.621 100.00% Conn: 1 Mbps: 2588.621 Peak Mbps: 2609.420 Avg Mbps: 2588.621 4000 323675746 2589.406 100.00% Conn: 1 Mbps: 2589.406 Peak Mbps: 2609.420 Avg Mbps: 2589.406 5000 325376978 2603.016 100.00% Conn: 1 Mbps: 2603.016 Peak Mbps: 2609.420 Avg Mbps: 2603.016 --- 169.254.1.12 tcpbench statistics --- 1947127278 bytes sent over 6.005 seconds bandwidth min/avg/max/std-dev = 2588.621/2599.615/2609.420/8.908 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 301476572 2411.813 100.00% Conn: 1 Mbps: 2411.813 Peak Mbps: 2411.813 Avg Mbps: 2411.813 2000 299233792 2396.267 100.00% Conn: 1 Mbps: 2396.267 Peak Mbps: 2411.813 Avg Mbps: 2396.267 3000 296879680 2375.037 100.00% Conn: 1 Mbps: 2375.037 Peak Mbps: 2411.813 Avg Mbps: 2375.037 4000 299103008 2392.824 100.00% Conn: 1 Mbps: 2392.824 Peak Mbps: 2411.813 Avg Mbps: 2392.824 5000 296454632 2371.637 100.00% Conn: 1 Mbps: 2371.637 Peak Mbps: 2411.813 Avg Mbps: 2371.637 --- fc00:0:0:1::12 tcpbench statistics --- 1793362356 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2371.637/2389.516/2411.813/14.717 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.188 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.188/0.188/0.188/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.221 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.221/0.221/0.221/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 339283100 2714.265 100.00% Conn: 1 Mbps: 2714.265 Peak Mbps: 2714.265 Avg Mbps: 2714.265 2000 335649802 2687.886 100.00% Conn: 1 Mbps: 2687.886 Peak Mbps: 2714.265 Avg Mbps: 2687.886 3000 335617086 2684.937 100.00% Conn: 1 Mbps: 2684.937 Peak Mbps: 2714.265 Avg Mbps: 2684.937 4000 331887450 2655.100 100.00% Conn: 1 Mbps: 2655.100 Peak Mbps: 2714.265 Avg Mbps: 2655.100 5000 333735916 2669.887 100.00% Conn: 1 Mbps: 2669.887 Peak Mbps: 2714.265 Avg Mbps: 2669.887 --- 169.254.0.13 tcpbench statistics --- 2008404334 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2655.100/2682.415/2714.265/19.768 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 345010460 2760.084 100.00% Conn: 1 Mbps: 2760.084 Peak Mbps: 2760.084 Avg Mbps: 2760.084 2000 339417176 2718.055 100.00% Conn: 1 Mbps: 2718.055 Peak Mbps: 2760.084 Avg Mbps: 2718.055 3000 336899584 2695.197 100.00% Conn: 1 Mbps: 2695.197 Peak Mbps: 2760.084 Avg Mbps: 2695.197 4000 341575112 2732.601 100.00% Conn: 1 Mbps: 2732.601 Peak Mbps: 2760.084 Avg Mbps: 2732.601 5000 340267272 2722.138 100.00% Conn: 1 Mbps: 2722.138 Peak Mbps: 2760.084 Avg Mbps: 2722.138 --- fc00::13 tcpbench statistics --- 2044058100 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2695.197/2725.615/2760.084/21.125 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.02s