START sys/net/pair 2024-06-05T04:09:09Z ==== 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.057 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.057/0.057/0.057/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.062 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.062/0.062/0.062/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 568234312 4545.874 100.00% Conn: 1 Mbps: 4545.874 Peak Mbps: 4545.874 Avg Mbps: 4545.874 2000 565706848 4530.185 100.00% Conn: 1 Mbps: 4530.185 Peak Mbps: 4545.874 Avg Mbps: 4530.185 3000 565524044 4524.192 100.00% Conn: 1 Mbps: 4524.192 Peak Mbps: 4545.874 Avg Mbps: 4524.192 4000 564371584 4514.973 100.00% Conn: 1 Mbps: 4514.973 Peak Mbps: 4545.874 Avg Mbps: 4514.973 5000 569458304 4560.227 100.00% Conn: 1 Mbps: 4560.227 Peak Mbps: 4560.227 Avg Mbps: 4560.227 --- 169.254.1.11 tcpbench statistics --- 3400448476 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4514.973/4535.090/4560.227/16.098 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 564307112 4514.457 100.00% Conn: 1 Mbps: 4514.457 Peak Mbps: 4514.457 Avg Mbps: 4514.457 2000 561516456 4496.628 100.00% Conn: 1 Mbps: 4496.628 Peak Mbps: 4514.457 Avg Mbps: 4496.628 3000 560906000 4487.248 100.00% Conn: 1 Mbps: 4487.248 Peak Mbps: 4514.457 Avg Mbps: 4487.248 4000 560779152 4486.233 100.00% Conn: 1 Mbps: 4486.233 Peak Mbps: 4514.457 Avg Mbps: 4486.233 5000 559954640 4479.637 100.00% Conn: 1 Mbps: 4479.637 Peak Mbps: 4514.457 Avg Mbps: 4479.637 --- fc00:0:0:1::11 tcpbench statistics --- 3369857096 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4479.637/4492.841/4514.457/12.090 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.084 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.084/0.084/0.084/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.157 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.157/0.157/0.157/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 219162480 1753.300 100.00% Conn: 1 Mbps: 1753.300 Peak Mbps: 1753.300 Avg Mbps: 1753.300 2000 219248616 1755.745 100.00% Conn: 1 Mbps: 1755.745 Peak Mbps: 1755.745 Avg Mbps: 1755.745 3000 218790040 1750.320 100.00% Conn: 1 Mbps: 1750.320 Peak Mbps: 1755.745 Avg Mbps: 1750.320 4001 217975216 1743.802 100.00% Conn: 1 Mbps: 1743.802 Peak Mbps: 1755.745 Avg Mbps: 1743.802 5001 218401320 1748.960 100.00% Conn: 1 Mbps: 1748.960 Peak Mbps: 1755.745 Avg Mbps: 1748.960 --- 169.254.1.12 tcpbench statistics --- 1310417752 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1743.802/1750.425/1755.745/4.064 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 209702812 1677.622 100.00% Conn: 1 Mbps: 1677.622 Peak Mbps: 1677.622 Avg Mbps: 1677.622 2001 210969064 1687.753 100.00% Conn: 1 Mbps: 1687.753 Peak Mbps: 1687.753 Avg Mbps: 1687.753 3001 210444052 1685.238 100.00% Conn: 1 Mbps: 1685.238 Peak Mbps: 1687.753 Avg Mbps: 1685.238 4002 207874024 1662.992 100.00% Conn: 1 Mbps: 1662.992 Peak Mbps: 1687.753 Avg Mbps: 1662.992 5003 209436976 1673.822 100.00% Conn: 1 Mbps: 1673.822 Peak Mbps: 1687.753 Avg Mbps: 1673.822 --- fc00:0:0:1::12 tcpbench statistics --- 1254886624 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1662.992/1677.485/1687.753/8.820 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.081 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.081/0.081/0.081/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.072 ms --- fc00::13 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-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 305076032 2440.608 100.00% Conn: 1 Mbps: 2440.608 Peak Mbps: 2440.608 Avg Mbps: 2440.608 2000 305059856 2442.922 100.00% Conn: 1 Mbps: 2442.922 Peak Mbps: 2442.922 Avg Mbps: 2442.922 3000 305250328 2442.003 100.00% Conn: 1 Mbps: 2442.003 Peak Mbps: 2442.922 Avg Mbps: 2442.003 4000 301053784 2408.430 100.00% Conn: 1 Mbps: 2408.430 Peak Mbps: 2442.922 Avg Mbps: 2408.430 5000 297159544 2377.276 100.00% Conn: 1 Mbps: 2377.276 Peak Mbps: 2442.922 Avg Mbps: 2377.276 --- 169.254.0.13 tcpbench statistics --- 1813509096 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2377.276/2422.248/2442.922/25.954 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 273452576 2187.621 100.00% Conn: 1 Mbps: 2187.621 Peak Mbps: 2187.621 Avg Mbps: 2187.621 2000 274285016 2196.477 100.00% Conn: 1 Mbps: 2196.477 Peak Mbps: 2196.477 Avg Mbps: 2196.477 3000 274998536 2199.988 100.00% Conn: 1 Mbps: 2199.988 Peak Mbps: 2199.988 Avg Mbps: 2199.988 4000 274633848 2197.071 100.00% Conn: 1 Mbps: 2197.071 Peak Mbps: 2199.988 Avg Mbps: 2197.071 5000 275719984 2205.760 100.00% Conn: 1 Mbps: 2205.760 Peak Mbps: 2205.760 Avg Mbps: 2205.760 --- fc00::13 tcpbench statistics --- 1646376048 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2187.621/2197.383/2205.760/5.885 Mbps ==== run-ping-2-1 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.056 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.056/0.056/0.056/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.065 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.065/0.065/0.065/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 220662120 1765.297 100.00% Conn: 1 Mbps: 1765.297 Peak Mbps: 1765.297 Avg Mbps: 1765.297 2000 221871888 1774.975 100.00% Conn: 1 Mbps: 1774.975 Peak Mbps: 1774.975 Avg Mbps: 1774.975 3001 223971656 1791.773 100.00% Conn: 1 Mbps: 1791.773 Peak Mbps: 1791.773 Avg Mbps: 1791.773 4001 222214888 1777.719 100.00% Conn: 1 Mbps: 1777.719 Peak Mbps: 1791.773 Avg Mbps: 1777.719 5001 222761680 1782.093 100.00% Conn: 1 Mbps: 1782.093 Peak Mbps: 1791.773 Avg Mbps: 1782.093 --- 169.254.1.11 tcpbench statistics --- 1333410248 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1765.297/1778.372/1791.773/8.676 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 212377984 1699.024 100.00% Conn: 1 Mbps: 1699.024 Peak Mbps: 1699.024 Avg Mbps: 1699.024 2001 213916756 1711.334 100.00% Conn: 1 Mbps: 1711.334 Peak Mbps: 1711.334 Avg Mbps: 1711.334 3000 210324508 1684.280 100.00% Conn: 1 Mbps: 1684.280 Peak Mbps: 1711.334 Avg Mbps: 1684.280 4001 210050848 1680.407 100.00% Conn: 1 Mbps: 1680.407 Peak Mbps: 1711.334 Avg Mbps: 1680.407 5001 208940628 1671.525 100.00% Conn: 1 Mbps: 1671.525 Peak Mbps: 1711.334 Avg Mbps: 1671.525 --- fc00:0:0:1::11 tcpbench statistics --- 1267215096 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1671.525/1689.314/1711.334/14.144 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.043 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.043/0.043/0.043/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.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-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 580759496 4646.076 100.00% Conn: 1 Mbps: 4646.076 Peak Mbps: 4646.076 Avg Mbps: 4646.076 2000 578717816 4634.377 100.00% Conn: 1 Mbps: 4634.377 Peak Mbps: 4646.076 Avg Mbps: 4634.377 3000 575585792 4604.686 100.00% Conn: 1 Mbps: 4604.686 Peak Mbps: 4646.076 Avg Mbps: 4604.686 4000 577866392 4622.931 100.00% Conn: 1 Mbps: 4622.931 Peak Mbps: 4646.076 Avg Mbps: 4622.931 5000 577552176 4620.417 100.00% Conn: 1 Mbps: 4620.417 Peak Mbps: 4646.076 Avg Mbps: 4620.417 --- 169.254.1.12 tcpbench statistics --- 3469255960 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4604.686/4625.698/4646.076/13.911 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 564569796 4516.558 100.00% Conn: 1 Mbps: 4516.558 Peak Mbps: 4516.558 Avg Mbps: 4516.558 2000 565182408 4525.985 100.00% Conn: 1 Mbps: 4525.985 Peak Mbps: 4525.985 Avg Mbps: 4525.985 3000 561889440 4495.116 100.00% Conn: 1 Mbps: 4495.116 Peak Mbps: 4525.985 Avg Mbps: 4495.116 4000 558956328 4471.651 100.00% Conn: 1 Mbps: 4471.651 Peak Mbps: 4525.985 Avg Mbps: 4471.651 5000 561658104 4497.763 100.00% Conn: 1 Mbps: 4497.763 Peak Mbps: 4525.985 Avg Mbps: 4497.763 --- fc00:0:0:1::12 tcpbench statistics --- 3376324644 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4471.651/4501.414/4525.985/18.825 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.062 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.062/0.062/0.062/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.054 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.054/0.054/0.054/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 1066136200 8529.090 100.00% Conn: 1 Mbps: 8529.090 Peak Mbps: 8529.090 Avg Mbps: 8529.090 2000 1079922444 8648.028 100.00% Conn: 1 Mbps: 8648.028 Peak Mbps: 8648.028 Avg Mbps: 8648.028 3000 1079464420 8635.715 100.00% Conn: 1 Mbps: 8635.715 Peak Mbps: 8648.028 Avg Mbps: 8635.715 4000 1080413184 8643.305 100.00% Conn: 1 Mbps: 8643.305 Peak Mbps: 8648.028 Avg Mbps: 8643.305 5000 1082310712 8658.486 100.00% Conn: 1 Mbps: 8658.486 Peak Mbps: 8658.486 Avg Mbps: 8658.486 --- 169.254.0.13 tcpbench statistics --- 6454265104 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8529.090/8622.925/8658.486/47.495 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 1028931164 8231.449 100.00% Conn: 1 Mbps: 8231.449 Peak Mbps: 8231.449 Avg Mbps: 8231.449 2000 1030545224 8252.614 100.00% Conn: 1 Mbps: 8252.614 Peak Mbps: 8252.614 Avg Mbps: 8252.614 3000 1028910424 8231.283 100.00% Conn: 1 Mbps: 8231.283 Peak Mbps: 8252.614 Avg Mbps: 8231.283 4000 1030414440 8243.316 100.00% Conn: 1 Mbps: 8243.316 Peak Mbps: 8252.614 Avg Mbps: 8243.316 5000 1029597040 8236.776 100.00% Conn: 1 Mbps: 8236.776 Peak Mbps: 8252.614 Avg Mbps: 8236.776 --- fc00::13 tcpbench statistics --- 6175902788 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8231.283/8239.088/8252.614/8.068 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.055 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.055/0.055/0.055/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.062 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.062/0.062/0.062/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 217667704 1741.342 100.00% Conn: 1 Mbps: 1741.342 Peak Mbps: 1741.342 Avg Mbps: 1741.342 2001 217184872 1737.479 100.00% Conn: 1 Mbps: 1737.479 Peak Mbps: 1741.342 Avg Mbps: 1737.479 3001 217260784 1738.086 100.00% Conn: 1 Mbps: 1738.086 Peak Mbps: 1741.342 Avg Mbps: 1738.086 4001 217036176 1738.027 100.00% Conn: 1 Mbps: 1738.027 Peak Mbps: 1741.342 Avg Mbps: 1738.027 5001 216679416 1733.435 100.00% Conn: 1 Mbps: 1733.435 Peak Mbps: 1741.342 Avg Mbps: 1733.435 --- 169.254.1.11 tcpbench statistics --- 1302197160 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1733.435/1737.674/1741.342/2.520 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 306060488 2448.484 100.00% Conn: 1 Mbps: 2448.484 Peak Mbps: 2448.484 Avg Mbps: 2448.484 2001 304941176 2439.529 100.00% Conn: 1 Mbps: 2439.529 Peak Mbps: 2448.484 Avg Mbps: 2439.529 3001 304216408 2433.731 100.00% Conn: 1 Mbps: 2433.731 Peak Mbps: 2448.484 Avg Mbps: 2433.731 4001 305787528 2446.300 100.00% Conn: 1 Mbps: 2446.300 Peak Mbps: 2448.484 Avg Mbps: 2446.300 5002 304239208 2433.914 100.00% Conn: 1 Mbps: 2433.914 Peak Mbps: 2448.484 Avg Mbps: 2433.914 --- fc00:0:0:1::11 tcpbench statistics --- 1833369952 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2433.731/2440.392/2448.484/6.123 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.053 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.053/0.053/0.053/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.057 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.057/0.057/0.057/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 1070225554 8561.804 100.00% Conn: 1 Mbps: 8561.804 Peak Mbps: 8561.804 Avg Mbps: 8561.804 2000 1068275548 8554.759 100.00% Conn: 1 Mbps: 8554.759 Peak Mbps: 8561.804 Avg Mbps: 8554.759 3000 1070042212 8560.338 100.00% Conn: 1 Mbps: 8560.338 Peak Mbps: 8561.804 Avg Mbps: 8560.338 4000 1069747768 8557.982 100.00% Conn: 1 Mbps: 8557.982 Peak Mbps: 8561.804 Avg Mbps: 8557.982 5000 1065265676 8522.125 100.00% Conn: 1 Mbps: 8522.125 Peak Mbps: 8561.804 Avg Mbps: 8522.125 --- 169.254.1.12 tcpbench statistics --- 6408920582 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8522.125/8551.402/8561.804/14.831 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 1037615012 8300.920 100.00% Conn: 1 Mbps: 8300.920 Peak Mbps: 8300.920 Avg Mbps: 8300.920 2000 1033912912 8279.583 100.00% Conn: 1 Mbps: 8279.583 Peak Mbps: 8300.920 Avg Mbps: 8279.583 3000 1037313296 8298.506 100.00% Conn: 1 Mbps: 8298.506 Peak Mbps: 8300.920 Avg Mbps: 8298.506 4000 1034011000 8272.088 100.00% Conn: 1 Mbps: 8272.088 Peak Mbps: 8300.920 Avg Mbps: 8272.088 5000 1033030120 8264.241 100.00% Conn: 1 Mbps: 8264.241 Peak Mbps: 8300.920 Avg Mbps: 8264.241 --- fc00:0:0:1::12 tcpbench statistics --- 6207539228 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8264.241/8283.068/8300.920/14.451 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.046 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.046/0.046/0.046/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 1114572902 8916.583 100.00% Conn: 1 Mbps: 8916.583 Peak Mbps: 8916.583 Avg Mbps: 8916.583 2000 1122158800 8986.257 100.00% Conn: 1 Mbps: 8986.257 Peak Mbps: 8986.257 Avg Mbps: 8986.257 3000 1118461892 8947.695 100.00% Conn: 1 Mbps: 8947.695 Peak Mbps: 8986.257 Avg Mbps: 8947.695 4000 1120163124 8961.305 100.00% Conn: 1 Mbps: 8961.305 Peak Mbps: 8986.257 Avg Mbps: 8961.305 5000 1131322608 9050.581 100.00% Conn: 1 Mbps: 9050.581 Peak Mbps: 9050.581 Avg Mbps: 9050.581 --- 169.254.0.13 tcpbench statistics --- 6742120822 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8916.583/8972.484/9050.581/45.063 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 1081736644 8653.893 100.00% Conn: 1 Mbps: 8653.893 Peak Mbps: 8653.893 Avg Mbps: 8653.893 2000 1081681768 8662.116 100.00% Conn: 1 Mbps: 8662.116 Peak Mbps: 8662.116 Avg Mbps: 8662.116 3000 1077823640 8622.589 100.00% Conn: 1 Mbps: 8622.589 Peak Mbps: 8662.116 Avg Mbps: 8622.589 4000 1078379472 8627.036 100.00% Conn: 1 Mbps: 8627.036 Peak Mbps: 8662.116 Avg Mbps: 8627.036 5000 1085409112 8683.273 100.00% Conn: 1 Mbps: 8683.273 Peak Mbps: 8683.273 Avg Mbps: 8683.273 --- fc00::13 tcpbench statistics --- 6496423116 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8622.589/8649.781/8683.273/22.572 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m52.85s