START sys/net/pair 2024-11-06T21:06:38Z ==== 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.049 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.049/0.049/0.049/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.053 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.053/0.053/0.053/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 666678240 5333.426 100.00% Conn: 1 Mbps: 5333.426 Peak Mbps: 5333.426 Avg Mbps: 5333.426 2000 669014952 5357.477 100.00% Conn: 1 Mbps: 5357.477 Peak Mbps: 5357.477 Avg Mbps: 5357.477 3000 668347320 5346.779 100.00% Conn: 1 Mbps: 5346.779 Peak Mbps: 5357.477 Avg Mbps: 5346.779 4000 667059744 5336.478 100.00% Conn: 1 Mbps: 5336.478 Peak Mbps: 5357.477 Avg Mbps: 5336.478 5000 672423244 5379.386 100.00% Conn: 1 Mbps: 5379.386 Peak Mbps: 5379.386 Avg Mbps: 5379.386 --- 169.254.1.11 tcpbench statistics --- 4012109260 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5333.426/5350.709/5379.386/16.642 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 675121968 5400.976 100.00% Conn: 1 Mbps: 5400.976 Peak Mbps: 5400.976 Avg Mbps: 5400.976 2000 676159496 5414.691 100.00% Conn: 1 Mbps: 5414.691 Peak Mbps: 5414.691 Avg Mbps: 5414.691 3000 671755296 5374.042 100.00% Conn: 1 Mbps: 5374.042 Peak Mbps: 5414.691 Avg Mbps: 5374.042 4000 672435416 5379.483 100.00% Conn: 1 Mbps: 5379.483 Peak Mbps: 5414.691 Avg Mbps: 5379.483 5000 672904856 5383.239 100.00% Conn: 1 Mbps: 5383.239 Peak Mbps: 5414.691 Avg Mbps: 5383.239 --- fc00:0:0:1::11 tcpbench statistics --- 4040997000 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5374.042/5390.486/5414.691/15.099 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.086 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.086/0.086/0.086/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.136 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.136/0.136/0.136/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 274841256 2198.730 100.00% Conn: 1 Mbps: 2198.730 Peak Mbps: 2198.730 Avg Mbps: 2198.730 2000 291294808 2330.358 100.00% Conn: 1 Mbps: 2330.358 Peak Mbps: 2330.358 Avg Mbps: 2330.358 3000 290837848 2329.032 100.00% Conn: 1 Mbps: 2329.032 Peak Mbps: 2330.358 Avg Mbps: 2329.032 4001 290298192 2320.065 100.00% Conn: 1 Mbps: 2320.065 Peak Mbps: 2330.358 Avg Mbps: 2320.065 5001 293672424 2349.379 100.00% Conn: 1 Mbps: 2349.379 Peak Mbps: 2349.379 Avg Mbps: 2349.379 --- 169.254.1.12 tcpbench statistics --- 1732929808 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2198.730/2305.513/2349.379/54.238 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 248924428 1991.395 100.00% Conn: 1 Mbps: 1991.395 Peak Mbps: 1991.395 Avg Mbps: 1991.395 2001 265535052 2122.158 100.00% Conn: 1 Mbps: 2122.158 Peak Mbps: 2122.158 Avg Mbps: 2122.158 3000 264693084 2119.664 100.00% Conn: 1 Mbps: 2119.664 Peak Mbps: 2122.158 Avg Mbps: 2119.664 4001 267728800 2139.691 100.00% Conn: 1 Mbps: 2139.691 Peak Mbps: 2139.691 Avg Mbps: 2139.691 5002 268388932 2147.111 100.00% Conn: 1 Mbps: 2147.111 Peak Mbps: 2147.111 Avg Mbps: 2147.111 --- fc00:0:0:1::12 tcpbench statistics --- 1584669856 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1991.395/2104.004/2147.111/57.249 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.067 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.067/0.067/0.067/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.066 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.066/0.066/0.066/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 543500136 4348.001 100.00% Conn: 1 Mbps: 4348.001 Peak Mbps: 4348.001 Avg Mbps: 4348.001 2000 544215456 4358.082 100.00% Conn: 1 Mbps: 4358.082 Peak Mbps: 4358.082 Avg Mbps: 4358.082 3000 575418884 4603.351 100.00% Conn: 1 Mbps: 4603.351 Peak Mbps: 4603.351 Avg Mbps: 4603.351 4000 556185144 4449.481 100.00% Conn: 1 Mbps: 4449.481 Peak Mbps: 4603.351 Avg Mbps: 4449.481 5000 547561564 4384.877 100.00% Conn: 1 Mbps: 4384.877 Peak Mbps: 4603.351 Avg Mbps: 4384.877 --- 169.254.0.13 tcpbench statistics --- 3306955732 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4348.001/4428.758/4603.351/94.185 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 562153816 4497.231 100.00% Conn: 1 Mbps: 4497.231 Peak Mbps: 4497.231 Avg Mbps: 4497.231 2000 594866304 4758.930 100.00% Conn: 1 Mbps: 4758.930 Peak Mbps: 4758.930 Avg Mbps: 4758.930 3000 595207208 4761.658 100.00% Conn: 1 Mbps: 4761.658 Peak Mbps: 4761.658 Avg Mbps: 4761.658 4001 599444528 4795.556 100.00% Conn: 1 Mbps: 4795.556 Peak Mbps: 4795.556 Avg Mbps: 4795.556 5001 596475168 4776.578 100.00% Conn: 1 Mbps: 4776.578 Peak Mbps: 4795.556 Avg Mbps: 4776.578 --- fc00::13 tcpbench statistics --- 3546021160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4497.231/4717.991/4795.556/111.146 Mbps ==== run-ping-2-1 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.053 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.053/0.053/0.053/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.048 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 272584720 2180.678 100.00% Conn: 1 Mbps: 2180.678 Peak Mbps: 2180.678 Avg Mbps: 2180.678 2000 290589584 2324.717 100.00% Conn: 1 Mbps: 2324.717 Peak Mbps: 2324.717 Avg Mbps: 2324.717 3001 292447024 2339.576 100.00% Conn: 1 Mbps: 2339.576 Peak Mbps: 2339.576 Avg Mbps: 2339.576 4001 293442528 2347.540 100.00% Conn: 1 Mbps: 2347.540 Peak Mbps: 2347.540 Avg Mbps: 2347.540 5002 292632480 2341.060 100.00% Conn: 1 Mbps: 2341.060 Peak Mbps: 2347.540 Avg Mbps: 2341.060 --- 169.254.1.11 tcpbench statistics --- 1732454712 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2180.678/2306.714/2347.540/63.460 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 250141324 2001.131 100.00% Conn: 1 Mbps: 2001.131 Peak Mbps: 2001.131 Avg Mbps: 2001.131 2001 263390040 2105.015 100.00% Conn: 1 Mbps: 2105.015 Peak Mbps: 2105.015 Avg Mbps: 2105.015 3001 268203164 2147.773 100.00% Conn: 1 Mbps: 2147.773 Peak Mbps: 2147.773 Avg Mbps: 2147.773 4001 265574980 2124.600 100.00% Conn: 1 Mbps: 2124.600 Peak Mbps: 2147.773 Avg Mbps: 2124.600 5001 269678472 2159.587 100.00% Conn: 1 Mbps: 2159.587 Peak Mbps: 2159.587 Avg Mbps: 2159.587 --- fc00:0:0:1::11 tcpbench statistics --- 1587121716 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2001.131/2107.621/2159.587/56.476 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.038 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.038/0.038/0.038/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.044 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.044/0.044/0.044/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 634413688 5075.310 100.00% Conn: 1 Mbps: 5075.310 Peak Mbps: 5075.310 Avg Mbps: 5075.310 2000 620222736 4961.782 100.00% Conn: 1 Mbps: 4961.782 Peak Mbps: 5075.310 Avg Mbps: 4961.782 3000 614384952 4920.000 100.00% Conn: 1 Mbps: 4920.000 Peak Mbps: 5075.310 Avg Mbps: 4920.000 4000 615040896 4920.327 100.00% Conn: 1 Mbps: 4920.327 Peak Mbps: 5075.310 Avg Mbps: 4920.327 5000 615349320 4922.795 100.00% Conn: 1 Mbps: 4922.795 Peak Mbps: 5075.310 Avg Mbps: 4922.795 --- 169.254.1.12 tcpbench statistics --- 3715877936 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4920.000/4960.043/5075.310/59.762 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 642206508 5137.652 100.00% Conn: 1 Mbps: 5137.652 Peak Mbps: 5137.652 Avg Mbps: 5137.652 2000 645259996 5167.247 100.00% Conn: 1 Mbps: 5167.247 Peak Mbps: 5167.247 Avg Mbps: 5167.247 3000 641226956 5134.951 100.00% Conn: 1 Mbps: 5134.951 Peak Mbps: 5167.247 Avg Mbps: 5134.951 4000 642664260 5141.314 100.00% Conn: 1 Mbps: 5141.314 Peak Mbps: 5167.247 Avg Mbps: 5141.314 5000 642055932 5136.447 100.00% Conn: 1 Mbps: 5136.447 Peak Mbps: 5167.247 Avg Mbps: 5136.447 --- fc00:0:0:1::12 tcpbench statistics --- 3855025476 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5134.951/5143.522/5167.247/12.048 Mbps ==== run-ping-2-3 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.057 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.057/0.057/0.057/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.051 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/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 1093157550 8745.260 100.00% Conn: 1 Mbps: 8745.260 Peak Mbps: 8745.260 Avg Mbps: 8745.260 2000 1097948960 8792.384 100.00% Conn: 1 Mbps: 8792.384 Peak Mbps: 8792.384 Avg Mbps: 8792.384 3000 1097458220 8779.666 100.00% Conn: 1 Mbps: 8779.666 Peak Mbps: 8792.384 Avg Mbps: 8779.666 4000 1097850812 8782.806 100.00% Conn: 1 Mbps: 8782.806 Peak Mbps: 8792.384 Avg Mbps: 8782.806 5000 1095495260 8763.962 100.00% Conn: 1 Mbps: 8763.962 Peak Mbps: 8792.384 Avg Mbps: 8763.962 --- 169.254.0.13 tcpbench statistics --- 6579499886 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8745.260/8772.816/8792.384/16.537 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 1086688252 8693.506 100.00% Conn: 1 Mbps: 8693.506 Peak Mbps: 8693.506 Avg Mbps: 8693.506 2000 1085114848 8689.608 100.00% Conn: 1 Mbps: 8689.608 Peak Mbps: 8693.506 Avg Mbps: 8689.608 3000 1085409112 8683.273 100.00% Conn: 1 Mbps: 8683.273 Peak Mbps: 8693.506 Avg Mbps: 8683.273 4000 1083708920 8669.671 100.00% Conn: 1 Mbps: 8669.671 Peak Mbps: 8693.506 Avg Mbps: 8669.671 5000 1084984064 8679.873 100.00% Conn: 1 Mbps: 8679.873 Peak Mbps: 8693.506 Avg Mbps: 8679.873 --- fc00::13 tcpbench statistics --- 6511020044 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8669.671/8683.186/8693.506/8.263 Mbps ==== run-ping-3-1 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.050 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.050/0.050/0.050/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.057 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.057/0.057/0.057/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 275078784 2198.432 100.00% Conn: 1 Mbps: 2198.432 Peak Mbps: 2198.432 Avg Mbps: 2198.432 2001 287702264 2301.618 100.00% Conn: 1 Mbps: 2301.618 Peak Mbps: 2301.618 Avg Mbps: 2301.618 3002 289687864 2317.503 100.00% Conn: 1 Mbps: 2317.503 Peak Mbps: 2317.503 Avg Mbps: 2317.503 4003 288535200 2308.282 100.00% Conn: 1 Mbps: 2308.282 Peak Mbps: 2317.503 Avg Mbps: 2308.282 5004 289473832 2313.477 100.00% Conn: 1 Mbps: 2313.477 Peak Mbps: 2317.503 Avg Mbps: 2313.477 --- 169.254.1.11 tcpbench statistics --- 1717710056 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2198.432/2287.862/2317.503/45.030 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 484164224 3873.314 100.00% Conn: 1 Mbps: 3873.314 Peak Mbps: 3873.314 Avg Mbps: 3873.314 2000 528001608 4228.241 100.00% Conn: 1 Mbps: 4228.241 Peak Mbps: 4228.241 Avg Mbps: 4228.241 3000 525323008 4206.791 100.00% Conn: 1 Mbps: 4206.791 Peak Mbps: 4228.241 Avg Mbps: 4206.791 4001 530395528 4243.164 100.00% Conn: 1 Mbps: 4243.164 Peak Mbps: 4243.164 Avg Mbps: 4243.164 5001 530453856 4243.631 100.00% Conn: 1 Mbps: 4243.631 Peak Mbps: 4243.631 Avg Mbps: 4243.631 --- fc00:0:0:1::11 tcpbench statistics --- 3122234736 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3873.314/4159.028/4243.631/143.486 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.049 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.049/0.049/0.049/0.000 ms ==== run-ping6-3-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.050 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.050/0.050/0.050/0.000 ms ==== run-tcpbench-3-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 1094077278 8752.618 100.00% Conn: 1 Mbps: 8752.618 Peak Mbps: 8752.618 Avg Mbps: 8752.618 2000 1097392788 8787.930 100.00% Conn: 1 Mbps: 8787.930 Peak Mbps: 8787.930 Avg Mbps: 8787.930 3000 1099486612 8795.893 100.00% Conn: 1 Mbps: 8795.893 Peak Mbps: 8795.893 Avg Mbps: 8795.893 4000 1097425884 8779.407 100.00% Conn: 1 Mbps: 8779.407 Peak Mbps: 8795.893 Avg Mbps: 8779.407 5000 1099323032 8794.584 100.00% Conn: 1 Mbps: 8794.584 Peak Mbps: 8795.893 Avg Mbps: 8794.584 --- 169.254.1.12 tcpbench statistics --- 6586030788 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8752.618/8782.087/8795.893/15.853 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 1080382820 8643.063 100.00% Conn: 1 Mbps: 8643.063 Peak Mbps: 8643.063 Avg Mbps: 8643.063 2000 1083937792 8680.183 100.00% Conn: 1 Mbps: 8680.183 Peak Mbps: 8680.183 Avg Mbps: 8680.183 3000 1083774312 8670.194 100.00% Conn: 1 Mbps: 8670.194 Peak Mbps: 8680.183 Avg Mbps: 8670.194 4000 1084918672 8679.349 100.00% Conn: 1 Mbps: 8679.349 Peak Mbps: 8680.183 Avg Mbps: 8679.349 5000 1083839704 8670.718 100.00% Conn: 1 Mbps: 8670.718 Peak Mbps: 8680.183 Avg Mbps: 8670.718 --- fc00:0:0:1::12 tcpbench statistics --- 6497358012 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8643.063/8668.701/8680.183/13.482 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.041 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.041/0.041/0.041/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 1131912798 9055.302 100.00% Conn: 1 Mbps: 9055.302 Peak Mbps: 9055.302 Avg Mbps: 9055.302 2000 1133282240 9075.333 100.00% Conn: 1 Mbps: 9075.333 Peak Mbps: 9075.333 Avg Mbps: 9075.333 3000 1135735940 9085.888 100.00% Conn: 1 Mbps: 9085.888 Peak Mbps: 9085.888 Avg Mbps: 9085.888 4000 1130305084 9042.441 100.00% Conn: 1 Mbps: 9042.441 Peak Mbps: 9085.888 Avg Mbps: 9042.441 5000 1136063100 9088.505 100.00% Conn: 1 Mbps: 9088.505 Peak Mbps: 9088.505 Avg Mbps: 9088.505 --- 169.254.0.13 tcpbench statistics --- 6800354018 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9042.441/9069.494/9088.505/17.875 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 1120073892 8960.591 100.00% Conn: 1 Mbps: 8960.591 Peak Mbps: 8960.591 Avg Mbps: 8960.591 2000 1117549280 8949.344 100.00% Conn: 1 Mbps: 8949.344 Peak Mbps: 8960.591 Avg Mbps: 8949.344 3000 1120034176 8960.273 100.00% Conn: 1 Mbps: 8960.273 Peak Mbps: 8960.591 Avg Mbps: 8960.273 4000 1119674520 8957.396 100.00% Conn: 1 Mbps: 8957.396 Peak Mbps: 8960.591 Avg Mbps: 8957.396 5000 1120001480 8960.012 100.00% Conn: 1 Mbps: 8960.012 Peak Mbps: 8960.591 Avg Mbps: 8960.012 --- fc00::13 tcpbench statistics --- 6719133108 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8949.344/8957.523/8960.591/4.245 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.84s