START sys/net/pair 2023-12-15T12:42:26Z ==== 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.089 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.089/0.089/0.089/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.108 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.108/0.108/0.108/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 221605856 1772.847 100.00% Conn: 1 Mbps: 1772.847 Peak Mbps: 1772.847 Avg Mbps: 1772.847 2000 221232440 1769.860 100.00% Conn: 1 Mbps: 1769.860 Peak Mbps: 1772.847 Avg Mbps: 1769.860 3000 222432588 1779.461 100.00% Conn: 1 Mbps: 1779.461 Peak Mbps: 1779.461 Avg Mbps: 1779.461 4000 222853972 1782.832 100.00% Conn: 1 Mbps: 1782.832 Peak Mbps: 1782.832 Avg Mbps: 1782.832 5000 223052672 1784.421 100.00% Conn: 1 Mbps: 1784.421 Peak Mbps: 1784.421 Avg Mbps: 1784.421 --- 169.254.1.11 tcpbench statistics --- 1334246096 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1769.860/1777.884/1784.421/5.647 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 224528888 1796.231 100.00% Conn: 1 Mbps: 1796.231 Peak Mbps: 1796.231 Avg Mbps: 1796.231 2000 221230840 1769.847 100.00% Conn: 1 Mbps: 1769.847 Peak Mbps: 1796.231 Avg Mbps: 1769.847 3000 224560600 1796.485 100.00% Conn: 1 Mbps: 1796.485 Peak Mbps: 1796.485 Avg Mbps: 1796.485 4000 223744016 1789.952 100.00% Conn: 1 Mbps: 1789.952 Peak Mbps: 1796.485 Avg Mbps: 1789.952 5000 221841296 1774.730 100.00% Conn: 1 Mbps: 1774.730 Peak Mbps: 1796.485 Avg Mbps: 1774.730 --- fc00:0:0:1::11 tcpbench statistics --- 1337073056 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1769.847/1785.449/1796.485/11.105 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.148 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.148/0.148/0.148/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.298 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.298/0.298/0.298/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 84815152 678.521 100.00% Conn: 1 Mbps: 678.521 Peak Mbps: 678.521 Avg Mbps: 678.521 2001 86696104 693.569 100.00% Conn: 1 Mbps: 693.569 Peak Mbps: 693.569 Avg Mbps: 693.569 3002 87621376 700.271 100.00% Conn: 1 Mbps: 700.271 Peak Mbps: 700.271 Avg Mbps: 700.271 4002 87929800 703.438 100.00% Conn: 1 Mbps: 703.438 Peak Mbps: 703.438 Avg Mbps: 703.438 5002 87722736 702.484 100.00% Conn: 1 Mbps: 702.484 Peak Mbps: 703.438 Avg Mbps: 702.484 --- 169.254.1.12 tcpbench statistics --- 522324008 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 678.521/695.657/703.438/9.235 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 84152040 673.216 100.00% Conn: 1 Mbps: 673.216 Peak Mbps: 673.216 Avg Mbps: 673.216 2001 84767508 678.140 100.00% Conn: 1 Mbps: 678.140 Peak Mbps: 678.140 Avg Mbps: 678.140 3002 84313404 674.507 100.00% Conn: 1 Mbps: 674.507 Peak Mbps: 678.140 Avg Mbps: 674.507 4002 84319116 674.553 100.00% Conn: 1 Mbps: 674.553 Peak Mbps: 678.140 Avg Mbps: 674.553 5005 85482328 682.494 100.00% Conn: 1 Mbps: 682.494 Peak Mbps: 682.494 Avg Mbps: 682.494 --- fc00:0:0:1::12 tcpbench statistics --- 507387444 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 673.216/676.582/682.494/3.380 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.124 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.124/0.124/0.124/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 126770600 1014.165 100.00% Conn: 1 Mbps: 1014.165 Peak Mbps: 1014.165 Avg Mbps: 1014.165 2000 123098624 984.789 100.00% Conn: 1 Mbps: 984.789 Peak Mbps: 1014.165 Avg Mbps: 984.789 3000 125594296 1004.754 100.00% Conn: 1 Mbps: 1004.754 Peak Mbps: 1014.165 Avg Mbps: 1004.754 4000 124115968 992.928 100.00% Conn: 1 Mbps: 992.928 Peak Mbps: 1014.165 Avg Mbps: 992.928 5000 127915112 1023.321 100.00% Conn: 1 Mbps: 1023.321 Peak Mbps: 1023.321 Avg Mbps: 1023.321 --- 169.254.0.13 tcpbench statistics --- 753875748 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 984.789/1003.991/1023.321/13.920 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 112252552 898.020 100.00% Conn: 1 Mbps: 898.020 Peak Mbps: 898.020 Avg Mbps: 898.020 2000 112545888 900.367 100.00% Conn: 1 Mbps: 900.367 Peak Mbps: 900.367 Avg Mbps: 900.367 3000 112006784 896.054 100.00% Conn: 1 Mbps: 896.054 Peak Mbps: 900.367 Avg Mbps: 896.054 4000 111531104 892.249 100.00% Conn: 1 Mbps: 892.249 Peak Mbps: 900.367 Avg Mbps: 892.249 5000 111824440 894.596 100.00% Conn: 1 Mbps: 894.596 Peak Mbps: 900.367 Avg Mbps: 894.596 --- fc00::13 tcpbench statistics --- 671882144 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 892.249/896.257/900.367/2.788 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.097 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.097/0.097/0.097/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.124 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.124/0.124/0.124/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 85692640 685.541 100.00% Conn: 1 Mbps: 685.541 Peak Mbps: 685.541 Avg Mbps: 685.541 2001 86703344 692.934 100.00% Conn: 1 Mbps: 692.934 Peak Mbps: 692.934 Avg Mbps: 692.934 3002 86523792 691.499 100.00% Conn: 1 Mbps: 691.499 Peak Mbps: 692.934 Avg Mbps: 691.499 4004 87469336 699.056 100.00% Conn: 1 Mbps: 699.056 Peak Mbps: 699.056 Avg Mbps: 699.056 5005 87453408 699.627 100.00% Conn: 1 Mbps: 699.627 Peak Mbps: 699.627 Avg Mbps: 699.627 --- 169.254.1.11 tcpbench statistics --- 520902072 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 685.541/693.731/699.627/5.212 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 1001 83780760 669.577 100.00% Conn: 1 Mbps: 669.577 Peak Mbps: 669.577 Avg Mbps: 669.577 2001 83912136 671.969 100.00% Conn: 1 Mbps: 671.969 Peak Mbps: 671.969 Avg Mbps: 671.969 3002 84698964 676.915 100.00% Conn: 1 Mbps: 676.915 Peak Mbps: 676.915 Avg Mbps: 676.915 4002 84494760 675.958 100.00% Conn: 1 Mbps: 675.958 Peak Mbps: 676.915 Avg Mbps: 675.958 5003 84883176 679.065 100.00% Conn: 1 Mbps: 679.065 Peak Mbps: 679.065 Avg Mbps: 679.065 --- fc00:0:0:1::11 tcpbench statistics --- 507261116 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 669.577/674.697/679.065/3.442 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.087 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.087/0.087/0.087/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.106 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.106/0.106/0.106/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 212108832 1696.871 100.00% Conn: 1 Mbps: 1696.871 Peak Mbps: 1696.871 Avg Mbps: 1696.871 2000 209903528 1679.228 100.00% Conn: 1 Mbps: 1679.228 Peak Mbps: 1696.871 Avg Mbps: 1679.228 3000 214551608 1716.413 100.00% Conn: 1 Mbps: 1716.413 Peak Mbps: 1716.413 Avg Mbps: 1716.413 4000 214275040 1714.200 100.00% Conn: 1 Mbps: 1714.200 Peak Mbps: 1716.413 Avg Mbps: 1714.200 5000 208926128 1671.409 100.00% Conn: 1 Mbps: 1671.409 Peak Mbps: 1716.413 Avg Mbps: 1671.409 --- 169.254.1.12 tcpbench statistics --- 1269412368 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1671.409/1695.624/1716.413/18.078 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 206774400 1654.195 100.00% Conn: 1 Mbps: 1654.195 Peak Mbps: 1654.195 Avg Mbps: 1654.195 2000 206341716 1650.734 100.00% Conn: 1 Mbps: 1650.734 Peak Mbps: 1654.195 Avg Mbps: 1650.734 3000 213860136 1710.881 100.00% Conn: 1 Mbps: 1710.881 Peak Mbps: 1710.881 Avg Mbps: 1710.881 4000 205930452 1647.444 100.00% Conn: 1 Mbps: 1647.444 Peak Mbps: 1710.881 Avg Mbps: 1647.444 5000 205684836 1645.479 100.00% Conn: 1 Mbps: 1645.479 Peak Mbps: 1710.881 Avg Mbps: 1645.479 --- fc00:0:0:1::12 tcpbench statistics --- 1245093192 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1645.479/1661.746/1710.881/24.746 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.095 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.095/0.095/0.095/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.114 ms --- fc00::13 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-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 306942702 2455.542 100.00% Conn: 1 Mbps: 2455.542 Peak Mbps: 2455.542 Avg Mbps: 2455.542 2000 305992748 2447.942 100.00% Conn: 1 Mbps: 2447.942 Peak Mbps: 2455.542 Avg Mbps: 2447.942 3000 307759412 2462.075 100.00% Conn: 1 Mbps: 2462.075 Peak Mbps: 2462.075 Avg Mbps: 2462.075 4000 302524852 2420.199 100.00% Conn: 1 Mbps: 2420.199 Peak Mbps: 2462.075 Avg Mbps: 2420.199 5000 301379792 2411.038 100.00% Conn: 1 Mbps: 2411.038 Peak Mbps: 2462.075 Avg Mbps: 2411.038 --- 169.254.0.13 tcpbench statistics --- 1825979298 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2411.038/2439.359/2462.075/20.103 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 314668356 2517.347 100.00% Conn: 1 Mbps: 2517.347 Peak Mbps: 2517.347 Avg Mbps: 2517.347 2000 305119072 2443.396 100.00% Conn: 1 Mbps: 2443.396 Peak Mbps: 2517.347 Avg Mbps: 2443.396 3000 303942016 2431.536 100.00% Conn: 1 Mbps: 2431.536 Peak Mbps: 2517.347 Avg Mbps: 2431.536 4000 301162856 2409.303 100.00% Conn: 1 Mbps: 2409.303 Peak Mbps: 2517.347 Avg Mbps: 2409.303 5000 305576816 2444.615 100.00% Conn: 1 Mbps: 2444.615 Peak Mbps: 2517.347 Avg Mbps: 2444.615 --- fc00::13 tcpbench statistics --- 1832907116 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2409.303/2449.239/2517.347/36.339 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.109 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.109/0.109/0.109/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.133 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.133/0.133/0.133/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 1001 85578248 683.942 100.00% Conn: 1 Mbps: 683.942 Peak Mbps: 683.942 Avg Mbps: 683.942 2001 86502072 692.017 100.00% Conn: 1 Mbps: 692.017 Peak Mbps: 692.017 Avg Mbps: 692.017 3002 86668592 693.349 100.00% Conn: 1 Mbps: 693.349 Peak Mbps: 693.349 Avg Mbps: 693.349 4003 86762712 694.102 100.00% Conn: 1 Mbps: 694.102 Peak Mbps: 694.102 Avg Mbps: 694.102 5004 87005976 695.352 100.00% Conn: 1 Mbps: 695.352 Peak Mbps: 695.352 Avg Mbps: 695.352 --- 169.254.1.11 tcpbench statistics --- 519052976 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 683.942/691.752/695.352/4.052 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 126593648 1011.737 100.00% Conn: 1 Mbps: 1011.737 Peak Mbps: 1011.737 Avg Mbps: 1011.737 2000 125578600 1005.634 100.00% Conn: 1 Mbps: 1005.634 Peak Mbps: 1011.737 Avg Mbps: 1005.634 3001 125740808 1005.926 100.00% Conn: 1 Mbps: 1005.926 Peak Mbps: 1011.737 Avg Mbps: 1005.926 4002 126147056 1008.168 100.00% Conn: 1 Mbps: 1008.168 Peak Mbps: 1011.737 Avg Mbps: 1008.168 5003 126523088 1011.174 100.00% Conn: 1 Mbps: 1011.174 Peak Mbps: 1011.737 Avg Mbps: 1011.174 --- fc00:0:0:1::11 tcpbench statistics --- 756318368 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1005.634/1008.528/1011.737/2.552 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.093 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.093/0.093/0.093/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.114 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.114/0.114/0.114/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 305780448 2446.244 100.00% Conn: 1 Mbps: 2446.244 Peak Mbps: 2446.244 Avg Mbps: 2446.244 2000 306777932 2454.223 100.00% Conn: 1 Mbps: 2454.223 Peak Mbps: 2454.223 Avg Mbps: 2454.223 3000 312830392 2502.643 100.00% Conn: 1 Mbps: 2502.643 Peak Mbps: 2502.643 Avg Mbps: 2502.643 4000 301314360 2410.515 100.00% Conn: 1 Mbps: 2410.515 Peak Mbps: 2502.643 Avg Mbps: 2410.515 5000 300970842 2407.767 100.00% Conn: 1 Mbps: 2407.767 Peak Mbps: 2502.643 Avg Mbps: 2407.767 --- 169.254.1.12 tcpbench statistics --- 1830427838 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2407.767/2444.278/2502.643/34.590 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 308144044 2465.152 100.00% Conn: 1 Mbps: 2465.152 Peak Mbps: 2465.152 Avg Mbps: 2465.152 2000 304040104 2432.321 100.00% Conn: 1 Mbps: 2432.321 Peak Mbps: 2465.152 Avg Mbps: 2432.321 3000 304334368 2434.675 100.00% Conn: 1 Mbps: 2434.675 Peak Mbps: 2465.152 Avg Mbps: 2434.675 4000 312017928 2496.143 100.00% Conn: 1 Mbps: 2496.143 Peak Mbps: 2496.143 Avg Mbps: 2496.143 5000 304465152 2435.721 100.00% Conn: 1 Mbps: 2435.721 Peak Mbps: 2496.143 Avg Mbps: 2435.721 --- fc00:0:0:1::12 tcpbench statistics --- 1838186060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2432.321/2452.803/2496.143/24.782 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.110 ms --- fc00::13 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-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 316284510 2530.276 100.00% Conn: 1 Mbps: 2530.276 Peak Mbps: 2530.276 Avg Mbps: 2530.276 2000 310180396 2481.443 100.00% Conn: 1 Mbps: 2481.443 Peak Mbps: 2530.276 Avg Mbps: 2481.443 3000 302328556 2418.628 100.00% Conn: 1 Mbps: 2418.628 Peak Mbps: 2530.276 Avg Mbps: 2418.628 4000 302295840 2418.367 100.00% Conn: 1 Mbps: 2418.367 Peak Mbps: 2530.276 Avg Mbps: 2418.367 5000 302557568 2420.461 100.00% Conn: 1 Mbps: 2420.461 Peak Mbps: 2530.276 Avg Mbps: 2420.461 --- 169.254.0.13 tcpbench statistics --- 1835124810 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2418.367/2453.835/2530.276/45.204 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 312725084 2501.801 100.00% Conn: 1 Mbps: 2501.801 Peak Mbps: 2501.801 Avg Mbps: 2501.801 2000 308421368 2467.371 100.00% Conn: 1 Mbps: 2467.371 Peak Mbps: 2501.801 Avg Mbps: 2467.371 3000 303745840 2429.967 100.00% Conn: 1 Mbps: 2429.967 Peak Mbps: 2501.801 Avg Mbps: 2429.967 4000 303876624 2431.013 100.00% Conn: 1 Mbps: 2431.013 Peak Mbps: 2501.801 Avg Mbps: 2431.013 5000 304007408 2432.059 100.00% Conn: 1 Mbps: 2432.059 Peak Mbps: 2501.801 Avg Mbps: 2432.059 --- fc00::13 tcpbench statistics --- 1836391380 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2429.967/2452.442/2501.801/28.422 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.33s