START sys/net/pair 2023-12-16T00:22:59Z ==== 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.066 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.066/0.066/0.066/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.061 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.061/0.061/0.061/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 334881032 2679.048 100.00% Conn: 1 Mbps: 2679.048 Peak Mbps: 2679.048 Avg Mbps: 2679.048 2000 337448236 2702.288 100.00% Conn: 1 Mbps: 2702.288 Peak Mbps: 2702.288 Avg Mbps: 2702.288 3000 338982200 2711.858 100.00% Conn: 1 Mbps: 2711.858 Peak Mbps: 2711.858 Avg Mbps: 2711.858 4000 336907772 2695.262 100.00% Conn: 1 Mbps: 2695.262 Peak Mbps: 2711.858 Avg Mbps: 2695.262 5000 341310964 2730.488 100.00% Conn: 1 Mbps: 2730.488 Peak Mbps: 2730.488 Avg Mbps: 2730.488 --- 169.254.1.11 tcpbench statistics --- 2030069932 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2679.048/2703.789/2730.488/17.117 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 334894576 2679.157 100.00% Conn: 1 Mbps: 2679.157 Peak Mbps: 2679.157 Avg Mbps: 2679.157 2000 332167344 2657.339 100.00% Conn: 1 Mbps: 2657.339 Peak Mbps: 2679.157 Avg Mbps: 2657.339 3000 335560528 2687.171 100.00% Conn: 1 Mbps: 2687.171 Peak Mbps: 2687.171 Avg Mbps: 2687.171 4000 334514032 2676.112 100.00% Conn: 1 Mbps: 2676.112 Peak Mbps: 2687.171 Avg Mbps: 2676.112 5000 334926288 2679.410 100.00% Conn: 1 Mbps: 2679.410 Peak Mbps: 2687.171 Avg Mbps: 2679.410 --- fc00:0:0:1::11 tcpbench statistics --- 2004999128 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2657.339/2675.838/2687.171/9.945 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.111 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.111/0.111/0.111/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.196 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.196/0.196/0.196/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 165948128 1327.585 100.00% Conn: 1 Mbps: 1327.585 Peak Mbps: 1327.585 Avg Mbps: 1327.585 2000 166874568 1334.997 100.00% Conn: 1 Mbps: 1334.997 Peak Mbps: 1334.997 Avg Mbps: 1334.997 3001 166156024 1329.248 100.00% Conn: 1 Mbps: 1329.248 Peak Mbps: 1334.997 Avg Mbps: 1329.248 4002 165652680 1325.221 100.00% Conn: 1 Mbps: 1325.221 Peak Mbps: 1334.997 Avg Mbps: 1325.221 5001 166058504 1329.798 100.00% Conn: 1 Mbps: 1329.798 Peak Mbps: 1334.997 Avg Mbps: 1329.798 --- 169.254.1.12 tcpbench statistics --- 996131840 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1325.221/1329.370/1334.997/3.233 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 159166732 1273.334 100.00% Conn: 1 Mbps: 1273.334 Peak Mbps: 1273.334 Avg Mbps: 1273.334 2001 161552452 1292.420 100.00% Conn: 1 Mbps: 1292.420 Peak Mbps: 1292.420 Avg Mbps: 1292.420 3001 162120372 1296.963 100.00% Conn: 1 Mbps: 1296.963 Peak Mbps: 1296.963 Avg Mbps: 1296.963 4002 161891440 1295.132 100.00% Conn: 1 Mbps: 1295.132 Peak Mbps: 1296.963 Avg Mbps: 1295.132 5001 163169288 1306.661 100.00% Conn: 1 Mbps: 1306.661 Peak Mbps: 1306.661 Avg Mbps: 1306.661 --- fc00:0:0:1::12 tcpbench statistics --- 970098956 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1273.334/1292.902/1306.661/10.899 Mbps ==== run-ping-1-3 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=254 time=0.079 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.079/0.079/0.079/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.085 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.085/0.085/0.085/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 177598060 1420.784 100.00% Conn: 1 Mbps: 1420.784 Peak Mbps: 1420.784 Avg Mbps: 1420.784 2000 177462944 1421.125 100.00% Conn: 1 Mbps: 1421.125 Peak Mbps: 1421.125 Avg Mbps: 1421.125 3000 177208608 1417.669 100.00% Conn: 1 Mbps: 1417.669 Peak Mbps: 1421.125 Avg Mbps: 1417.669 4000 177693436 1422.970 100.00% Conn: 1 Mbps: 1422.970 Peak Mbps: 1422.970 Avg Mbps: 1422.970 5000 177876240 1423.010 100.00% Conn: 1 Mbps: 1423.010 Peak Mbps: 1423.010 Avg Mbps: 1423.010 --- 169.254.0.13 tcpbench statistics --- 1065326076 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1417.669/1421.112/1423.010/1.950 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 162619136 1300.953 100.00% Conn: 1 Mbps: 1300.953 Peak Mbps: 1300.953 Avg Mbps: 1300.953 2000 162967968 1305.049 100.00% Conn: 1 Mbps: 1305.049 Peak Mbps: 1305.049 Avg Mbps: 1305.049 3000 162603280 1300.826 100.00% Conn: 1 Mbps: 1300.826 Peak Mbps: 1305.049 Avg Mbps: 1300.826 4000 163308872 1306.471 100.00% Conn: 1 Mbps: 1306.471 Peak Mbps: 1306.471 Avg Mbps: 1306.471 5000 162920400 1303.363 100.00% Conn: 1 Mbps: 1303.363 Peak Mbps: 1306.471 Avg Mbps: 1303.363 --- fc00::13 tcpbench statistics --- 977157712 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1300.826/1303.332/1306.471/2.224 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.071 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.071/0.071/0.071/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.072 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.072/0.072/0.072/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 165024760 1320.198 100.00% Conn: 1 Mbps: 1320.198 Peak Mbps: 1320.198 Avg Mbps: 1320.198 2000 166516904 1332.135 100.00% Conn: 1 Mbps: 1332.135 Peak Mbps: 1332.135 Avg Mbps: 1332.135 3001 165917712 1327.342 100.00% Conn: 1 Mbps: 1327.342 Peak Mbps: 1332.135 Avg Mbps: 1327.342 4001 165852448 1326.820 100.00% Conn: 1 Mbps: 1326.820 Peak Mbps: 1332.135 Avg Mbps: 1326.820 5002 166591592 1332.733 100.00% Conn: 1 Mbps: 1332.733 Peak Mbps: 1332.733 Avg Mbps: 1332.733 --- 169.254.1.11 tcpbench statistics --- 996086224 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1320.198/1327.845/1332.733/4.518 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 160819380 1286.555 100.00% Conn: 1 Mbps: 1286.555 Peak Mbps: 1286.555 Avg Mbps: 1286.555 2001 162632332 1301.059 100.00% Conn: 1 Mbps: 1301.059 Peak Mbps: 1301.059 Avg Mbps: 1301.059 3002 159596804 1276.774 100.00% Conn: 1 Mbps: 1276.774 Peak Mbps: 1301.059 Avg Mbps: 1276.774 4001 157482456 1261.121 100.00% Conn: 1 Mbps: 1261.121 Peak Mbps: 1301.059 Avg Mbps: 1261.121 5002 158353012 1265.559 100.00% Conn: 1 Mbps: 1265.559 Peak Mbps: 1301.059 Avg Mbps: 1265.559 --- fc00:0:0:1::11 tcpbench statistics --- 953958488 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1261.121/1278.213/1301.059/14.463 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.069 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.069/0.069/0.069/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.063 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.063/0.063/0.063/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 334375056 2675.000 100.00% Conn: 1 Mbps: 2675.000 Peak Mbps: 2675.000 Avg Mbps: 2675.000 2000 330681208 2648.098 100.00% Conn: 1 Mbps: 2648.098 Peak Mbps: 2675.000 Avg Mbps: 2648.098 3000 327007632 2618.680 100.00% Conn: 1 Mbps: 2618.680 Peak Mbps: 2675.000 Avg Mbps: 2618.680 4000 332906784 2663.254 100.00% Conn: 1 Mbps: 2663.254 Peak Mbps: 2675.000 Avg Mbps: 2663.254 5000 328794464 2630.356 100.00% Conn: 1 Mbps: 2630.356 Peak Mbps: 2675.000 Avg Mbps: 2630.356 --- 169.254.1.12 tcpbench statistics --- 1981296952 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2618.680/2647.078/2675.000/20.632 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 338080428 2704.643 100.00% Conn: 1 Mbps: 2704.643 Peak Mbps: 2704.643 Avg Mbps: 2704.643 2000 333546528 2671.043 100.00% Conn: 1 Mbps: 2671.043 Peak Mbps: 2704.643 Avg Mbps: 2671.043 3000 336492492 2691.940 100.00% Conn: 1 Mbps: 2691.940 Peak Mbps: 2704.643 Avg Mbps: 2691.940 4000 333613644 2668.909 100.00% Conn: 1 Mbps: 2668.909 Peak Mbps: 2704.643 Avg Mbps: 2668.909 5000 334380480 2675.044 100.00% Conn: 1 Mbps: 2675.044 Peak Mbps: 2704.643 Avg Mbps: 2675.044 --- fc00:0:0:1::12 tcpbench statistics --- 2013280080 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2668.909/2682.316/2704.643/13.790 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.081 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.081/0.081/0.081/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.070 ms --- fc00::13 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-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 636540990 5092.328 100.00% Conn: 1 Mbps: 5092.328 Peak Mbps: 5092.328 Avg Mbps: 5092.328 2000 636097188 5093.871 100.00% Conn: 1 Mbps: 5093.871 Peak Mbps: 5093.871 Avg Mbps: 5093.871 3000 637700272 5101.602 100.00% Conn: 1 Mbps: 5101.602 Peak Mbps: 5101.602 Avg Mbps: 5101.602 4000 636915088 5100.421 100.00% Conn: 1 Mbps: 5100.421 Peak Mbps: 5101.602 Avg Mbps: 5100.421 5000 636587928 5092.703 100.00% Conn: 1 Mbps: 5092.703 Peak Mbps: 5101.602 Avg Mbps: 5092.703 --- 169.254.0.13 tcpbench statistics --- 3819971370 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5092.328/5096.185/5101.602/3.991 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 631594860 5052.759 100.00% Conn: 1 Mbps: 5052.759 Peak Mbps: 5052.759 Avg Mbps: 5052.759 2000 633648480 5074.262 100.00% Conn: 1 Mbps: 5074.262 Peak Mbps: 5074.262 Avg Mbps: 5074.262 3000 633256128 5071.120 100.00% Conn: 1 Mbps: 5071.120 Peak Mbps: 5074.262 Avg Mbps: 5071.120 4000 633354216 5066.834 100.00% Conn: 1 Mbps: 5066.834 Peak Mbps: 5074.262 Avg Mbps: 5066.834 5000 632504120 5060.033 100.00% Conn: 1 Mbps: 5060.033 Peak Mbps: 5074.262 Avg Mbps: 5060.033 --- fc00::13 tcpbench statistics --- 3797744716 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5052.759/5065.002/5074.262/7.760 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.081 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.081/0.081/0.081/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.078 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.078/0.078/0.078/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 163184672 1305.477 100.00% Conn: 1 Mbps: 1305.477 Peak Mbps: 1305.477 Avg Mbps: 1305.477 2001 165400640 1323.205 100.00% Conn: 1 Mbps: 1323.205 Peak Mbps: 1323.205 Avg Mbps: 1323.205 3001 164433712 1315.470 100.00% Conn: 1 Mbps: 1315.470 Peak Mbps: 1323.205 Avg Mbps: 1315.470 4002 164148208 1313.186 100.00% Conn: 1 Mbps: 1313.186 Peak Mbps: 1323.205 Avg Mbps: 1313.186 5002 163958016 1311.664 100.00% Conn: 1 Mbps: 1311.664 Peak Mbps: 1323.205 Avg Mbps: 1311.664 --- 169.254.1.11 tcpbench statistics --- 983145728 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1305.477/1313.800/1323.205/5.752 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 227781856 1822.255 100.00% Conn: 1 Mbps: 1822.255 Peak Mbps: 1822.255 Avg Mbps: 1822.255 2001 228371984 1826.976 100.00% Conn: 1 Mbps: 1826.976 Peak Mbps: 1826.976 Avg Mbps: 1826.976 3001 224476632 1797.611 100.00% Conn: 1 Mbps: 1797.611 Peak Mbps: 1826.976 Avg Mbps: 1797.611 4001 227289272 1818.314 100.00% Conn: 1 Mbps: 1818.314 Peak Mbps: 1826.976 Avg Mbps: 1818.314 5001 225221864 1803.578 100.00% Conn: 1 Mbps: 1803.578 Peak Mbps: 1826.976 Avg Mbps: 1803.578 --- fc00:0:0:1::11 tcpbench statistics --- 1358945392 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1797.611/1813.747/1826.976/11.243 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.077 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.077/0.077/0.077/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.074 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.074/0.074/0.074/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 632973662 5063.789 100.00% Conn: 1 Mbps: 5063.789 Peak Mbps: 5063.789 Avg Mbps: 5063.789 2000 631353368 5055.883 100.00% Conn: 1 Mbps: 5055.883 Peak Mbps: 5063.789 Avg Mbps: 5055.883 3000 632629292 5061.034 100.00% Conn: 1 Mbps: 5061.034 Peak Mbps: 5063.789 Avg Mbps: 5061.034 4000 632891020 5063.128 100.00% Conn: 1 Mbps: 5063.128 Peak Mbps: 5063.789 Avg Mbps: 5063.128 5000 631189788 5049.518 100.00% Conn: 1 Mbps: 5049.518 Peak Mbps: 5063.789 Avg Mbps: 5049.518 --- 169.254.1.12 tcpbench statistics --- 3795040494 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5049.518/5058.671/5063.789/5.352 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 638818444 5110.548 100.00% Conn: 1 Mbps: 5110.548 Peak Mbps: 5110.548 Avg Mbps: 5110.548 2000 639762632 5123.224 100.00% Conn: 1 Mbps: 5123.224 Peak Mbps: 5123.224 Avg Mbps: 5123.224 3000 640416552 5123.332 100.00% Conn: 1 Mbps: 5123.332 Peak Mbps: 5123.332 Avg Mbps: 5123.332 4000 640841600 5126.733 100.00% Conn: 1 Mbps: 5126.733 Peak Mbps: 5126.733 Avg Mbps: 5126.733 5000 640612728 5124.902 100.00% Conn: 1 Mbps: 5124.902 Peak Mbps: 5126.733 Avg Mbps: 5124.902 --- fc00:0:0:1::12 tcpbench statistics --- 3840279980 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5110.548/5121.748/5126.733/5.743 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 632289694 5058.318 100.00% Conn: 1 Mbps: 5058.318 Peak Mbps: 5058.318 Avg Mbps: 5058.318 2000 637176444 5102.514 100.00% Conn: 1 Mbps: 5102.514 Peak Mbps: 5102.514 Avg Mbps: 5102.514 3000 636751136 5099.108 100.00% Conn: 1 Mbps: 5099.108 Peak Mbps: 5102.514 Avg Mbps: 5099.108 4000 637503844 5100.031 100.00% Conn: 1 Mbps: 5100.031 Peak Mbps: 5102.514 Avg Mbps: 5100.031 5000 637242248 5097.938 100.00% Conn: 1 Mbps: 5097.938 Peak Mbps: 5102.514 Avg Mbps: 5097.938 --- 169.254.0.13 tcpbench statistics --- 3816798826 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5058.318/5091.582/5102.514/16.700 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 646372300 5170.978 100.00% Conn: 1 Mbps: 5170.978 Peak Mbps: 5170.978 Avg Mbps: 5170.978 2000 647871240 5182.970 100.00% Conn: 1 Mbps: 5182.970 Peak Mbps: 5182.970 Avg Mbps: 5182.970 3000 647348104 5178.785 100.00% Conn: 1 Mbps: 5178.785 Peak Mbps: 5182.970 Avg Mbps: 5178.785 4000 648067416 5184.539 100.00% Conn: 1 Mbps: 5184.539 Peak Mbps: 5184.539 Avg Mbps: 5184.539 5000 647086536 5176.692 100.00% Conn: 1 Mbps: 5176.692 Peak Mbps: 5184.539 Avg Mbps: 5176.692 --- fc00::13 tcpbench statistics --- 3884355268 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5170.978/5178.793/5184.539/4.816 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.98s