START sys/net/pair 2024-11-25T05:01:18Z ==== 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.037 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.037/0.037/0.037/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 569331136 4554.649 100.00% Conn: 1 Mbps: 4554.649 Peak Mbps: 4554.649 Avg Mbps: 4554.649 2000 569736484 4562.454 100.00% Conn: 1 Mbps: 4562.454 Peak Mbps: 4562.454 Avg Mbps: 4562.454 3000 569815964 4558.528 100.00% Conn: 1 Mbps: 4558.528 Peak Mbps: 4562.454 Avg Mbps: 4558.528 4000 569577524 4556.620 100.00% Conn: 1 Mbps: 4556.620 Peak Mbps: 4562.454 Avg Mbps: 4556.620 5000 570777672 4566.221 100.00% Conn: 1 Mbps: 4566.221 Peak Mbps: 4566.221 Avg Mbps: 4566.221 --- 169.254.1.11 tcpbench statistics --- 3417552572 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4554.649/4559.695/4566.221/4.159 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 563879000 4511.032 100.00% Conn: 1 Mbps: 4511.032 Peak Mbps: 4511.032 Avg Mbps: 4511.032 2000 563871072 4515.484 100.00% Conn: 1 Mbps: 4515.484 Peak Mbps: 4515.484 Avg Mbps: 4515.484 3000 563704584 4514.151 100.00% Conn: 1 Mbps: 4514.151 Peak Mbps: 4515.484 Avg Mbps: 4514.151 4000 562697728 4501.582 100.00% Conn: 1 Mbps: 4501.582 Peak Mbps: 4515.484 Avg Mbps: 4501.582 5000 562166552 4501.834 100.00% Conn: 1 Mbps: 4501.834 Peak Mbps: 4515.484 Avg Mbps: 4501.834 --- fc00:0:0:1::11 tcpbench statistics --- 3379024592 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4501.582/4508.817/4515.484/5.982 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.088 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.088/0.088/0.088/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.155 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.155/0.155/0.155/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 214284000 1714.272 100.00% Conn: 1 Mbps: 1714.272 Peak Mbps: 1714.272 Avg Mbps: 1714.272 2001 216489600 1731.917 100.00% Conn: 1 Mbps: 1731.917 Peak Mbps: 1731.917 Avg Mbps: 1731.917 3001 215518904 1724.151 100.00% Conn: 1 Mbps: 1724.151 Peak Mbps: 1731.917 Avg Mbps: 1724.151 4001 216248920 1729.991 100.00% Conn: 1 Mbps: 1729.991 Peak Mbps: 1731.917 Avg Mbps: 1729.991 5001 214750520 1718.004 100.00% Conn: 1 Mbps: 1718.004 Peak Mbps: 1731.917 Avg Mbps: 1718.004 --- 169.254.1.12 tcpbench statistics --- 1291115136 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1714.272/1723.667/1731.917/6.762 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 208017716 1664.142 100.00% Conn: 1 Mbps: 1664.142 Peak Mbps: 1664.142 Avg Mbps: 1664.142 2000 206578872 1654.285 100.00% Conn: 1 Mbps: 1654.285 Peak Mbps: 1664.142 Avg Mbps: 1654.285 3001 207245464 1657.964 100.00% Conn: 1 Mbps: 1657.964 Peak Mbps: 1664.142 Avg Mbps: 1657.964 4001 207470352 1659.763 100.00% Conn: 1 Mbps: 1659.763 Peak Mbps: 1664.142 Avg Mbps: 1659.763 5001 205808740 1646.470 100.00% Conn: 1 Mbps: 1646.470 Peak Mbps: 1664.142 Avg Mbps: 1646.470 --- fc00:0:0:1::12 tcpbench statistics --- 1241653456 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1646.470/1656.525/1664.142/5.945 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.059 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.059/0.059/0.059/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.067 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.067/0.067/0.067/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 314303380 2514.427 100.00% Conn: 1 Mbps: 2514.427 Peak Mbps: 2514.427 Avg Mbps: 2514.427 2000 315948756 2527.590 100.00% Conn: 1 Mbps: 2527.590 Peak Mbps: 2527.590 Avg Mbps: 2527.590 3000 317625784 2543.550 100.00% Conn: 1 Mbps: 2543.550 Peak Mbps: 2543.550 Avg Mbps: 2543.550 4000 315638924 2525.111 100.00% Conn: 1 Mbps: 2525.111 Peak Mbps: 2543.550 Avg Mbps: 2525.111 5000 318007148 2544.057 100.00% Conn: 1 Mbps: 2544.057 Peak Mbps: 2544.057 Avg Mbps: 2544.057 --- 169.254.0.13 tcpbench statistics --- 1899793564 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2514.427/2530.947/2544.057/11.392 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 286882608 2295.061 100.00% Conn: 1 Mbps: 2295.061 Peak Mbps: 2295.061 Avg Mbps: 2295.061 2000 286969816 2298.057 100.00% Conn: 1 Mbps: 2298.057 Peak Mbps: 2298.057 Avg Mbps: 2298.057 3000 286169088 2289.353 100.00% Conn: 1 Mbps: 2289.353 Peak Mbps: 2298.057 Avg Mbps: 2289.353 4000 288484064 2307.873 100.00% Conn: 1 Mbps: 2307.873 Peak Mbps: 2307.873 Avg Mbps: 2307.873 5000 289522632 2316.181 100.00% Conn: 1 Mbps: 2316.181 Peak Mbps: 2316.181 Avg Mbps: 2316.181 --- fc00::13 tcpbench statistics --- 1724355856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2289.353/2301.305/2316.181/9.559 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.052 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.052/0.052/0.052/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.048 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.048/0.048/0.048/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 217280056 1738.240 100.00% Conn: 1 Mbps: 1738.240 Peak Mbps: 1738.240 Avg Mbps: 1738.240 2000 219298888 1754.391 100.00% Conn: 1 Mbps: 1754.391 Peak Mbps: 1754.391 Avg Mbps: 1754.391 3001 219615112 1756.921 100.00% Conn: 1 Mbps: 1756.921 Peak Mbps: 1756.921 Avg Mbps: 1756.921 4001 218514296 1748.114 100.00% Conn: 1 Mbps: 1748.114 Peak Mbps: 1756.921 Avg Mbps: 1748.114 5001 219342384 1754.739 100.00% Conn: 1 Mbps: 1754.739 Peak Mbps: 1756.921 Avg Mbps: 1754.739 --- 169.254.1.11 tcpbench statistics --- 1311096304 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1738.240/1750.481/1756.921/6.787 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 206711132 1653.689 100.00% Conn: 1 Mbps: 1653.689 Peak Mbps: 1653.689 Avg Mbps: 1653.689 2000 207224312 1657.794 100.00% Conn: 1 Mbps: 1657.794 Peak Mbps: 1657.794 Avg Mbps: 1657.794 3001 207394824 1657.501 100.00% Conn: 1 Mbps: 1657.501 Peak Mbps: 1657.794 Avg Mbps: 1657.501 4001 207559044 1660.472 100.00% Conn: 1 Mbps: 1660.472 Peak Mbps: 1660.472 Avg Mbps: 1660.472 5001 207926324 1665.076 100.00% Conn: 1 Mbps: 1665.076 Peak Mbps: 1665.076 Avg Mbps: 1665.076 --- fc00:0:0:1::11 tcpbench statistics --- 1245223804 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1653.689/1658.907/1665.076/3.767 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.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-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 576774600 4614.197 100.00% Conn: 1 Mbps: 4614.197 Peak Mbps: 4614.197 Avg Mbps: 4614.197 2000 570313624 4567.076 100.00% Conn: 1 Mbps: 4567.076 Peak Mbps: 4614.197 Avg Mbps: 4567.076 3000 569851712 4558.814 100.00% Conn: 1 Mbps: 4558.814 Peak Mbps: 4614.197 Avg Mbps: 4558.814 4000 570719064 4565.753 100.00% Conn: 1 Mbps: 4565.753 Peak Mbps: 4614.197 Avg Mbps: 4565.753 5000 570865312 4566.922 100.00% Conn: 1 Mbps: 4566.922 Peak Mbps: 4614.197 Avg Mbps: 4566.922 --- 169.254.1.12 tcpbench statistics --- 3428562816 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4558.814/4574.552/4614.197/20.055 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 562063656 4496.509 100.00% Conn: 1 Mbps: 4496.509 Peak Mbps: 4496.509 Avg Mbps: 4496.509 2000 562813356 4507.014 100.00% Conn: 1 Mbps: 4507.014 Peak Mbps: 4507.014 Avg Mbps: 4507.014 3000 558719280 4469.754 100.00% Conn: 1 Mbps: 4469.754 Peak Mbps: 4507.014 Avg Mbps: 4469.754 4000 561498168 4491.985 100.00% Conn: 1 Mbps: 4491.985 Peak Mbps: 4507.014 Avg Mbps: 4491.985 5000 561353940 4490.832 100.00% Conn: 1 Mbps: 4490.832 Peak Mbps: 4507.014 Avg Mbps: 4490.832 --- fc00:0:0:1::12 tcpbench statistics --- 3368313564 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4469.754/4491.219/4507.014/12.157 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 1047648488 8381.188 100.00% Conn: 1 Mbps: 8381.188 Peak Mbps: 8381.188 Avg Mbps: 8381.188 2000 1051786684 8422.716 100.00% Conn: 1 Mbps: 8422.716 Peak Mbps: 8422.716 Avg Mbps: 8422.716 3000 1051165080 8409.321 100.00% Conn: 1 Mbps: 8409.321 Peak Mbps: 8422.716 Avg Mbps: 8409.321 4000 1051982980 8415.864 100.00% Conn: 1 Mbps: 8415.864 Peak Mbps: 8422.716 Avg Mbps: 8415.864 5000 1052179276 8417.434 100.00% Conn: 1 Mbps: 8417.434 Peak Mbps: 8422.716 Avg Mbps: 8417.434 --- 169.254.0.13 tcpbench statistics --- 6306614624 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8381.188/8409.305/8422.716/14.694 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 1038834740 8310.678 100.00% Conn: 1 Mbps: 8310.678 Peak Mbps: 8310.678 Avg Mbps: 8310.678 2000 1034403352 8283.510 100.00% Conn: 1 Mbps: 8283.510 Peak Mbps: 8310.678 Avg Mbps: 8283.510 3000 1035057272 8280.458 100.00% Conn: 1 Mbps: 8280.458 Peak Mbps: 8310.678 Avg Mbps: 8280.458 4000 1036566472 8292.532 100.00% Conn: 1 Mbps: 8292.532 Peak Mbps: 8310.678 Avg Mbps: 8292.532 5000 1035874672 8286.997 100.00% Conn: 1 Mbps: 8286.997 Peak Mbps: 8310.678 Avg Mbps: 8286.997 --- fc00::13 tcpbench statistics --- 6213733932 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8280.458/8290.835/8310.678/10.702 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.061 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.061/0.061/0.061/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.072 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.072/0.072/0.072/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 215405080 1723.241 100.00% Conn: 1 Mbps: 1723.241 Peak Mbps: 1723.241 Avg Mbps: 1723.241 2001 215572872 1724.583 100.00% Conn: 1 Mbps: 1724.583 Peak Mbps: 1724.583 Avg Mbps: 1724.583 3000 215643888 1726.878 100.00% Conn: 1 Mbps: 1726.878 Peak Mbps: 1726.878 Avg Mbps: 1726.878 4001 214748408 1717.987 100.00% Conn: 1 Mbps: 1717.987 Peak Mbps: 1726.878 Avg Mbps: 1717.987 5002 214638648 1717.109 100.00% Conn: 1 Mbps: 1717.109 Peak Mbps: 1726.878 Avg Mbps: 1717.109 --- 169.254.1.11 tcpbench statistics --- 1291569464 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1717.109/1721.960/1726.878/3.795 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 306108088 2448.865 100.00% Conn: 1 Mbps: 2448.865 Peak Mbps: 2448.865 Avg Mbps: 2448.865 2000 305270904 2442.167 100.00% Conn: 1 Mbps: 2442.167 Peak Mbps: 2448.865 Avg Mbps: 2442.167 3000 304063288 2432.506 100.00% Conn: 1 Mbps: 2432.506 Peak Mbps: 2448.865 Avg Mbps: 2432.506 4001 306122248 2448.978 100.00% Conn: 1 Mbps: 2448.978 Peak Mbps: 2448.978 Avg Mbps: 2448.978 5002 305586864 2444.695 100.00% Conn: 1 Mbps: 2444.695 Peak Mbps: 2448.978 Avg Mbps: 2444.695 --- fc00:0:0:1::11 tcpbench statistics --- 1832536776 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2432.506/2443.442/2448.978/6.047 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.050 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.050/0.050/0.050/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 1048582428 8388.659 100.00% Conn: 1 Mbps: 8388.659 Peak Mbps: 8388.659 Avg Mbps: 8388.659 2000 1049398416 8403.591 100.00% Conn: 1 Mbps: 8403.591 Peak Mbps: 8403.591 Avg Mbps: 8403.591 3000 1052604584 8420.837 100.00% Conn: 1 Mbps: 8420.837 Peak Mbps: 8420.837 Avg Mbps: 8420.837 4000 1051982980 8415.864 100.00% Conn: 1 Mbps: 8415.864 Peak Mbps: 8420.837 Avg Mbps: 8415.864 5000 1051982980 8415.864 100.00% Conn: 1 Mbps: 8415.864 Peak Mbps: 8420.837 Avg Mbps: 8415.864 --- 169.254.1.12 tcpbench statistics --- 6304865852 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8388.659/8408.963/8420.837/11.639 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 1025136772 8201.094 100.00% Conn: 1 Mbps: 8201.094 Peak Mbps: 8201.094 Avg Mbps: 8201.094 2000 1022240440 8186.110 100.00% Conn: 1 Mbps: 8186.110 Peak Mbps: 8201.094 Avg Mbps: 8186.110 3000 1021946176 8175.569 100.00% Conn: 1 Mbps: 8175.569 Peak Mbps: 8201.094 Avg Mbps: 8175.569 4000 1022403920 8179.231 100.00% Conn: 1 Mbps: 8179.231 Peak Mbps: 8201.094 Avg Mbps: 8179.231 5000 1026196656 8209.573 100.00% Conn: 1 Mbps: 8209.573 Peak Mbps: 8209.573 Avg Mbps: 8209.573 --- fc00:0:0:1::12 tcpbench statistics --- 6142224252 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8175.569/8190.316/8209.573/13.000 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.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 1132062636 9056.501 100.00% Conn: 1 Mbps: 9056.501 Peak Mbps: 9056.501 Avg Mbps: 9056.501 2000 1143751360 9159.170 100.00% Conn: 1 Mbps: 9159.170 Peak Mbps: 9159.170 Avg Mbps: 9159.170 3000 1140447044 9123.576 100.00% Conn: 1 Mbps: 9123.576 Peak Mbps: 9159.170 Avg Mbps: 9123.576 4000 1138042418 9104.339 100.00% Conn: 1 Mbps: 9104.339 Peak Mbps: 9159.170 Avg Mbps: 9104.339 5000 1138418652 9107.349 100.00% Conn: 1 Mbps: 9107.349 Peak Mbps: 9159.170 Avg Mbps: 9107.349 --- 169.254.0.13 tcpbench statistics --- 6834510510 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9056.501/9110.187/9159.170/33.175 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 1078209220 8625.674 100.00% Conn: 1 Mbps: 8625.674 Peak Mbps: 8625.674 Avg Mbps: 8625.674 2000 1079621920 8645.621 100.00% Conn: 1 Mbps: 8645.621 Peak Mbps: 8645.621 Avg Mbps: 8645.621 3000 1076385016 8611.080 100.00% Conn: 1 Mbps: 8611.080 Peak Mbps: 8645.621 Avg Mbps: 8611.080 4000 1075044480 8600.356 100.00% Conn: 1 Mbps: 8600.356 Peak Mbps: 8645.621 Avg Mbps: 8600.356 5000 1076254232 8610.034 100.00% Conn: 1 Mbps: 8610.034 Peak Mbps: 8645.621 Avg Mbps: 8610.034 --- fc00::13 tcpbench statistics --- 6461671012 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8600.356/8618.553/8645.621/15.767 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.86s