START sys/net/pair 2025-01-14T02:42:32Z ==== 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.035 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.035/0.035/0.035/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.036 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.036/0.036/0.036/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 1144853764 9158.830 100.00% Conn: 1 Mbps: 9158.830 Peak Mbps: 9158.830 Avg Mbps: 9158.830 2000 1138948400 9120.708 100.00% Conn: 1 Mbps: 9120.708 Peak Mbps: 9158.830 Avg Mbps: 9120.708 3000 1136309664 9090.477 100.00% Conn: 1 Mbps: 9090.477 Peak Mbps: 9158.830 Avg Mbps: 9090.477 4000 1138702012 9109.616 100.00% Conn: 1 Mbps: 9109.616 Peak Mbps: 9158.830 Avg Mbps: 9109.616 5000 1139695512 9117.564 100.00% Conn: 1 Mbps: 9117.564 Peak Mbps: 9158.830 Avg Mbps: 9117.564 --- 169.254.1.11 tcpbench statistics --- 6834246760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9090.477/9119.439/9158.830/22.325 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 1124531304 8996.250 100.00% Conn: 1 Mbps: 8996.250 Peak Mbps: 8996.250 Avg Mbps: 8996.250 2000 1118173048 8954.339 100.00% Conn: 1 Mbps: 8954.339 Peak Mbps: 8996.250 Avg Mbps: 8954.339 3000 1116357536 8930.860 100.00% Conn: 1 Mbps: 8930.860 Peak Mbps: 8996.250 Avg Mbps: 8930.860 4000 1120694152 8974.528 100.00% Conn: 1 Mbps: 8974.528 Peak Mbps: 8996.250 Avg Mbps: 8974.528 5000 1120210544 8961.684 100.00% Conn: 1 Mbps: 8961.684 Peak Mbps: 8996.250 Avg Mbps: 8961.684 --- fc00:0:0:1::11 tcpbench statistics --- 6717830440 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8930.860/8963.532/8996.250/21.665 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.049 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.049/0.049/0.049/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.100 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.100/0.100/0.100/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 535659528 4285.276 100.00% Conn: 1 Mbps: 4285.276 Peak Mbps: 4285.276 Avg Mbps: 4285.276 2000 543424512 4347.396 100.00% Conn: 1 Mbps: 4347.396 Peak Mbps: 4347.396 Avg Mbps: 4347.396 3001 543340616 4346.725 100.00% Conn: 1 Mbps: 4346.725 Peak Mbps: 4347.396 Avg Mbps: 4346.725 4001 543162368 4345.299 100.00% Conn: 1 Mbps: 4345.299 Peak Mbps: 4347.396 Avg Mbps: 4345.299 5001 542900224 4343.202 100.00% Conn: 1 Mbps: 4343.202 Peak Mbps: 4347.396 Avg Mbps: 4343.202 --- 169.254.1.12 tcpbench statistics --- 3251649616 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4285.276/4333.580/4347.396/24.194 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 512554228 4100.434 100.00% Conn: 1 Mbps: 4100.434 Peak Mbps: 4100.434 Avg Mbps: 4100.434 2001 520093696 4160.750 100.00% Conn: 1 Mbps: 4160.750 Peak Mbps: 4160.750 Avg Mbps: 4160.750 3001 519569408 4156.555 100.00% Conn: 1 Mbps: 4156.555 Peak Mbps: 4160.750 Avg Mbps: 4156.555 4001 520355840 4162.847 100.00% Conn: 1 Mbps: 4162.847 Peak Mbps: 4162.847 Avg Mbps: 4162.847 5001 519569408 4156.555 100.00% Conn: 1 Mbps: 4156.555 Peak Mbps: 4162.847 Avg Mbps: 4156.555 --- fc00:0:0:1::12 tcpbench statistics --- 3110401268 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4100.434/4147.428/4162.847/23.623 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.047 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.047/0.047/0.047/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.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-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 1032500836 8260.007 100.00% Conn: 1 Mbps: 8260.007 Peak Mbps: 8260.007 Avg Mbps: 8260.007 2000 1082633032 8661.064 100.00% Conn: 1 Mbps: 8661.064 Peak Mbps: 8661.064 Avg Mbps: 8661.064 3000 1085854500 8686.836 100.00% Conn: 1 Mbps: 8686.836 Peak Mbps: 8686.836 Avg Mbps: 8686.836 4000 1088709092 8718.391 100.00% Conn: 1 Mbps: 8718.391 Peak Mbps: 8718.391 Avg Mbps: 8718.391 5001 1096593368 8772.747 100.00% Conn: 1 Mbps: 8772.747 Peak Mbps: 8772.747 Avg Mbps: 8772.747 --- 169.254.0.13 tcpbench statistics --- 6489047452 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 8260.007/8619.809/8772.747/183.718 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 885962400 7087.699 100.00% Conn: 1 Mbps: 7087.699 Peak Mbps: 7087.699 Avg Mbps: 7087.699 2000 916875280 7335.002 100.00% Conn: 1 Mbps: 7335.002 Peak Mbps: 7335.002 Avg Mbps: 7335.002 3000 925854584 7406.837 100.00% Conn: 1 Mbps: 7406.837 Peak Mbps: 7406.837 Avg Mbps: 7406.837 4000 923723512 7389.788 100.00% Conn: 1 Mbps: 7389.788 Peak Mbps: 7406.837 Avg Mbps: 7389.788 5001 925944392 7407.555 100.00% Conn: 1 Mbps: 7407.555 Peak Mbps: 7407.555 Avg Mbps: 7407.555 --- fc00::13 tcpbench statistics --- 5503144008 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 7087.699/7325.376/7407.555/121.755 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.035 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.035/0.035/0.035/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.040 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.040/0.040/0.040/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 534191432 4273.531 100.00% Conn: 1 Mbps: 4273.531 Peak Mbps: 4273.531 Avg Mbps: 4273.531 2001 541851648 4334.813 100.00% Conn: 1 Mbps: 4334.813 Peak Mbps: 4334.813 Avg Mbps: 4334.813 3001 541851648 4334.813 100.00% Conn: 1 Mbps: 4334.813 Peak Mbps: 4334.813 Avg Mbps: 4334.813 4001 541589504 4332.716 100.00% Conn: 1 Mbps: 4332.716 Peak Mbps: 4334.813 Avg Mbps: 4332.716 5002 541851648 4334.813 100.00% Conn: 1 Mbps: 4334.813 Peak Mbps: 4334.813 Avg Mbps: 4334.813 --- 169.254.1.11 tcpbench statistics --- 3242138952 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4273.531/4322.137/4334.813/24.317 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 512363336 4098.907 100.00% Conn: 1 Mbps: 4098.907 Peak Mbps: 4098.907 Avg Mbps: 4098.907 2000 519456336 4155.651 100.00% Conn: 1 Mbps: 4155.651 Peak Mbps: 4155.651 Avg Mbps: 4155.651 3001 519307264 4154.458 100.00% Conn: 1 Mbps: 4154.458 Peak Mbps: 4155.651 Avg Mbps: 4154.458 4001 519307264 4154.458 100.00% Conn: 1 Mbps: 4154.458 Peak Mbps: 4155.651 Avg Mbps: 4154.458 5001 517734400 4141.875 100.00% Conn: 1 Mbps: 4141.875 Peak Mbps: 4155.651 Avg Mbps: 4141.875 --- fc00:0:0:1::11 tcpbench statistics --- 3106165144 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4098.907/4141.070/4155.651/21.677 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.031 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.031/0.031/0.031/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.035 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.035/0.035/0.035/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 1122916760 8983.334 100.00% Conn: 1 Mbps: 8983.334 Peak Mbps: 8983.334 Avg Mbps: 8983.334 2000 1123406184 8996.246 100.00% Conn: 1 Mbps: 8996.246 Peak Mbps: 8996.246 Avg Mbps: 8996.246 3000 1121122688 8968.982 100.00% Conn: 1 Mbps: 8968.982 Peak Mbps: 8996.246 Avg Mbps: 8968.982 4000 1120927208 8976.394 100.00% Conn: 1 Mbps: 8976.394 Peak Mbps: 8996.246 Avg Mbps: 8976.394 5000 1121651208 8973.210 100.00% Conn: 1 Mbps: 8973.210 Peak Mbps: 8996.246 Avg Mbps: 8973.210 --- 169.254.1.12 tcpbench statistics --- 6729556832 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8968.982/8979.633/8996.246/9.538 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 1116056256 8928.450 100.00% Conn: 1 Mbps: 8928.450 Peak Mbps: 8928.450 Avg Mbps: 8928.450 2000 1114701084 8926.535 100.00% Conn: 1 Mbps: 8926.535 Peak Mbps: 8928.450 Avg Mbps: 8926.535 3000 1112521956 8900.176 100.00% Conn: 1 Mbps: 8900.176 Peak Mbps: 8928.450 Avg Mbps: 8900.176 4000 1112506248 8900.050 100.00% Conn: 1 Mbps: 8900.050 Peak Mbps: 8928.450 Avg Mbps: 8900.050 5000 1111392408 8891.139 100.00% Conn: 1 Mbps: 8891.139 Peak Mbps: 8928.450 Avg Mbps: 8891.139 --- fc00:0:0:1::12 tcpbench statistics --- 6678981624 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8891.139/8909.270/8928.450/15.247 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.037 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.037/0.037/0.037/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.038 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.038/0.038/0.038/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 1453511900 11628.095 100.00% Conn: 1 Mbps: 11628.095 Peak Mbps: 11628.095 Avg Mbps: 11628.095 2000 1447601210 11592.402 100.00% Conn: 1 Mbps: 11592.402 Peak Mbps: 11628.095 Avg Mbps: 11592.402 3000 1454193484 11633.548 100.00% Conn: 1 Mbps: 11633.548 Peak Mbps: 11633.548 Avg Mbps: 11633.548 4000 1461129276 11689.034 100.00% Conn: 1 Mbps: 11689.034 Peak Mbps: 11689.034 Avg Mbps: 11689.034 5000 1458021256 11664.170 100.00% Conn: 1 Mbps: 11664.170 Peak Mbps: 11689.034 Avg Mbps: 11664.170 --- 169.254.0.13 tcpbench statistics --- 8743503674 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11592.402/11641.450/11689.034/32.945 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 1471680664 11773.445 100.00% Conn: 1 Mbps: 11773.445 Peak Mbps: 11773.445 Avg Mbps: 11773.445 2000 1470110248 11772.655 100.00% Conn: 1 Mbps: 11772.655 Peak Mbps: 11773.445 Avg Mbps: 11772.655 3000 1474818472 11798.548 100.00% Conn: 1 Mbps: 11798.548 Peak Mbps: 11798.548 Avg Mbps: 11798.548 4000 1420052672 11360.421 100.00% Conn: 1 Mbps: 11360.421 Peak Mbps: 11798.548 Avg Mbps: 11360.421 5000 1382092616 11056.741 100.00% Conn: 1 Mbps: 11056.741 Peak Mbps: 11798.548 Avg Mbps: 11056.741 --- fc00::13 tcpbench statistics --- 8596792984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11056.741/11552.362/11798.548/296.815 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.040 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.040/0.040/0.040/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.041 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.041/0.041/0.041/0.000 ms ==== run-tcpbench-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 534041696 4272.334 100.00% Conn: 1 Mbps: 4272.334 Peak Mbps: 4272.334 Avg Mbps: 4272.334 2000 539754496 4318.036 100.00% Conn: 1 Mbps: 4318.036 Peak Mbps: 4318.036 Avg Mbps: 4318.036 3000 539230208 4313.842 100.00% Conn: 1 Mbps: 4313.842 Peak Mbps: 4318.036 Avg Mbps: 4313.842 4000 539754496 4322.358 100.00% Conn: 1 Mbps: 4322.358 Peak Mbps: 4322.358 Avg Mbps: 4322.358 5000 539492352 4315.939 100.00% Conn: 1 Mbps: 4315.939 Peak Mbps: 4322.358 Avg Mbps: 4315.939 --- 169.254.1.11 tcpbench statistics --- 3231241312 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4272.334/4308.502/4322.358/18.302 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 1031168752 8249.350 100.00% Conn: 1 Mbps: 8249.350 Peak Mbps: 8249.350 Avg Mbps: 8249.350 2000 1050411008 8403.288 100.00% Conn: 1 Mbps: 8403.288 Peak Mbps: 8403.288 Avg Mbps: 8403.288 3000 1058537472 8468.300 100.00% Conn: 1 Mbps: 8468.300 Peak Mbps: 8468.300 Avg Mbps: 8468.300 4000 1069023232 8552.186 100.00% Conn: 1 Mbps: 8552.186 Peak Mbps: 8552.186 Avg Mbps: 8552.186 5000 1068247256 8545.978 100.00% Conn: 1 Mbps: 8545.978 Peak Mbps: 8552.186 Avg Mbps: 8545.978 --- fc00:0:0:1::11 tcpbench statistics --- 6351915976 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 8249.350/8443.820/8552.186/111.571 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.035 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.035/0.035/0.035/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.038 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.038/0.038/0.038/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 1482882910 11863.063 100.00% Conn: 1 Mbps: 11863.063 Peak Mbps: 11863.063 Avg Mbps: 11863.063 2000 1487629236 11912.947 100.00% Conn: 1 Mbps: 11912.947 Peak Mbps: 11912.947 Avg Mbps: 11912.947 3000 1487514730 11900.118 100.00% Conn: 1 Mbps: 11900.118 Peak Mbps: 11912.947 Avg Mbps: 11900.118 4000 1494597744 11956.782 100.00% Conn: 1 Mbps: 11956.782 Peak Mbps: 11956.782 Avg Mbps: 11956.782 5000 1493747128 11949.977 100.00% Conn: 1 Mbps: 11949.977 Peak Mbps: 11956.782 Avg Mbps: 11949.977 --- 169.254.1.12 tcpbench statistics --- 8945386152 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11863.063/11916.577/11956.782/34.292 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 1435553132 11484.425 100.00% Conn: 1 Mbps: 11484.425 Peak Mbps: 11484.425 Avg Mbps: 11484.425 2000 1444280408 11565.809 100.00% Conn: 1 Mbps: 11565.809 Peak Mbps: 11565.809 Avg Mbps: 11565.809 3000 1438329736 11506.638 100.00% Conn: 1 Mbps: 11506.638 Peak Mbps: 11565.809 Avg Mbps: 11506.638 4000 1439539488 11516.316 100.00% Conn: 1 Mbps: 11516.316 Peak Mbps: 11565.809 Avg Mbps: 11516.316 5000 1435746752 11485.974 100.00% Conn: 1 Mbps: 11485.974 Peak Mbps: 11565.809 Avg Mbps: 11485.974 --- fc00:0:0:1::12 tcpbench statistics --- 8630798372 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11484.425/11511.832/11565.809/29.599 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.032 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.032/0.032/0.032/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.035 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.035/0.035/0.035/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 1602921298 12823.370 100.00% Conn: 1 Mbps: 12823.370 Peak Mbps: 12823.370 Avg Mbps: 12823.370 2000 1597358700 12791.661 100.00% Conn: 1 Mbps: 12791.661 Peak Mbps: 12823.370 Avg Mbps: 12791.661 3000 1600744806 12805.958 100.00% Conn: 1 Mbps: 12805.958 Peak Mbps: 12823.370 Avg Mbps: 12805.958 4000 1599370734 12794.966 100.00% Conn: 1 Mbps: 12794.966 Peak Mbps: 12823.370 Avg Mbps: 12794.966 5000 1601350052 12810.800 100.00% Conn: 1 Mbps: 12810.800 Peak Mbps: 12823.370 Avg Mbps: 12810.800 --- 169.254.0.13 tcpbench statistics --- 9601067250 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12791.661/12805.351/12823.370/11.402 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 1561643920 12493.151 100.00% Conn: 1 Mbps: 12493.151 Peak Mbps: 12493.151 Avg Mbps: 12493.151 2000 1564111248 12525.415 100.00% Conn: 1 Mbps: 12525.415 Peak Mbps: 12525.415 Avg Mbps: 12525.415 3000 1575620240 12604.962 100.00% Conn: 1 Mbps: 12604.962 Peak Mbps: 12604.962 Avg Mbps: 12604.962 4000 1588240896 12705.927 100.00% Conn: 1 Mbps: 12705.927 Peak Mbps: 12705.927 Avg Mbps: 12705.927 5000 1572546816 12580.375 100.00% Conn: 1 Mbps: 12580.375 Peak Mbps: 12705.927 Avg Mbps: 12580.375 --- fc00::13 tcpbench statistics --- 9467046280 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12493.151/12581.966/12705.927/73.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 1m51.37s