START sys/net/pair 2024-12-20T04:57:16Z ==== 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.038 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.038/0.038/0.038/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.043 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.043/0.043/0.043/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 566549336 4532.395 100.00% Conn: 1 Mbps: 4532.395 Peak Mbps: 4532.395 Avg Mbps: 4532.395 2000 566851360 4534.811 100.00% Conn: 1 Mbps: 4534.811 Peak Mbps: 4534.811 Avg Mbps: 4534.811 3000 567065956 4536.528 100.00% Conn: 1 Mbps: 4536.528 Peak Mbps: 4536.528 Avg Mbps: 4536.528 4000 567852808 4542.822 100.00% Conn: 1 Mbps: 4542.822 Peak Mbps: 4542.822 Avg Mbps: 4542.822 5000 567821016 4542.568 100.00% Conn: 1 Mbps: 4542.568 Peak Mbps: 4542.822 Avg Mbps: 4542.568 --- 169.254.1.11 tcpbench statistics --- 3402363944 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4532.395/4537.825/4542.822/4.189 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 565369464 4522.956 100.00% Conn: 1 Mbps: 4522.956 Peak Mbps: 4522.956 Avg Mbps: 4522.956 2000 565639016 4529.642 100.00% Conn: 1 Mbps: 4529.642 Peak Mbps: 4529.642 Avg Mbps: 4529.642 3000 563791792 4510.334 100.00% Conn: 1 Mbps: 4510.334 Peak Mbps: 4529.642 Avg Mbps: 4510.334 4000 562983136 4503.865 100.00% Conn: 1 Mbps: 4503.865 Peak Mbps: 4529.642 Avg Mbps: 4503.865 5000 562935568 4503.485 100.00% Conn: 1 Mbps: 4503.485 Peak Mbps: 4529.642 Avg Mbps: 4503.485 --- fc00:0:0:1::11 tcpbench statistics --- 3386564120 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4503.485/4514.056/4529.642/10.503 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.076 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.076/0.076/0.076/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.169 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.169/0.169/0.169/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 216766936 1734.135 100.00% Conn: 1 Mbps: 1734.135 Peak Mbps: 1734.135 Avg Mbps: 1734.135 2000 218146376 1745.171 100.00% Conn: 1 Mbps: 1745.171 Peak Mbps: 1745.171 Avg Mbps: 1745.171 3001 217915704 1743.326 100.00% Conn: 1 Mbps: 1743.326 Peak Mbps: 1745.171 Avg Mbps: 1743.326 4001 217891592 1743.133 100.00% Conn: 1 Mbps: 1743.133 Peak Mbps: 1745.171 Avg Mbps: 1743.133 5001 215990456 1727.924 100.00% Conn: 1 Mbps: 1727.924 Peak Mbps: 1745.171 Avg Mbps: 1727.924 --- 169.254.1.12 tcpbench statistics --- 1303122496 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1727.924/1738.738/1745.171/6.631 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 210221080 1681.769 100.00% Conn: 1 Mbps: 1681.769 Peak Mbps: 1681.769 Avg Mbps: 1681.769 2000 207829532 1664.301 100.00% Conn: 1 Mbps: 1664.301 Peak Mbps: 1681.769 Avg Mbps: 1664.301 3000 209276532 1674.212 100.00% Conn: 1 Mbps: 1674.212 Peak Mbps: 1681.769 Avg Mbps: 1674.212 4001 208049216 1664.394 100.00% Conn: 1 Mbps: 1664.394 Peak Mbps: 1681.769 Avg Mbps: 1664.394 5001 209422544 1675.380 100.00% Conn: 1 Mbps: 1675.380 Peak Mbps: 1681.769 Avg Mbps: 1675.380 --- fc00:0:0:1::12 tcpbench statistics --- 1253577080 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1664.301/1672.011/1681.769/6.766 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.060 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.060/0.060/0.060/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.080 ms --- fc00::13 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-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 321440964 2571.528 100.00% Conn: 1 Mbps: 2571.528 Peak Mbps: 2571.528 Avg Mbps: 2571.528 2000 321806572 2577.030 100.00% Conn: 1 Mbps: 2577.030 Peak Mbps: 2577.030 Avg Mbps: 2577.030 3000 318794280 2550.354 100.00% Conn: 1 Mbps: 2550.354 Peak Mbps: 2577.030 Avg Mbps: 2550.354 4000 317490808 2542.469 100.00% Conn: 1 Mbps: 2542.469 Peak Mbps: 2577.030 Avg Mbps: 2542.469 5000 313914208 2511.314 100.00% Conn: 1 Mbps: 2511.314 Peak Mbps: 2577.030 Avg Mbps: 2511.314 --- 169.254.0.13 tcpbench statistics --- 1905151496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2511.314/2550.539/2577.030/23.435 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 286010528 2288.084 100.00% Conn: 1 Mbps: 2288.084 Peak Mbps: 2288.084 Avg Mbps: 2288.084 2000 286455016 2293.934 100.00% Conn: 1 Mbps: 2293.934 Peak Mbps: 2293.934 Avg Mbps: 2293.934 3000 284702408 2277.619 100.00% Conn: 1 Mbps: 2277.619 Peak Mbps: 2293.934 Avg Mbps: 2277.619 4000 286787472 2294.300 100.00% Conn: 1 Mbps: 2294.300 Peak Mbps: 2294.300 Avg Mbps: 2294.300 5000 284757904 2278.063 100.00% Conn: 1 Mbps: 2278.063 Peak Mbps: 2294.300 Avg Mbps: 2278.063 --- fc00::13 tcpbench statistics --- 1714644576 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2277.619/2286.400/2294.300/7.330 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.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-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.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-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 219193688 1753.550 100.00% Conn: 1 Mbps: 1753.550 Peak Mbps: 1753.550 Avg Mbps: 1753.550 2000 225086856 1800.695 100.00% Conn: 1 Mbps: 1800.695 Peak Mbps: 1800.695 Avg Mbps: 1800.695 3000 220361496 1764.657 100.00% Conn: 1 Mbps: 1764.657 Peak Mbps: 1800.695 Avg Mbps: 1764.657 4000 219725008 1757.800 100.00% Conn: 1 Mbps: 1757.800 Peak Mbps: 1800.695 Avg Mbps: 1757.800 5001 218320048 1746.560 100.00% Conn: 1 Mbps: 1746.560 Peak Mbps: 1800.695 Avg Mbps: 1746.560 --- 169.254.1.11 tcpbench statistics --- 1322280896 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1746.560/1764.652/1800.695/18.956 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 211041128 1688.329 100.00% Conn: 1 Mbps: 1688.329 Peak Mbps: 1688.329 Avg Mbps: 1688.329 2000 209111776 1674.569 100.00% Conn: 1 Mbps: 1674.569 Peak Mbps: 1688.329 Avg Mbps: 1674.569 3001 209933836 1679.471 100.00% Conn: 1 Mbps: 1679.471 Peak Mbps: 1688.329 Avg Mbps: 1679.471 4001 208727572 1669.821 100.00% Conn: 1 Mbps: 1669.821 Peak Mbps: 1688.329 Avg Mbps: 1669.821 5001 209077276 1672.618 100.00% Conn: 1 Mbps: 1672.618 Peak Mbps: 1688.329 Avg Mbps: 1672.618 --- fc00:0:0:1::11 tcpbench statistics --- 1254525500 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1669.821/1676.961/1688.329/6.498 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.043 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.043/0.043/0.043/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 573073512 4584.588 100.00% Conn: 1 Mbps: 4584.588 Peak Mbps: 4584.588 Avg Mbps: 4584.588 2000 568069224 4549.103 100.00% Conn: 1 Mbps: 4549.103 Peak Mbps: 4584.588 Avg Mbps: 4549.103 3000 568279184 4550.784 100.00% Conn: 1 Mbps: 4550.784 Peak Mbps: 4584.588 Avg Mbps: 4550.784 4000 567426312 4539.410 100.00% Conn: 1 Mbps: 4539.410 Peak Mbps: 4584.588 Avg Mbps: 4539.410 5000 565051592 4524.938 100.00% Conn: 1 Mbps: 4524.938 Peak Mbps: 4584.588 Avg Mbps: 4524.938 --- 169.254.1.12 tcpbench statistics --- 3408329912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4524.938/4549.765/4584.588/19.686 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 566096328 4528.771 100.00% Conn: 1 Mbps: 4528.771 Peak Mbps: 4528.771 Avg Mbps: 4528.771 2000 567033096 4540.806 100.00% Conn: 1 Mbps: 4540.806 Peak Mbps: 4540.806 Avg Mbps: 4540.806 3000 566903148 4535.225 100.00% Conn: 1 Mbps: 4535.225 Peak Mbps: 4540.806 Avg Mbps: 4535.225 4000 569493540 4560.509 100.00% Conn: 1 Mbps: 4560.509 Peak Mbps: 4560.509 Avg Mbps: 4560.509 5000 570800160 4566.401 100.00% Conn: 1 Mbps: 4566.401 Peak Mbps: 4566.401 Avg Mbps: 4566.401 --- fc00:0:0:1::12 tcpbench statistics --- 3407263692 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4528.771/4546.342/4566.401/14.602 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.057 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.057/0.057/0.057/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.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-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 1054619116 8436.953 100.00% Conn: 1 Mbps: 8436.953 Peak Mbps: 8436.953 Avg Mbps: 8436.953 2000 1057610132 8469.350 100.00% Conn: 1 Mbps: 8469.350 Peak Mbps: 8469.350 Avg Mbps: 8469.350 3000 1059641840 8477.135 100.00% Conn: 1 Mbps: 8477.135 Peak Mbps: 8477.135 Avg Mbps: 8477.135 4000 1058558884 8468.471 100.00% Conn: 1 Mbps: 8468.471 Peak Mbps: 8477.135 Avg Mbps: 8468.471 5000 1059703956 8477.632 100.00% Conn: 1 Mbps: 8477.632 Peak Mbps: 8477.632 Avg Mbps: 8477.632 --- 169.254.0.13 tcpbench statistics --- 6348725540 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8436.953/8465.908/8477.632/14.969 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 1031710972 8253.688 100.00% Conn: 1 Mbps: 8253.688 Peak Mbps: 8253.688 Avg Mbps: 8253.688 2000 1032964728 8271.990 100.00% Conn: 1 Mbps: 8271.990 Peak Mbps: 8271.990 Avg Mbps: 8271.990 3000 1032539680 8260.317 100.00% Conn: 1 Mbps: 8260.317 Peak Mbps: 8271.990 Avg Mbps: 8260.317 4000 1023907936 8191.263 100.00% Conn: 1 Mbps: 8191.263 Peak Mbps: 8271.990 Avg Mbps: 8191.263 5000 1036070848 8288.567 100.00% Conn: 1 Mbps: 8288.567 Peak Mbps: 8288.567 Avg Mbps: 8288.567 --- fc00::13 tcpbench statistics --- 6195488340 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8191.263/8253.165/8288.567/33.139 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.050 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.050/0.050/0.050/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 216946936 1735.575 100.00% Conn: 1 Mbps: 1735.575 Peak Mbps: 1735.575 Avg Mbps: 1735.575 2000 216917424 1735.339 100.00% Conn: 1 Mbps: 1735.339 Peak Mbps: 1735.575 Avg Mbps: 1735.339 3000 215690144 1727.248 100.00% Conn: 1 Mbps: 1727.248 Peak Mbps: 1735.575 Avg Mbps: 1727.248 4000 214817552 1718.540 100.00% Conn: 1 Mbps: 1718.540 Peak Mbps: 1735.575 Avg Mbps: 1718.540 5000 215086944 1720.696 100.00% Conn: 1 Mbps: 1720.696 Peak Mbps: 1735.575 Avg Mbps: 1720.696 --- 169.254.1.11 tcpbench statistics --- 1295306144 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1718.540/1727.480/1735.575/7.118 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 306100216 2448.802 100.00% Conn: 1 Mbps: 2448.802 Peak Mbps: 2448.802 Avg Mbps: 2448.802 2000 306925728 2457.864 100.00% Conn: 1 Mbps: 2457.864 Peak Mbps: 2457.864 Avg Mbps: 2457.864 3001 306205664 2449.645 100.00% Conn: 1 Mbps: 2449.645 Peak Mbps: 2457.864 Avg Mbps: 2449.645 4001 307727160 2461.817 100.00% Conn: 1 Mbps: 2461.817 Peak Mbps: 2461.817 Avg Mbps: 2461.817 5001 308779848 2470.239 100.00% Conn: 1 Mbps: 2470.239 Peak Mbps: 2470.239 Avg Mbps: 2470.239 --- fc00:0:0:1::11 tcpbench statistics --- 1844111688 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2448.802/2457.673/2470.239/7.978 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.050 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.050/0.050/0.050/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.052 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.052/0.052/0.052/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 1044628668 8357.029 100.00% Conn: 1 Mbps: 8357.029 Peak Mbps: 8357.029 Avg Mbps: 8357.029 2000 1049921872 8407.783 100.00% Conn: 1 Mbps: 8407.783 Peak Mbps: 8407.783 Avg Mbps: 8407.783 3000 1049594712 8396.758 100.00% Conn: 1 Mbps: 8396.758 Peak Mbps: 8407.783 Avg Mbps: 8396.758 4000 1051361376 8410.891 100.00% Conn: 1 Mbps: 8410.891 Peak Mbps: 8410.891 Avg Mbps: 8410.891 5000 1052473720 8419.790 100.00% Conn: 1 Mbps: 8419.790 Peak Mbps: 8419.790 Avg Mbps: 8419.790 --- 169.254.1.12 tcpbench statistics --- 6299309008 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8357.029/8398.450/8419.790/21.981 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 1037992204 8303.938 100.00% Conn: 1 Mbps: 8303.938 Peak Mbps: 8303.938 Avg Mbps: 8303.938 2000 1038326872 8314.930 100.00% Conn: 1 Mbps: 8314.930 Peak Mbps: 8314.930 Avg Mbps: 8314.930 3000 1038098000 8304.784 100.00% Conn: 1 Mbps: 8304.784 Peak Mbps: 8314.930 Avg Mbps: 8304.784 4000 1037476776 8299.814 100.00% Conn: 1 Mbps: 8299.814 Peak Mbps: 8314.930 Avg Mbps: 8299.814 5000 1037313296 8298.506 100.00% Conn: 1 Mbps: 8298.506 Peak Mbps: 8314.930 Avg Mbps: 8298.506 --- fc00:0:0:1::12 tcpbench statistics --- 6225735740 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8298.506/8304.394/8314.930/5.779 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.039 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.039/0.039/0.039/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.059 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.059/0.059/0.059/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 1086946618 8695.573 100.00% Conn: 1 Mbps: 8695.573 Peak Mbps: 8695.573 Avg Mbps: 8695.573 2000 1105342776 8851.594 100.00% Conn: 1 Mbps: 8851.594 Peak Mbps: 8851.594 Avg Mbps: 8851.594 3000 1097948960 8783.592 100.00% Conn: 1 Mbps: 8783.592 Peak Mbps: 8851.594 Avg Mbps: 8783.592 4000 1098308836 8786.471 100.00% Conn: 1 Mbps: 8786.471 Peak Mbps: 8851.594 Avg Mbps: 8786.471 5000 1106258824 8850.071 100.00% Conn: 1 Mbps: 8850.071 Peak Mbps: 8851.594 Avg Mbps: 8850.071 --- 169.254.0.13 tcpbench statistics --- 6587716710 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8695.573/8793.460/8851.594/57.118 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 1077688172 8621.505 100.00% Conn: 1 Mbps: 8621.505 Peak Mbps: 8621.505 Avg Mbps: 8621.505 2000 1079393048 8643.788 100.00% Conn: 1 Mbps: 8643.788 Peak Mbps: 8643.788 Avg Mbps: 8643.788 3000 1075077176 8600.617 100.00% Conn: 1 Mbps: 8600.617 Peak Mbps: 8643.788 Avg Mbps: 8600.617 4000 1083807008 8670.456 100.00% Conn: 1 Mbps: 8670.456 Peak Mbps: 8670.456 Avg Mbps: 8670.456 5000 1083676224 8669.410 100.00% Conn: 1 Mbps: 8669.410 Peak Mbps: 8670.456 Avg Mbps: 8669.410 --- fc00::13 tcpbench statistics --- 6484806096 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8600.617/8641.155/8670.456/27.178 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.83s