START sys/net/pair 2024-04-05T08:32:58Z ==== 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.179 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.179/0.179/0.179/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.200 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.200/0.200/0.200/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 195186564 1561.493 100.00% Conn: 1 Mbps: 1561.493 Peak Mbps: 1561.493 Avg Mbps: 1561.493 2000 193215880 1547.274 100.00% Conn: 1 Mbps: 1547.274 Peak Mbps: 1561.493 Avg Mbps: 1547.274 3000 192953596 1543.629 100.00% Conn: 1 Mbps: 1543.629 Peak Mbps: 1561.493 Avg Mbps: 1543.629 4000 193184088 1545.473 100.00% Conn: 1 Mbps: 1545.473 Peak Mbps: 1561.493 Avg Mbps: 1545.473 5000 191515008 1532.120 100.00% Conn: 1 Mbps: 1532.120 Peak Mbps: 1561.493 Avg Mbps: 1532.120 --- 169.254.1.11 tcpbench statistics --- 1157268120 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1532.120/1545.998/1561.493/9.383 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 195203216 1561.626 100.00% Conn: 1 Mbps: 1561.626 Peak Mbps: 1561.626 Avg Mbps: 1561.626 2000 191825888 1536.143 100.00% Conn: 1 Mbps: 1536.143 Peak Mbps: 1561.626 Avg Mbps: 1536.143 3000 192507696 1540.062 100.00% Conn: 1 Mbps: 1540.062 Peak Mbps: 1561.626 Avg Mbps: 1540.062 4000 191207504 1529.660 100.00% Conn: 1 Mbps: 1529.660 Peak Mbps: 1561.626 Avg Mbps: 1529.660 5000 193395632 1547.165 100.00% Conn: 1 Mbps: 1547.165 Peak Mbps: 1561.626 Avg Mbps: 1547.165 --- fc00:0:0:1::11 tcpbench statistics --- 1156742768 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1529.660/1542.931/1561.626/10.935 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.227 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.227/0.227/0.227/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.414 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.414/0.414/0.414/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 88826168 710.609 100.00% Conn: 1 Mbps: 710.609 Peak Mbps: 710.609 Avg Mbps: 710.609 2002 89025992 710.786 100.00% Conn: 1 Mbps: 710.786 Peak Mbps: 710.786 Avg Mbps: 710.786 3002 88171784 706.080 100.00% Conn: 1 Mbps: 706.080 Peak Mbps: 710.786 Avg Mbps: 706.080 4003 89017416 711.428 100.00% Conn: 1 Mbps: 711.428 Peak Mbps: 711.428 Avg Mbps: 711.428 5002 88959440 712.388 100.00% Conn: 1 Mbps: 712.388 Peak Mbps: 712.388 Avg Mbps: 712.388 --- 169.254.1.12 tcpbench statistics --- 533038600 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 706.080/710.258/712.388/2.180 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 1003 84321972 672.558 100.00% Conn: 1 Mbps: 672.558 Peak Mbps: 672.558 Avg Mbps: 672.558 2004 83139588 664.452 100.00% Conn: 1 Mbps: 664.452 Peak Mbps: 672.558 Avg Mbps: 664.452 3004 83812176 671.169 100.00% Conn: 1 Mbps: 671.169 Peak Mbps: 672.558 Avg Mbps: 671.169 4006 83742204 669.268 100.00% Conn: 1 Mbps: 669.268 Peak Mbps: 672.558 Avg Mbps: 669.268 5005 83711608 671.035 100.00% Conn: 1 Mbps: 671.035 Peak Mbps: 672.558 Avg Mbps: 671.035 --- fc00:0:0:1::12 tcpbench statistics --- 502334092 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 664.452/669.696/672.558/2.823 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.209 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.209/0.209/0.209/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.268 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.268/0.268/0.268/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 114538628 916.309 100.00% Conn: 1 Mbps: 916.309 Peak Mbps: 916.309 Avg Mbps: 916.309 2000 114490940 915.928 100.00% Conn: 1 Mbps: 915.928 Peak Mbps: 916.309 Avg Mbps: 915.928 3000 113648452 909.188 100.00% Conn: 1 Mbps: 909.188 Peak Mbps: 916.309 Avg Mbps: 909.188 4000 114022008 913.089 100.00% Conn: 1 Mbps: 913.089 Peak Mbps: 916.309 Avg Mbps: 913.089 5000 114514784 916.118 100.00% Conn: 1 Mbps: 916.118 Peak Mbps: 916.309 Avg Mbps: 916.118 --- 169.254.0.13 tcpbench statistics --- 684529448 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 909.188/914.126/916.309/2.737 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 103706168 829.649 100.00% Conn: 1 Mbps: 829.649 Peak Mbps: 829.649 Avg Mbps: 829.649 2000 103064000 825.337 100.00% Conn: 1 Mbps: 825.337 Peak Mbps: 829.649 Avg Mbps: 825.337 3000 102350480 818.804 100.00% Conn: 1 Mbps: 818.804 Peak Mbps: 829.649 Avg Mbps: 818.804 4000 102953008 823.624 100.00% Conn: 1 Mbps: 823.624 Peak Mbps: 829.649 Avg Mbps: 823.624 5000 102041288 816.330 100.00% Conn: 1 Mbps: 816.330 Peak Mbps: 829.649 Avg Mbps: 816.330 --- fc00::13 tcpbench statistics --- 616758760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 816.330/822.749/829.649/4.730 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.206 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.206/0.206/0.206/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.213 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.213/0.213/0.213/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 89091096 712.017 100.00% Conn: 1 Mbps: 712.017 Peak Mbps: 712.017 Avg Mbps: 712.017 2002 89104128 712.121 100.00% Conn: 1 Mbps: 712.121 Peak Mbps: 712.121 Avg Mbps: 712.121 3002 87924232 704.098 100.00% Conn: 1 Mbps: 704.098 Peak Mbps: 712.121 Avg Mbps: 704.098 4002 88634976 709.080 100.00% Conn: 1 Mbps: 709.080 Peak Mbps: 712.121 Avg Mbps: 709.080 5005 88804840 709.021 100.00% Conn: 1 Mbps: 709.021 Peak Mbps: 712.121 Avg Mbps: 709.021 --- 169.254.1.11 tcpbench statistics --- 531461840 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 704.098/709.267/712.121/2.916 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 1003 84110628 670.872 100.00% Conn: 1 Mbps: 670.872 Peak Mbps: 670.872 Avg Mbps: 670.872 2005 83513116 667.437 100.00% Conn: 1 Mbps: 667.437 Peak Mbps: 670.872 Avg Mbps: 667.437 3003 83478024 669.163 100.00% Conn: 1 Mbps: 669.163 Peak Mbps: 670.872 Avg Mbps: 669.163 4005 83949264 670.923 100.00% Conn: 1 Mbps: 670.923 Peak Mbps: 670.923 Avg Mbps: 670.923 5005 84032088 672.257 100.00% Conn: 1 Mbps: 672.257 Peak Mbps: 672.257 Avg Mbps: 672.257 --- fc00:0:0:1::11 tcpbench statistics --- 501949960 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 667.437/670.130/672.257/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.154 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.154/0.154/0.154/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.211 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.211/0.211/0.211/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 192995288 1543.962 100.00% Conn: 1 Mbps: 1543.962 Peak Mbps: 1543.962 Avg Mbps: 1543.962 2000 190827576 1528.149 100.00% Conn: 1 Mbps: 1528.149 Peak Mbps: 1543.962 Avg Mbps: 1528.149 3000 190270096 1522.161 100.00% Conn: 1 Mbps: 1522.161 Peak Mbps: 1543.962 Avg Mbps: 1522.161 4000 189743024 1519.464 100.00% Conn: 1 Mbps: 1519.464 Peak Mbps: 1543.962 Avg Mbps: 1519.464 5000 190152808 1521.222 100.00% Conn: 1 Mbps: 1521.222 Peak Mbps: 1543.962 Avg Mbps: 1521.222 --- 169.254.1.12 tcpbench statistics --- 1142812336 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1519.464/1526.992/1543.962/8.974 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 184350516 1474.804 100.00% Conn: 1 Mbps: 1474.804 Peak Mbps: 1474.804 Avg Mbps: 1474.804 2000 183582252 1470.128 100.00% Conn: 1 Mbps: 1470.128 Peak Mbps: 1474.804 Avg Mbps: 1470.128 3000 183076740 1464.614 100.00% Conn: 1 Mbps: 1464.614 Peak Mbps: 1474.804 Avg Mbps: 1464.614 4000 183451696 1467.614 100.00% Conn: 1 Mbps: 1467.614 Peak Mbps: 1474.804 Avg Mbps: 1467.614 5000 180666276 1445.330 100.00% Conn: 1 Mbps: 1445.330 Peak Mbps: 1474.804 Avg Mbps: 1445.330 --- fc00:0:0:1::12 tcpbench statistics --- 1097283160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1445.330/1464.498/1474.804/10.149 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.157 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.157/0.157/0.157/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.233 ms --- fc00::13 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-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 310753632 2486.029 100.00% Conn: 1 Mbps: 2486.029 Peak Mbps: 2486.029 Avg Mbps: 2486.029 2000 307808486 2462.468 100.00% Conn: 1 Mbps: 2462.468 Peak Mbps: 2486.029 Avg Mbps: 2462.468 3000 307792128 2462.337 100.00% Conn: 1 Mbps: 2462.337 Peak Mbps: 2486.029 Avg Mbps: 2462.337 4000 303588122 2428.705 100.00% Conn: 1 Mbps: 2428.705 Peak Mbps: 2486.029 Avg Mbps: 2428.705 5000 309215274 2473.722 100.00% Conn: 1 Mbps: 2473.722 Peak Mbps: 2486.029 Avg Mbps: 2473.722 --- 169.254.0.13 tcpbench statistics --- 1848880014 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2428.705/2462.652/2486.029/19.087 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 304319368 2434.555 100.00% Conn: 1 Mbps: 2434.555 Peak Mbps: 2434.555 Avg Mbps: 2434.555 2000 300443544 2403.548 100.00% Conn: 1 Mbps: 2403.548 Peak Mbps: 2434.555 Avg Mbps: 2403.548 3000 297468208 2379.746 100.00% Conn: 1 Mbps: 2379.746 Peak Mbps: 2434.555 Avg Mbps: 2379.746 4000 299168400 2393.347 100.00% Conn: 1 Mbps: 2393.347 Peak Mbps: 2434.555 Avg Mbps: 2393.347 5000 299920408 2399.363 100.00% Conn: 1 Mbps: 2399.363 Peak Mbps: 2434.555 Avg Mbps: 2399.363 --- fc00::13 tcpbench statistics --- 1802384696 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2379.746/2402.112/2434.555/18.107 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.232 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.232/0.232/0.232/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 1003 87095752 694.682 100.00% Conn: 1 Mbps: 694.682 Peak Mbps: 694.682 Avg Mbps: 694.682 2002 87611240 701.592 100.00% Conn: 1 Mbps: 701.592 Peak Mbps: 701.592 Avg Mbps: 701.592 3004 87855952 702.145 100.00% Conn: 1 Mbps: 702.145 Peak Mbps: 702.145 Avg Mbps: 702.145 4006 88021024 703.465 100.00% Conn: 1 Mbps: 703.465 Peak Mbps: 703.465 Avg Mbps: 703.465 5007 87627168 701.017 100.00% Conn: 1 Mbps: 701.017 Peak Mbps: 703.465 Avg Mbps: 701.017 --- 169.254.1.11 tcpbench statistics --- 524372928 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 694.682/700.580/703.465/3.059 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 134359656 1073.803 100.00% Conn: 1 Mbps: 1073.803 Peak Mbps: 1073.803 Avg Mbps: 1073.803 2000 132202120 1058.676 100.00% Conn: 1 Mbps: 1058.676 Peak Mbps: 1073.803 Avg Mbps: 1058.676 3002 132975712 1062.743 100.00% Conn: 1 Mbps: 1062.743 Peak Mbps: 1073.803 Avg Mbps: 1062.743 4004 133350280 1065.737 100.00% Conn: 1 Mbps: 1065.737 Peak Mbps: 1073.803 Avg Mbps: 1065.737 5004 131767800 1054.142 100.00% Conn: 1 Mbps: 1054.142 Peak Mbps: 1073.803 Avg Mbps: 1054.142 --- fc00:0:0:1::11 tcpbench statistics --- 797999768 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1054.142/1063.020/1073.803/6.655 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.159 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.159/0.159/0.159/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.221 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.221/0.221/0.221/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 302721530 2421.772 100.00% Conn: 1 Mbps: 2421.772 Peak Mbps: 2421.772 Avg Mbps: 2421.772 2000 298631480 2389.052 100.00% Conn: 1 Mbps: 2389.052 Peak Mbps: 2421.772 Avg Mbps: 2389.052 3000 298369776 2386.958 100.00% Conn: 1 Mbps: 2386.958 Peak Mbps: 2421.772 Avg Mbps: 2386.958 4000 296275928 2370.207 100.00% Conn: 1 Mbps: 2370.207 Peak Mbps: 2421.772 Avg Mbps: 2370.207 5000 299383960 2395.072 100.00% Conn: 1 Mbps: 2395.072 Peak Mbps: 2421.772 Avg Mbps: 2395.072 --- 169.254.1.12 tcpbench statistics --- 1795306580 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2370.207/2392.612/2421.772/16.751 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 302717320 2421.739 100.00% Conn: 1 Mbps: 2421.739 Peak Mbps: 2421.739 Avg Mbps: 2421.739 2000 301064768 2408.518 100.00% Conn: 1 Mbps: 2408.518 Peak Mbps: 2421.739 Avg Mbps: 2408.518 3000 298514480 2388.116 100.00% Conn: 1 Mbps: 2388.116 Peak Mbps: 2421.739 Avg Mbps: 2388.116 4000 301620600 2412.965 100.00% Conn: 1 Mbps: 2412.965 Peak Mbps: 2421.739 Avg Mbps: 2412.965 5000 301555208 2412.442 100.00% Conn: 1 Mbps: 2412.442 Peak Mbps: 2421.739 Avg Mbps: 2412.442 --- fc00:0:0:1::12 tcpbench statistics --- 1807256456 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2388.116/2408.756/2421.739/11.189 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.160 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.160/0.160/0.160/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.201 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.201/0.201/0.201/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 323742038 2589.936 100.00% Conn: 1 Mbps: 2589.936 Peak Mbps: 2589.936 Avg Mbps: 2589.936 2000 317181620 2537.453 100.00% Conn: 1 Mbps: 2537.453 Peak Mbps: 2589.936 Avg Mbps: 2537.453 3000 322612476 2580.900 100.00% Conn: 1 Mbps: 2580.900 Peak Mbps: 2589.936 Avg Mbps: 2580.900 4000 324902596 2599.221 100.00% Conn: 1 Mbps: 2599.221 Peak Mbps: 2599.221 Avg Mbps: 2599.221 5000 320273282 2562.186 100.00% Conn: 1 Mbps: 2562.186 Peak Mbps: 2599.221 Avg Mbps: 2562.186 --- 169.254.0.13 tcpbench statistics --- 1933778188 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2537.453/2573.939/2599.221/21.968 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 312509736 2500.078 100.00% Conn: 1 Mbps: 2500.078 Peak Mbps: 2500.078 Avg Mbps: 2500.078 2000 309140680 2475.601 100.00% Conn: 1 Mbps: 2475.601 Peak Mbps: 2500.078 Avg Mbps: 2475.601 3000 309598424 2476.787 100.00% Conn: 1 Mbps: 2476.787 Peak Mbps: 2500.078 Avg Mbps: 2476.787 4000 310906264 2487.250 100.00% Conn: 1 Mbps: 2487.250 Peak Mbps: 2500.078 Avg Mbps: 2487.250 5000 308879112 2471.033 100.00% Conn: 1 Mbps: 2471.033 Peak Mbps: 2500.078 Avg Mbps: 2471.033 --- fc00::13 tcpbench statistics --- 1857395736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2471.033/2482.150/2500.078/10.418 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m53.91s