START sys/net/pair 2024-07-25T12:12:43Z ==== 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.093 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.093/0.093/0.093/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.114 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.114/0.114/0.114/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 219952952 1759.624 100.00% Conn: 1 Mbps: 1759.624 Peak Mbps: 1759.624 Avg Mbps: 1759.624 2000 223148048 1785.184 100.00% Conn: 1 Mbps: 1785.184 Peak Mbps: 1785.184 Avg Mbps: 1785.184 3000 218037484 1744.300 100.00% Conn: 1 Mbps: 1744.300 Peak Mbps: 1785.184 Avg Mbps: 1744.300 4000 219086620 1752.693 100.00% Conn: 1 Mbps: 1752.693 Peak Mbps: 1785.184 Avg Mbps: 1752.693 5000 218124912 1744.999 100.00% Conn: 1 Mbps: 1744.999 Peak Mbps: 1785.184 Avg Mbps: 1744.999 --- 169.254.1.11 tcpbench statistics --- 1327610076 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1744.300/1757.360/1785.184/14.996 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 229975424 1839.803 100.00% Conn: 1 Mbps: 1839.803 Peak Mbps: 1839.803 Avg Mbps: 1839.803 2000 225670520 1807.171 100.00% Conn: 1 Mbps: 1807.171 Peak Mbps: 1839.803 Avg Mbps: 1807.171 3000 219383616 1755.069 100.00% Conn: 1 Mbps: 1755.069 Peak Mbps: 1839.803 Avg Mbps: 1755.069 4000 218725592 1751.556 100.00% Conn: 1 Mbps: 1751.556 Peak Mbps: 1839.803 Avg Mbps: 1751.556 5000 218067568 1744.541 100.00% Conn: 1 Mbps: 1744.541 Peak Mbps: 1839.803 Avg Mbps: 1744.541 --- fc00:0:0:1::11 tcpbench statistics --- 1330120200 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1744.541/1779.628/1839.803/37.422 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.142 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.142/0.142/0.142/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.302 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.302/0.302/0.302/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 79421352 635.371 100.00% Conn: 1 Mbps: 635.371 Peak Mbps: 635.371 Avg Mbps: 635.371 2000 80183000 641.464 100.00% Conn: 1 Mbps: 641.464 Peak Mbps: 641.464 Avg Mbps: 641.464 3001 79891952 639.136 100.00% Conn: 1 Mbps: 639.136 Peak Mbps: 641.464 Avg Mbps: 639.136 4001 80216304 641.730 100.00% Conn: 1 Mbps: 641.730 Peak Mbps: 641.730 Avg Mbps: 641.730 5002 80172864 641.383 100.00% Conn: 1 Mbps: 641.383 Peak Mbps: 641.730 Avg Mbps: 641.383 --- 169.254.1.12 tcpbench statistics --- 479904848 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 635.371/639.817/641.730/2.411 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 77151984 617.216 100.00% Conn: 1 Mbps: 617.216 Peak Mbps: 617.216 Avg Mbps: 617.216 2001 77738892 621.290 100.00% Conn: 1 Mbps: 621.290 Peak Mbps: 621.290 Avg Mbps: 621.290 3004 77968800 622.505 100.00% Conn: 1 Mbps: 622.505 Peak Mbps: 622.505 Avg Mbps: 622.505 4003 77806008 623.071 100.00% Conn: 1 Mbps: 623.071 Peak Mbps: 623.071 Avg Mbps: 623.071 5004 77995932 623.344 100.00% Conn: 1 Mbps: 623.344 Peak Mbps: 623.344 Avg Mbps: 623.344 --- fc00:0:0:1::12 tcpbench statistics --- 466093488 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 617.216/621.485/623.344/2.248 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.126 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.126/0.126/0.126/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.157 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.157/0.157/0.157/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 135346492 1082.772 100.00% Conn: 1 Mbps: 1082.772 Peak Mbps: 1082.772 Avg Mbps: 1082.772 2000 134456316 1075.651 100.00% Conn: 1 Mbps: 1075.651 Peak Mbps: 1082.772 Avg Mbps: 1075.651 3000 134837820 1078.703 100.00% Conn: 1 Mbps: 1078.703 Peak Mbps: 1082.772 Avg Mbps: 1078.703 4000 133542296 1068.338 100.00% Conn: 1 Mbps: 1068.338 Peak Mbps: 1082.772 Avg Mbps: 1068.338 5000 135855164 1086.841 100.00% Conn: 1 Mbps: 1086.841 Peak Mbps: 1086.841 Avg Mbps: 1086.841 --- 169.254.0.13 tcpbench statistics --- 809845564 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1068.338/1078.461/1086.841/6.313 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 124073200 992.586 100.00% Conn: 1 Mbps: 992.586 Peak Mbps: 992.586 Avg Mbps: 992.586 2000 122479672 980.818 100.00% Conn: 1 Mbps: 980.818 Peak Mbps: 992.586 Avg Mbps: 980.818 3000 121179480 969.436 100.00% Conn: 1 Mbps: 969.436 Peak Mbps: 992.586 Avg Mbps: 969.436 4000 121409392 971.275 100.00% Conn: 1 Mbps: 971.275 Peak Mbps: 992.586 Avg Mbps: 971.275 5000 124905640 999.245 100.00% Conn: 1 Mbps: 999.245 Peak Mbps: 999.245 Avg Mbps: 999.245 --- fc00::13 tcpbench statistics --- 740649616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 969.436/982.672/999.245/11.674 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.099 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.099/0.099/0.099/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.125 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.125/0.125/0.125/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 79779008 638.232 100.00% Conn: 1 Mbps: 638.232 Peak Mbps: 638.232 Avg Mbps: 638.232 2001 80194584 641.557 100.00% Conn: 1 Mbps: 641.557 Peak Mbps: 641.557 Avg Mbps: 641.557 3001 79889056 639.112 100.00% Conn: 1 Mbps: 639.112 Peak Mbps: 641.557 Avg Mbps: 639.112 4003 79884712 638.439 100.00% Conn: 1 Mbps: 638.439 Peak Mbps: 641.557 Avg Mbps: 638.439 5003 80233680 641.869 100.00% Conn: 1 Mbps: 641.869 Peak Mbps: 641.869 Avg Mbps: 641.869 --- 169.254.1.11 tcpbench statistics --- 480288568 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 638.232/639.842/641.869/1.558 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 77419020 619.352 100.00% Conn: 1 Mbps: 619.352 Peak Mbps: 619.352 Avg Mbps: 619.352 2001 78118740 624.326 100.00% Conn: 1 Mbps: 624.326 Peak Mbps: 624.326 Avg Mbps: 624.326 3000 77771736 622.797 100.00% Conn: 1 Mbps: 622.797 Peak Mbps: 624.326 Avg Mbps: 622.797 4002 77985936 623.264 100.00% Conn: 1 Mbps: 623.264 Peak Mbps: 624.326 Avg Mbps: 623.264 5004 77951664 622.369 100.00% Conn: 1 Mbps: 622.369 Peak Mbps: 624.326 Avg Mbps: 622.369 --- fc00:0:0:1::11 tcpbench statistics --- 466901736 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 619.352/622.421/624.326/1.667 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.089 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.089/0.089/0.089/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.110 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.110/0.110/0.110/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 220204600 1761.637 100.00% Conn: 1 Mbps: 1761.637 Peak Mbps: 1761.637 Avg Mbps: 1761.637 2000 225925648 1807.405 100.00% Conn: 1 Mbps: 1807.405 Peak Mbps: 1807.405 Avg Mbps: 1807.405 3000 211940864 1695.527 100.00% Conn: 1 Mbps: 1695.527 Peak Mbps: 1807.405 Avg Mbps: 1695.527 4000 224363256 1794.906 100.00% Conn: 1 Mbps: 1794.906 Peak Mbps: 1807.405 Avg Mbps: 1794.906 5000 216843792 1736.487 100.00% Conn: 1 Mbps: 1736.487 Peak Mbps: 1807.405 Avg Mbps: 1736.487 --- 169.254.1.12 tcpbench statistics --- 1321360816 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1695.527/1759.192/1807.405/40.435 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 210888468 1687.108 100.00% Conn: 1 Mbps: 1687.108 Peak Mbps: 1687.108 Avg Mbps: 1687.108 2000 218269800 1747.906 100.00% Conn: 1 Mbps: 1747.906 Peak Mbps: 1747.906 Avg Mbps: 1747.906 3000 223510560 1788.084 100.00% Conn: 1 Mbps: 1788.084 Peak Mbps: 1788.084 Avg Mbps: 1788.084 4000 208190976 1665.528 100.00% Conn: 1 Mbps: 1665.528 Peak Mbps: 1788.084 Avg Mbps: 1665.528 5000 206340288 1652.375 100.00% Conn: 1 Mbps: 1652.375 Peak Mbps: 1788.084 Avg Mbps: 1652.375 --- fc00:0:0:1::12 tcpbench statistics --- 1286366676 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1652.375/1708.200/1788.084/51.653 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.093 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.093/0.093/0.093/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.119 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.119/0.119/0.119/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 310278736 2482.230 100.00% Conn: 1 Mbps: 2482.230 Peak Mbps: 2482.230 Avg Mbps: 2482.230 2000 297617416 2383.323 100.00% Conn: 1 Mbps: 2383.323 Peak Mbps: 2482.230 Avg Mbps: 2383.323 3000 310605704 2484.846 100.00% Conn: 1 Mbps: 2484.846 Peak Mbps: 2484.846 Avg Mbps: 2484.846 4000 306516204 2452.130 100.00% Conn: 1 Mbps: 2452.130 Peak Mbps: 2484.846 Avg Mbps: 2452.130 5000 307203240 2457.626 100.00% Conn: 1 Mbps: 2457.626 Peak Mbps: 2484.846 Avg Mbps: 2457.626 --- 169.254.0.13 tcpbench statistics --- 1843546756 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2383.323/2452.031/2484.846/36.718 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 310843100 2486.745 100.00% Conn: 1 Mbps: 2486.745 Peak Mbps: 2486.745 Avg Mbps: 2486.745 2000 308159800 2467.746 100.00% Conn: 1 Mbps: 2467.746 Peak Mbps: 2486.745 Avg Mbps: 2467.746 3000 307963624 2463.709 100.00% Conn: 1 Mbps: 2463.709 Peak Mbps: 2486.745 Avg Mbps: 2463.709 4000 306165344 2449.323 100.00% Conn: 1 Mbps: 2449.323 Peak Mbps: 2486.745 Avg Mbps: 2449.323 5000 305511424 2444.091 100.00% Conn: 1 Mbps: 2444.091 Peak Mbps: 2486.745 Avg Mbps: 2444.091 --- fc00::13 tcpbench statistics --- 1846508828 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2444.091/2462.323/2486.745/15.028 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.105 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.105/0.105/0.105/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.134 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.134/0.134/0.134/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 78623504 628.988 100.00% Conn: 1 Mbps: 628.988 Peak Mbps: 628.988 Avg Mbps: 628.988 2002 79470584 635.130 100.00% Conn: 1 Mbps: 635.130 Peak Mbps: 635.130 Avg Mbps: 635.130 3003 79731224 637.850 100.00% Conn: 1 Mbps: 637.850 Peak Mbps: 637.850 Avg Mbps: 637.850 4003 79925256 639.402 100.00% Conn: 1 Mbps: 639.402 Peak Mbps: 639.402 Avg Mbps: 639.402 5005 80175760 640.765 100.00% Conn: 1 Mbps: 640.765 Peak Mbps: 640.765 Avg Mbps: 640.765 --- 169.254.1.11 tcpbench statistics --- 477582256 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 628.988/636.427/640.765/4.165 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 126476824 1011.815 100.00% Conn: 1 Mbps: 1011.815 Peak Mbps: 1011.815 Avg Mbps: 1011.815 2001 125611544 1004.892 100.00% Conn: 1 Mbps: 1004.892 Peak Mbps: 1011.815 Avg Mbps: 1004.892 3002 125008632 1000.069 100.00% Conn: 1 Mbps: 1000.069 Peak Mbps: 1011.815 Avg Mbps: 1000.069 4001 125425672 1004.410 100.00% Conn: 1 Mbps: 1004.410 Peak Mbps: 1011.815 Avg Mbps: 1004.410 5002 126042024 1008.336 100.00% Conn: 1 Mbps: 1008.336 Peak Mbps: 1011.815 Avg Mbps: 1008.336 --- fc00:0:0:1::11 tcpbench statistics --- 754040824 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1000.069/1005.904/1011.815/3.954 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.095 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.095/0.095/0.095/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.116 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.116/0.116/0.116/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 316560862 2532.487 100.00% Conn: 1 Mbps: 2532.487 Peak Mbps: 2532.487 Avg Mbps: 2532.487 2000 309951384 2482.093 100.00% Conn: 1 Mbps: 2482.093 Peak Mbps: 2532.487 Avg Mbps: 2482.093 3000 305502008 2444.016 100.00% Conn: 1 Mbps: 2444.016 Peak Mbps: 2532.487 Avg Mbps: 2444.016 4000 317966804 2543.734 100.00% Conn: 1 Mbps: 2543.734 Peak Mbps: 2543.734 Avg Mbps: 2543.734 5000 301772384 2414.179 100.00% Conn: 1 Mbps: 2414.179 Peak Mbps: 2543.734 Avg Mbps: 2414.179 --- 169.254.1.12 tcpbench statistics --- 1861115938 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2414.179/2483.302/2543.734/49.788 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 310383596 2483.069 100.00% Conn: 1 Mbps: 2483.069 Peak Mbps: 2483.069 Avg Mbps: 2483.069 2000 303549664 2430.828 100.00% Conn: 1 Mbps: 2430.828 Peak Mbps: 2483.069 Avg Mbps: 2430.828 3000 310612000 2484.896 100.00% Conn: 1 Mbps: 2484.896 Peak Mbps: 2484.896 Avg Mbps: 2484.896 4000 307538576 2460.309 100.00% Conn: 1 Mbps: 2460.309 Peak Mbps: 2484.896 Avg Mbps: 2460.309 5000 306525000 2452.200 100.00% Conn: 1 Mbps: 2452.200 Peak Mbps: 2484.896 Avg Mbps: 2452.200 --- fc00:0:0:1::12 tcpbench statistics --- 1843956780 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2430.828/2462.260/2484.896/20.191 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.091 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.091/0.091/0.091/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.111 ms --- fc00::13 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-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 309966722 2479.734 100.00% Conn: 1 Mbps: 2479.734 Peak Mbps: 2479.734 Avg Mbps: 2479.734 2000 300856336 2406.851 100.00% Conn: 1 Mbps: 2406.851 Peak Mbps: 2479.734 Avg Mbps: 2406.851 3000 299171462 2393.372 100.00% Conn: 1 Mbps: 2393.372 Peak Mbps: 2479.734 Avg Mbps: 2393.372 4000 308773608 2470.189 100.00% Conn: 1 Mbps: 2470.189 Peak Mbps: 2479.734 Avg Mbps: 2470.189 5000 302819296 2422.554 100.00% Conn: 1 Mbps: 2422.554 Peak Mbps: 2479.734 Avg Mbps: 2422.554 --- 169.254.0.13 tcpbench statistics --- 1826533260 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2393.372/2434.540/2479.734/34.405 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 311594500 2492.756 100.00% Conn: 1 Mbps: 2492.756 Peak Mbps: 2492.756 Avg Mbps: 2492.756 2000 303843928 2430.751 100.00% Conn: 1 Mbps: 2430.751 Peak Mbps: 2492.756 Avg Mbps: 2430.751 3000 308977200 2471.818 100.00% Conn: 1 Mbps: 2471.818 Peak Mbps: 2492.756 Avg Mbps: 2471.818 4000 316301104 2530.409 100.00% Conn: 1 Mbps: 2530.409 Peak Mbps: 2530.409 Avg Mbps: 2530.409 5000 308813720 2470.510 100.00% Conn: 1 Mbps: 2470.510 Peak Mbps: 2530.409 Avg Mbps: 2470.510 --- fc00::13 tcpbench statistics --- 1862006124 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2430.751/2479.249/2530.409/32.507 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 1m55.39s