START sys/net/pair 2024-09-15T09:35:00Z ==== 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.162 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.162/0.162/0.162/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.225 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.225/0.225/0.225/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 180069888 1440.559 100.00% Conn: 1 Mbps: 1440.559 Peak Mbps: 1440.559 Avg Mbps: 1440.559 2000 175770020 1407.568 100.00% Conn: 1 Mbps: 1407.568 Peak Mbps: 1440.559 Avg Mbps: 1407.568 3000 176215108 1409.721 100.00% Conn: 1 Mbps: 1409.721 Peak Mbps: 1440.559 Avg Mbps: 1409.721 4000 175205712 1403.049 100.00% Conn: 1 Mbps: 1403.049 Peak Mbps: 1440.559 Avg Mbps: 1403.049 5000 175666696 1405.334 100.00% Conn: 1 Mbps: 1405.334 Peak Mbps: 1440.559 Avg Mbps: 1405.334 --- 169.254.1.11 tcpbench statistics --- 1058776924 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1403.049/1413.246/1440.559/13.837 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 179022168 1432.177 100.00% Conn: 1 Mbps: 1432.177 Peak Mbps: 1432.177 Avg Mbps: 1432.177 2000 176540704 1413.739 100.00% Conn: 1 Mbps: 1413.739 Peak Mbps: 1432.177 Avg Mbps: 1413.739 3000 178237296 1425.898 100.00% Conn: 1 Mbps: 1425.898 Peak Mbps: 1432.177 Avg Mbps: 1425.898 4000 177729904 1423.262 100.00% Conn: 1 Mbps: 1423.262 Peak Mbps: 1432.177 Avg Mbps: 1423.262 5000 177381072 1420.469 100.00% Conn: 1 Mbps: 1420.469 Peak Mbps: 1432.177 Avg Mbps: 1420.469 --- fc00:0:0:1::11 tcpbench statistics --- 1064825536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1413.739/1423.109/1432.177/6.079 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.233 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.233/0.233/0.233/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.474 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.474/0.474/0.474/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 1002 84835424 677.329 100.00% Conn: 1 Mbps: 677.329 Peak Mbps: 677.329 Avg Mbps: 677.329 2000 85104752 682.887 100.00% Conn: 1 Mbps: 682.887 Peak Mbps: 682.887 Avg Mbps: 682.887 3002 85627480 684.336 100.00% Conn: 1 Mbps: 684.336 Peak Mbps: 684.336 Avg Mbps: 684.336 4001 85544944 685.731 100.00% Conn: 1 Mbps: 685.731 Peak Mbps: 685.731 Avg Mbps: 685.731 5001 84904928 679.239 100.00% Conn: 1 Mbps: 679.239 Peak Mbps: 685.731 Avg Mbps: 679.239 --- 169.254.1.12 tcpbench statistics --- 511200472 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 677.329/681.904/685.731/3.148 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 82381320 659.051 100.00% Conn: 1 Mbps: 659.051 Peak Mbps: 659.051 Avg Mbps: 659.051 2001 83096140 664.769 100.00% Conn: 1 Mbps: 664.769 Peak Mbps: 664.769 Avg Mbps: 664.769 3003 83260968 664.758 100.00% Conn: 1 Mbps: 664.758 Peak Mbps: 664.769 Avg Mbps: 664.758 4006 82571244 658.594 100.00% Conn: 1 Mbps: 658.594 Peak Mbps: 664.769 Avg Mbps: 658.594 5006 82566960 661.197 100.00% Conn: 1 Mbps: 661.197 Peak Mbps: 664.769 Avg Mbps: 661.197 --- fc00:0:0:1::12 tcpbench statistics --- 496066600 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 658.594/661.674/664.769/2.672 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.207 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.207/0.207/0.207/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.280 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.280/0.280/0.280/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 102179488 817.436 100.00% Conn: 1 Mbps: 817.436 Peak Mbps: 817.436 Avg Mbps: 817.436 2000 100097112 800.777 100.00% Conn: 1 Mbps: 800.777 Peak Mbps: 817.436 Avg Mbps: 800.777 3000 100677316 806.225 100.00% Conn: 1 Mbps: 806.225 Peak Mbps: 817.436 Avg Mbps: 806.225 4001 101082664 808.661 100.00% Conn: 1 Mbps: 808.661 Peak Mbps: 817.436 Avg Mbps: 808.661 5001 101281364 810.251 100.00% Conn: 1 Mbps: 810.251 Peak Mbps: 817.436 Avg Mbps: 810.251 --- 169.254.0.13 tcpbench statistics --- 606527776 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 800.777/808.670/817.436/5.434 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 96388624 771.109 100.00% Conn: 1 Mbps: 771.109 Peak Mbps: 771.109 Avg Mbps: 771.109 2000 96420336 772.135 100.00% Conn: 1 Mbps: 772.135 Peak Mbps: 772.135 Avg Mbps: 772.135 3000 97118000 776.944 100.00% Conn: 1 Mbps: 776.944 Peak Mbps: 776.944 Avg Mbps: 776.944 4000 96967368 776.515 100.00% Conn: 1 Mbps: 776.515 Peak Mbps: 776.944 Avg Mbps: 776.515 5000 96388624 771.109 100.00% Conn: 1 Mbps: 771.109 Peak Mbps: 776.944 Avg Mbps: 771.109 --- fc00::13 tcpbench statistics --- 579156256 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 771.109/773.562/776.944/2.617 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.183 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.183/0.183/0.183/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.237 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.237/0.237/0.237/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 1001 86002512 687.333 100.00% Conn: 1 Mbps: 687.333 Peak Mbps: 687.333 Avg Mbps: 687.333 2003 86917648 694.647 100.00% Conn: 1 Mbps: 694.647 Peak Mbps: 694.647 Avg Mbps: 694.647 3002 86597640 693.475 100.00% Conn: 1 Mbps: 693.475 Peak Mbps: 694.647 Avg Mbps: 693.475 4002 86685968 693.488 100.00% Conn: 1 Mbps: 693.488 Peak Mbps: 694.647 Avg Mbps: 693.488 5003 86100976 688.808 100.00% Conn: 1 Mbps: 688.808 Peak Mbps: 694.647 Avg Mbps: 688.808 --- 169.254.1.11 tcpbench statistics --- 518544840 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 687.333/691.550/694.647/2.910 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 83141016 665.128 100.00% Conn: 1 Mbps: 665.128 Peak Mbps: 665.128 Avg Mbps: 665.128 2001 84159180 672.601 100.00% Conn: 1 Mbps: 672.601 Peak Mbps: 672.601 Avg Mbps: 672.601 3003 84053508 671.756 100.00% Conn: 1 Mbps: 671.756 Peak Mbps: 672.601 Avg Mbps: 671.756 4004 83285244 665.616 100.00% Conn: 1 Mbps: 665.616 Peak Mbps: 672.601 Avg Mbps: 665.616 5006 84517608 675.465 100.00% Conn: 1 Mbps: 675.465 Peak Mbps: 675.465 Avg Mbps: 675.465 --- fc00:0:0:1::11 tcpbench statistics --- 502833072 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 665.128/670.113/675.465/4.065 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.157 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.157/0.157/0.157/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.204 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.204/0.204/0.204/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 175019760 1400.158 100.00% Conn: 1 Mbps: 1400.158 Peak Mbps: 1400.158 Avg Mbps: 1400.158 2000 172720336 1383.146 100.00% Conn: 1 Mbps: 1383.146 Peak Mbps: 1400.158 Avg Mbps: 1383.146 3000 170229776 1361.838 100.00% Conn: 1 Mbps: 1361.838 Peak Mbps: 1400.158 Avg Mbps: 1361.838 4000 170885720 1367.086 100.00% Conn: 1 Mbps: 1367.086 Peak Mbps: 1400.158 Avg Mbps: 1367.086 5000 170788704 1366.310 100.00% Conn: 1 Mbps: 1366.310 Peak Mbps: 1400.158 Avg Mbps: 1366.310 --- 169.254.1.12 tcpbench statistics --- 1030283856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1361.838/1375.708/1400.158/14.200 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 171034416 1368.275 100.00% Conn: 1 Mbps: 1368.275 Peak Mbps: 1368.275 Avg Mbps: 1368.275 2000 166421976 1331.376 100.00% Conn: 1 Mbps: 1331.376 Peak Mbps: 1368.275 Avg Mbps: 1331.376 3000 166200636 1330.936 100.00% Conn: 1 Mbps: 1330.936 Peak Mbps: 1368.275 Avg Mbps: 1330.936 4000 166887504 1335.100 100.00% Conn: 1 Mbps: 1335.100 Peak Mbps: 1368.275 Avg Mbps: 1335.100 5000 167100276 1336.802 100.00% Conn: 1 Mbps: 1336.802 Peak Mbps: 1368.275 Avg Mbps: 1336.802 --- fc00:0:0:1::12 tcpbench statistics --- 1004332392 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1330.936/1340.498/1368.275/14.064 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.184 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.184/0.184/0.184/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.234 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.234/0.234/0.234/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 298473962 2387.792 100.00% Conn: 1 Mbps: 2387.792 Peak Mbps: 2387.792 Avg Mbps: 2387.792 2000 292431954 2341.797 100.00% Conn: 1 Mbps: 2341.797 Peak Mbps: 2387.792 Avg Mbps: 2341.797 3000 293168076 2345.345 100.00% Conn: 1 Mbps: 2345.345 Peak Mbps: 2387.792 Avg Mbps: 2345.345 4000 293789668 2350.317 100.00% Conn: 1 Mbps: 2350.317 Peak Mbps: 2387.792 Avg Mbps: 2350.317 5000 292677336 2341.419 100.00% Conn: 1 Mbps: 2341.419 Peak Mbps: 2387.792 Avg Mbps: 2341.419 --- 169.254.0.13 tcpbench statistics --- 1764036232 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2341.419/2353.334/2387.792/17.523 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 301084788 2408.678 100.00% Conn: 1 Mbps: 2408.678 Peak Mbps: 2408.678 Avg Mbps: 2408.678 2000 297652068 2383.600 100.00% Conn: 1 Mbps: 2383.600 Peak Mbps: 2408.678 Avg Mbps: 2383.600 3000 296650808 2373.206 100.00% Conn: 1 Mbps: 2373.206 Peak Mbps: 2408.678 Avg Mbps: 2373.206 4000 295048704 2360.390 100.00% Conn: 1 Mbps: 2360.390 Peak Mbps: 2408.678 Avg Mbps: 2360.390 5000 297075856 2376.607 100.00% Conn: 1 Mbps: 2376.607 Peak Mbps: 2408.678 Avg Mbps: 2376.607 --- fc00::13 tcpbench statistics --- 1785307392 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2360.390/2380.496/2408.678/15.978 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.207 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.207/0.207/0.207/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.252 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.252/0.252/0.252/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 84984568 679.877 100.00% Conn: 1 Mbps: 679.877 Peak Mbps: 679.877 Avg Mbps: 679.877 2001 85737528 685.215 100.00% Conn: 1 Mbps: 685.215 Peak Mbps: 685.215 Avg Mbps: 685.215 3001 85138056 681.786 100.00% Conn: 1 Mbps: 681.786 Peak Mbps: 685.215 Avg Mbps: 681.786 4002 85796896 685.689 100.00% Conn: 1 Mbps: 685.689 Peak Mbps: 685.689 Avg Mbps: 685.689 5002 85623136 684.985 100.00% Conn: 1 Mbps: 684.985 Peak Mbps: 685.689 Avg Mbps: 684.985 --- 169.254.1.11 tcpbench statistics --- 512699208 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 679.877/683.510/685.689/2.281 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 1001 132531272 1059.191 100.00% Conn: 1 Mbps: 1059.191 Peak Mbps: 1059.191 Avg Mbps: 1059.191 2001 130374232 1042.994 100.00% Conn: 1 Mbps: 1042.994 Peak Mbps: 1059.191 Avg Mbps: 1042.994 3002 130460648 1043.685 100.00% Conn: 1 Mbps: 1043.685 Peak Mbps: 1059.191 Avg Mbps: 1043.685 4001 130616488 1047.026 100.00% Conn: 1 Mbps: 1047.026 Peak Mbps: 1059.191 Avg Mbps: 1047.026 5003 131162864 1047.208 100.00% Conn: 1 Mbps: 1047.208 Peak Mbps: 1059.191 Avg Mbps: 1047.208 --- fc00:0:0:1::11 tcpbench statistics --- 785735840 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1042.994/1048.021/1059.191/5.839 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.192 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.192/0.192/0.192/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.215 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.215/0.215/0.215/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 299449746 2395.598 100.00% Conn: 1 Mbps: 2395.598 Peak Mbps: 2395.598 Avg Mbps: 2395.598 2000 296848626 2377.166 100.00% Conn: 1 Mbps: 2377.166 Peak Mbps: 2395.598 Avg Mbps: 2377.166 3000 296537812 2372.302 100.00% Conn: 1 Mbps: 2372.302 Peak Mbps: 2395.598 Avg Mbps: 2372.302 4000 296537824 2372.303 100.00% Conn: 1 Mbps: 2372.303 Peak Mbps: 2395.598 Avg Mbps: 2372.303 5000 297028564 2376.229 100.00% Conn: 1 Mbps: 2376.229 Peak Mbps: 2395.598 Avg Mbps: 2376.229 --- 169.254.1.12 tcpbench statistics --- 1781533608 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2372.302/2378.720/2395.598/8.670 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 301410344 2411.283 100.00% Conn: 1 Mbps: 2411.283 Peak Mbps: 2411.283 Avg Mbps: 2411.283 2000 299462664 2398.099 100.00% Conn: 1 Mbps: 2398.099 Peak Mbps: 2411.283 Avg Mbps: 2398.099 3000 298056736 2386.841 100.00% Conn: 1 Mbps: 2386.841 Peak Mbps: 2411.283 Avg Mbps: 2386.841 4000 294100520 2352.804 100.00% Conn: 1 Mbps: 2352.804 Peak Mbps: 2411.283 Avg Mbps: 2352.804 5000 297958648 2383.669 100.00% Conn: 1 Mbps: 2383.669 Peak Mbps: 2411.283 Avg Mbps: 2383.669 --- fc00:0:0:1::12 tcpbench statistics --- 1788162856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2352.804/2386.539/2411.283/19.454 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.171 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.171/0.171/0.171/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.227 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.227/0.227/0.227/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 308005344 2464.043 100.00% Conn: 1 Mbps: 2464.043 Peak Mbps: 2464.043 Avg Mbps: 2464.043 2000 301870532 2414.964 100.00% Conn: 1 Mbps: 2414.964 Peak Mbps: 2464.043 Avg Mbps: 2414.964 3000 295523616 2364.189 100.00% Conn: 1 Mbps: 2364.189 Peak Mbps: 2464.043 Avg Mbps: 2364.189 4000 299973004 2399.784 100.00% Conn: 1 Mbps: 2399.784 Peak Mbps: 2464.043 Avg Mbps: 2399.784 5000 302328544 2421.049 100.00% Conn: 1 Mbps: 2421.049 Peak Mbps: 2464.043 Avg Mbps: 2421.049 --- 169.254.0.13 tcpbench statistics --- 1810471238 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2364.189/2412.806/2464.043/32.345 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 315241868 2521.935 100.00% Conn: 1 Mbps: 2521.935 Peak Mbps: 2521.935 Avg Mbps: 2521.935 2000 307702056 2464.081 100.00% Conn: 1 Mbps: 2464.081 Peak Mbps: 2521.935 Avg Mbps: 2464.081 3000 311233224 2489.866 100.00% Conn: 1 Mbps: 2489.866 Peak Mbps: 2521.935 Avg Mbps: 2489.866 4000 310088864 2480.711 100.00% Conn: 1 Mbps: 2480.711 Peak Mbps: 2521.935 Avg Mbps: 2480.711 5000 311135136 2489.081 100.00% Conn: 1 Mbps: 2489.081 Peak Mbps: 2521.935 Avg Mbps: 2489.081 --- fc00::13 tcpbench statistics --- 1865588100 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2464.081/2489.135/2521.935/18.842 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.13s