START sys/net/pair 2024-12-22T05:52:51Z ==== 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.049 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.049/0.049/0.049/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.045 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.045/0.045/0.045/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 601504640 4812.037 100.00% Conn: 1 Mbps: 4812.037 Peak Mbps: 4812.037 Avg Mbps: 4812.037 2000 601162876 4814.117 100.00% Conn: 1 Mbps: 4814.117 Peak Mbps: 4814.117 Avg Mbps: 4814.117 3000 600232960 4801.864 100.00% Conn: 1 Mbps: 4801.864 Peak Mbps: 4814.117 Avg Mbps: 4801.864 4000 600018364 4800.147 100.00% Conn: 1 Mbps: 4800.147 Peak Mbps: 4814.117 Avg Mbps: 4800.147 5000 605089188 4840.714 100.00% Conn: 1 Mbps: 4840.714 Peak Mbps: 4840.714 Avg Mbps: 4840.714 --- 169.254.1.11 tcpbench statistics --- 3606428844 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4800.147/4813.776/4840.714/14.536 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 578783640 4630.269 100.00% Conn: 1 Mbps: 4630.269 Peak Mbps: 4630.269 Avg Mbps: 4630.269 2000 576421096 4615.985 100.00% Conn: 1 Mbps: 4615.985 Peak Mbps: 4630.269 Avg Mbps: 4615.985 3000 575652080 4605.217 100.00% Conn: 1 Mbps: 4605.217 Peak Mbps: 4630.269 Avg Mbps: 4605.217 4000 574391528 4595.132 100.00% Conn: 1 Mbps: 4595.132 Peak Mbps: 4630.269 Avg Mbps: 4595.132 5000 573241968 4590.526 100.00% Conn: 1 Mbps: 4590.526 Peak Mbps: 4630.269 Avg Mbps: 4590.526 --- fc00:0:0:1::11 tcpbench statistics --- 3453619144 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4590.526/4607.426/4630.269/14.399 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.075 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.075/0.075/0.075/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.160 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.160/0.160/0.160/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 213702000 1709.616 100.00% Conn: 1 Mbps: 1709.616 Peak Mbps: 1709.616 Avg Mbps: 1709.616 2000 215189224 1721.514 100.00% Conn: 1 Mbps: 1721.514 Peak Mbps: 1721.514 Avg Mbps: 1721.514 3000 213815960 1710.528 100.00% Conn: 1 Mbps: 1710.528 Peak Mbps: 1721.514 Avg Mbps: 1710.528 4000 215506112 1724.049 100.00% Conn: 1 Mbps: 1724.049 Peak Mbps: 1724.049 Avg Mbps: 1724.049 5001 213836784 1710.694 100.00% Conn: 1 Mbps: 1710.694 Peak Mbps: 1724.049 Avg Mbps: 1710.694 --- 169.254.1.12 tcpbench statistics --- 1286319088 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1709.616/1715.280/1724.049/6.188 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 205567388 1644.539 100.00% Conn: 1 Mbps: 1644.539 Peak Mbps: 1644.539 Avg Mbps: 1644.539 2001 208341128 1666.729 100.00% Conn: 1 Mbps: 1666.729 Peak Mbps: 1666.729 Avg Mbps: 1666.729 3001 208230112 1665.841 100.00% Conn: 1 Mbps: 1665.841 Peak Mbps: 1666.729 Avg Mbps: 1665.841 4002 207716244 1660.070 100.00% Conn: 1 Mbps: 1660.070 Peak Mbps: 1666.729 Avg Mbps: 1660.070 5001 204837156 1640.338 100.00% Conn: 1 Mbps: 1640.338 Peak Mbps: 1666.729 Avg Mbps: 1640.338 --- fc00:0:0:1::12 tcpbench statistics --- 1241150232 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1640.338/1655.503/1666.729/10.990 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.058 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.058/0.058/0.058/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.068 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.068/0.068/0.068/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 321655560 2573.244 100.00% Conn: 1 Mbps: 2573.244 Peak Mbps: 2573.244 Avg Mbps: 2573.244 2000 321877404 2575.019 100.00% Conn: 1 Mbps: 2575.019 Peak Mbps: 2575.019 Avg Mbps: 2575.019 3000 322251240 2580.591 100.00% Conn: 1 Mbps: 2580.591 Peak Mbps: 2580.591 Avg Mbps: 2580.591 4000 322513664 2580.109 100.00% Conn: 1 Mbps: 2580.109 Peak Mbps: 2580.591 Avg Mbps: 2580.109 5000 323006440 2584.052 100.00% Conn: 1 Mbps: 2584.052 Peak Mbps: 2584.052 Avg Mbps: 2584.052 --- 169.254.0.13 tcpbench statistics --- 1935280544 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2573.244/2578.603/2584.052/3.936 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 300836408 2406.691 100.00% Conn: 1 Mbps: 2406.691 Peak Mbps: 2406.691 Avg Mbps: 2406.691 2000 300867600 2406.941 100.00% Conn: 1 Mbps: 2406.941 Peak Mbps: 2406.941 Avg Mbps: 2406.941 3000 301321056 2410.568 100.00% Conn: 1 Mbps: 2410.568 Peak Mbps: 2410.568 Avg Mbps: 2410.568 4000 300978592 2407.829 100.00% Conn: 1 Mbps: 2407.829 Peak Mbps: 2410.568 Avg Mbps: 2407.829 5000 301930472 2417.862 100.00% Conn: 1 Mbps: 2417.862 Peak Mbps: 2417.862 Avg Mbps: 2417.862 --- fc00::13 tcpbench statistics --- 1804566032 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2406.691/2409.978/2417.862/4.175 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.056 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.056/0.056/0.056/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.051 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.051/0.051/0.051/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 217011280 1736.090 100.00% Conn: 1 Mbps: 1736.090 Peak Mbps: 1736.090 Avg Mbps: 1736.090 2000 217747432 1741.979 100.00% Conn: 1 Mbps: 1741.979 Peak Mbps: 1741.979 Avg Mbps: 1741.979 3000 218649544 1749.196 100.00% Conn: 1 Mbps: 1749.196 Peak Mbps: 1749.196 Avg Mbps: 1749.196 4001 218419976 1747.360 100.00% Conn: 1 Mbps: 1747.360 Peak Mbps: 1749.196 Avg Mbps: 1747.360 5001 219068568 1752.549 100.00% Conn: 1 Mbps: 1752.549 Peak Mbps: 1752.549 Avg Mbps: 1752.549 --- 169.254.1.11 tcpbench statistics --- 1309062264 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1736.090/1745.435/1752.549/5.792 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 1001 205768636 1644.505 100.00% Conn: 1 Mbps: 1644.505 Peak Mbps: 1644.505 Avg Mbps: 1644.505 2002 209838732 1678.710 100.00% Conn: 1 Mbps: 1678.710 Peak Mbps: 1678.710 Avg Mbps: 1678.710 3002 208739144 1669.913 100.00% Conn: 1 Mbps: 1669.913 Peak Mbps: 1678.710 Avg Mbps: 1669.913 4002 207456672 1659.653 100.00% Conn: 1 Mbps: 1659.653 Peak Mbps: 1678.710 Avg Mbps: 1659.653 5004 209037808 1670.632 100.00% Conn: 1 Mbps: 1670.632 Peak Mbps: 1678.710 Avg Mbps: 1670.632 --- fc00:0:0:1::11 tcpbench statistics --- 1248263308 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1644.505/1664.683/1678.710/11.764 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.049 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.049/0.049/0.049/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.044 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.044/0.044/0.044/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 577559416 4620.475 100.00% Conn: 1 Mbps: 4620.475 Peak Mbps: 4620.475 Avg Mbps: 4620.475 2000 568658616 4553.823 100.00% Conn: 1 Mbps: 4553.823 Peak Mbps: 4620.475 Avg Mbps: 4553.823 3000 567362600 4538.901 100.00% Conn: 1 Mbps: 4538.901 Peak Mbps: 4620.475 Avg Mbps: 4538.901 4000 569867696 4563.505 100.00% Conn: 1 Mbps: 4563.505 Peak Mbps: 4620.475 Avg Mbps: 4563.505 5000 567394456 4543.699 100.00% Conn: 1 Mbps: 4543.699 Peak Mbps: 4620.475 Avg Mbps: 4543.699 --- 169.254.1.12 tcpbench statistics --- 3419975008 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4538.901/4564.081/4620.475/29.446 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 571442760 4571.542 100.00% Conn: 1 Mbps: 4571.542 Peak Mbps: 4571.542 Avg Mbps: 4571.542 2000 572228160 4582.408 100.00% Conn: 1 Mbps: 4582.408 Peak Mbps: 4582.408 Avg Mbps: 4582.408 3000 576010324 4608.083 100.00% Conn: 1 Mbps: 4608.083 Peak Mbps: 4608.083 Avg Mbps: 4608.083 4000 577420368 4619.363 100.00% Conn: 1 Mbps: 4619.363 Peak Mbps: 4619.363 Avg Mbps: 4619.363 5000 575046424 4600.371 100.00% Conn: 1 Mbps: 4600.371 Peak Mbps: 4619.363 Avg Mbps: 4600.371 --- fc00:0:0:1::12 tcpbench statistics --- 3447477416 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4571.542/4596.353/4619.363/17.281 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.047 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.047/0.047/0.047/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.078 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.078/0.078/0.078/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 1062748638 8501.989 100.00% Conn: 1 Mbps: 8501.989 Peak Mbps: 8501.989 Avg Mbps: 8501.989 2000 1056939454 8463.980 100.00% Conn: 1 Mbps: 8463.980 Peak Mbps: 8501.989 Avg Mbps: 8463.980 3000 1050199958 8401.600 100.00% Conn: 1 Mbps: 8401.600 Peak Mbps: 8501.989 Avg Mbps: 8401.600 4000 1061666916 8493.335 100.00% Conn: 1 Mbps: 8493.335 Peak Mbps: 8501.989 Avg Mbps: 8493.335 5000 1061765064 8494.121 100.00% Conn: 1 Mbps: 8494.121 Peak Mbps: 8501.989 Avg Mbps: 8494.121 --- 169.254.0.13 tcpbench statistics --- 6351519050 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8401.600/8471.005/8501.989/37.039 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 1029369572 8234.957 100.00% Conn: 1 Mbps: 8234.957 Peak Mbps: 8234.957 Avg Mbps: 8234.957 2000 1006546360 8060.431 100.00% Conn: 1 Mbps: 8060.431 Peak Mbps: 8234.957 Avg Mbps: 8060.431 3000 1002361272 8018.890 100.00% Conn: 1 Mbps: 8018.890 Peak Mbps: 8234.957 Avg Mbps: 8018.890 4000 1016943688 8135.550 100.00% Conn: 1 Mbps: 8135.550 Peak Mbps: 8234.957 Avg Mbps: 8135.550 5000 1005598176 8044.785 100.00% Conn: 1 Mbps: 8044.785 Peak Mbps: 8234.957 Avg Mbps: 8044.785 --- fc00::13 tcpbench statistics --- 6074068108 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8018.890/8098.923/8234.957/78.313 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.051 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.051/0.051/0.051/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.057 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.057/0.057/0.057/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 214151376 1711.500 100.00% Conn: 1 Mbps: 1711.500 Peak Mbps: 1711.500 Avg Mbps: 1711.500 2001 210481376 1683.851 100.00% Conn: 1 Mbps: 1683.851 Peak Mbps: 1711.500 Avg Mbps: 1683.851 3002 212192576 1697.541 100.00% Conn: 1 Mbps: 1697.541 Peak Mbps: 1711.500 Avg Mbps: 1697.541 4002 212685784 1701.486 100.00% Conn: 1 Mbps: 1701.486 Peak Mbps: 1711.500 Avg Mbps: 1701.486 5002 211079064 1690.323 100.00% Conn: 1 Mbps: 1690.323 Peak Mbps: 1711.500 Avg Mbps: 1690.323 --- 169.254.1.11 tcpbench statistics --- 1272986528 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1683.851/1696.940/1711.500/9.467 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 311958288 2495.666 100.00% Conn: 1 Mbps: 2495.666 Peak Mbps: 2495.666 Avg Mbps: 2495.666 2000 314356528 2514.852 100.00% Conn: 1 Mbps: 2514.852 Peak Mbps: 2514.852 Avg Mbps: 2514.852 3000 312558352 2500.467 100.00% Conn: 1 Mbps: 2500.467 Peak Mbps: 2514.852 Avg Mbps: 2500.467 4001 313855792 2510.846 100.00% Conn: 1 Mbps: 2510.846 Peak Mbps: 2514.852 Avg Mbps: 2510.846 5001 312655432 2501.243 100.00% Conn: 1 Mbps: 2501.243 Peak Mbps: 2514.852 Avg Mbps: 2501.243 --- fc00:0:0:1::11 tcpbench statistics --- 1879260400 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2495.666/2504.615/2514.852/7.103 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.048 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.048/0.048/0.048/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.049 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.049/0.049/0.049/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 1045145020 8361.160 100.00% Conn: 1 Mbps: 8361.160 Peak Mbps: 8361.160 Avg Mbps: 8361.160 2000 1051852116 8423.240 100.00% Conn: 1 Mbps: 8423.240 Peak Mbps: 8423.240 Avg Mbps: 8423.240 3000 1052326498 8418.612 100.00% Conn: 1 Mbps: 8418.612 Peak Mbps: 8423.240 Avg Mbps: 8418.612 4000 1053998330 8431.987 100.00% Conn: 1 Mbps: 8431.987 Peak Mbps: 8431.987 Avg Mbps: 8431.987 5000 1049954588 8399.637 100.00% Conn: 1 Mbps: 8399.637 Peak Mbps: 8431.987 Avg Mbps: 8399.637 --- 169.254.1.12 tcpbench statistics --- 6302822190 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8361.160/8406.927/8431.987/25.213 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 999044500 7992.356 100.00% Conn: 1 Mbps: 7992.356 Peak Mbps: 7992.356 Avg Mbps: 7992.356 2000 981566616 7860.393 100.00% Conn: 1 Mbps: 7860.393 Peak Mbps: 7992.356 Avg Mbps: 7860.393 3000 981076176 7848.609 100.00% Conn: 1 Mbps: 7848.609 Peak Mbps: 7992.356 Avg Mbps: 7848.609 4000 983561072 7868.489 100.00% Conn: 1 Mbps: 7868.489 Peak Mbps: 7992.356 Avg Mbps: 7868.489 5000 986961456 7895.692 100.00% Conn: 1 Mbps: 7895.692 Peak Mbps: 7992.356 Avg Mbps: 7895.692 --- fc00:0:0:1::12 tcpbench statistics --- 5912991732 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7848.609/7893.108/7992.356/51.987 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.051 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.051/0.051/0.051/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.045 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/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 1117208932 8937.671 100.00% Conn: 1 Mbps: 8937.671 Peak Mbps: 8937.671 Avg Mbps: 8937.671 2000 1115075786 8929.536 100.00% Conn: 1 Mbps: 8929.536 Peak Mbps: 8937.671 Avg Mbps: 8929.536 3000 1110953570 8887.629 100.00% Conn: 1 Mbps: 8887.629 Peak Mbps: 8937.671 Avg Mbps: 8887.629 4000 1115501094 8924.009 100.00% Conn: 1 Mbps: 8924.009 Peak Mbps: 8937.671 Avg Mbps: 8924.009 5000 1108974252 8871.794 100.00% Conn: 1 Mbps: 8871.794 Peak Mbps: 8937.671 Avg Mbps: 8871.794 --- 169.254.0.13 tcpbench statistics --- 6690935704 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8871.794/8910.128/8937.671/25.705 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 1062072124 8496.577 100.00% Conn: 1 Mbps: 8496.577 Peak Mbps: 8496.577 Avg Mbps: 8496.577 2000 1053922864 8439.823 100.00% Conn: 1 Mbps: 8439.823 Peak Mbps: 8496.577 Avg Mbps: 8439.823 3000 1061344856 8490.759 100.00% Conn: 1 Mbps: 8490.759 Peak Mbps: 8496.577 Avg Mbps: 8490.759 4000 1062260344 8498.083 100.00% Conn: 1 Mbps: 8498.083 Peak Mbps: 8498.083 Avg Mbps: 8498.083 5000 1065235680 8521.885 100.00% Conn: 1 Mbps: 8521.885 Peak Mbps: 8521.885 Avg Mbps: 8521.885 --- fc00::13 tcpbench statistics --- 6369123364 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8439.823/8489.425/8521.885/26.989 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 1m52.85s