START sys/net/pair 2025-01-25T06:32:07Z ==== 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.158 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.158/0.158/0.158/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.180 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.180/0.180/0.180/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 272028248 2176.226 100.00% Conn: 1 Mbps: 2176.226 Peak Mbps: 2176.226 Avg Mbps: 2176.226 2000 320979000 2570.402 100.00% Conn: 1 Mbps: 2570.402 Peak Mbps: 2570.402 Avg Mbps: 2570.402 3000 321107008 2568.856 100.00% Conn: 1 Mbps: 2568.856 Peak Mbps: 2570.402 Avg Mbps: 2568.856 4000 322892508 2583.140 100.00% Conn: 1 Mbps: 2583.140 Peak Mbps: 2583.140 Avg Mbps: 2583.140 5000 315939408 2527.515 100.00% Conn: 1 Mbps: 2527.515 Peak Mbps: 2583.140 Avg Mbps: 2527.515 --- 169.254.1.11 tcpbench statistics --- 1871715348 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2176.226/2485.228/2583.140/155.631 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 312727888 2501.823 100.00% Conn: 1 Mbps: 2501.823 Peak Mbps: 2501.823 Avg Mbps: 2501.823 2000 311332560 2493.154 100.00% Conn: 1 Mbps: 2493.154 Peak Mbps: 2501.823 Avg Mbps: 2493.154 3000 313179784 2505.438 100.00% Conn: 1 Mbps: 2505.438 Peak Mbps: 2505.438 Avg Mbps: 2505.438 4000 310983728 2487.870 100.00% Conn: 1 Mbps: 2487.870 Peak Mbps: 2505.438 Avg Mbps: 2487.870 5000 312949872 2503.599 100.00% Conn: 1 Mbps: 2503.599 Peak Mbps: 2505.438 Avg Mbps: 2503.599 --- fc00:0:0:1::11 tcpbench statistics --- 1874290192 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2487.870/2498.377/2505.438/6.733 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.144 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.144/0.144/0.144/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.181 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.181/0.181/0.181/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 246032912 1966.297 100.00% Conn: 1 Mbps: 1966.297 Peak Mbps: 1966.297 Avg Mbps: 1966.297 2001 253755392 2030.043 100.00% Conn: 1 Mbps: 2030.043 Peak Mbps: 2030.043 Avg Mbps: 2030.043 3002 232712464 1861.700 100.00% Conn: 1 Mbps: 1861.700 Peak Mbps: 2030.043 Avg Mbps: 1861.700 4002 237002800 1896.022 100.00% Conn: 1 Mbps: 1896.022 Peak Mbps: 2030.043 Avg Mbps: 1896.022 5003 217646944 1741.176 100.00% Conn: 1 Mbps: 1741.176 Peak Mbps: 2030.043 Avg Mbps: 1741.176 --- 169.254.1.12 tcpbench statistics --- 1414427992 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1741.176/1899.048/2030.043/97.990 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 226848656 1812.976 100.00% Conn: 1 Mbps: 1812.976 Peak Mbps: 1812.976 Avg Mbps: 1812.976 2001 239222292 1913.778 100.00% Conn: 1 Mbps: 1913.778 Peak Mbps: 1913.778 Avg Mbps: 1913.778 3001 219668292 1757.346 100.00% Conn: 1 Mbps: 1757.346 Peak Mbps: 1913.778 Avg Mbps: 1757.346 4004 234715016 1873.972 100.00% Conn: 1 Mbps: 1873.972 Peak Mbps: 1913.778 Avg Mbps: 1873.972 5002 221064332 1772.059 100.00% Conn: 1 Mbps: 1772.059 Peak Mbps: 1913.778 Avg Mbps: 1772.059 --- fc00:0:0:1::12 tcpbench statistics --- 1349905552 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1757.346/1826.026/1913.778/59.664 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.185 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.185/0.185/0.185/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.148 ms --- fc00::13 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-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 527906020 4223.248 100.00% Conn: 1 Mbps: 4223.248 Peak Mbps: 4223.248 Avg Mbps: 4223.248 2000 609634324 4877.075 100.00% Conn: 1 Mbps: 4877.075 Peak Mbps: 4877.075 Avg Mbps: 4877.075 3001 601726624 4813.813 100.00% Conn: 1 Mbps: 4813.813 Peak Mbps: 4877.075 Avg Mbps: 4813.813 4001 561458984 4496.168 100.00% Conn: 1 Mbps: 4496.168 Peak Mbps: 4877.075 Avg Mbps: 4496.168 5001 557273740 4458.190 100.00% Conn: 1 Mbps: 4458.190 Peak Mbps: 4877.075 Avg Mbps: 4458.190 --- 169.254.0.13 tcpbench statistics --- 3444776408 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4223.248/4573.699/4877.075/241.603 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 1001 439664136 3513.799 100.00% Conn: 1 Mbps: 3513.799 Peak Mbps: 3513.799 Avg Mbps: 3513.799 2001 557276616 4458.213 100.00% Conn: 1 Mbps: 4458.213 Peak Mbps: 4458.213 Avg Mbps: 4458.213 3002 503824400 4030.595 100.00% Conn: 1 Mbps: 4030.595 Peak Mbps: 4458.213 Avg Mbps: 4030.595 4003 436310072 3490.481 100.00% Conn: 1 Mbps: 3490.481 Peak Mbps: 4458.213 Avg Mbps: 3490.481 5003 520322568 4162.581 100.00% Conn: 1 Mbps: 4162.581 Peak Mbps: 4458.213 Avg Mbps: 4162.581 --- fc00::13 tcpbench statistics --- 2904145536 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3490.481/3931.134/4458.213/376.727 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.144 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.144/0.144/0.144/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.078 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.078/0.078/0.078/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 1002 233169008 1861.629 100.00% Conn: 1 Mbps: 1861.629 Peak Mbps: 1861.629 Avg Mbps: 1861.629 2002 237936416 1903.491 100.00% Conn: 1 Mbps: 1903.491 Peak Mbps: 1903.491 Avg Mbps: 1903.491 3003 244562344 1956.499 100.00% Conn: 1 Mbps: 1956.499 Peak Mbps: 1956.499 Avg Mbps: 1956.499 4003 212500312 1701.704 100.00% Conn: 1 Mbps: 1701.704 Peak Mbps: 1956.499 Avg Mbps: 1701.704 5003 235405312 1883.242 100.00% Conn: 1 Mbps: 1883.242 Peak Mbps: 1956.499 Avg Mbps: 1883.242 --- 169.254.1.11 tcpbench statistics --- 1407415912 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1701.704/1861.313/1956.499/85.785 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 1001 216803544 1732.696 100.00% Conn: 1 Mbps: 1732.696 Peak Mbps: 1732.696 Avg Mbps: 1732.696 2001 244056064 1952.449 100.00% Conn: 1 Mbps: 1952.449 Peak Mbps: 1952.449 Avg Mbps: 1952.449 3002 248887844 1991.103 100.00% Conn: 1 Mbps: 1991.103 Peak Mbps: 1991.103 Avg Mbps: 1991.103 4002 236088356 1888.707 100.00% Conn: 1 Mbps: 1888.707 Peak Mbps: 1991.103 Avg Mbps: 1888.707 5002 244230508 1953.844 100.00% Conn: 1 Mbps: 1953.844 Peak Mbps: 1991.103 Avg Mbps: 1953.844 --- fc00:0:0:1::11 tcpbench statistics --- 1428721288 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1732.696/1903.760/1991.103/91.649 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.134 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.134/0.134/0.134/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.087 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.087/0.087/0.087/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 313009816 2504.079 100.00% Conn: 1 Mbps: 2504.079 Peak Mbps: 2504.079 Avg Mbps: 2504.079 2000 316150528 2531.736 100.00% Conn: 1 Mbps: 2531.736 Peak Mbps: 2531.736 Avg Mbps: 2531.736 3000 318174832 2545.399 100.00% Conn: 1 Mbps: 2545.399 Peak Mbps: 2545.399 Avg Mbps: 2545.399 4000 323060384 2584.483 100.00% Conn: 1 Mbps: 2584.483 Peak Mbps: 2584.483 Avg Mbps: 2584.483 5000 326896808 2615.174 100.00% Conn: 1 Mbps: 2615.174 Peak Mbps: 2615.174 Avg Mbps: 2615.174 --- 169.254.1.12 tcpbench statistics --- 1921188416 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2504.079/2556.174/2615.174/39.268 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 316846068 2534.769 100.00% Conn: 1 Mbps: 2534.769 Peak Mbps: 2534.769 Avg Mbps: 2534.769 2000 327286176 2620.910 100.00% Conn: 1 Mbps: 2620.910 Peak Mbps: 2620.910 Avg Mbps: 2620.910 3000 319505004 2556.040 100.00% Conn: 1 Mbps: 2556.040 Peak Mbps: 2620.910 Avg Mbps: 2556.040 4000 337455996 2699.648 100.00% Conn: 1 Mbps: 2699.648 Peak Mbps: 2699.648 Avg Mbps: 2699.648 5000 339461388 2715.691 100.00% Conn: 1 Mbps: 2715.691 Peak Mbps: 2715.691 Avg Mbps: 2715.691 --- fc00:0:0:1::12 tcpbench statistics --- 1976230308 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2534.769/2625.412/2715.691/73.089 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.120 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.120/0.120/0.120/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.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-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 521525106 4172.201 100.00% Conn: 1 Mbps: 4172.201 Peak Mbps: 4172.201 Avg Mbps: 4172.201 2000 516503850 4136.167 100.00% Conn: 1 Mbps: 4136.167 Peak Mbps: 4172.201 Avg Mbps: 4136.167 3000 517043664 4136.349 100.00% Conn: 1 Mbps: 4136.349 Peak Mbps: 4172.201 Avg Mbps: 4136.349 4000 515407864 4123.263 100.00% Conn: 1 Mbps: 4123.263 Peak Mbps: 4172.201 Avg Mbps: 4123.263 5000 519808166 4158.465 100.00% Conn: 1 Mbps: 4158.465 Peak Mbps: 4172.201 Avg Mbps: 4158.465 --- 169.254.0.13 tcpbench statistics --- 3106121822 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4123.263/4145.289/4172.201/17.585 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 503785420 4030.283 100.00% Conn: 1 Mbps: 4030.283 Peak Mbps: 4030.283 Avg Mbps: 4030.283 2000 510221080 4085.854 100.00% Conn: 1 Mbps: 4085.854 Peak Mbps: 4085.854 Avg Mbps: 4085.854 3000 502243256 4017.946 100.00% Conn: 1 Mbps: 4017.946 Peak Mbps: 4085.854 Avg Mbps: 4017.946 4000 502560204 4020.482 100.00% Conn: 1 Mbps: 4020.482 Peak Mbps: 4085.854 Avg Mbps: 4020.482 5000 498025472 3984.204 100.00% Conn: 1 Mbps: 3984.204 Peak Mbps: 4085.854 Avg Mbps: 3984.204 --- fc00::13 tcpbench statistics --- 3012539488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3984.204/4027.754/4085.854/32.948 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.194 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.194/0.194/0.194/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.093 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.093/0.093/0.093/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 258539136 2066.247 100.00% Conn: 1 Mbps: 2066.247 Peak Mbps: 2066.247 Avg Mbps: 2066.247 2002 220237808 1761.902 100.00% Conn: 1 Mbps: 1761.902 Peak Mbps: 2066.247 Avg Mbps: 1761.902 3002 222997960 1785.769 100.00% Conn: 1 Mbps: 1785.769 Peak Mbps: 2066.247 Avg Mbps: 1785.769 4002 229789048 1840.153 100.00% Conn: 1 Mbps: 1840.153 Peak Mbps: 2066.247 Avg Mbps: 1840.153 5002 241038800 1928.310 100.00% Conn: 1 Mbps: 1928.310 Peak Mbps: 2066.247 Avg Mbps: 1928.310 --- 169.254.1.11 tcpbench statistics --- 1423772040 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1761.902/1876.476/2066.247/110.792 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 1001 422496896 3376.599 100.00% Conn: 1 Mbps: 3376.599 Peak Mbps: 3376.599 Avg Mbps: 3376.599 2002 423510968 3388.088 100.00% Conn: 1 Mbps: 3388.088 Peak Mbps: 3388.088 Avg Mbps: 3388.088 3002 436958896 3495.671 100.00% Conn: 1 Mbps: 3495.671 Peak Mbps: 3495.671 Avg Mbps: 3495.671 4002 429573104 3436.585 100.00% Conn: 1 Mbps: 3436.585 Peak Mbps: 3495.671 Avg Mbps: 3436.585 5003 447492040 3579.936 100.00% Conn: 1 Mbps: 3579.936 Peak Mbps: 3579.936 Avg Mbps: 3579.936 --- fc00:0:0:1::11 tcpbench statistics --- 2597767168 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3376.599/3455.376/3579.936/75.134 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.151 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.151/0.151/0.151/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.148 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.148/0.148/0.148/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 514982398 4119.859 100.00% Conn: 1 Mbps: 4119.859 Peak Mbps: 4119.859 Avg Mbps: 4119.859 2000 520761506 4166.092 100.00% Conn: 1 Mbps: 4166.092 Peak Mbps: 4166.092 Avg Mbps: 4166.092 3000 519039340 4152.315 100.00% Conn: 1 Mbps: 4152.315 Peak Mbps: 4166.092 Avg Mbps: 4152.315 4000 520495202 4163.962 100.00% Conn: 1 Mbps: 4163.962 Peak Mbps: 4166.092 Avg Mbps: 4163.962 5000 516638446 4133.108 100.00% Conn: 1 Mbps: 4133.108 Peak Mbps: 4166.092 Avg Mbps: 4133.108 --- 169.254.1.12 tcpbench statistics --- 3104956994 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4119.859/4147.067/4166.092/17.945 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 504747124 4037.977 100.00% Conn: 1 Mbps: 4037.977 Peak Mbps: 4037.977 Avg Mbps: 4037.977 2000 505610944 4048.936 100.00% Conn: 1 Mbps: 4048.936 Peak Mbps: 4048.936 Avg Mbps: 4048.936 3000 501950720 4015.606 100.00% Conn: 1 Mbps: 4015.606 Peak Mbps: 4048.936 Avg Mbps: 4015.606 4000 496166984 3969.336 100.00% Conn: 1 Mbps: 3969.336 Peak Mbps: 4048.936 Avg Mbps: 3969.336 5000 498058168 3984.465 100.00% Conn: 1 Mbps: 3984.465 Peak Mbps: 4048.936 Avg Mbps: 3984.465 --- fc00:0:0:1::12 tcpbench statistics --- 2999360748 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3969.336/4011.264/4048.936/30.423 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.130 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.130/0.130/0.130/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.126 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.126/0.126/0.126/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 496139540 3969.116 100.00% Conn: 1 Mbps: 3969.116 Peak Mbps: 3969.116 Avg Mbps: 3969.116 2000 497790298 3986.309 100.00% Conn: 1 Mbps: 3986.309 Peak Mbps: 3986.309 Avg Mbps: 3986.309 3000 497626718 3981.014 100.00% Conn: 1 Mbps: 3981.014 Peak Mbps: 3986.309 Avg Mbps: 3981.014 4000 497942096 3983.537 100.00% Conn: 1 Mbps: 3983.537 Peak Mbps: 3986.309 Avg Mbps: 3983.537 5000 499867764 3998.942 100.00% Conn: 1 Mbps: 3998.942 Peak Mbps: 3998.942 Avg Mbps: 3998.942 --- 169.254.0.13 tcpbench statistics --- 2987974614 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3969.116/3983.784/3998.942/9.581 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 490733964 3925.872 100.00% Conn: 1 Mbps: 3925.872 Peak Mbps: 3925.872 Avg Mbps: 3925.872 2000 499791056 4002.331 100.00% Conn: 1 Mbps: 4002.331 Peak Mbps: 4002.331 Avg Mbps: 4002.331 3000 506591824 4052.735 100.00% Conn: 1 Mbps: 4052.735 Peak Mbps: 4052.735 Avg Mbps: 4052.735 4000 499823752 3998.590 100.00% Conn: 1 Mbps: 3998.590 Peak Mbps: 4052.735 Avg Mbps: 3998.590 5000 492042104 3936.337 100.00% Conn: 1 Mbps: 3936.337 Peak Mbps: 4052.735 Avg Mbps: 3936.337 --- fc00::13 tcpbench statistics --- 2983117348 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3925.872/3983.173/4052.735/46.735 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 1m54.13s