START sys/net/pair 2024-04-05T20:03:10Z ==== 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.064 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.064/0.064/0.064/0.000 ms ==== run-ping6-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.064 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.064/0.064/0.064/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 375407884 3003.263 100.00% Conn: 1 Mbps: 3003.263 Peak Mbps: 3003.263 Avg Mbps: 3003.263 2000 375629868 3008.047 100.00% Conn: 1 Mbps: 3008.047 Peak Mbps: 3008.047 Avg Mbps: 3008.047 3000 376099360 3008.795 100.00% Conn: 1 Mbps: 3008.795 Peak Mbps: 3008.795 Avg Mbps: 3008.795 4000 375384040 3006.078 100.00% Conn: 1 Mbps: 3006.078 Peak Mbps: 3008.795 Avg Mbps: 3006.078 5000 374867420 2998.939 100.00% Conn: 1 Mbps: 2998.939 Peak Mbps: 3008.795 Avg Mbps: 2998.939 --- 169.254.1.11 tcpbench statistics --- 2254441692 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2998.939/3005.025/3008.795/3.594 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 377507576 3020.061 100.00% Conn: 1 Mbps: 3020.061 Peak Mbps: 3020.061 Avg Mbps: 3020.061 2000 376817840 3017.560 100.00% Conn: 1 Mbps: 3017.560 Peak Mbps: 3020.061 Avg Mbps: 3017.560 3000 376556216 3015.465 100.00% Conn: 1 Mbps: 3015.465 Peak Mbps: 3020.061 Avg Mbps: 3015.465 4000 378546144 3028.369 100.00% Conn: 1 Mbps: 3028.369 Peak Mbps: 3028.369 Avg Mbps: 3028.369 5000 376952616 3015.621 100.00% Conn: 1 Mbps: 3015.621 Peak Mbps: 3028.369 Avg Mbps: 3015.621 --- fc00:0:0:1::11 tcpbench statistics --- 2261771192 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3015.465/3019.415/3028.369/4.776 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.114 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.114/0.114/0.114/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.191 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.191/0.191/0.191/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 155999424 1247.995 100.00% Conn: 1 Mbps: 1247.995 Peak Mbps: 1247.995 Avg Mbps: 1247.995 2000 156220592 1249.765 100.00% Conn: 1 Mbps: 1249.765 Peak Mbps: 1249.765 Avg Mbps: 1249.765 3001 156450936 1251.607 100.00% Conn: 1 Mbps: 1251.607 Peak Mbps: 1251.607 Avg Mbps: 1251.607 4002 155603584 1244.829 100.00% Conn: 1 Mbps: 1244.829 Peak Mbps: 1251.607 Avg Mbps: 1244.829 5002 155579464 1244.636 100.00% Conn: 1 Mbps: 1244.636 Peak Mbps: 1251.607 Avg Mbps: 1244.636 --- 169.254.1.12 tcpbench statistics --- 935143640 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1244.636/1247.766/1251.607/2.729 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 147693452 1181.548 100.00% Conn: 1 Mbps: 1181.548 Peak Mbps: 1181.548 Avg Mbps: 1181.548 2000 146154784 1169.238 100.00% Conn: 1 Mbps: 1169.238 Peak Mbps: 1181.548 Avg Mbps: 1169.238 3001 146548076 1172.385 100.00% Conn: 1 Mbps: 1172.385 Peak Mbps: 1181.548 Avg Mbps: 1172.385 4002 145916928 1167.335 100.00% Conn: 1 Mbps: 1167.335 Peak Mbps: 1181.548 Avg Mbps: 1167.335 5002 146490164 1171.921 100.00% Conn: 1 Mbps: 1171.921 Peak Mbps: 1181.548 Avg Mbps: 1171.921 --- fc00:0:0:1::12 tcpbench statistics --- 881984104 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1167.335/1172.485/1181.548/4.889 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.100 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.100/0.100/0.100/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.117 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.117/0.117/0.117/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 188455028 1507.640 100.00% Conn: 1 Mbps: 1507.640 Peak Mbps: 1507.640 Avg Mbps: 1507.640 2000 187334360 1498.675 100.00% Conn: 1 Mbps: 1498.675 Peak Mbps: 1507.640 Avg Mbps: 1498.675 3000 189400560 1515.204 100.00% Conn: 1 Mbps: 1515.204 Peak Mbps: 1515.204 Avg Mbps: 1515.204 4000 187946356 1503.571 100.00% Conn: 1 Mbps: 1503.571 Peak Mbps: 1515.204 Avg Mbps: 1503.571 5000 187366152 1498.929 100.00% Conn: 1 Mbps: 1498.929 Peak Mbps: 1515.204 Avg Mbps: 1498.929 --- 169.254.0.13 tcpbench statistics --- 1128981328 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1498.675/1504.804/1515.204/6.161 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 179038024 1432.304 100.00% Conn: 1 Mbps: 1432.304 Peak Mbps: 1432.304 Avg Mbps: 1432.304 2000 179759472 1438.076 100.00% Conn: 1 Mbps: 1438.076 Peak Mbps: 1438.076 Avg Mbps: 1438.076 3000 178657480 1429.260 100.00% Conn: 1 Mbps: 1429.260 Peak Mbps: 1438.076 Avg Mbps: 1429.260 4000 179216600 1433.733 100.00% Conn: 1 Mbps: 1433.733 Peak Mbps: 1438.076 Avg Mbps: 1433.733 5000 179394784 1435.158 100.00% Conn: 1 Mbps: 1435.158 Peak Mbps: 1438.076 Avg Mbps: 1435.158 --- fc00::13 tcpbench statistics --- 1074478072 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1429.260/1433.706/1438.076/2.930 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.062 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.062/0.062/0.062/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.080 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.080/0.080/0.080/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 155411856 1243.295 100.00% Conn: 1 Mbps: 1243.295 Peak Mbps: 1243.295 Avg Mbps: 1243.295 2000 158324304 1266.594 100.00% Conn: 1 Mbps: 1266.594 Peak Mbps: 1266.594 Avg Mbps: 1266.594 3000 157949216 1264.859 100.00% Conn: 1 Mbps: 1264.859 Peak Mbps: 1266.594 Avg Mbps: 1264.859 4001 159493896 1275.951 100.00% Conn: 1 Mbps: 1275.951 Peak Mbps: 1275.951 Avg Mbps: 1275.951 5001 157473664 1259.789 100.00% Conn: 1 Mbps: 1259.789 Peak Mbps: 1275.951 Avg Mbps: 1259.789 --- 169.254.1.11 tcpbench statistics --- 945683528 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1243.295/1262.098/1275.951/10.758 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 146068656 1168.549 100.00% Conn: 1 Mbps: 1168.549 Peak Mbps: 1168.549 Avg Mbps: 1168.549 2001 146720496 1172.591 100.00% Conn: 1 Mbps: 1172.591 Peak Mbps: 1172.591 Avg Mbps: 1172.591 3002 146290964 1170.328 100.00% Conn: 1 Mbps: 1170.328 Peak Mbps: 1172.591 Avg Mbps: 1170.328 4002 146665016 1173.320 100.00% Conn: 1 Mbps: 1173.320 Peak Mbps: 1173.320 Avg Mbps: 1173.320 5003 147904096 1183.233 100.00% Conn: 1 Mbps: 1183.233 Peak Mbps: 1183.233 Avg Mbps: 1183.233 --- fc00:0:0:1::11 tcpbench statistics --- 881974344 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1168.549/1173.604/1183.233/5.101 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.059 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.059/0.059/0.059/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.065 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.065/0.065/0.065/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 367871640 2942.973 100.00% Conn: 1 Mbps: 2942.973 Peak Mbps: 2942.973 Avg Mbps: 2942.973 2000 363662304 2912.211 100.00% Conn: 1 Mbps: 2912.211 Peak Mbps: 2942.973 Avg Mbps: 2912.211 3000 366542376 2932.339 100.00% Conn: 1 Mbps: 2932.339 Peak Mbps: 2942.973 Avg Mbps: 2932.339 4000 366362824 2930.903 100.00% Conn: 1 Mbps: 2930.903 Peak Mbps: 2942.973 Avg Mbps: 2930.903 5000 367050624 2939.344 100.00% Conn: 1 Mbps: 2939.344 Peak Mbps: 2942.973 Avg Mbps: 2939.344 --- 169.254.1.12 tcpbench statistics --- 2197361720 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2912.211/2931.554/2942.973/10.642 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 371845488 2974.764 100.00% Conn: 1 Mbps: 2974.764 Peak Mbps: 2974.764 Avg Mbps: 2974.764 2000 375179868 3004.443 100.00% Conn: 1 Mbps: 3004.443 Peak Mbps: 3004.443 Avg Mbps: 3004.443 3000 375799620 3006.397 100.00% Conn: 1 Mbps: 3006.397 Peak Mbps: 3006.397 Avg Mbps: 3006.397 4000 374670072 3000.361 100.00% Conn: 1 Mbps: 3000.361 Peak Mbps: 3006.397 Avg Mbps: 3000.361 5000 377570340 3020.563 100.00% Conn: 1 Mbps: 3020.563 Peak Mbps: 3020.563 Avg Mbps: 3020.563 --- fc00:0:0:1::12 tcpbench statistics --- 2251207728 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2974.764/3001.306/3020.563/14.913 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.106 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.106/0.106/0.106/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.072 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.072/0.072/0.072/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 672674728 5381.398 100.00% Conn: 1 Mbps: 5381.398 Peak Mbps: 5381.398 Avg Mbps: 5381.398 2000 670759790 5371.450 100.00% Conn: 1 Mbps: 5371.450 Peak Mbps: 5381.398 Avg Mbps: 5371.450 3000 669696520 5357.572 100.00% Conn: 1 Mbps: 5357.572 Peak Mbps: 5381.398 Avg Mbps: 5357.572 4000 669532940 5361.625 100.00% Conn: 1 Mbps: 5361.625 Peak Mbps: 5381.398 Avg Mbps: 5361.625 5000 670579852 5364.639 100.00% Conn: 1 Mbps: 5364.639 Peak Mbps: 5381.398 Avg Mbps: 5364.639 --- 169.254.0.13 tcpbench statistics --- 4023332942 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5357.572/5367.337/5381.398/8.365 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 669766576 5358.133 100.00% Conn: 1 Mbps: 5358.133 Peak Mbps: 5358.133 Avg Mbps: 5358.133 2000 668404328 5352.587 100.00% Conn: 1 Mbps: 5352.587 Peak Mbps: 5358.133 Avg Mbps: 5352.587 3000 668502416 5348.019 100.00% Conn: 1 Mbps: 5348.019 Peak Mbps: 5358.133 Avg Mbps: 5348.019 4000 666115608 5328.925 100.00% Conn: 1 Mbps: 5328.925 Peak Mbps: 5358.133 Avg Mbps: 5328.925 5000 665298208 5322.386 100.00% Conn: 1 Mbps: 5322.386 Peak Mbps: 5358.133 Avg Mbps: 5322.386 --- fc00::13 tcpbench statistics --- 4003745000 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5322.386/5342.010/5358.133/13.887 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.098 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.098/0.098/0.098/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.080 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.080/0.080/0.080/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 153954128 1231.633 100.00% Conn: 1 Mbps: 1231.633 Peak Mbps: 1231.633 Avg Mbps: 1231.633 2001 156017480 1248.140 100.00% Conn: 1 Mbps: 1248.140 Peak Mbps: 1248.140 Avg Mbps: 1248.140 3001 156377864 1251.023 100.00% Conn: 1 Mbps: 1251.023 Peak Mbps: 1251.023 Avg Mbps: 1251.023 4001 155907560 1247.260 100.00% Conn: 1 Mbps: 1247.260 Peak Mbps: 1251.023 Avg Mbps: 1247.260 5001 153400288 1227.202 100.00% Conn: 1 Mbps: 1227.202 Peak Mbps: 1251.023 Avg Mbps: 1227.202 --- 169.254.1.11 tcpbench statistics --- 928640192 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1227.202/1241.052/1251.023/9.682 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 225573952 1804.592 100.00% Conn: 1 Mbps: 1804.592 Peak Mbps: 1804.592 Avg Mbps: 1804.592 2000 227632288 1822.881 100.00% Conn: 1 Mbps: 1822.881 Peak Mbps: 1822.881 Avg Mbps: 1822.881 3001 228022208 1824.178 100.00% Conn: 1 Mbps: 1824.178 Peak Mbps: 1824.178 Avg Mbps: 1824.178 4001 227066296 1818.349 100.00% Conn: 1 Mbps: 1818.349 Peak Mbps: 1824.178 Avg Mbps: 1818.349 5001 224896320 1799.171 100.00% Conn: 1 Mbps: 1799.171 Peak Mbps: 1824.178 Avg Mbps: 1799.171 --- fc00:0:0:1::11 tcpbench statistics --- 1359408944 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1799.171/1813.834/1824.178/10.096 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.060 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.060/0.060/0.060/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.071 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.071/0.071/0.071/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 675749646 5405.997 100.00% Conn: 1 Mbps: 5405.997 Peak Mbps: 5405.997 Avg Mbps: 5405.997 2000 671495900 5377.345 100.00% Conn: 1 Mbps: 5377.345 Peak Mbps: 5405.997 Avg Mbps: 5377.345 3000 671953924 5375.631 100.00% Conn: 1 Mbps: 5375.631 Peak Mbps: 5405.997 Avg Mbps: 5375.631 4000 672640960 5381.128 100.00% Conn: 1 Mbps: 5381.128 Peak Mbps: 5405.997 Avg Mbps: 5381.128 5000 673164416 5385.315 100.00% Conn: 1 Mbps: 5385.315 Peak Mbps: 5405.997 Avg Mbps: 5385.315 --- 169.254.1.12 tcpbench statistics --- 4036697042 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5375.631/5385.083/5405.997/10.976 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 661082256 5288.658 100.00% Conn: 1 Mbps: 5288.658 Peak Mbps: 5288.658 Avg Mbps: 5288.658 2000 661047728 5293.675 100.00% Conn: 1 Mbps: 5293.675 Peak Mbps: 5293.675 Avg Mbps: 5293.675 3000 661963216 5295.706 100.00% Conn: 1 Mbps: 5295.706 Peak Mbps: 5295.706 Avg Mbps: 5295.706 4000 661963216 5295.706 100.00% Conn: 1 Mbps: 5295.706 Peak Mbps: 5295.706 Avg Mbps: 5295.706 5000 661701648 5293.613 100.00% Conn: 1 Mbps: 5293.613 Peak Mbps: 5295.706 Avg Mbps: 5293.613 --- fc00:0:0:1::12 tcpbench statistics --- 3969427016 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5288.658/5293.472/5295.706/2.577 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.066 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.066/0.066/0.066/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.064 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.064/0.064/0.064/0.000 ms ==== run-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 680200996 5441.608 100.00% Conn: 1 Mbps: 5441.608 Peak Mbps: 5441.608 Avg Mbps: 5441.608 2000 676894040 5420.573 100.00% Conn: 1 Mbps: 5420.573 Peak Mbps: 5441.608 Avg Mbps: 5420.573 3000 678857000 5430.856 100.00% Conn: 1 Mbps: 5430.856 Peak Mbps: 5441.608 Avg Mbps: 5430.856 4000 677548360 5420.387 100.00% Conn: 1 Mbps: 5420.387 Peak Mbps: 5441.608 Avg Mbps: 5420.387 5000 677679224 5421.434 100.00% Conn: 1 Mbps: 5421.434 Peak Mbps: 5441.608 Avg Mbps: 5421.434 --- 169.254.0.13 tcpbench statistics --- 4069905756 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5420.387/5426.972/5441.608/8.298 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 672317388 5378.539 100.00% Conn: 1 Mbps: 5378.539 Peak Mbps: 5378.539 Avg Mbps: 5378.539 2000 673276032 5391.600 100.00% Conn: 1 Mbps: 5391.600 Peak Mbps: 5391.600 Avg Mbps: 5391.600 3000 673602992 5388.824 100.00% Conn: 1 Mbps: 5388.824 Peak Mbps: 5391.600 Avg Mbps: 5388.824 4000 673733776 5389.870 100.00% Conn: 1 Mbps: 5389.870 Peak Mbps: 5391.600 Avg Mbps: 5389.870 5000 674485784 5395.886 100.00% Conn: 1 Mbps: 5395.886 Peak Mbps: 5395.886 Avg Mbps: 5395.886 --- fc00::13 tcpbench statistics --- 4032354524 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5378.539/5388.944/5395.886/5.734 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 1m53.73s