START sys/net/pair 2024-06-05T08:27:35Z ==== 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.176 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.176/0.176/0.176/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.229 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.229/0.229/0.229/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 203858252 1630.866 100.00% Conn: 1 Mbps: 1630.866 Peak Mbps: 1630.866 Avg Mbps: 1630.866 2000 200233964 1603.475 100.00% Conn: 1 Mbps: 1603.475 Peak Mbps: 1630.866 Avg Mbps: 1603.475 3000 201012868 1609.713 100.00% Conn: 1 Mbps: 1609.713 Peak Mbps: 1630.866 Avg Mbps: 1609.713 4000 198890752 1591.126 100.00% Conn: 1 Mbps: 1591.126 Peak Mbps: 1630.866 Avg Mbps: 1591.126 5000 199160984 1593.288 100.00% Conn: 1 Mbps: 1593.288 Peak Mbps: 1630.866 Avg Mbps: 1593.288 --- 169.254.1.11 tcpbench statistics --- 1203827924 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1591.126/1605.694/1630.866/14.289 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 200078936 1600.631 100.00% Conn: 1 Mbps: 1600.631 Peak Mbps: 1600.631 Avg Mbps: 1600.631 2000 197304136 1580.013 100.00% Conn: 1 Mbps: 1580.013 Peak Mbps: 1600.631 Avg Mbps: 1580.013 3000 195623400 1564.987 100.00% Conn: 1 Mbps: 1564.987 Peak Mbps: 1600.631 Avg Mbps: 1564.987 4000 197407200 1579.258 100.00% Conn: 1 Mbps: 1579.258 Peak Mbps: 1600.631 Avg Mbps: 1579.258 5000 197137648 1577.101 100.00% Conn: 1 Mbps: 1577.101 Peak Mbps: 1600.631 Avg Mbps: 1577.101 --- fc00:0:0:1::11 tcpbench statistics --- 1185220144 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1564.987/1580.398/1600.631/11.482 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.243 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.243/0.243/0.243/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.468 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.468/0.468/0.468/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 86907512 693.872 100.00% Conn: 1 Mbps: 693.872 Peak Mbps: 693.872 Avg Mbps: 693.872 2001 87520016 701.563 100.00% Conn: 1 Mbps: 701.563 Peak Mbps: 701.563 Avg Mbps: 701.563 3001 87460648 699.685 100.00% Conn: 1 Mbps: 699.685 Peak Mbps: 701.563 Avg Mbps: 699.685 4001 87695280 701.562 100.00% Conn: 1 Mbps: 701.562 Peak Mbps: 701.563 Avg Mbps: 701.562 5005 87892152 701.034 100.00% Conn: 1 Mbps: 701.034 Peak Mbps: 701.563 Avg Mbps: 701.034 --- 169.254.1.12 tcpbench statistics --- 524057320 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 693.872/699.543/701.563/2.917 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 84601860 676.815 100.00% Conn: 1 Mbps: 676.815 Peak Mbps: 676.815 Avg Mbps: 676.815 2001 84653480 677.228 100.00% Conn: 1 Mbps: 677.228 Peak Mbps: 677.228 Avg Mbps: 677.228 3003 85209580 680.316 100.00% Conn: 1 Mbps: 680.316 Peak Mbps: 680.316 Avg Mbps: 680.316 4003 84678972 678.110 100.00% Conn: 1 Mbps: 678.110 Peak Mbps: 680.316 Avg Mbps: 678.110 5003 84336252 675.365 100.00% Conn: 1 Mbps: 675.365 Peak Mbps: 680.316 Avg Mbps: 675.365 --- fc00:0:0:1::12 tcpbench statistics --- 508074256 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 675.365/677.567/680.316/1.636 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.244 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.244/0.244/0.244/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.284 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.284/0.284/0.284/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 113894840 911.159 100.00% Conn: 1 Mbps: 911.159 Peak Mbps: 911.159 Avg Mbps: 911.159 2000 114411460 916.208 100.00% Conn: 1 Mbps: 916.208 Peak Mbps: 916.208 Avg Mbps: 916.208 3000 113886892 912.007 100.00% Conn: 1 Mbps: 912.007 Peak Mbps: 916.208 Avg Mbps: 912.007 4000 111423012 891.384 100.00% Conn: 1 Mbps: 891.384 Peak Mbps: 916.208 Avg Mbps: 891.384 5000 113441804 907.534 100.00% Conn: 1 Mbps: 907.534 Peak Mbps: 916.208 Avg Mbps: 907.534 --- 169.254.0.13 tcpbench statistics --- 679927556 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 891.384/907.658/916.208/8.592 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 103967792 831.742 100.00% Conn: 1 Mbps: 831.742 Peak Mbps: 831.742 Avg Mbps: 831.742 2000 102810304 823.306 100.00% Conn: 1 Mbps: 823.306 Peak Mbps: 831.742 Avg Mbps: 823.306 3000 102524896 821.020 100.00% Conn: 1 Mbps: 821.020 Peak Mbps: 831.742 Avg Mbps: 821.020 4000 103198776 825.590 100.00% Conn: 1 Mbps: 825.590 Peak Mbps: 831.742 Avg Mbps: 825.590 5000 103864728 830.918 100.00% Conn: 1 Mbps: 830.918 Peak Mbps: 831.742 Avg Mbps: 830.918 --- fc00::13 tcpbench statistics --- 619715904 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 821.020/826.515/831.742/4.197 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.188 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.188/0.188/0.188/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.220 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.220/0.220/0.220/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 88752264 710.018 100.00% Conn: 1 Mbps: 710.018 Peak Mbps: 710.018 Avg Mbps: 710.018 2002 88629184 707.618 100.00% Conn: 1 Mbps: 707.618 Peak Mbps: 710.018 Avg Mbps: 707.618 3002 89121560 713.686 100.00% Conn: 1 Mbps: 713.686 Peak Mbps: 713.686 Avg Mbps: 713.686 4003 89367664 714.227 100.00% Conn: 1 Mbps: 714.227 Peak Mbps: 714.227 Avg Mbps: 714.227 5005 89367664 714.227 100.00% Conn: 1 Mbps: 714.227 Peak Mbps: 714.227 Avg Mbps: 714.227 --- 169.254.1.11 tcpbench statistics --- 534016720 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 707.618/711.955/714.227/2.679 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 1004 84851760 676.110 100.00% Conn: 1 Mbps: 676.110 Peak Mbps: 676.110 Avg Mbps: 676.110 2001 85218756 683.801 100.00% Conn: 1 Mbps: 683.801 Peak Mbps: 683.801 Avg Mbps: 683.801 3003 85577184 683.934 100.00% Conn: 1 Mbps: 683.934 Peak Mbps: 683.934 Avg Mbps: 683.934 4003 85499464 683.996 100.00% Conn: 1 Mbps: 683.996 Peak Mbps: 683.996 Avg Mbps: 683.996 5007 85883808 685.015 100.00% Conn: 1 Mbps: 685.015 Peak Mbps: 685.015 Avg Mbps: 685.015 --- fc00:0:0:1::11 tcpbench statistics --- 511358048 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 676.110/682.571/685.015/3.260 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.171 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.171/0.171/0.171/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.209 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.209/0.209/0.209/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 202156728 1617.254 100.00% Conn: 1 Mbps: 1617.254 Peak Mbps: 1617.254 Avg Mbps: 1617.254 2000 198283328 1587.854 100.00% Conn: 1 Mbps: 1587.854 Peak Mbps: 1617.254 Avg Mbps: 1587.854 3000 197227736 1577.822 100.00% Conn: 1 Mbps: 1577.822 Peak Mbps: 1617.254 Avg Mbps: 1577.822 4000 195592944 1564.744 100.00% Conn: 1 Mbps: 1564.744 Peak Mbps: 1617.254 Avg Mbps: 1564.744 5000 197148096 1577.185 100.00% Conn: 1 Mbps: 1577.185 Peak Mbps: 1617.254 Avg Mbps: 1577.185 --- 169.254.1.12 tcpbench statistics --- 1186872024 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1564.744/1584.972/1617.254/17.728 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 195277572 1562.221 100.00% Conn: 1 Mbps: 1562.221 Peak Mbps: 1562.221 Avg Mbps: 1562.221 2000 193054176 1545.979 100.00% Conn: 1 Mbps: 1545.979 Peak Mbps: 1562.221 Avg Mbps: 1545.979 3000 191624748 1532.998 100.00% Conn: 1 Mbps: 1532.998 Peak Mbps: 1562.221 Avg Mbps: 1532.998 4000 193364052 1546.912 100.00% Conn: 1 Mbps: 1546.912 Peak Mbps: 1562.221 Avg Mbps: 1546.912 5000 193038468 1544.308 100.00% Conn: 1 Mbps: 1544.308 Peak Mbps: 1562.221 Avg Mbps: 1544.308 --- fc00:0:0:1::12 tcpbench statistics --- 1158920532 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1532.998/1546.484/1562.221/9.324 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.168 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.168/0.168/0.168/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.227 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.227/0.227/0.227/0.000 ms ==== run-tcpbench-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 317870620 2542.965 100.00% Conn: 1 Mbps: 2542.965 Peak Mbps: 2542.965 Avg Mbps: 2542.965 2000 314482550 2518.379 100.00% Conn: 1 Mbps: 2518.379 Peak Mbps: 2542.965 Avg Mbps: 2518.379 3000 318326680 2546.613 100.00% Conn: 1 Mbps: 2546.613 Peak Mbps: 2546.613 Avg Mbps: 2546.613 4000 318293964 2548.901 100.00% Conn: 1 Mbps: 2548.901 Peak Mbps: 2548.901 Avg Mbps: 2548.901 5000 321205688 2569.646 100.00% Conn: 1 Mbps: 2569.646 Peak Mbps: 2569.646 Avg Mbps: 2569.646 --- 169.254.0.13 tcpbench statistics --- 1909536736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2518.379/2545.301/2569.646/16.356 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 309045040 2472.360 100.00% Conn: 1 Mbps: 2472.360 Peak Mbps: 2472.360 Avg Mbps: 2472.360 2000 303157312 2427.686 100.00% Conn: 1 Mbps: 2427.686 Peak Mbps: 2472.360 Avg Mbps: 2427.686 3000 303745840 2429.967 100.00% Conn: 1 Mbps: 2429.967 Peak Mbps: 2472.360 Avg Mbps: 2429.967 4000 306165344 2449.323 100.00% Conn: 1 Mbps: 2449.323 Peak Mbps: 2472.360 Avg Mbps: 2449.323 5000 303091920 2424.735 100.00% Conn: 1 Mbps: 2424.735 Peak Mbps: 2472.360 Avg Mbps: 2424.735 --- fc00::13 tcpbench statistics --- 1821660088 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2424.735/2440.814/2472.360/17.978 Mbps ==== run-ping-3-1 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.198 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.198/0.198/0.198/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.259 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.259/0.259/0.259/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 87192768 697.542 100.00% Conn: 1 Mbps: 697.542 Peak Mbps: 697.542 Avg Mbps: 697.542 2002 87534496 699.576 100.00% Conn: 1 Mbps: 699.576 Peak Mbps: 699.576 Avg Mbps: 699.576 3003 87328880 697.933 100.00% Conn: 1 Mbps: 697.933 Peak Mbps: 699.576 Avg Mbps: 697.933 4005 87508432 699.368 100.00% Conn: 1 Mbps: 699.368 Peak Mbps: 699.576 Avg Mbps: 699.368 5003 86432568 692.846 100.00% Conn: 1 Mbps: 692.846 Peak Mbps: 699.576 Avg Mbps: 692.846 --- 169.254.1.11 tcpbench statistics --- 523291272 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 692.846/697.453/699.576/2.435 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 137216456 1097.732 100.00% Conn: 1 Mbps: 1097.732 Peak Mbps: 1097.732 Avg Mbps: 1097.732 2001 136105832 1088.847 100.00% Conn: 1 Mbps: 1088.847 Peak Mbps: 1097.732 Avg Mbps: 1088.847 3002 134468912 1074.677 100.00% Conn: 1 Mbps: 1074.677 Peak Mbps: 1097.732 Avg Mbps: 1074.677 4005 135843472 1084.579 100.00% Conn: 1 Mbps: 1084.579 Peak Mbps: 1097.732 Avg Mbps: 1084.579 5004 135269744 1083.241 100.00% Conn: 1 Mbps: 1083.241 Peak Mbps: 1097.732 Avg Mbps: 1083.241 --- fc00:0:0:1::11 tcpbench statistics --- 814235296 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1074.677/1085.815/1097.732/7.529 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.171 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.171/0.171/0.171/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.233 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.233/0.233/0.233/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 322634498 2581.076 100.00% Conn: 1 Mbps: 2581.076 Peak Mbps: 2581.076 Avg Mbps: 2581.076 2000 319210000 2553.680 100.00% Conn: 1 Mbps: 2553.680 Peak Mbps: 2581.076 Avg Mbps: 2553.680 3000 326113088 2608.905 100.00% Conn: 1 Mbps: 2608.905 Peak Mbps: 2608.905 Avg Mbps: 2608.905 4000 318686556 2549.492 100.00% Conn: 1 Mbps: 2549.492 Peak Mbps: 2608.905 Avg Mbps: 2549.492 5000 317623286 2540.986 100.00% Conn: 1 Mbps: 2540.986 Peak Mbps: 2608.905 Avg Mbps: 2540.986 --- 169.254.1.12 tcpbench statistics --- 1923591946 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2540.986/2566.828/2608.905/24.959 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 306084252 2448.674 100.00% Conn: 1 Mbps: 2448.674 Peak Mbps: 2448.674 Avg Mbps: 2448.674 2000 305544120 2446.800 100.00% Conn: 1 Mbps: 2446.800 Peak Mbps: 2448.674 Avg Mbps: 2446.800 3000 303255400 2426.043 100.00% Conn: 1 Mbps: 2426.043 Peak Mbps: 2448.674 Avg Mbps: 2426.043 4000 303451576 2427.613 100.00% Conn: 1 Mbps: 2427.613 Peak Mbps: 2448.674 Avg Mbps: 2427.613 5000 304138192 2433.106 100.00% Conn: 1 Mbps: 2433.106 Peak Mbps: 2448.674 Avg Mbps: 2433.106 --- fc00:0:0:1::12 tcpbench statistics --- 1823996052 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2426.043/2436.447/2448.674/9.530 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.170 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.170/0.170/0.170/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.204 ms --- fc00::13 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-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 345547606 2764.381 100.00% Conn: 1 Mbps: 2764.381 Peak Mbps: 2764.381 Avg Mbps: 2764.381 2000 345055652 2763.208 100.00% Conn: 1 Mbps: 2763.208 Peak Mbps: 2764.381 Avg Mbps: 2763.208 3000 346217070 2769.737 100.00% Conn: 1 Mbps: 2769.737 Peak Mbps: 2769.737 Avg Mbps: 2769.737 4000 344679418 2757.435 100.00% Conn: 1 Mbps: 2757.435 Peak Mbps: 2769.737 Avg Mbps: 2757.435 5000 344106876 2752.855 100.00% Conn: 1 Mbps: 2752.855 Peak Mbps: 2769.737 Avg Mbps: 2752.855 --- 169.254.0.13 tcpbench statistics --- 2072968752 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2752.855/2761.523/2769.737/5.836 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 334907412 2679.259 100.00% Conn: 1 Mbps: 2679.259 Peak Mbps: 2679.259 Avg Mbps: 2679.259 2000 331602832 2655.478 100.00% Conn: 1 Mbps: 2655.478 Peak Mbps: 2679.259 Avg Mbps: 2655.478 3000 333237632 2665.901 100.00% Conn: 1 Mbps: 2665.901 Peak Mbps: 2679.259 Avg Mbps: 2665.901 4000 331079696 2648.638 100.00% Conn: 1 Mbps: 2648.638 Peak Mbps: 2679.259 Avg Mbps: 2648.638 5000 333139544 2665.116 100.00% Conn: 1 Mbps: 2665.116 Peak Mbps: 2679.259 Avg Mbps: 2665.116 --- fc00::13 tcpbench statistics --- 1999297292 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2648.638/2662.878/2679.259/10.393 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.06s