START sys/net/pair 2024-05-15T10:03:34Z ==== 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.096 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.096/0.096/0.096/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.114 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.114/0.114/0.114/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 218697168 1749.577 100.00% Conn: 1 Mbps: 1749.577 Peak Mbps: 1749.577 Avg Mbps: 1749.577 2000 213030244 1705.948 100.00% Conn: 1 Mbps: 1705.948 Peak Mbps: 1749.577 Avg Mbps: 1705.948 3000 211861888 1694.895 100.00% Conn: 1 Mbps: 1694.895 Peak Mbps: 1749.577 Avg Mbps: 1694.895 4000 212386456 1699.092 100.00% Conn: 1 Mbps: 1699.092 Peak Mbps: 1749.577 Avg Mbps: 1699.092 5000 214119120 1712.953 100.00% Conn: 1 Mbps: 1712.953 Peak Mbps: 1749.577 Avg Mbps: 1712.953 --- 169.254.1.11 tcpbench statistics --- 1282338268 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1694.895/1712.493/1749.577/19.532 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 216561248 1732.490 100.00% Conn: 1 Mbps: 1732.490 Peak Mbps: 1732.490 Avg Mbps: 1732.490 2000 212628960 1702.734 100.00% Conn: 1 Mbps: 1702.734 Peak Mbps: 1732.490 Avg Mbps: 1702.734 3000 212779592 1702.237 100.00% Conn: 1 Mbps: 1702.237 Peak Mbps: 1732.490 Avg Mbps: 1702.237 4000 212763736 1702.110 100.00% Conn: 1 Mbps: 1702.110 Peak Mbps: 1732.490 Avg Mbps: 1702.110 5000 211653816 1693.231 100.00% Conn: 1 Mbps: 1693.231 Peak Mbps: 1732.490 Avg Mbps: 1693.231 --- fc00:0:0:1::11 tcpbench statistics --- 1278477208 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1693.231/1706.560/1732.490/13.440 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.156 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.156/0.156/0.156/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.300 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.300/0.300/0.300/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 78278880 626.231 100.00% Conn: 1 Mbps: 626.231 Peak Mbps: 626.231 Avg Mbps: 626.231 2000 78790024 630.320 100.00% Conn: 1 Mbps: 630.320 Peak Mbps: 630.320 Avg Mbps: 630.320 3000 79024600 632.830 100.00% Conn: 1 Mbps: 632.830 Peak Mbps: 632.830 Avg Mbps: 632.830 4001 79335920 634.687 100.00% Conn: 1 Mbps: 634.687 Peak Mbps: 634.687 Avg Mbps: 634.687 5002 79117328 632.306 100.00% Conn: 1 Mbps: 632.306 Peak Mbps: 634.687 Avg Mbps: 632.306 --- 169.254.1.12 tcpbench statistics --- 473234024 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 626.231/631.275/634.687/2.880 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 76016724 607.526 100.00% Conn: 1 Mbps: 607.526 Peak Mbps: 607.526 Avg Mbps: 607.526 2001 76735008 613.880 100.00% Conn: 1 Mbps: 613.880 Peak Mbps: 613.880 Avg Mbps: 613.880 3001 76646472 613.172 100.00% Conn: 1 Mbps: 613.172 Peak Mbps: 613.880 Avg Mbps: 613.172 4002 77520408 620.163 100.00% Conn: 1 Mbps: 620.163 Peak Mbps: 620.163 Avg Mbps: 620.163 5003 77417196 618.719 100.00% Conn: 1 Mbps: 618.719 Peak Mbps: 620.163 Avg Mbps: 618.719 --- fc00:0:0:1::12 tcpbench statistics --- 461157316 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 607.526/614.692/620.163/4.483 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.130 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.130/0.130/0.130/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.160 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.160/0.160/0.160/0.000 ms ==== run-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 125816840 1006.535 100.00% Conn: 1 Mbps: 1006.535 Peak Mbps: 1006.535 Avg Mbps: 1006.535 2000 125308168 1002.465 100.00% Conn: 1 Mbps: 1002.465 Peak Mbps: 1006.535 Avg Mbps: 1002.465 3000 126126812 1009.014 100.00% Conn: 1 Mbps: 1009.014 Peak Mbps: 1009.014 Avg Mbps: 1009.014 4000 125546608 1004.373 100.00% Conn: 1 Mbps: 1004.373 Peak Mbps: 1009.014 Avg Mbps: 1004.373 5000 124537212 996.298 100.00% Conn: 1 Mbps: 996.298 Peak Mbps: 1009.014 Avg Mbps: 996.298 --- 169.254.0.13 tcpbench statistics --- 753049156 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 996.298/1003.737/1009.014/4.314 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 115629880 925.039 100.00% Conn: 1 Mbps: 925.039 Peak Mbps: 925.039 Avg Mbps: 925.039 2000 113576528 908.612 100.00% Conn: 1 Mbps: 908.612 Peak Mbps: 925.039 Avg Mbps: 908.612 3000 112442824 899.543 100.00% Conn: 1 Mbps: 899.543 Peak Mbps: 925.039 Avg Mbps: 899.543 4000 112133632 897.069 100.00% Conn: 1 Mbps: 897.069 Peak Mbps: 925.039 Avg Mbps: 897.069 5000 112553816 900.431 100.00% Conn: 1 Mbps: 900.431 Peak Mbps: 925.039 Avg Mbps: 900.431 --- fc00::13 tcpbench statistics --- 681475024 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 897.069/906.139/925.039/10.215 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.103 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.103/0.103/0.103/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.127 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.127/0.127/0.127/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 78370104 626.961 100.00% Conn: 1 Mbps: 626.961 Peak Mbps: 626.961 Avg Mbps: 626.961 2001 78832016 630.656 100.00% Conn: 1 Mbps: 630.656 Peak Mbps: 630.656 Avg Mbps: 630.656 3001 78826224 630.610 100.00% Conn: 1 Mbps: 630.610 Peak Mbps: 630.656 Avg Mbps: 630.610 4002 79089760 632.718 100.00% Conn: 1 Mbps: 632.718 Peak Mbps: 632.718 Avg Mbps: 632.718 5003 79083968 632.672 100.00% Conn: 1 Mbps: 632.672 Peak Mbps: 632.718 Avg Mbps: 632.672 --- 169.254.1.11 tcpbench statistics --- 472815440 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 626.961/630.723/632.718/2.095 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 76432272 611.458 100.00% Conn: 1 Mbps: 611.458 Peak Mbps: 611.458 Avg Mbps: 611.458 2001 76545084 612.361 100.00% Conn: 1 Mbps: 612.361 Peak Mbps: 612.361 Avg Mbps: 612.361 3002 76992048 615.321 100.00% Conn: 1 Mbps: 615.321 Peak Mbps: 615.321 Avg Mbps: 615.321 4003 77176260 616.793 100.00% Conn: 1 Mbps: 616.793 Peak Mbps: 616.793 Avg Mbps: 616.793 5003 76782132 614.257 100.00% Conn: 1 Mbps: 614.257 Peak Mbps: 616.793 Avg Mbps: 614.257 --- fc00:0:0:1::11 tcpbench statistics --- 460251540 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 611.458/614.038/616.793/1.937 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.090 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.090/0.090/0.090/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.108 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.108/0.108/0.108/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 201422592 1611.381 100.00% Conn: 1 Mbps: 1611.381 Peak Mbps: 1611.381 Avg Mbps: 1611.381 2000 196497944 1571.984 100.00% Conn: 1 Mbps: 1571.984 Peak Mbps: 1611.381 Avg Mbps: 1571.984 3000 209092648 1672.741 100.00% Conn: 1 Mbps: 1672.741 Peak Mbps: 1672.741 Avg Mbps: 1672.741 4000 207863296 1662.906 100.00% Conn: 1 Mbps: 1662.906 Peak Mbps: 1672.741 Avg Mbps: 1662.906 5000 197492720 1579.942 100.00% Conn: 1 Mbps: 1579.942 Peak Mbps: 1672.741 Avg Mbps: 1579.942 --- 169.254.1.12 tcpbench statistics --- 1222641968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1571.984/1619.791/1672.741/41.490 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 201006708 1608.054 100.00% Conn: 1 Mbps: 1608.054 Peak Mbps: 1608.054 Avg Mbps: 1608.054 2000 196441392 1573.104 100.00% Conn: 1 Mbps: 1573.104 Peak Mbps: 1608.054 Avg Mbps: 1573.104 3000 214665528 1717.324 100.00% Conn: 1 Mbps: 1717.324 Peak Mbps: 1717.324 Avg Mbps: 1717.324 4000 197935080 1583.481 100.00% Conn: 1 Mbps: 1583.481 Peak Mbps: 1717.324 Avg Mbps: 1583.481 5000 200556888 1604.455 100.00% Conn: 1 Mbps: 1604.455 Peak Mbps: 1717.324 Avg Mbps: 1604.455 --- fc00:0:0:1::12 tcpbench statistics --- 1209390336 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1573.104/1617.284/1717.324/51.677 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.097 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.097/0.097/0.097/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.114 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.114/0.114/0.114/0.000 ms ==== run-tcpbench-2-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 303229566 2425.837 100.00% Conn: 1 Mbps: 2425.837 Peak Mbps: 2425.837 Avg Mbps: 2425.837 2000 296210664 2369.685 100.00% Conn: 1 Mbps: 2369.685 Peak Mbps: 2425.837 Avg Mbps: 2369.685 3000 297846464 2382.772 100.00% Conn: 1 Mbps: 2382.772 Peak Mbps: 2425.837 Avg Mbps: 2382.772 4000 297323008 2378.584 100.00% Conn: 1 Mbps: 2378.584 Peak Mbps: 2425.837 Avg Mbps: 2378.584 5000 303931640 2431.453 100.00% Conn: 1 Mbps: 2431.453 Peak Mbps: 2431.453 Avg Mbps: 2431.453 --- 169.254.0.13 tcpbench statistics --- 1797696446 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2369.685/2397.666/2431.453/25.706 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 302864340 2422.915 100.00% Conn: 1 Mbps: 2422.915 Peak Mbps: 2422.915 Avg Mbps: 2422.915 2000 303484272 2427.874 100.00% Conn: 1 Mbps: 2427.874 Peak Mbps: 2427.874 Avg Mbps: 2427.874 3000 303157312 2425.258 100.00% Conn: 1 Mbps: 2425.258 Peak Mbps: 2427.874 Avg Mbps: 2425.258 4000 302993832 2423.951 100.00% Conn: 1 Mbps: 2423.951 Peak Mbps: 2427.874 Avg Mbps: 2423.951 5000 294787136 2358.297 100.00% Conn: 1 Mbps: 2358.297 Peak Mbps: 2427.874 Avg Mbps: 2358.297 --- fc00::13 tcpbench statistics --- 1801223932 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2358.297/2411.659/2427.874/26.733 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.110 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.110/0.110/0.110/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.133 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.133/0.133/0.133/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 78163040 624.680 100.00% Conn: 1 Mbps: 624.680 Peak Mbps: 624.680 Avg Mbps: 624.680 2002 78273088 626.185 100.00% Conn: 1 Mbps: 626.185 Peak Mbps: 626.185 Avg Mbps: 626.185 3004 78875456 629.744 100.00% Conn: 1 Mbps: 629.744 Peak Mbps: 629.744 Avg Mbps: 629.744 4004 78830568 630.645 100.00% Conn: 1 Mbps: 630.645 Peak Mbps: 630.645 Avg Mbps: 630.645 5004 78492208 627.938 100.00% Conn: 1 Mbps: 627.938 Peak Mbps: 630.645 Avg Mbps: 627.938 --- 169.254.1.11 tcpbench statistics --- 470830192 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 624.680/627.838/630.645/2.201 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 1002 124844752 996.764 100.00% Conn: 1 Mbps: 996.764 Peak Mbps: 996.764 Avg Mbps: 996.764 2001 123608328 989.856 100.00% Conn: 1 Mbps: 989.856 Peak Mbps: 996.764 Avg Mbps: 989.856 3001 123789360 990.315 100.00% Conn: 1 Mbps: 990.315 Peak Mbps: 996.764 Avg Mbps: 990.315 4002 124070864 992.567 100.00% Conn: 1 Mbps: 992.567 Peak Mbps: 996.764 Avg Mbps: 992.567 5002 124569864 996.559 100.00% Conn: 1 Mbps: 996.559 Peak Mbps: 996.764 Avg Mbps: 996.559 --- fc00:0:0:1::11 tcpbench statistics --- 744235000 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 989.856/993.212/996.764/2.963 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.098 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.098/0.098/0.098/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.115 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.115/0.115/0.115/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 298435738 2387.486 100.00% Conn: 1 Mbps: 2387.486 Peak Mbps: 2387.486 Avg Mbps: 2387.486 2000 292023016 2338.523 100.00% Conn: 1 Mbps: 2338.523 Peak Mbps: 2387.486 Avg Mbps: 2338.523 3000 297715600 2381.725 100.00% Conn: 1 Mbps: 2381.725 Peak Mbps: 2387.486 Avg Mbps: 2381.725 4000 293462520 2347.700 100.00% Conn: 1 Mbps: 2347.700 Peak Mbps: 2387.486 Avg Mbps: 2347.700 5000 294018692 2352.150 100.00% Conn: 1 Mbps: 2352.150 Peak Mbps: 2387.486 Avg Mbps: 2352.150 --- 169.254.1.12 tcpbench statistics --- 1772160674 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2338.523/2361.517/2387.486/19.443 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 303092676 2424.741 100.00% Conn: 1 Mbps: 2424.741 Peak Mbps: 2424.741 Avg Mbps: 2424.741 2000 302470696 2422.188 100.00% Conn: 1 Mbps: 2422.188 Peak Mbps: 2424.741 Avg Mbps: 2422.188 3000 298351000 2386.808 100.00% Conn: 1 Mbps: 2386.808 Peak Mbps: 2424.741 Avg Mbps: 2386.808 4000 299822320 2398.579 100.00% Conn: 1 Mbps: 2398.579 Peak Mbps: 2424.741 Avg Mbps: 2398.579 5000 299985800 2399.886 100.00% Conn: 1 Mbps: 2399.886 Peak Mbps: 2424.741 Avg Mbps: 2399.886 --- fc00:0:0:1::12 tcpbench statistics --- 1803839076 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2386.808/2406.440/2424.741/14.650 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.090 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.090/0.090/0.090/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.112 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.112/0.112/0.112/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 297292050 2378.336 100.00% Conn: 1 Mbps: 2378.336 Peak Mbps: 2378.336 Avg Mbps: 2378.336 2000 294967456 2359.740 100.00% Conn: 1 Mbps: 2359.740 Peak Mbps: 2378.336 Avg Mbps: 2359.740 3000 294149556 2353.196 100.00% Conn: 1 Mbps: 2353.196 Peak Mbps: 2378.336 Avg Mbps: 2353.196 4000 293037212 2344.298 100.00% Conn: 1 Mbps: 2344.298 Peak Mbps: 2378.336 Avg Mbps: 2344.298 5000 293102644 2344.821 100.00% Conn: 1 Mbps: 2344.821 Peak Mbps: 2378.336 Avg Mbps: 2344.821 --- 169.254.0.13 tcpbench statistics --- 1765520698 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2344.298/2356.078/2378.336/12.511 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 306566036 2452.528 100.00% Conn: 1 Mbps: 2452.528 Peak Mbps: 2452.528 Avg Mbps: 2452.528 2000 308225192 2468.270 100.00% Conn: 1 Mbps: 2468.270 Peak Mbps: 2468.270 Avg Mbps: 2468.270 3000 305903776 2447.230 100.00% Conn: 1 Mbps: 2447.230 Peak Mbps: 2468.270 Avg Mbps: 2447.230 4000 313456552 2507.652 100.00% Conn: 1 Mbps: 2507.652 Peak Mbps: 2507.652 Avg Mbps: 2507.652 5000 309663816 2477.311 100.00% Conn: 1 Mbps: 2477.311 Peak Mbps: 2507.652 Avg Mbps: 2477.311 --- fc00::13 tcpbench statistics --- 1841675932 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2447.230/2470.598/2507.652/21.429 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m55.38s