START sys/net/pair 2024-08-05T23:50:37Z ==== 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.058 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.058/0.058/0.058/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.055 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.055/0.055/0.055/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 372483020 2979.864 100.00% Conn: 1 Mbps: 2979.864 Peak Mbps: 2979.864 Avg Mbps: 2979.864 2000 373635480 2992.076 100.00% Conn: 1 Mbps: 2992.076 Peak Mbps: 2992.076 Avg Mbps: 2992.076 3000 372920160 2983.361 100.00% Conn: 1 Mbps: 2983.361 Peak Mbps: 2992.076 Avg Mbps: 2983.361 4000 372737356 2981.899 100.00% Conn: 1 Mbps: 2981.899 Peak Mbps: 2992.076 Avg Mbps: 2981.899 5000 373190392 2988.512 100.00% Conn: 1 Mbps: 2988.512 Peak Mbps: 2992.076 Avg Mbps: 2988.512 --- 169.254.1.11 tcpbench statistics --- 2237163300 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2979.864/2985.142/2992.076/4.494 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 372972760 2983.782 100.00% Conn: 1 Mbps: 2983.782 Peak Mbps: 2983.782 Avg Mbps: 2983.782 2000 374510792 2996.086 100.00% Conn: 1 Mbps: 2996.086 Peak Mbps: 2996.086 Avg Mbps: 2996.086 3000 373242312 2988.927 100.00% Conn: 1 Mbps: 2988.927 Peak Mbps: 2996.086 Avg Mbps: 2988.927 4000 375470080 3003.761 100.00% Conn: 1 Mbps: 3003.761 Peak Mbps: 3003.761 Avg Mbps: 3003.761 5000 374899264 2999.194 100.00% Conn: 1 Mbps: 2999.194 Peak Mbps: 3003.761 Avg Mbps: 2999.194 --- fc00:0:0:1::11 tcpbench statistics --- 2243441656 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2983.782/2994.350/3003.761/7.157 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.131 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.131/0.131/0.131/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.186 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.186/0.186/0.186/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 152466856 1219.735 100.00% Conn: 1 Mbps: 1219.735 Peak Mbps: 1219.735 Avg Mbps: 1219.735 2001 154701296 1237.610 100.00% Conn: 1 Mbps: 1237.610 Peak Mbps: 1237.610 Avg Mbps: 1237.610 3001 155372776 1242.982 100.00% Conn: 1 Mbps: 1242.982 Peak Mbps: 1242.982 Avg Mbps: 1242.982 4001 154802880 1238.423 100.00% Conn: 1 Mbps: 1238.423 Peak Mbps: 1242.982 Avg Mbps: 1238.423 5001 155061400 1240.491 100.00% Conn: 1 Mbps: 1240.491 Peak Mbps: 1242.982 Avg Mbps: 1240.491 --- 169.254.1.12 tcpbench statistics --- 926937872 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1219.735/1235.848/1242.982/8.268 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 1001 141918972 1134.218 100.00% Conn: 1 Mbps: 1134.218 Peak Mbps: 1134.218 Avg Mbps: 1134.218 2000 142051388 1137.549 100.00% Conn: 1 Mbps: 1137.549 Peak Mbps: 1137.549 Avg Mbps: 1137.549 3001 143230040 1145.840 100.00% Conn: 1 Mbps: 1145.840 Peak Mbps: 1145.840 Avg Mbps: 1145.840 4002 143530584 1148.245 100.00% Conn: 1 Mbps: 1148.245 Peak Mbps: 1148.245 Avg Mbps: 1148.245 5002 141540532 1132.324 100.00% Conn: 1 Mbps: 1132.324 Peak Mbps: 1148.245 Avg Mbps: 1132.324 --- fc00:0:0:1::12 tcpbench statistics --- 854320572 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1132.324/1139.635/1148.245/6.321 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.084 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.084/0.084/0.084/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.097 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.097/0.097/0.097/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 187231036 1497.848 100.00% Conn: 1 Mbps: 1497.848 Peak Mbps: 1497.848 Avg Mbps: 1497.848 2000 186666728 1494.829 100.00% Conn: 1 Mbps: 1494.829 Peak Mbps: 1497.848 Avg Mbps: 1494.829 3000 186929012 1495.432 100.00% Conn: 1 Mbps: 1495.432 Peak Mbps: 1497.848 Avg Mbps: 1495.432 4000 186833636 1494.669 100.00% Conn: 1 Mbps: 1494.669 Peak Mbps: 1497.848 Avg Mbps: 1494.669 5000 187469476 1499.756 100.00% Conn: 1 Mbps: 1499.756 Peak Mbps: 1499.756 Avg Mbps: 1499.756 --- 169.254.0.13 tcpbench statistics --- 1122424508 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1494.669/1496.507/1499.756/1.985 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 183588696 1468.710 100.00% Conn: 1 Mbps: 1468.710 Peak Mbps: 1468.710 Avg Mbps: 1468.710 2000 183081304 1466.117 100.00% Conn: 1 Mbps: 1466.117 Peak Mbps: 1468.710 Avg Mbps: 1466.117 3000 184000952 1472.008 100.00% Conn: 1 Mbps: 1472.008 Peak Mbps: 1472.008 Avg Mbps: 1472.008 4000 182684904 1462.942 100.00% Conn: 1 Mbps: 1462.942 Peak Mbps: 1472.008 Avg Mbps: 1462.942 5000 183667976 1469.344 100.00% Conn: 1 Mbps: 1469.344 Peak Mbps: 1472.008 Avg Mbps: 1469.344 --- fc00::13 tcpbench statistics --- 1100342976 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1462.942/1467.824/1472.008/3.077 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.069 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.069/0.069/0.069/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.073 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.073/0.073/0.073/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 151882024 1215.056 100.00% Conn: 1 Mbps: 1215.056 Peak Mbps: 1215.056 Avg Mbps: 1215.056 2001 155548880 1244.391 100.00% Conn: 1 Mbps: 1244.391 Peak Mbps: 1244.391 Avg Mbps: 1244.391 3001 155433040 1243.464 100.00% Conn: 1 Mbps: 1243.464 Peak Mbps: 1244.391 Avg Mbps: 1243.464 4002 154143704 1233.150 100.00% Conn: 1 Mbps: 1233.150 Peak Mbps: 1244.391 Avg Mbps: 1233.150 5002 155845496 1246.764 100.00% Conn: 1 Mbps: 1246.764 Peak Mbps: 1246.764 Avg Mbps: 1246.764 --- 169.254.1.11 tcpbench statistics --- 926487376 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1215.056/1236.565/1246.764/11.723 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 141243936 1129.951 100.00% Conn: 1 Mbps: 1129.951 Peak Mbps: 1129.951 Avg Mbps: 1129.951 2000 142537884 1140.303 100.00% Conn: 1 Mbps: 1140.303 Peak Mbps: 1140.303 Avg Mbps: 1140.303 3001 141159736 1129.278 100.00% Conn: 1 Mbps: 1129.278 Peak Mbps: 1140.303 Avg Mbps: 1129.278 4001 142347352 1139.919 100.00% Conn: 1 Mbps: 1139.919 Peak Mbps: 1140.303 Avg Mbps: 1139.919 5002 142440836 1139.527 100.00% Conn: 1 Mbps: 1139.527 Peak Mbps: 1140.303 Avg Mbps: 1139.527 --- fc00:0:0:1::11 tcpbench statistics --- 853518768 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1129.278/1135.796/1140.303/5.057 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.048 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.048/0.048/0.048/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.054 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.054/0.054/0.054/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 370268080 2962.145 100.00% Conn: 1 Mbps: 2962.145 Peak Mbps: 2962.145 Avg Mbps: 2962.145 2000 368397264 2947.178 100.00% Conn: 1 Mbps: 2947.178 Peak Mbps: 2962.145 Avg Mbps: 2947.178 3000 367473440 2939.788 100.00% Conn: 1 Mbps: 2939.788 Peak Mbps: 2962.145 Avg Mbps: 2939.788 4000 367968656 2943.749 100.00% Conn: 1 Mbps: 2943.749 Peak Mbps: 2962.145 Avg Mbps: 2943.749 5000 366199200 2929.594 100.00% Conn: 1 Mbps: 2929.594 Peak Mbps: 2962.145 Avg Mbps: 2929.594 --- 169.254.1.12 tcpbench statistics --- 2207570120 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2929.594/2944.491/2962.145/10.616 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 368995200 2951.962 100.00% Conn: 1 Mbps: 2951.962 Peak Mbps: 2951.962 Avg Mbps: 2951.962 2000 370571712 2967.541 100.00% Conn: 1 Mbps: 2967.541 Peak Mbps: 2967.541 Avg Mbps: 2967.541 3000 373030728 2984.246 100.00% Conn: 1 Mbps: 2984.246 Peak Mbps: 2984.246 Avg Mbps: 2984.246 4000 372645168 2981.161 100.00% Conn: 1 Mbps: 2981.161 Peak Mbps: 2984.246 Avg Mbps: 2981.161 5000 371434224 2971.474 100.00% Conn: 1 Mbps: 2971.474 Peak Mbps: 2984.246 Avg Mbps: 2971.474 --- fc00:0:0:1::12 tcpbench statistics --- 2228446836 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2951.962/2971.277/2984.246/11.428 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.061 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.061/0.061/0.061/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.063 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.063/0.063/0.063/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 669891546 5359.132 100.00% Conn: 1 Mbps: 5359.132 Peak Mbps: 5359.132 Avg Mbps: 5359.132 2000 672771824 5387.562 100.00% Conn: 1 Mbps: 5387.562 Peak Mbps: 5387.562 Avg Mbps: 5387.562 3000 672542812 5380.342 100.00% Conn: 1 Mbps: 5380.342 Peak Mbps: 5387.562 Avg Mbps: 5380.342 4000 672935404 5383.483 100.00% Conn: 1 Mbps: 5383.483 Peak Mbps: 5387.562 Avg Mbps: 5383.483 5000 671921208 5375.370 100.00% Conn: 1 Mbps: 5375.370 Peak Mbps: 5387.562 Avg Mbps: 5375.370 --- 169.254.0.13 tcpbench statistics --- 4033325358 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5359.132/5377.178/5387.562/9.864 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 658895912 5271.167 100.00% Conn: 1 Mbps: 5271.167 Peak Mbps: 5271.167 Avg Mbps: 5271.167 2000 664251936 5319.335 100.00% Conn: 1 Mbps: 5319.335 Peak Mbps: 5319.335 Avg Mbps: 5319.335 3000 661930520 5295.444 100.00% Conn: 1 Mbps: 5295.444 Peak Mbps: 5319.335 Avg Mbps: 5295.444 4000 662878704 5303.030 100.00% Conn: 1 Mbps: 5303.030 Peak Mbps: 5319.335 Avg Mbps: 5303.030 5000 661243904 5289.951 100.00% Conn: 1 Mbps: 5289.951 Peak Mbps: 5319.335 Avg Mbps: 5289.951 --- fc00::13 tcpbench statistics --- 3973027864 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5271.167/5295.785/5319.335/15.794 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.092 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.092/0.092/0.092/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.070 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.070/0.070/0.070/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 150734000 1205.872 100.00% Conn: 1 Mbps: 1205.872 Peak Mbps: 1205.872 Avg Mbps: 1205.872 2000 153190096 1226.748 100.00% Conn: 1 Mbps: 1226.748 Peak Mbps: 1226.748 Avg Mbps: 1226.748 3000 152752856 1223.246 100.00% Conn: 1 Mbps: 1223.246 Peak Mbps: 1226.748 Avg Mbps: 1223.246 4000 152750072 1223.224 100.00% Conn: 1 Mbps: 1223.224 Peak Mbps: 1226.748 Avg Mbps: 1223.224 5001 152817184 1222.537 100.00% Conn: 1 Mbps: 1222.537 Peak Mbps: 1226.748 Avg Mbps: 1222.537 --- 169.254.1.11 tcpbench statistics --- 915898488 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1205.872/1220.325/1226.748/7.375 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 219704184 1757.633 100.00% Conn: 1 Mbps: 1757.633 Peak Mbps: 1757.633 Avg Mbps: 1757.633 2000 220207952 1761.664 100.00% Conn: 1 Mbps: 1761.664 Peak Mbps: 1761.664 Avg Mbps: 1761.664 3001 215725552 1725.804 100.00% Conn: 1 Mbps: 1725.804 Peak Mbps: 1761.664 Avg Mbps: 1725.804 4000 219059248 1754.228 100.00% Conn: 1 Mbps: 1754.228 Peak Mbps: 1761.664 Avg Mbps: 1754.228 5002 220695424 1763.800 100.00% Conn: 1 Mbps: 1763.800 Peak Mbps: 1763.800 Avg Mbps: 1763.800 --- fc00:0:0:1::11 tcpbench statistics --- 1315355200 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1725.804/1752.626/1763.800/13.810 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.073 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.073/0.073/0.073/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.062 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.062/0.062/0.062/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 669484860 5355.879 100.00% Conn: 1 Mbps: 5355.879 Peak Mbps: 5355.879 Avg Mbps: 5355.879 2000 669402076 5360.577 100.00% Conn: 1 Mbps: 5360.577 Peak Mbps: 5360.577 Avg Mbps: 5360.577 3000 669990964 5359.928 100.00% Conn: 1 Mbps: 5359.928 Peak Mbps: 5360.577 Avg Mbps: 5359.928 4000 670056396 5360.451 100.00% Conn: 1 Mbps: 5360.451 Peak Mbps: 5360.577 Avg Mbps: 5360.451 5000 669794668 5358.357 100.00% Conn: 1 Mbps: 5358.357 Peak Mbps: 5360.577 Avg Mbps: 5358.357 --- 169.254.1.12 tcpbench statistics --- 4017869312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5355.879/5359.038/5360.577/1.766 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 668355356 5346.843 100.00% Conn: 1 Mbps: 5346.843 Peak Mbps: 5346.843 Avg Mbps: 5346.843 2000 666769528 5339.496 100.00% Conn: 1 Mbps: 5339.496 Peak Mbps: 5346.843 Avg Mbps: 5339.496 3000 666998400 5335.987 100.00% Conn: 1 Mbps: 5335.987 Peak Mbps: 5346.843 Avg Mbps: 5335.987 4000 666998400 5335.987 100.00% Conn: 1 Mbps: 5335.987 Peak Mbps: 5346.843 Avg Mbps: 5335.987 5000 666638744 5333.110 100.00% Conn: 1 Mbps: 5333.110 Peak Mbps: 5346.843 Avg Mbps: 5333.110 --- fc00:0:0:1::12 tcpbench statistics --- 4002497260 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5333.110/5338.285/5346.843/4.734 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.062 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.062/0.062/0.062/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 676078342 5408.627 100.00% Conn: 1 Mbps: 5408.627 Peak Mbps: 5408.627 Avg Mbps: 5408.627 2000 676174288 5414.809 100.00% Conn: 1 Mbps: 5414.809 Peak Mbps: 5414.809 Avg Mbps: 5414.809 3000 676370584 5410.965 100.00% Conn: 1 Mbps: 5410.965 Peak Mbps: 5414.809 Avg Mbps: 5410.965 4000 676403300 5411.226 100.00% Conn: 1 Mbps: 5411.226 Peak Mbps: 5414.809 Avg Mbps: 5411.226 5000 675748980 5405.992 100.00% Conn: 1 Mbps: 5405.992 Peak Mbps: 5414.809 Avg Mbps: 5405.992 --- 169.254.0.13 tcpbench statistics --- 4056688054 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5405.992/5410.324/5414.809/2.932 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 681532944 5452.264 100.00% Conn: 1 Mbps: 5452.264 Peak Mbps: 5452.264 Avg Mbps: 5452.264 2000 680207584 5447.108 100.00% Conn: 1 Mbps: 5447.108 Peak Mbps: 5452.264 Avg Mbps: 5447.108 3000 680240280 5441.922 100.00% Conn: 1 Mbps: 5441.922 Peak Mbps: 5452.264 Avg Mbps: 5441.922 4000 680109496 5440.876 100.00% Conn: 1 Mbps: 5440.876 Peak Mbps: 5452.264 Avg Mbps: 5440.876 5000 680828808 5446.630 100.00% Conn: 1 Mbps: 5446.630 Peak Mbps: 5452.264 Avg Mbps: 5446.630 --- fc00::13 tcpbench statistics --- 4082897824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5440.876/5445.760/5452.264/4.085 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.05s