START sys/net/pair 2024-11-09T09:29:40Z ==== 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.167 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.167/0.167/0.167/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.204 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.204/0.204/0.204/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 204478196 1635.826 100.00% Conn: 1 Mbps: 1635.826 Peak Mbps: 1635.826 Avg Mbps: 1635.826 2000 204517936 1636.143 100.00% Conn: 1 Mbps: 1636.143 Peak Mbps: 1636.143 Avg Mbps: 1636.143 3000 204804064 1638.433 100.00% Conn: 1 Mbps: 1638.433 Peak Mbps: 1638.433 Avg Mbps: 1638.433 4000 204128484 1633.028 100.00% Conn: 1 Mbps: 1633.028 Peak Mbps: 1638.433 Avg Mbps: 1633.028 5000 204160276 1634.917 100.00% Conn: 1 Mbps: 1634.917 Peak Mbps: 1638.433 Avg Mbps: 1634.917 --- 169.254.1.11 tcpbench statistics --- 1224365556 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1633.028/1635.669/1638.433/1.757 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 202695176 1621.561 100.00% Conn: 1 Mbps: 1621.561 Peak Mbps: 1621.561 Avg Mbps: 1621.561 2000 201632824 1614.677 100.00% Conn: 1 Mbps: 1614.677 Peak Mbps: 1621.561 Avg Mbps: 1614.677 3000 201196784 1611.185 100.00% Conn: 1 Mbps: 1611.185 Peak Mbps: 1621.561 Avg Mbps: 1611.185 4000 201767600 1614.141 100.00% Conn: 1 Mbps: 1614.141 Peak Mbps: 1621.561 Avg Mbps: 1614.141 5000 198770816 1590.167 100.00% Conn: 1 Mbps: 1590.167 Peak Mbps: 1621.561 Avg Mbps: 1590.167 --- fc00:0:0:1::11 tcpbench statistics --- 1206903224 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1590.167/1610.346/1621.561/10.648 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.235 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.235/0.235/0.235/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.441 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.441/0.441/0.441/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 86713480 692.323 100.00% Conn: 1 Mbps: 692.323 Peak Mbps: 692.323 Avg Mbps: 692.323 2002 86733808 694.565 100.00% Conn: 1 Mbps: 694.565 Peak Mbps: 694.565 Avg Mbps: 694.565 3002 86522400 692.179 100.00% Conn: 1 Mbps: 692.179 Peak Mbps: 694.565 Avg Mbps: 692.179 4002 86135728 689.086 100.00% Conn: 1 Mbps: 689.086 Peak Mbps: 694.565 Avg Mbps: 689.086 5004 86209576 688.988 100.00% Conn: 1 Mbps: 688.988 Peak Mbps: 694.565 Avg Mbps: 688.988 --- 169.254.1.12 tcpbench statistics --- 518844632 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 688.988/691.428/694.565/2.128 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 84217728 671.727 100.00% Conn: 1 Mbps: 671.727 Peak Mbps: 671.727 Avg Mbps: 671.727 2002 83839308 672.059 100.00% Conn: 1 Mbps: 672.059 Peak Mbps: 672.059 Avg Mbps: 672.059 3003 83542284 667.671 100.00% Conn: 1 Mbps: 667.671 Peak Mbps: 672.059 Avg Mbps: 667.671 4004 84060648 671.813 100.00% Conn: 1 Mbps: 671.813 Peak Mbps: 672.059 Avg Mbps: 671.813 5004 83837880 670.703 100.00% Conn: 1 Mbps: 670.703 Peak Mbps: 672.059 Avg Mbps: 670.703 --- fc00:0:0:1::12 tcpbench statistics --- 503471388 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 667.671/670.794/672.059/1.629 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.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-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.257 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.257/0.257/0.257/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 114991664 919.933 100.00% Conn: 1 Mbps: 919.933 Peak Mbps: 919.933 Avg Mbps: 919.933 2000 115603660 924.829 100.00% Conn: 1 Mbps: 924.829 Peak Mbps: 924.829 Avg Mbps: 924.829 3000 115420856 924.291 100.00% Conn: 1 Mbps: 924.291 Peak Mbps: 924.829 Avg Mbps: 924.291 4000 115230104 921.841 100.00% Conn: 1 Mbps: 921.841 Peak Mbps: 924.829 Avg Mbps: 921.841 5000 115532128 924.257 100.00% Conn: 1 Mbps: 924.257 Peak Mbps: 924.829 Avg Mbps: 924.257 --- 169.254.0.13 tcpbench statistics --- 691340884 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 919.933/923.030/924.829/1.862 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 105997360 847.979 100.00% Conn: 1 Mbps: 847.979 Peak Mbps: 847.979 Avg Mbps: 847.979 2000 104919152 840.193 100.00% Conn: 1 Mbps: 840.193 Peak Mbps: 847.979 Avg Mbps: 840.193 3000 105069784 840.558 100.00% Conn: 1 Mbps: 840.558 Peak Mbps: 847.979 Avg Mbps: 840.558 4000 105299696 842.398 100.00% Conn: 1 Mbps: 842.398 Peak Mbps: 847.979 Avg Mbps: 842.398 5000 104602032 836.816 100.00% Conn: 1 Mbps: 836.816 Peak Mbps: 847.979 Avg Mbps: 836.816 --- fc00::13 tcpbench statistics --- 631433488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 836.816/841.589/847.979/3.668 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.163 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.163/0.163/0.163/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.221 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.221/0.221/0.221/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 1003 87379560 696.946 100.00% Conn: 1 Mbps: 696.946 Peak Mbps: 696.946 Avg Mbps: 696.946 2002 86840904 695.423 100.00% Conn: 1 Mbps: 695.423 Peak Mbps: 696.946 Avg Mbps: 695.423 3005 87544632 698.959 100.00% Conn: 1 Mbps: 698.959 Peak Mbps: 698.959 Avg Mbps: 698.959 4005 86845248 694.762 100.00% Conn: 1 Mbps: 694.762 Peak Mbps: 698.959 Avg Mbps: 694.762 5005 87320248 699.261 100.00% Conn: 1 Mbps: 699.261 Peak Mbps: 699.261 Avg Mbps: 699.261 --- 169.254.1.11 tcpbench statistics --- 523078472 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 694.762/697.070/699.261/1.813 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 84846048 676.738 100.00% Conn: 1 Mbps: 676.738 Peak Mbps: 676.738 Avg Mbps: 676.738 2003 84597576 677.458 100.00% Conn: 1 Mbps: 677.458 Peak Mbps: 677.458 Avg Mbps: 677.458 3005 84590436 675.373 100.00% Conn: 1 Mbps: 675.373 Peak Mbps: 677.458 Avg Mbps: 675.373 4005 84864612 678.917 100.00% Conn: 1 Mbps: 678.917 Peak Mbps: 678.917 Avg Mbps: 678.917 5004 84776076 678.887 100.00% Conn: 1 Mbps: 678.887 Peak Mbps: 678.917 Avg Mbps: 678.887 --- fc00:0:0:1::11 tcpbench statistics --- 508489380 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 675.373/677.475/678.917/1.344 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.164 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.164/0.164/0.164/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.213 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.213/0.213/0.213/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 203681472 1629.452 100.00% Conn: 1 Mbps: 1629.452 Peak Mbps: 1629.452 Avg Mbps: 1629.452 2000 199298376 1595.983 100.00% Conn: 1 Mbps: 1595.983 Peak Mbps: 1629.452 Avg Mbps: 1595.983 3000 200705832 1605.647 100.00% Conn: 1 Mbps: 1605.647 Peak Mbps: 1629.452 Avg Mbps: 1605.647 4000 200458224 1603.666 100.00% Conn: 1 Mbps: 1603.666 Peak Mbps: 1629.452 Avg Mbps: 1603.666 5000 200325008 1602.600 100.00% Conn: 1 Mbps: 1602.600 Peak Mbps: 1629.452 Avg Mbps: 1602.600 --- 169.254.1.12 tcpbench statistics --- 1204763512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1595.983/1607.469/1629.452/11.460 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 200552604 1604.421 100.00% Conn: 1 Mbps: 1604.421 Peak Mbps: 1604.421 Avg Mbps: 1604.421 2000 199261692 1594.094 100.00% Conn: 1 Mbps: 1594.094 Peak Mbps: 1604.421 Avg Mbps: 1594.094 3000 198707628 1589.661 100.00% Conn: 1 Mbps: 1589.661 Peak Mbps: 1604.421 Avg Mbps: 1589.661 4000 199178868 1593.431 100.00% Conn: 1 Mbps: 1593.431 Peak Mbps: 1604.421 Avg Mbps: 1593.431 5000 197361024 1578.888 100.00% Conn: 1 Mbps: 1578.888 Peak Mbps: 1604.421 Avg Mbps: 1578.888 --- fc00:0:0:1::12 tcpbench statistics --- 1193373888 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1578.888/1592.099/1604.421/8.223 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.192 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.192/0.192/0.192/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.205 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.205/0.205/0.205/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 337255580 2698.045 100.00% Conn: 1 Mbps: 2698.045 Peak Mbps: 2698.045 Avg Mbps: 2698.045 2000 333441472 2670.202 100.00% Conn: 1 Mbps: 2670.202 Peak Mbps: 2698.045 Avg Mbps: 2670.202 3000 333179744 2665.438 100.00% Conn: 1 Mbps: 2665.438 Peak Mbps: 2698.045 Avg Mbps: 2665.438 4000 332623572 2660.989 100.00% Conn: 1 Mbps: 2660.989 Peak Mbps: 2698.045 Avg Mbps: 2660.989 5000 334292088 2674.337 100.00% Conn: 1 Mbps: 2674.337 Peak Mbps: 2698.045 Avg Mbps: 2674.337 --- 169.254.0.13 tcpbench statistics --- 2005460778 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2660.989/2673.802/2698.045/12.924 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 314243364 2513.947 100.00% Conn: 1 Mbps: 2513.947 Peak Mbps: 2513.947 Avg Mbps: 2513.947 2000 311625576 2495.500 100.00% Conn: 1 Mbps: 2495.500 Peak Mbps: 2513.947 Avg Mbps: 2495.500 3000 309500336 2476.003 100.00% Conn: 1 Mbps: 2476.003 Peak Mbps: 2513.947 Avg Mbps: 2476.003 4000 313391160 2507.129 100.00% Conn: 1 Mbps: 2507.129 Peak Mbps: 2513.947 Avg Mbps: 2507.129 5000 311135136 2491.573 100.00% Conn: 1 Mbps: 2491.573 Peak Mbps: 2513.947 Avg Mbps: 2491.573 --- fc00::13 tcpbench statistics --- 1870736444 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2476.003/2496.830/2513.947/13.132 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.191 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.191/0.191/0.191/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.252 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.252/0.252/0.252/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 85830200 686.642 100.00% Conn: 1 Mbps: 686.642 Peak Mbps: 686.642 Avg Mbps: 686.642 2002 85359600 682.195 100.00% Conn: 1 Mbps: 682.195 Peak Mbps: 686.642 Avg Mbps: 682.195 3002 85972104 688.465 100.00% Conn: 1 Mbps: 688.465 Peak Mbps: 688.465 Avg Mbps: 688.465 4002 85909840 687.279 100.00% Conn: 1 Mbps: 687.279 Peak Mbps: 688.465 Avg Mbps: 687.279 5003 85879432 687.035 100.00% Conn: 1 Mbps: 687.035 Peak Mbps: 688.465 Avg Mbps: 687.035 --- 169.254.1.11 tcpbench statistics --- 514278920 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 682.195/686.323/688.465/2.152 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 132701912 1060.555 100.00% Conn: 1 Mbps: 1060.555 Peak Mbps: 1060.555 Avg Mbps: 1060.555 2003 133214920 1063.592 100.00% Conn: 1 Mbps: 1063.592 Peak Mbps: 1063.592 Avg Mbps: 1063.592 3002 131876568 1057.127 100.00% Conn: 1 Mbps: 1057.127 Peak Mbps: 1063.592 Avg Mbps: 1057.127 4003 132280240 1058.242 100.00% Conn: 1 Mbps: 1058.242 Peak Mbps: 1063.592 Avg Mbps: 1058.242 5005 132817344 1061.477 100.00% Conn: 1 Mbps: 1061.477 Peak Mbps: 1063.592 Avg Mbps: 1061.477 --- fc00:0:0:1::11 tcpbench statistics --- 793910984 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1057.127/1060.199/1063.592/2.304 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.177 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.177/0.177/0.177/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 340214560 2721.716 100.00% Conn: 1 Mbps: 2721.716 Peak Mbps: 2721.716 Avg Mbps: 2721.716 2000 337890848 2705.833 100.00% Conn: 1 Mbps: 2705.833 Peak Mbps: 2721.716 Avg Mbps: 2705.833 3000 337040232 2696.322 100.00% Conn: 1 Mbps: 2696.322 Peak Mbps: 2721.716 Avg Mbps: 2696.322 4000 334717396 2677.739 100.00% Conn: 1 Mbps: 2677.739 Peak Mbps: 2721.716 Avg Mbps: 2677.739 5000 338397946 2707.184 100.00% Conn: 1 Mbps: 2707.184 Peak Mbps: 2721.716 Avg Mbps: 2707.184 --- 169.254.1.12 tcpbench statistics --- 2028409234 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2677.739/2701.759/2721.716/14.497 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 318430556 2547.444 100.00% Conn: 1 Mbps: 2547.444 Peak Mbps: 2547.444 Avg Mbps: 2547.444 2000 313064200 2507.021 100.00% Conn: 1 Mbps: 2507.021 Peak Mbps: 2547.444 Avg Mbps: 2507.021 3000 314502824 2516.023 100.00% Conn: 1 Mbps: 2516.023 Peak Mbps: 2547.444 Avg Mbps: 2516.023 4000 316399192 2531.194 100.00% Conn: 1 Mbps: 2531.194 Peak Mbps: 2547.444 Avg Mbps: 2531.194 5000 317772424 2542.179 100.00% Conn: 1 Mbps: 2542.179 Peak Mbps: 2547.444 Avg Mbps: 2542.179 --- fc00:0:0:1::12 tcpbench statistics --- 1895293244 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2507.021/2528.772/2547.444/15.297 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.166 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.166/0.166/0.166/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.220 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.220/0.220/0.220/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 347313234 2778.506 100.00% Conn: 1 Mbps: 2778.506 Peak Mbps: 2778.506 Avg Mbps: 2778.506 2000 340655350 2727.971 100.00% Conn: 1 Mbps: 2727.971 Peak Mbps: 2778.506 Avg Mbps: 2727.971 3000 341980348 2735.843 100.00% Conn: 1 Mbps: 2735.843 Peak Mbps: 2778.506 Avg Mbps: 2735.843 4000 342438372 2739.507 100.00% Conn: 1 Mbps: 2739.507 Peak Mbps: 2778.506 Avg Mbps: 2739.507 5000 341064300 2728.514 100.00% Conn: 1 Mbps: 2728.514 Peak Mbps: 2778.506 Avg Mbps: 2728.514 --- 169.254.0.13 tcpbench statistics --- 2054303250 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2727.971/2742.068/2778.506/18.737 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 344519300 2756.154 100.00% Conn: 1 Mbps: 2756.154 Peak Mbps: 2756.154 Avg Mbps: 2756.154 2000 342915648 2746.071 100.00% Conn: 1 Mbps: 2746.071 Peak Mbps: 2756.154 Avg Mbps: 2746.071 3000 347264216 2778.114 100.00% Conn: 1 Mbps: 2778.114 Peak Mbps: 2778.114 Avg Mbps: 2778.114 4000 343863832 2750.911 100.00% Conn: 1 Mbps: 2750.911 Peak Mbps: 2778.114 Avg Mbps: 2750.911 5000 347362304 2778.898 100.00% Conn: 1 Mbps: 2778.898 Peak Mbps: 2778.898 Avg Mbps: 2778.898 --- fc00::13 tcpbench statistics --- 2071816284 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2746.071/2762.030/2778.898/13.828 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m54.10s