START sys/net/pair 2024-12-21T05:35:03Z ==== 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.046 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.046/0.046/0.046/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 572780568 4582.245 100.00% Conn: 1 Mbps: 4582.245 Peak Mbps: 4582.245 Avg Mbps: 4582.245 2000 580060936 4645.133 100.00% Conn: 1 Mbps: 4645.133 Peak Mbps: 4645.133 Avg Mbps: 4645.133 3000 581054436 4648.435 100.00% Conn: 1 Mbps: 4648.435 Peak Mbps: 4648.435 Avg Mbps: 4648.435 4000 582612244 4660.898 100.00% Conn: 1 Mbps: 4660.898 Peak Mbps: 4660.898 Avg Mbps: 4660.898 5000 581841288 4654.730 100.00% Conn: 1 Mbps: 4654.730 Peak Mbps: 4660.898 Avg Mbps: 4654.730 --- 169.254.1.11 tcpbench statistics --- 3479904632 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4582.245/4638.288/4660.898/28.539 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 565504240 4524.034 100.00% Conn: 1 Mbps: 4524.034 Peak Mbps: 4524.034 Avg Mbps: 4524.034 2000 564576664 4516.613 100.00% Conn: 1 Mbps: 4516.613 Peak Mbps: 4524.034 Avg Mbps: 4516.613 3000 565979920 4532.372 100.00% Conn: 1 Mbps: 4532.372 Peak Mbps: 4532.372 Avg Mbps: 4532.372 4000 560993208 4487.946 100.00% Conn: 1 Mbps: 4487.946 Peak Mbps: 4532.372 Avg Mbps: 4487.946 5000 564394320 4515.155 100.00% Conn: 1 Mbps: 4515.155 Peak Mbps: 4532.372 Avg Mbps: 4515.155 --- fc00:0:0:1::11 tcpbench statistics --- 3385406632 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4487.946/4515.224/4532.372/14.951 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.080 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.080/0.080/0.080/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.147 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.147/0.147/0.147/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 215353632 1722.829 100.00% Conn: 1 Mbps: 1722.829 Peak Mbps: 1722.829 Avg Mbps: 1722.829 2000 216118288 1730.677 100.00% Conn: 1 Mbps: 1730.677 Peak Mbps: 1730.677 Avg Mbps: 1730.677 3000 214535656 1716.285 100.00% Conn: 1 Mbps: 1716.285 Peak Mbps: 1730.677 Avg Mbps: 1716.285 4001 215671952 1725.376 100.00% Conn: 1 Mbps: 1725.376 Peak Mbps: 1730.677 Avg Mbps: 1725.376 5002 215782544 1726.260 100.00% Conn: 1 Mbps: 1726.260 Peak Mbps: 1730.677 Avg Mbps: 1726.260 --- 169.254.1.12 tcpbench statistics --- 1291309760 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1716.285/1724.285/1730.677/4.734 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 207978740 1663.830 100.00% Conn: 1 Mbps: 1663.830 Peak Mbps: 1663.830 Avg Mbps: 1663.830 2001 209908912 1679.271 100.00% Conn: 1 Mbps: 1679.271 Peak Mbps: 1679.271 Avg Mbps: 1679.271 3002 205688196 1645.506 100.00% Conn: 1 Mbps: 1645.506 Peak Mbps: 1679.271 Avg Mbps: 1645.506 4002 205861308 1646.890 100.00% Conn: 1 Mbps: 1646.890 Peak Mbps: 1679.271 Avg Mbps: 1646.890 5003 205679924 1645.439 100.00% Conn: 1 Mbps: 1645.439 Peak Mbps: 1679.271 Avg Mbps: 1645.439 --- fc00:0:0:1::12 tcpbench statistics --- 1238320400 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1645.439/1656.187/1679.271/13.471 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.070 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.070/0.070/0.070/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 307818092 2462.545 100.00% Conn: 1 Mbps: 2462.545 Peak Mbps: 2462.545 Avg Mbps: 2462.545 2000 305552912 2444.423 100.00% Conn: 1 Mbps: 2444.423 Peak Mbps: 2462.545 Avg Mbps: 2444.423 3000 305791352 2446.331 100.00% Conn: 1 Mbps: 2446.331 Peak Mbps: 2462.545 Avg Mbps: 2446.331 4000 305354212 2442.834 100.00% Conn: 1 Mbps: 2442.834 Peak Mbps: 2462.545 Avg Mbps: 2442.834 5000 304844280 2438.754 100.00% Conn: 1 Mbps: 2438.754 Peak Mbps: 2462.545 Avg Mbps: 2438.754 --- 169.254.0.13 tcpbench statistics --- 1834611736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2438.754/2446.977/2462.545/8.174 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 289102448 2312.820 100.00% Conn: 1 Mbps: 2312.820 Peak Mbps: 2312.820 Avg Mbps: 2312.820 2000 289490920 2315.927 100.00% Conn: 1 Mbps: 2315.927 Peak Mbps: 2315.927 Avg Mbps: 2315.927 3000 288801184 2310.409 100.00% Conn: 1 Mbps: 2310.409 Peak Mbps: 2315.927 Avg Mbps: 2310.409 4000 290156872 2321.255 100.00% Conn: 1 Mbps: 2321.255 Peak Mbps: 2321.255 Avg Mbps: 2321.255 5000 291243008 2332.276 100.00% Conn: 1 Mbps: 2332.276 Peak Mbps: 2332.276 Avg Mbps: 2332.276 --- fc00::13 tcpbench statistics --- 1740299064 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2310.409/2318.538/2332.276/7.768 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.041 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.041/0.041/0.041/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.049 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.049/0.049/0.049/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 217447352 1739.579 100.00% Conn: 1 Mbps: 1739.579 Peak Mbps: 1739.579 Avg Mbps: 1739.579 2000 217593776 1740.750 100.00% Conn: 1 Mbps: 1740.750 Peak Mbps: 1740.750 Avg Mbps: 1740.750 3000 217566424 1740.531 100.00% Conn: 1 Mbps: 1740.531 Peak Mbps: 1740.750 Avg Mbps: 1740.531 4001 216846112 1734.769 100.00% Conn: 1 Mbps: 1734.769 Peak Mbps: 1740.750 Avg Mbps: 1734.769 5001 217409096 1741.014 100.00% Conn: 1 Mbps: 1741.014 Peak Mbps: 1741.014 Avg Mbps: 1741.014 --- 169.254.1.11 tcpbench statistics --- 1305362816 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1734.769/1739.329/1741.014/2.331 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 206787216 1654.298 100.00% Conn: 1 Mbps: 1654.298 Peak Mbps: 1654.298 Avg Mbps: 1654.298 2001 208940076 1671.521 100.00% Conn: 1 Mbps: 1671.521 Peak Mbps: 1671.521 Avg Mbps: 1671.521 3001 207384828 1659.079 100.00% Conn: 1 Mbps: 1659.079 Peak Mbps: 1671.521 Avg Mbps: 1659.079 4001 206575152 1654.255 100.00% Conn: 1 Mbps: 1654.255 Peak Mbps: 1671.521 Avg Mbps: 1654.255 5002 205601836 1644.815 100.00% Conn: 1 Mbps: 1644.815 Peak Mbps: 1671.521 Avg Mbps: 1644.815 --- fc00:0:0:1::11 tcpbench statistics --- 1240411588 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1644.815/1656.793/1671.521/8.698 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.052 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.052/0.052/0.052/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.045 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.045/0.045/0.045/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 582472480 4659.780 100.00% Conn: 1 Mbps: 4659.780 Peak Mbps: 4659.780 Avg Mbps: 4659.780 2000 577882320 4627.686 100.00% Conn: 1 Mbps: 4627.686 Peak Mbps: 4659.780 Avg Mbps: 4627.686 3000 575979648 4607.837 100.00% Conn: 1 Mbps: 4607.837 Peak Mbps: 4659.780 Avg Mbps: 4607.837 4000 576835416 4614.683 100.00% Conn: 1 Mbps: 4614.683 Peak Mbps: 4659.780 Avg Mbps: 4614.683 5000 573092336 4584.739 100.00% Conn: 1 Mbps: 4584.739 Peak Mbps: 4659.780 Avg Mbps: 4584.739 --- 169.254.1.12 tcpbench statistics --- 3461520800 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4584.739/4618.945/4659.780/24.720 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 561699516 4493.596 100.00% Conn: 1 Mbps: 4493.596 Peak Mbps: 4493.596 Avg Mbps: 4493.596 2000 562726248 4506.316 100.00% Conn: 1 Mbps: 4506.316 Peak Mbps: 4506.316 Avg Mbps: 4506.316 3000 562117920 4496.943 100.00% Conn: 1 Mbps: 4496.943 Peak Mbps: 4506.316 Avg Mbps: 4496.943 4000 562921884 4503.375 100.00% Conn: 1 Mbps: 4503.375 Peak Mbps: 4506.316 Avg Mbps: 4503.375 5000 564214224 4513.714 100.00% Conn: 1 Mbps: 4513.714 Peak Mbps: 4513.714 Avg Mbps: 4513.714 --- fc00:0:0:1::12 tcpbench statistics --- 3376226112 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4493.596/4502.789/4513.714/7.083 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.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-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.052 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.052/0.052/0.052/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 1043462828 8347.703 100.00% Conn: 1 Mbps: 8347.703 Peak Mbps: 8347.703 Avg Mbps: 8347.703 2000 1041677428 8341.761 100.00% Conn: 1 Mbps: 8341.761 Peak Mbps: 8347.703 Avg Mbps: 8341.761 3000 1040944242 8327.554 100.00% Conn: 1 Mbps: 8327.554 Peak Mbps: 8347.703 Avg Mbps: 8327.554 4000 1042528056 8340.224 100.00% Conn: 1 Mbps: 8340.224 Peak Mbps: 8347.703 Avg Mbps: 8340.224 5000 1041808304 8334.466 100.00% Conn: 1 Mbps: 8334.466 Peak Mbps: 8347.703 Avg Mbps: 8334.466 --- 169.254.0.13 tcpbench statistics --- 6251758524 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8327.554/8338.342/8347.703/6.845 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 1031399748 8251.198 100.00% Conn: 1 Mbps: 8251.198 Peak Mbps: 8251.198 Avg Mbps: 8251.198 2000 1027602584 8229.050 100.00% Conn: 1 Mbps: 8229.050 Peak Mbps: 8251.198 Avg Mbps: 8229.050 3000 1024594552 8196.756 100.00% Conn: 1 Mbps: 8196.756 Peak Mbps: 8251.198 Avg Mbps: 8196.756 4000 1027308320 8218.467 100.00% Conn: 1 Mbps: 8218.467 Peak Mbps: 8251.198 Avg Mbps: 8218.467 5000 1028158416 8225.267 100.00% Conn: 1 Mbps: 8225.267 Peak Mbps: 8251.198 Avg Mbps: 8225.267 --- fc00::13 tcpbench statistics --- 6164835228 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8196.756/8224.148/8251.198/17.547 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.053 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.053/0.053/0.053/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.058 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.058/0.058/0.058/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 215065808 1720.526 100.00% Conn: 1 Mbps: 1720.526 Peak Mbps: 1720.526 Avg Mbps: 1720.526 2000 214544376 1716.355 100.00% Conn: 1 Mbps: 1716.355 Peak Mbps: 1720.526 Avg Mbps: 1716.355 3000 215389568 1723.117 100.00% Conn: 1 Mbps: 1723.117 Peak Mbps: 1723.117 Avg Mbps: 1723.117 4001 215190296 1721.522 100.00% Conn: 1 Mbps: 1721.522 Peak Mbps: 1723.117 Avg Mbps: 1721.522 5001 214425976 1715.408 100.00% Conn: 1 Mbps: 1715.408 Peak Mbps: 1723.117 Avg Mbps: 1715.408 --- 169.254.1.11 tcpbench statistics --- 1288336384 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1715.408/1719.386/1723.117/2.993 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 306737936 2453.903 100.00% Conn: 1 Mbps: 2453.903 Peak Mbps: 2453.903 Avg Mbps: 2453.903 2001 304565760 2436.526 100.00% Conn: 1 Mbps: 2436.526 Peak Mbps: 2453.903 Avg Mbps: 2436.526 3001 307086192 2456.690 100.00% Conn: 1 Mbps: 2456.690 Peak Mbps: 2456.690 Avg Mbps: 2456.690 4002 304934760 2439.478 100.00% Conn: 1 Mbps: 2439.478 Peak Mbps: 2456.690 Avg Mbps: 2439.478 5001 303608864 2431.302 100.00% Conn: 1 Mbps: 2431.302 Peak Mbps: 2456.690 Avg Mbps: 2431.302 --- fc00:0:0:1::11 tcpbench statistics --- 1832412288 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2431.302/2443.580/2456.690/9.958 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.053 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.053/0.053/0.053/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 1035547324 8284.379 100.00% Conn: 1 Mbps: 8284.379 Peak Mbps: 8284.379 Avg Mbps: 8284.379 2000 1051753968 8422.454 100.00% Conn: 1 Mbps: 8422.454 Peak Mbps: 8422.454 Avg Mbps: 8422.454 3000 1051394092 8411.153 100.00% Conn: 1 Mbps: 8411.153 Peak Mbps: 8422.454 Avg Mbps: 8411.153 4000 1045701508 8365.612 100.00% Conn: 1 Mbps: 8365.612 Peak Mbps: 8422.454 Avg Mbps: 8365.612 5000 1049660144 8397.281 100.00% Conn: 1 Mbps: 8397.281 Peak Mbps: 8422.454 Avg Mbps: 8397.281 --- 169.254.1.12 tcpbench statistics --- 6282048664 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8284.379/8376.176/8422.454/49.697 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 1027032636 8216.261 100.00% Conn: 1 Mbps: 8216.261 Peak Mbps: 8216.261 Avg Mbps: 8216.261 2000 1024267592 8202.343 100.00% Conn: 1 Mbps: 8202.343 Peak Mbps: 8216.261 Avg Mbps: 8202.343 3000 1022240440 8177.924 100.00% Conn: 1 Mbps: 8177.924 Peak Mbps: 8216.261 Avg Mbps: 8177.924 4000 1022469312 8179.754 100.00% Conn: 1 Mbps: 8179.754 Peak Mbps: 8216.261 Avg Mbps: 8179.754 5000 1022044264 8176.354 100.00% Conn: 1 Mbps: 8176.354 Peak Mbps: 8216.261 Avg Mbps: 8176.354 --- fc00:0:0:1::12 tcpbench statistics --- 6139771548 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8176.354/8190.527/8216.261/15.985 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.044 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.044/0.044/0.044/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.048 ms --- fc00::13 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-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 1119035334 8952.283 100.00% Conn: 1 Mbps: 8952.283 Peak Mbps: 8952.283 Avg Mbps: 8952.283 2000 1113685356 8918.401 100.00% Conn: 1 Mbps: 8918.401 Peak Mbps: 8952.283 Avg Mbps: 8918.401 3000 1113718072 8909.745 100.00% Conn: 1 Mbps: 8909.745 Peak Mbps: 8952.283 Avg Mbps: 8909.745 4000 1116335352 8930.683 100.00% Conn: 1 Mbps: 8930.683 Peak Mbps: 8952.283 Avg Mbps: 8930.683 5000 1115615600 8924.925 100.00% Conn: 1 Mbps: 8924.925 Peak Mbps: 8952.283 Avg Mbps: 8924.925 --- 169.254.0.13 tcpbench statistics --- 6691309988 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8909.745/8927.207/8952.283/14.343 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 1085933940 8687.472 100.00% Conn: 1 Mbps: 8687.472 Peak Mbps: 8687.472 Avg Mbps: 8687.472 2000 1078706432 8638.290 100.00% Conn: 1 Mbps: 8638.290 Peak Mbps: 8687.472 Avg Mbps: 8638.290 3000 1079916184 8639.329 100.00% Conn: 1 Mbps: 8639.329 Peak Mbps: 8687.472 Avg Mbps: 8639.329 4000 1079425744 8635.406 100.00% Conn: 1 Mbps: 8635.406 Peak Mbps: 8687.472 Avg Mbps: 8635.406 5000 1078052512 8624.420 100.00% Conn: 1 Mbps: 8624.420 Peak Mbps: 8687.472 Avg Mbps: 8624.420 --- fc00::13 tcpbench statistics --- 6481525948 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8624.420/8644.983/8687.472/21.893 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.84s