START sys/net/pair 2024-08-05T12:10:21Z ==== 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.099 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.099/0.099/0.099/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.116 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.116/0.116/0.116/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 222075068 1776.601 100.00% Conn: 1 Mbps: 1776.601 Peak Mbps: 1776.601 Avg Mbps: 1776.601 2000 224268716 1794.150 100.00% Conn: 1 Mbps: 1794.150 Peak Mbps: 1794.150 Avg Mbps: 1794.150 3000 220668272 1767.113 100.00% Conn: 1 Mbps: 1767.113 Peak Mbps: 1794.150 Avg Mbps: 1767.113 4000 230825816 1846.607 100.00% Conn: 1 Mbps: 1846.607 Peak Mbps: 1846.607 Avg Mbps: 1846.607 5000 224944296 1799.554 100.00% Conn: 1 Mbps: 1799.554 Peak Mbps: 1846.607 Avg Mbps: 1799.554 --- 169.254.1.11 tcpbench statistics --- 1351684568 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1767.113/1796.805/1846.607/27.512 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 228802080 1830.417 100.00% Conn: 1 Mbps: 1830.417 Peak Mbps: 1830.417 Avg Mbps: 1830.417 2000 219462896 1757.461 100.00% Conn: 1 Mbps: 1757.461 Peak Mbps: 1830.417 Avg Mbps: 1757.461 3000 227002424 1816.019 100.00% Conn: 1 Mbps: 1816.019 Peak Mbps: 1830.417 Avg Mbps: 1816.019 4000 228080632 1824.645 100.00% Conn: 1 Mbps: 1824.645 Peak Mbps: 1830.417 Avg Mbps: 1824.645 5000 220556960 1764.456 100.00% Conn: 1 Mbps: 1764.456 Peak Mbps: 1830.417 Avg Mbps: 1764.456 --- fc00:0:0:1::11 tcpbench statistics --- 1362490224 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1757.461/1798.599/1830.417/31.152 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.148 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.148/0.148/0.148/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.300 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.300/0.300/0.300/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 1001 79473480 635.153 100.00% Conn: 1 Mbps: 635.153 Peak Mbps: 635.153 Avg Mbps: 635.153 2001 79758736 638.070 100.00% Conn: 1 Mbps: 638.070 Peak Mbps: 638.070 Avg Mbps: 638.070 3003 80142456 640.499 100.00% Conn: 1 Mbps: 640.499 Peak Mbps: 640.499 Avg Mbps: 640.499 4003 80510248 644.082 100.00% Conn: 1 Mbps: 644.082 Peak Mbps: 644.082 Avg Mbps: 644.082 5004 80555136 644.441 100.00% Conn: 1 Mbps: 644.441 Peak Mbps: 644.441 Avg Mbps: 644.441 --- 169.254.1.12 tcpbench statistics --- 480038064 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 635.153/640.449/644.441/3.545 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 1001 77269080 617.535 100.00% Conn: 1 Mbps: 617.535 Peak Mbps: 617.535 Avg Mbps: 617.535 2001 77300496 619.023 100.00% Conn: 1 Mbps: 619.023 Peak Mbps: 619.023 Avg Mbps: 619.023 3001 77654640 621.237 100.00% Conn: 1 Mbps: 621.237 Peak Mbps: 621.237 Avg Mbps: 621.237 4002 78040200 623.698 100.00% Conn: 1 Mbps: 623.698 Peak Mbps: 623.698 Avg Mbps: 623.698 5002 78015924 624.127 100.00% Conn: 1 Mbps: 624.127 Peak Mbps: 624.127 Avg Mbps: 624.127 --- fc00:0:0:1::12 tcpbench statistics --- 466105124 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 617.535/621.124/624.127/2.567 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.127 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.127/0.127/0.127/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.158 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.158/0.158/0.158/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 130681016 1045.448 100.00% Conn: 1 Mbps: 1045.448 Peak Mbps: 1045.448 Avg Mbps: 1045.448 2000 133295908 1066.367 100.00% Conn: 1 Mbps: 1066.367 Peak Mbps: 1066.367 Avg Mbps: 1066.367 3000 130696912 1045.575 100.00% Conn: 1 Mbps: 1045.575 Peak Mbps: 1066.367 Avg Mbps: 1045.575 4000 132071916 1056.575 100.00% Conn: 1 Mbps: 1056.575 Peak Mbps: 1066.367 Avg Mbps: 1056.575 5000 130506160 1044.049 100.00% Conn: 1 Mbps: 1044.049 Peak Mbps: 1066.367 Avg Mbps: 1044.049 --- 169.254.0.13 tcpbench statistics --- 787297088 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1044.049/1051.603/1066.367/8.648 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 124350680 994.805 100.00% Conn: 1 Mbps: 994.805 Peak Mbps: 994.805 Avg Mbps: 994.805 2000 122043632 976.349 100.00% Conn: 1 Mbps: 976.349 Peak Mbps: 994.805 Avg Mbps: 976.349 3000 124255544 994.044 100.00% Conn: 1 Mbps: 994.044 Peak Mbps: 994.805 Avg Mbps: 994.044 4000 122884000 983.072 100.00% Conn: 1 Mbps: 983.072 Peak Mbps: 994.805 Avg Mbps: 983.072 5000 123066344 984.531 100.00% Conn: 1 Mbps: 984.531 Peak Mbps: 994.805 Avg Mbps: 984.531 --- fc00::13 tcpbench statistics --- 744233072 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 976.349/986.560/994.805/6.994 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.102 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.102/0.102/0.102/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.125 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.125/0.125/0.125/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 79939736 639.518 100.00% Conn: 1 Mbps: 639.518 Peak Mbps: 639.518 Avg Mbps: 639.518 2000 80394408 643.155 100.00% Conn: 1 Mbps: 643.155 Peak Mbps: 643.155 Avg Mbps: 643.155 3001 80442192 642.895 100.00% Conn: 1 Mbps: 642.895 Peak Mbps: 643.155 Avg Mbps: 642.895 4001 80407440 643.260 100.00% Conn: 1 Mbps: 643.260 Peak Mbps: 643.260 Avg Mbps: 643.260 5003 80565272 643.878 100.00% Conn: 1 Mbps: 643.878 Peak Mbps: 643.878 Avg Mbps: 643.878 --- 169.254.1.11 tcpbench statistics --- 482097120 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 639.518/642.541/643.878/1.546 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 77390460 619.124 100.00% Conn: 1 Mbps: 619.124 Peak Mbps: 619.124 Avg Mbps: 619.124 2001 78108744 624.870 100.00% Conn: 1 Mbps: 624.870 Peak Mbps: 624.870 Avg Mbps: 624.870 3001 78057336 624.459 100.00% Conn: 1 Mbps: 624.459 Peak Mbps: 624.870 Avg Mbps: 624.459 4001 77718900 621.751 100.00% Conn: 1 Mbps: 621.751 Peak Mbps: 624.870 Avg Mbps: 621.751 5003 78581412 627.397 100.00% Conn: 1 Mbps: 627.397 Peak Mbps: 627.397 Avg Mbps: 627.397 --- fc00:0:0:1::11 tcpbench statistics --- 468342588 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 619.124/623.520/627.397/2.835 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.091 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.091/0.091/0.091/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.109 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.109/0.109/0.109/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 226958072 1815.665 100.00% Conn: 1 Mbps: 1815.665 Peak Mbps: 1815.665 Avg Mbps: 1815.665 2000 218895608 1751.165 100.00% Conn: 1 Mbps: 1751.165 Peak Mbps: 1815.665 Avg Mbps: 1751.165 3000 208748024 1669.984 100.00% Conn: 1 Mbps: 1669.984 Peak Mbps: 1815.665 Avg Mbps: 1669.984 4000 222071072 1776.569 100.00% Conn: 1 Mbps: 1776.569 Peak Mbps: 1815.665 Avg Mbps: 1776.569 5000 211958240 1695.666 100.00% Conn: 1 Mbps: 1695.666 Peak Mbps: 1815.665 Avg Mbps: 1695.666 --- 169.254.1.12 tcpbench statistics --- 1295172288 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1669.984/1741.810/1815.665/52.988 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 224018928 1792.151 100.00% Conn: 1 Mbps: 1792.151 Peak Mbps: 1792.151 Avg Mbps: 1792.151 2000 213797304 1710.378 100.00% Conn: 1 Mbps: 1710.378 Peak Mbps: 1792.151 Avg Mbps: 1710.378 3000 207095700 1656.766 100.00% Conn: 1 Mbps: 1656.766 Peak Mbps: 1792.151 Avg Mbps: 1656.766 4000 232209936 1857.679 100.00% Conn: 1 Mbps: 1857.679 Peak Mbps: 1857.679 Avg Mbps: 1857.679 5000 205486344 1645.536 100.00% Conn: 1 Mbps: 1645.536 Peak Mbps: 1857.679 Avg Mbps: 1645.536 --- fc00:0:0:1::12 tcpbench statistics --- 1290802044 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1645.536/1732.502/1857.679/81.260 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.098 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.098/0.098/0.098/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.115 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.115/0.115/0.115/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 311393502 2491.148 100.00% Conn: 1 Mbps: 2491.148 Peak Mbps: 2491.148 Avg Mbps: 2491.148 2000 302721148 2421.769 100.00% Conn: 1 Mbps: 2421.769 Peak Mbps: 2491.148 Avg Mbps: 2421.769 3000 305502008 2444.016 100.00% Conn: 1 Mbps: 2444.016 Peak Mbps: 2491.148 Avg Mbps: 2444.016 4000 307693980 2461.552 100.00% Conn: 1 Mbps: 2461.552 Peak Mbps: 2491.148 Avg Mbps: 2461.552 5000 306745216 2453.962 100.00% Conn: 1 Mbps: 2453.962 Peak Mbps: 2491.148 Avg Mbps: 2453.962 --- 169.254.0.13 tcpbench statistics --- 1841389958 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2421.769/2454.489/2491.148/22.691 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 310065012 2480.520 100.00% Conn: 1 Mbps: 2480.520 Peak Mbps: 2480.520 Avg Mbps: 2480.520 2000 306165344 2449.323 100.00% Conn: 1 Mbps: 2449.323 Peak Mbps: 2480.520 Avg Mbps: 2449.323 3000 312017928 2496.143 100.00% Conn: 1 Mbps: 2496.143 Peak Mbps: 2496.143 Avg Mbps: 2496.143 4000 310415824 2483.327 100.00% Conn: 1 Mbps: 2483.327 Peak Mbps: 2496.143 Avg Mbps: 2483.327 5000 308421368 2467.371 100.00% Conn: 1 Mbps: 2467.371 Peak Mbps: 2496.143 Avg Mbps: 2467.371 --- fc00::13 tcpbench statistics --- 1853120036 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2449.323/2475.337/2496.143/15.898 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.112 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.112/0.112/0.112/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.135 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.135/0.135/0.135/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 76586168 612.077 100.00% Conn: 1 Mbps: 612.077 Peak Mbps: 612.077 Avg Mbps: 612.077 2001 78934824 631.479 100.00% Conn: 1 Mbps: 631.479 Peak Mbps: 631.479 Avg Mbps: 631.479 3002 79421352 635.371 100.00% Conn: 1 Mbps: 635.371 Peak Mbps: 635.371 Avg Mbps: 635.371 4003 79319992 634.560 100.00% Conn: 1 Mbps: 634.560 Peak Mbps: 635.371 Avg Mbps: 634.560 5003 79279448 634.236 100.00% Conn: 1 Mbps: 634.236 Peak Mbps: 635.371 Avg Mbps: 634.236 --- 169.254.1.11 tcpbench statistics --- 472576520 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 612.077/629.544/635.371/8.831 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 126904240 1015.234 100.00% Conn: 1 Mbps: 1015.234 Peak Mbps: 1015.234 Avg Mbps: 1015.234 2001 125359232 1002.874 100.00% Conn: 1 Mbps: 1002.874 Peak Mbps: 1015.234 Avg Mbps: 1002.874 3002 125419192 1002.351 100.00% Conn: 1 Mbps: 1002.351 Peak Mbps: 1015.234 Avg Mbps: 1002.351 4002 125544512 1004.356 100.00% Conn: 1 Mbps: 1004.356 Peak Mbps: 1015.234 Avg Mbps: 1004.356 5003 125684120 1005.473 100.00% Conn: 1 Mbps: 1005.473 Peak Mbps: 1015.234 Avg Mbps: 1005.473 --- fc00:0:0:1::11 tcpbench statistics --- 754645952 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1002.351/1006.058/1015.234/4.718 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.095 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.095/0.095/0.095/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.114 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.114/0.114/0.114/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 309903782 2479.230 100.00% Conn: 1 Mbps: 2479.230 Peak Mbps: 2479.230 Avg Mbps: 2479.230 2000 302982876 2426.289 100.00% Conn: 1 Mbps: 2426.289 Peak Mbps: 2479.230 Avg Mbps: 2426.289 3000 302393988 2419.152 100.00% Conn: 1 Mbps: 2419.152 Peak Mbps: 2479.230 Avg Mbps: 2419.152 4000 307808486 2462.468 100.00% Conn: 1 Mbps: 2462.468 Peak Mbps: 2479.230 Avg Mbps: 2462.468 5000 299220536 2393.764 100.00% Conn: 1 Mbps: 2393.764 Peak Mbps: 2479.230 Avg Mbps: 2393.764 --- 169.254.1.12 tcpbench statistics --- 1833406112 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2393.764/2436.181/2479.230/30.761 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 312248740 2497.990 100.00% Conn: 1 Mbps: 2497.990 Peak Mbps: 2497.990 Avg Mbps: 2497.990 2000 306721176 2456.226 100.00% Conn: 1 Mbps: 2456.226 Peak Mbps: 2497.990 Avg Mbps: 2456.226 3000 307309704 2458.478 100.00% Conn: 1 Mbps: 2458.478 Peak Mbps: 2497.990 Avg Mbps: 2458.478 4000 305674904 2445.399 100.00% Conn: 1 Mbps: 2445.399 Peak Mbps: 2497.990 Avg Mbps: 2445.399 5000 305936472 2447.492 100.00% Conn: 1 Mbps: 2447.492 Peak Mbps: 2497.990 Avg Mbps: 2447.492 --- fc00:0:0:1::12 tcpbench statistics --- 1849647356 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2445.399/2461.117/2497.990/19.096 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.098 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.098/0.098/0.098/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.108 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.108/0.108/0.108/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 305191558 2441.532 100.00% Conn: 1 Mbps: 2441.532 Peak Mbps: 2441.532 Avg Mbps: 2441.532 2000 298108168 2387.253 100.00% Conn: 1 Mbps: 2387.253 Peak Mbps: 2441.532 Avg Mbps: 2387.253 3000 297192144 2377.537 100.00% Conn: 1 Mbps: 2377.537 Peak Mbps: 2441.532 Avg Mbps: 2377.537 4000 303408184 2427.265 100.00% Conn: 1 Mbps: 2427.265 Peak Mbps: 2441.532 Avg Mbps: 2427.265 5000 300496460 2403.972 100.00% Conn: 1 Mbps: 2403.972 Peak Mbps: 2441.532 Avg Mbps: 2403.972 --- 169.254.0.13 tcpbench statistics --- 1811468890 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2377.537/2407.512/2441.532/23.954 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 302878516 2423.028 100.00% Conn: 1 Mbps: 2423.028 Peak Mbps: 2423.028 Avg Mbps: 2423.028 2000 301195552 2409.564 100.00% Conn: 1 Mbps: 2409.564 Peak Mbps: 2423.028 Avg Mbps: 2409.564 3000 304595936 2436.767 100.00% Conn: 1 Mbps: 2436.767 Peak Mbps: 2436.767 Avg Mbps: 2436.767 4000 302111040 2416.888 100.00% Conn: 1 Mbps: 2416.888 Peak Mbps: 2436.767 Avg Mbps: 2416.888 5000 304857504 2438.860 100.00% Conn: 1 Mbps: 2438.860 Peak Mbps: 2438.860 Avg Mbps: 2438.860 --- fc00::13 tcpbench statistics --- 1823765652 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2409.564/2425.022/2438.860/11.301 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 1m55.33s