START sys/net/pair 2024-04-06T01:52:13Z ==== 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.038 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.038/0.038/0.038/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.043 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.043/0.043/0.043/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 939318484 7514.548 100.00% Conn: 1 Mbps: 7514.548 Peak Mbps: 7514.548 Avg Mbps: 7514.548 2000 937816312 7510.041 100.00% Conn: 1 Mbps: 7510.041 Peak Mbps: 7514.548 Avg Mbps: 7510.041 3000 936496944 7491.976 100.00% Conn: 1 Mbps: 7491.976 Peak Mbps: 7514.548 Avg Mbps: 7491.976 4000 938110388 7504.883 100.00% Conn: 1 Mbps: 7504.883 Peak Mbps: 7514.548 Avg Mbps: 7504.883 5000 937252004 7498.016 100.00% Conn: 1 Mbps: 7498.016 Peak Mbps: 7514.548 Avg Mbps: 7498.016 --- 169.254.1.11 tcpbench statistics --- 5628741808 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7491.976/7503.893/7514.548/8.110 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 954412280 7635.298 100.00% Conn: 1 Mbps: 7635.298 Peak Mbps: 7635.298 Avg Mbps: 7635.298 2000 955807608 7654.115 100.00% Conn: 1 Mbps: 7654.115 Peak Mbps: 7654.115 Avg Mbps: 7654.115 3000 954348856 7634.791 100.00% Conn: 1 Mbps: 7634.791 Peak Mbps: 7654.115 Avg Mbps: 7634.791 4000 954570840 7636.567 100.00% Conn: 1 Mbps: 7636.567 Peak Mbps: 7654.115 Avg Mbps: 7636.567 5000 954515344 7643.767 100.00% Conn: 1 Mbps: 7643.767 Peak Mbps: 7654.115 Avg Mbps: 7643.767 --- fc00:0:0:1::11 tcpbench statistics --- 5727559816 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7634.791/7640.907/7654.115/7.353 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.062 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.062/0.062/0.062/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.119 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.119/0.119/0.119/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 282356192 2258.850 100.00% Conn: 1 Mbps: 2258.850 Peak Mbps: 2258.850 Avg Mbps: 2258.850 2000 282612568 2263.164 100.00% Conn: 1 Mbps: 2263.164 Peak Mbps: 2263.164 Avg Mbps: 2263.164 3000 282821744 2262.574 100.00% Conn: 1 Mbps: 2262.574 Peak Mbps: 2263.164 Avg Mbps: 2262.574 4000 282739040 2261.912 100.00% Conn: 1 Mbps: 2261.912 Peak Mbps: 2263.164 Avg Mbps: 2261.912 5000 282686240 2261.490 100.00% Conn: 1 Mbps: 2261.490 Peak Mbps: 2263.164 Avg Mbps: 2261.490 --- 169.254.1.12 tcpbench statistics --- 1696633040 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2258.850/2261.598/2263.164/1.488 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 276103028 2208.824 100.00% Conn: 1 Mbps: 2208.824 Peak Mbps: 2208.824 Avg Mbps: 2208.824 2000 276657284 2215.474 100.00% Conn: 1 Mbps: 2215.474 Peak Mbps: 2215.474 Avg Mbps: 2215.474 3001 276826452 2214.612 100.00% Conn: 1 Mbps: 2214.612 Peak Mbps: 2215.474 Avg Mbps: 2214.612 4000 276559120 2214.688 100.00% Conn: 1 Mbps: 2214.688 Peak Mbps: 2215.474 Avg Mbps: 2214.688 5000 277235596 2217.885 100.00% Conn: 1 Mbps: 2217.885 Peak Mbps: 2217.885 Avg Mbps: 2217.885 --- fc00:0:0:1::12 tcpbench statistics --- 1660753004 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2208.824/2214.296/2217.885/2.982 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.054 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.054/0.054/0.054/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.065 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.065/0.065/0.065/0.000 ms ==== run-tcpbench-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 448060552 3584.484 100.00% Conn: 1 Mbps: 3584.484 Peak Mbps: 3584.484 Avg Mbps: 3584.484 2000 446995520 3579.544 100.00% Conn: 1 Mbps: 3579.544 Peak Mbps: 3584.484 Avg Mbps: 3579.544 3000 447043208 3576.346 100.00% Conn: 1 Mbps: 3576.346 Peak Mbps: 3584.484 Avg Mbps: 3576.346 4000 447861852 3582.895 100.00% Conn: 1 Mbps: 3582.895 Peak Mbps: 3584.484 Avg Mbps: 3582.895 5000 447814164 3586.099 100.00% Conn: 1 Mbps: 3586.099 Peak Mbps: 3586.099 Avg Mbps: 3586.099 --- 169.254.0.13 tcpbench statistics --- 2684532376 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3576.346/3581.874/3586.099/3.513 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 404002952 3232.024 100.00% Conn: 1 Mbps: 3232.024 Peak Mbps: 3232.024 Avg Mbps: 3232.024 2000 403479704 3231.069 100.00% Conn: 1 Mbps: 3231.069 Peak Mbps: 3232.024 Avg Mbps: 3231.069 3000 405715400 3245.723 100.00% Conn: 1 Mbps: 3245.723 Peak Mbps: 3245.723 Avg Mbps: 3245.723 4000 405525128 3244.201 100.00% Conn: 1 Mbps: 3244.201 Peak Mbps: 3245.723 Avg Mbps: 3244.201 5000 404217008 3233.736 100.00% Conn: 1 Mbps: 3233.736 Peak Mbps: 3245.723 Avg Mbps: 3233.736 --- fc00::13 tcpbench statistics --- 2428734872 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3231.069/3237.351/3245.723/6.292 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.041 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.041/0.041/0.041/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.049 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.049/0.049/0.049/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 282771616 2262.173 100.00% Conn: 1 Mbps: 2262.173 Peak Mbps: 2262.173 Avg Mbps: 2262.173 2000 283069528 2266.823 100.00% Conn: 1 Mbps: 2266.823 Peak Mbps: 2266.823 Avg Mbps: 2266.823 3001 283121040 2264.968 100.00% Conn: 1 Mbps: 2264.968 Peak Mbps: 2266.823 Avg Mbps: 2264.968 4001 282978688 2263.830 100.00% Conn: 1 Mbps: 2263.830 Peak Mbps: 2266.823 Avg Mbps: 2263.830 5001 283164368 2267.583 100.00% Conn: 1 Mbps: 2267.583 Peak Mbps: 2267.583 Avg Mbps: 2267.583 --- 169.254.1.11 tcpbench statistics --- 1698647040 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2262.173/2265.075/2267.583/1.966 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 274127680 2193.021 100.00% Conn: 1 Mbps: 2193.021 Peak Mbps: 2193.021 Avg Mbps: 2193.021 2001 274869584 2198.957 100.00% Conn: 1 Mbps: 2198.957 Peak Mbps: 2198.957 Avg Mbps: 2198.957 3000 274636028 2199.288 100.00% Conn: 1 Mbps: 2199.288 Peak Mbps: 2199.288 Avg Mbps: 2199.288 4001 275011776 2200.094 100.00% Conn: 1 Mbps: 2200.094 Peak Mbps: 2200.094 Avg Mbps: 2200.094 5000 275225368 2204.007 100.00% Conn: 1 Mbps: 2204.007 Peak Mbps: 2204.007 Avg Mbps: 2204.007 --- fc00:0:0:1::11 tcpbench statistics --- 1648892024 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2193.021/2199.073/2204.007/3.523 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.040 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.040/0.040/0.040/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.042 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.042/0.042/0.042/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 941635848 7533.087 100.00% Conn: 1 Mbps: 7533.087 Peak Mbps: 7533.087 Avg Mbps: 7533.087 2000 945345624 7570.335 100.00% Conn: 1 Mbps: 7570.335 Peak Mbps: 7570.335 Avg Mbps: 7570.335 3000 946420040 7571.360 100.00% Conn: 1 Mbps: 7571.360 Peak Mbps: 7571.360 Avg Mbps: 7571.360 4000 945309424 7562.475 100.00% Conn: 1 Mbps: 7562.475 Peak Mbps: 7571.360 Avg Mbps: 7562.475 5000 945862560 7566.900 100.00% Conn: 1 Mbps: 7566.900 Peak Mbps: 7571.360 Avg Mbps: 7566.900 --- 169.254.1.12 tcpbench statistics --- 5667079592 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7533.087/7560.832/7571.360/14.216 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 958874868 7670.999 100.00% Conn: 1 Mbps: 7670.999 Peak Mbps: 7670.999 Avg Mbps: 7670.999 2000 956698596 7661.250 100.00% Conn: 1 Mbps: 7661.250 Peak Mbps: 7670.999 Avg Mbps: 7661.250 3000 957349764 7658.798 100.00% Conn: 1 Mbps: 7658.798 Peak Mbps: 7670.999 Avg Mbps: 7658.798 4000 957826716 7662.614 100.00% Conn: 1 Mbps: 7662.614 Peak Mbps: 7670.999 Avg Mbps: 7662.614 5000 957856704 7670.524 100.00% Conn: 1 Mbps: 7670.524 Peak Mbps: 7670.999 Avg Mbps: 7670.524 --- fc00:0:0:1::12 tcpbench statistics --- 5746269144 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7658.798/7664.837/7670.999/4.992 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.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-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.045 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-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 1384405030 11075.240 100.00% Conn: 1 Mbps: 11075.240 Peak Mbps: 11075.240 Avg Mbps: 11075.240 2000 1375838664 11017.727 100.00% Conn: 1 Mbps: 11017.727 Peak Mbps: 11075.240 Avg Mbps: 11017.727 3000 1338117116 10704.937 100.00% Conn: 1 Mbps: 10704.937 Peak Mbps: 11075.240 Avg Mbps: 10704.937 4000 1388794200 11110.354 100.00% Conn: 1 Mbps: 11110.354 Peak Mbps: 11110.354 Avg Mbps: 11110.354 5000 1405446644 11243.573 100.00% Conn: 1 Mbps: 11243.573 Peak Mbps: 11243.573 Avg Mbps: 11243.573 --- 169.254.0.13 tcpbench statistics --- 8279073018 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10704.937/11030.366/11243.573/178.848 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 1325349532 10602.796 100.00% Conn: 1 Mbps: 10602.796 Peak Mbps: 10602.796 Avg Mbps: 10602.796 2000 1281748592 10264.253 100.00% Conn: 1 Mbps: 10264.253 Peak Mbps: 10602.796 Avg Mbps: 10264.253 3000 1286620296 10292.962 100.00% Conn: 1 Mbps: 10292.962 Peak Mbps: 10602.796 Avg Mbps: 10292.962 4000 1278740560 10229.924 100.00% Conn: 1 Mbps: 10229.924 Peak Mbps: 10602.796 Avg Mbps: 10229.924 5000 1289987984 10319.904 100.00% Conn: 1 Mbps: 10319.904 Peak Mbps: 10602.796 Avg Mbps: 10319.904 --- fc00::13 tcpbench statistics --- 7795560972 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10229.924/10341.968/10602.796/133.801 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.046 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.046/0.046/0.046/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.052 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.052/0.052/0.052/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 278672752 2229.382 100.00% Conn: 1 Mbps: 2229.382 Peak Mbps: 2229.382 Avg Mbps: 2229.382 2000 278766000 2230.128 100.00% Conn: 1 Mbps: 2230.128 Peak Mbps: 2230.128 Avg Mbps: 2230.128 3001 278967280 2231.738 100.00% Conn: 1 Mbps: 2231.738 Peak Mbps: 2231.738 Avg Mbps: 2231.738 4001 278524632 2228.197 100.00% Conn: 1 Mbps: 2228.197 Peak Mbps: 2231.738 Avg Mbps: 2228.197 5001 278105384 2224.843 100.00% Conn: 1 Mbps: 2224.843 Peak Mbps: 2231.738 Avg Mbps: 2224.843 --- 169.254.1.11 tcpbench statistics --- 1670583672 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2224.843/2228.858/2231.738/2.313 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 435348624 3482.789 100.00% Conn: 1 Mbps: 3482.789 Peak Mbps: 3482.789 Avg Mbps: 3482.789 2000 432999648 3463.997 100.00% Conn: 1 Mbps: 3463.997 Peak Mbps: 3482.789 Avg Mbps: 3463.997 3000 433033064 3467.732 100.00% Conn: 1 Mbps: 3467.732 Peak Mbps: 3482.789 Avg Mbps: 3467.732 4001 432974104 3463.793 100.00% Conn: 1 Mbps: 3463.793 Peak Mbps: 3482.789 Avg Mbps: 3463.793 5001 432863760 3462.910 100.00% Conn: 1 Mbps: 3462.910 Peak Mbps: 3482.789 Avg Mbps: 3462.910 --- fc00:0:0:1::11 tcpbench statistics --- 2600430304 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3462.910/3468.244/3482.789/7.458 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.042 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.042/0.042/0.042/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.047 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.047/0.047/0.047/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 1336426376 10691.411 100.00% Conn: 1 Mbps: 10691.411 Peak Mbps: 10691.411 Avg Mbps: 10691.411 2000 1352413840 10830.141 100.00% Conn: 1 Mbps: 10830.141 Peak Mbps: 10830.141 Avg Mbps: 10830.141 3000 1374791752 10998.334 100.00% Conn: 1 Mbps: 10998.334 Peak Mbps: 10998.334 Avg Mbps: 10998.334 4000 1360265848 10882.127 100.00% Conn: 1 Mbps: 10882.127 Peak Mbps: 10998.334 Avg Mbps: 10882.127 5000 1366547320 10932.379 100.00% Conn: 1 Mbps: 10932.379 Peak Mbps: 10998.334 Avg Mbps: 10932.379 --- 169.254.1.12 tcpbench statistics --- 8134352984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10691.411/10866.878/10998.334/103.867 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 1328080620 10624.645 100.00% Conn: 1 Mbps: 10624.645 Peak Mbps: 10624.645 Avg Mbps: 10624.645 2000 1270664648 10175.493 100.00% Conn: 1 Mbps: 10175.493 Peak Mbps: 10624.645 Avg Mbps: 10175.493 3000 1302052808 10416.422 100.00% Conn: 1 Mbps: 10416.422 Peak Mbps: 10624.645 Avg Mbps: 10416.422 4000 1309147840 10473.183 100.00% Conn: 1 Mbps: 10473.183 Peak Mbps: 10624.645 Avg Mbps: 10473.183 5000 1278184728 10225.478 100.00% Conn: 1 Mbps: 10225.478 Peak Mbps: 10624.645 Avg Mbps: 10225.478 --- fc00:0:0:1::12 tcpbench statistics --- 7807218068 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10175.493/10383.044/10624.645/164.630 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.038 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.038/0.038/0.038/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.044 ms --- fc00::13 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-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 1408562338 11268.499 100.00% Conn: 1 Mbps: 11268.499 Peak Mbps: 11268.499 Avg Mbps: 11268.499 2000 1420005264 11371.414 100.00% Conn: 1 Mbps: 11371.414 Peak Mbps: 11371.414 Avg Mbps: 11371.414 3000 1416177492 11329.420 100.00% Conn: 1 Mbps: 11329.420 Peak Mbps: 11371.414 Avg Mbps: 11329.420 4000 1415817616 11326.541 100.00% Conn: 1 Mbps: 11326.541 Peak Mbps: 11371.414 Avg Mbps: 11326.541 5000 1418140452 11345.124 100.00% Conn: 1 Mbps: 11345.124 Peak Mbps: 11371.414 Avg Mbps: 11345.124 --- 169.254.0.13 tcpbench statistics --- 8495076950 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11268.499/11328.199/11371.414/33.830 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 1423400804 11387.206 100.00% Conn: 1 Mbps: 11387.206 Peak Mbps: 11387.206 Avg Mbps: 11387.206 2000 1427311184 11429.919 100.00% Conn: 1 Mbps: 11429.919 Peak Mbps: 11429.919 Avg Mbps: 11429.919 3000 1434438912 11475.511 100.00% Conn: 1 Mbps: 11475.511 Peak Mbps: 11475.511 Avg Mbps: 11475.511 4000 1424760896 11398.087 100.00% Conn: 1 Mbps: 11398.087 Peak Mbps: 11475.511 Avg Mbps: 11398.087 5000 1420346936 11374.150 100.00% Conn: 1 Mbps: 11374.150 Peak Mbps: 11475.511 Avg Mbps: 11374.150 --- fc00::13 tcpbench statistics --- 8561329956 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11374.150/11412.975/11475.511/36.307 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 1m51.86s