START sys/net/pair 2024-04-05T08:25:23Z ==== 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.209 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.209/0.209/0.209/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.249 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.249/0.249/0.249/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 111327636 890.621 100.00% Conn: 1 Mbps: 890.621 Peak Mbps: 890.621 Avg Mbps: 890.621 2000 110652056 886.103 100.00% Conn: 1 Mbps: 886.103 Peak Mbps: 890.621 Avg Mbps: 886.103 3000 110787172 886.297 100.00% Conn: 1 Mbps: 886.297 Peak Mbps: 890.621 Avg Mbps: 886.297 4000 110795120 886.361 100.00% Conn: 1 Mbps: 886.361 Peak Mbps: 890.621 Avg Mbps: 886.361 5000 110922288 888.267 100.00% Conn: 1 Mbps: 888.267 Peak Mbps: 890.621 Avg Mbps: 888.267 --- 169.254.1.11 tcpbench statistics --- 665096588 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 886.103/887.530/890.621/1.733 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 111245696 889.966 100.00% Conn: 1 Mbps: 889.966 Peak Mbps: 889.966 Avg Mbps: 889.966 2000 110603528 884.828 100.00% Conn: 1 Mbps: 884.828 Peak Mbps: 889.966 Avg Mbps: 884.828 3000 110690736 885.526 100.00% Conn: 1 Mbps: 885.526 Peak Mbps: 889.966 Avg Mbps: 885.526 4000 110627312 885.018 100.00% Conn: 1 Mbps: 885.018 Peak Mbps: 889.966 Avg Mbps: 885.018 5000 110627312 885.018 100.00% Conn: 1 Mbps: 885.018 Peak Mbps: 889.966 Avg Mbps: 885.018 --- fc00:0:0:1::11 tcpbench statistics --- 664287120 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 884.828/886.071/889.966/1.961 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.337 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.337/0.337/0.337/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.714 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.714/0.714/0.714/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 41139128 328.456 100.00% Conn: 1 Mbps: 328.456 Peak Mbps: 328.456 Avg Mbps: 328.456 2003 41336056 330.358 100.00% Conn: 1 Mbps: 330.358 Peak Mbps: 330.358 Avg Mbps: 330.358 3004 41463480 331.376 100.00% Conn: 1 Mbps: 331.376 Peak Mbps: 331.376 Avg Mbps: 331.376 4005 41305648 330.445 100.00% Conn: 1 Mbps: 330.445 Peak Mbps: 331.376 Avg Mbps: 330.445 5006 41159400 329.275 100.00% Conn: 1 Mbps: 329.275 Peak Mbps: 331.376 Avg Mbps: 329.275 --- 169.254.1.12 tcpbench statistics --- 247487816 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 328.456/329.982/331.376/1.013 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 1001 39250008 313.686 100.00% Conn: 1 Mbps: 313.686 Peak Mbps: 313.686 Avg Mbps: 313.686 2001 39324264 314.909 100.00% Conn: 1 Mbps: 314.909 Peak Mbps: 314.909 Avg Mbps: 314.909 3003 39502764 315.391 100.00% Conn: 1 Mbps: 315.391 Peak Mbps: 315.391 Avg Mbps: 315.391 4004 39534180 315.957 100.00% Conn: 1 Mbps: 315.957 Peak Mbps: 315.957 Avg Mbps: 315.957 5006 39492768 315.627 100.00% Conn: 1 Mbps: 315.627 Peak Mbps: 315.957 Avg Mbps: 315.627 --- fc00:0:0:1::12 tcpbench statistics --- 236472516 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 313.686/315.114/315.957/0.791 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.293 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.293/0.293/0.293/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.371 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.371/0.371/0.371/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 60667084 485.337 100.00% Conn: 1 Mbps: 485.337 Peak Mbps: 485.337 Avg Mbps: 485.337 2000 59935868 479.967 100.00% Conn: 1 Mbps: 479.967 Peak Mbps: 485.337 Avg Mbps: 479.967 3000 59617948 476.944 100.00% Conn: 1 Mbps: 476.944 Peak Mbps: 485.337 Avg Mbps: 476.944 4000 59753064 478.503 100.00% Conn: 1 Mbps: 478.503 Peak Mbps: 485.337 Avg Mbps: 478.503 5000 59967660 479.741 100.00% Conn: 1 Mbps: 479.741 Peak Mbps: 485.337 Avg Mbps: 479.741 --- 169.254.0.13 tcpbench statistics --- 359885440 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 476.944/480.098/485.337/2.831 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 58017104 464.137 100.00% Conn: 1 Mbps: 464.137 Peak Mbps: 464.137 Avg Mbps: 464.137 2000 57422504 459.380 100.00% Conn: 1 Mbps: 459.380 Peak Mbps: 464.137 Avg Mbps: 459.380 3000 57660344 461.283 100.00% Conn: 1 Mbps: 461.283 Peak Mbps: 464.137 Avg Mbps: 461.283 4001 57842688 462.742 100.00% Conn: 1 Mbps: 462.742 Peak Mbps: 464.137 Avg Mbps: 462.742 5001 58064672 464.517 100.00% Conn: 1 Mbps: 464.517 Peak Mbps: 464.517 Avg Mbps: 464.517 --- fc00::13 tcpbench statistics --- 346501168 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 459.380/462.412/464.517/1.897 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.212 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.212/0.212/0.212/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.292 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.292/0.292/0.292/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 1002 40965368 327.069 100.00% Conn: 1 Mbps: 327.069 Peak Mbps: 327.069 Avg Mbps: 327.069 2003 40768440 325.822 100.00% Conn: 1 Mbps: 325.822 Peak Mbps: 327.069 Avg Mbps: 325.822 3003 41095688 328.766 100.00% Conn: 1 Mbps: 328.766 Peak Mbps: 328.766 Avg Mbps: 328.766 4004 41420040 331.029 100.00% Conn: 1 Mbps: 331.029 Peak Mbps: 331.029 Avg Mbps: 331.029 5006 41353432 330.497 100.00% Conn: 1 Mbps: 330.497 Peak Mbps: 331.029 Avg Mbps: 330.497 --- 169.254.1.11 tcpbench statistics --- 246640736 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 325.822/328.636/331.029/1.979 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 38948700 311.590 100.00% Conn: 1 Mbps: 311.590 Peak Mbps: 311.590 Avg Mbps: 311.590 2000 39464208 315.714 100.00% Conn: 1 Mbps: 315.714 Peak Mbps: 315.714 Avg Mbps: 315.714 3001 39485628 315.885 100.00% Conn: 1 Mbps: 315.885 Peak Mbps: 315.885 Avg Mbps: 315.885 4002 39472776 315.467 100.00% Conn: 1 Mbps: 315.467 Peak Mbps: 315.885 Avg Mbps: 315.467 5003 39521328 316.171 100.00% Conn: 1 Mbps: 316.171 Peak Mbps: 316.171 Avg Mbps: 316.171 --- fc00:0:0:1::11 tcpbench statistics --- 236264028 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 311.590/314.965/316.171/1.703 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.182 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.182/0.182/0.182/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.247 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.247/0.247/0.247/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 107086840 856.695 100.00% Conn: 1 Mbps: 856.695 Peak Mbps: 856.695 Avg Mbps: 856.695 2000 107169376 857.355 100.00% Conn: 1 Mbps: 857.355 Peak Mbps: 857.355 Avg Mbps: 857.355 3000 107002856 856.880 100.00% Conn: 1 Mbps: 856.880 Peak Mbps: 857.355 Avg Mbps: 856.880 4000 107185304 857.482 100.00% Conn: 1 Mbps: 857.482 Peak Mbps: 857.482 Avg Mbps: 857.482 5000 107409744 860.138 100.00% Conn: 1 Mbps: 860.138 Peak Mbps: 860.138 Avg Mbps: 860.138 --- 169.254.1.12 tcpbench statistics --- 643156712 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 856.695/857.710/860.138/1.248 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 105981876 847.855 100.00% Conn: 1 Mbps: 847.855 Peak Mbps: 847.855 Avg Mbps: 847.855 2000 105826224 847.457 100.00% Conn: 1 Mbps: 847.457 Peak Mbps: 847.855 Avg Mbps: 847.457 3000 105789096 846.313 100.00% Conn: 1 Mbps: 846.313 Peak Mbps: 847.855 Avg Mbps: 846.313 4000 105790524 846.324 100.00% Conn: 1 Mbps: 846.324 Peak Mbps: 847.855 Avg Mbps: 846.324 5000 105729120 846.680 100.00% Conn: 1 Mbps: 846.680 Peak Mbps: 847.855 Avg Mbps: 846.680 --- fc00:0:0:1::12 tcpbench statistics --- 634957344 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 846.313/846.926/847.855/0.624 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.200 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.200/0.200/0.200/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.277 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.277/0.277/0.277/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 175079618 1400.637 100.00% Conn: 1 Mbps: 1400.637 Peak Mbps: 1400.637 Avg Mbps: 1400.637 2000 173312914 1386.503 100.00% Conn: 1 Mbps: 1386.503 Peak Mbps: 1400.637 Avg Mbps: 1386.503 3000 173280234 1386.242 100.00% Conn: 1 Mbps: 1386.242 Peak Mbps: 1400.637 Avg Mbps: 1386.242 4000 173378346 1387.027 100.00% Conn: 1 Mbps: 1387.027 Peak Mbps: 1400.637 Avg Mbps: 1387.027 5000 173411062 1387.288 100.00% Conn: 1 Mbps: 1387.288 Peak Mbps: 1400.637 Avg Mbps: 1387.288 --- 169.254.0.13 tcpbench statistics --- 1041627866 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1386.242/1389.539/1400.637/5.561 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 173122212 1384.978 100.00% Conn: 1 Mbps: 1384.978 Peak Mbps: 1384.978 Avg Mbps: 1384.978 2000 171654000 1373.232 100.00% Conn: 1 Mbps: 1373.232 Peak Mbps: 1384.978 Avg Mbps: 1373.232 3000 171654000 1373.232 100.00% Conn: 1 Mbps: 1373.232 Peak Mbps: 1384.978 Avg Mbps: 1373.232 4000 171621304 1372.970 100.00% Conn: 1 Mbps: 1372.970 Peak Mbps: 1384.978 Avg Mbps: 1372.970 5000 171654000 1373.232 100.00% Conn: 1 Mbps: 1373.232 Peak Mbps: 1384.978 Avg Mbps: 1373.232 --- fc00::13 tcpbench statistics --- 1031065252 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1372.970/1375.529/1384.978/4.726 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.255 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.255/0.255/0.255/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.313 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.313/0.313/0.313/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 40519384 323.831 100.00% Conn: 1 Mbps: 323.831 Peak Mbps: 323.831 Avg Mbps: 323.831 2003 40746720 325.323 100.00% Conn: 1 Mbps: 325.323 Peak Mbps: 325.323 Avg Mbps: 325.323 3005 40732240 325.532 100.00% Conn: 1 Mbps: 325.532 Peak Mbps: 325.532 Avg Mbps: 325.532 4006 40729344 325.509 100.00% Conn: 1 Mbps: 325.509 Peak Mbps: 325.532 Avg Mbps: 325.509 5008 40778576 325.903 100.00% Conn: 1 Mbps: 325.903 Peak Mbps: 325.903 Avg Mbps: 325.903 --- 169.254.1.11 tcpbench statistics --- 243979312 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 323.831/325.220/325.903/0.719 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 64904448 519.236 100.00% Conn: 1 Mbps: 519.236 Peak Mbps: 519.236 Avg Mbps: 519.236 2002 64791736 517.816 100.00% Conn: 1 Mbps: 517.816 Peak Mbps: 519.236 Avg Mbps: 517.816 3002 64337024 514.696 100.00% Conn: 1 Mbps: 514.696 Peak Mbps: 519.236 Avg Mbps: 514.696 4003 64358152 514.351 100.00% Conn: 1 Mbps: 514.351 Peak Mbps: 519.236 Avg Mbps: 514.351 5006 64466912 514.706 100.00% Conn: 1 Mbps: 514.706 Peak Mbps: 519.236 Avg Mbps: 514.706 --- fc00:0:0:1::11 tcpbench statistics --- 386370904 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 514.351/516.161/519.236/1.987 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.281 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.281/0.281/0.281/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 173968704 1391.750 100.00% Conn: 1 Mbps: 1391.750 Peak Mbps: 1391.750 Avg Mbps: 1391.750 2000 172887606 1384.485 100.00% Conn: 1 Mbps: 1384.485 Peak Mbps: 1391.750 Avg Mbps: 1384.485 3000 172903952 1383.232 100.00% Conn: 1 Mbps: 1383.232 Peak Mbps: 1391.750 Avg Mbps: 1383.232 4000 172707692 1381.662 100.00% Conn: 1 Mbps: 1381.662 Peak Mbps: 1391.750 Avg Mbps: 1381.662 5000 172871248 1382.970 100.00% Conn: 1 Mbps: 1382.970 Peak Mbps: 1391.750 Avg Mbps: 1382.970 --- 169.254.1.12 tcpbench statistics --- 1038145006 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1381.662/1384.820/1391.750/3.579 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 173970868 1391.767 100.00% Conn: 1 Mbps: 1391.767 Peak Mbps: 1391.767 Avg Mbps: 1391.767 2000 172111744 1376.894 100.00% Conn: 1 Mbps: 1376.894 Peak Mbps: 1391.767 Avg Mbps: 1376.894 3000 172013656 1376.109 100.00% Conn: 1 Mbps: 1376.109 Peak Mbps: 1391.767 Avg Mbps: 1376.109 4000 170215376 1361.723 100.00% Conn: 1 Mbps: 1361.723 Peak Mbps: 1391.767 Avg Mbps: 1361.723 5000 172013656 1376.109 100.00% Conn: 1 Mbps: 1376.109 Peak Mbps: 1391.767 Avg Mbps: 1376.109 --- fc00:0:0:1::12 tcpbench statistics --- 1032208172 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1361.723/1376.520/1391.767/9.507 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.177 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.177/0.177/0.177/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.262 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.262/0.262/0.262/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 178712044 1429.696 100.00% Conn: 1 Mbps: 1429.696 Peak Mbps: 1429.696 Avg Mbps: 1429.696 2000 177026180 1416.209 100.00% Conn: 1 Mbps: 1416.209 Peak Mbps: 1429.696 Avg Mbps: 1416.209 3000 176993452 1415.948 100.00% Conn: 1 Mbps: 1415.948 Peak Mbps: 1429.696 Avg Mbps: 1415.948 4000 177255192 1418.042 100.00% Conn: 1 Mbps: 1418.042 Peak Mbps: 1429.696 Avg Mbps: 1418.042 5000 177418760 1419.350 100.00% Conn: 1 Mbps: 1419.350 Peak Mbps: 1429.696 Avg Mbps: 1419.350 --- 169.254.0.13 tcpbench statistics --- 1064202784 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1415.948/1419.849/1429.696/5.078 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 177426788 1419.414 100.00% Conn: 1 Mbps: 1419.414 Peak Mbps: 1419.414 Avg Mbps: 1419.414 2000 176035264 1408.282 100.00% Conn: 1 Mbps: 1408.282 Peak Mbps: 1419.414 Avg Mbps: 1408.282 3000 176133352 1409.067 100.00% Conn: 1 Mbps: 1409.067 Peak Mbps: 1419.414 Avg Mbps: 1409.067 4000 175904480 1407.236 100.00% Conn: 1 Mbps: 1407.236 Peak Mbps: 1419.414 Avg Mbps: 1407.236 5000 175937176 1407.497 100.00% Conn: 1 Mbps: 1407.497 Peak Mbps: 1419.414 Avg Mbps: 1407.497 --- fc00::13 tcpbench statistics --- 1057308844 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1407.236/1410.299/1419.414/4.602 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 1m59.33s