START sys/net/pair 2025-02-19T02:44:58Z ==== 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.039 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.039/0.039/0.039/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.046 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.046/0.046/0.046/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 939405912 7515.247 100.00% Conn: 1 Mbps: 7515.247 Peak Mbps: 7515.247 Avg Mbps: 7515.247 2000 941130628 7536.582 100.00% Conn: 1 Mbps: 7536.582 Peak Mbps: 7536.582 Avg Mbps: 7536.582 3000 940526580 7524.213 100.00% Conn: 1 Mbps: 7524.213 Peak Mbps: 7536.582 Avg Mbps: 7524.213 4000 940319932 7522.559 100.00% Conn: 1 Mbps: 7522.559 Peak Mbps: 7536.582 Avg Mbps: 7522.559 5000 941281640 7530.253 100.00% Conn: 1 Mbps: 7530.253 Peak Mbps: 7536.582 Avg Mbps: 7530.253 --- 169.254.1.11 tcpbench statistics --- 5645710788 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7515.247/7525.771/7536.582/7.217 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 943328936 7546.631 100.00% Conn: 1 Mbps: 7546.631 Peak Mbps: 7546.631 Avg Mbps: 7546.631 2000 943424072 7554.948 100.00% Conn: 1 Mbps: 7554.948 Peak Mbps: 7554.948 Avg Mbps: 7554.948 3000 943376504 7547.012 100.00% Conn: 1 Mbps: 7547.012 Peak Mbps: 7554.948 Avg Mbps: 7547.012 4000 941061528 7528.492 100.00% Conn: 1 Mbps: 7528.492 Peak Mbps: 7554.948 Avg Mbps: 7528.492 5000 940657200 7525.258 100.00% Conn: 1 Mbps: 7525.258 Peak Mbps: 7554.948 Avg Mbps: 7525.258 --- fc00:0:0:1::11 tcpbench statistics --- 5652489584 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7525.258/7540.468/7554.948/11.535 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.064 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.064/0.064/0.064/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.124 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.124/0.124/0.124/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 369233392 2950.916 100.00% Conn: 1 Mbps: 2950.916 Peak Mbps: 2950.916 Avg Mbps: 2950.916 2001 382362800 3058.902 100.00% Conn: 1 Mbps: 3058.902 Peak Mbps: 3058.902 Avg Mbps: 3058.902 3001 383254528 3066.036 100.00% Conn: 1 Mbps: 3066.036 Peak Mbps: 3066.036 Avg Mbps: 3066.036 4002 385351680 3082.813 100.00% Conn: 1 Mbps: 3082.813 Peak Mbps: 3082.813 Avg Mbps: 3082.813 5002 387448832 3099.591 100.00% Conn: 1 Mbps: 3099.591 Peak Mbps: 3099.591 Avg Mbps: 3099.591 --- 169.254.1.12 tcpbench statistics --- 2293265056 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2950.916/3051.652/3099.591/52.300 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 348201960 2785.616 100.00% Conn: 1 Mbps: 2785.616 Peak Mbps: 2785.616 Avg Mbps: 2785.616 2001 359137280 2873.098 100.00% Conn: 1 Mbps: 2873.098 Peak Mbps: 2873.098 Avg Mbps: 2873.098 3001 366739456 2933.916 100.00% Conn: 1 Mbps: 2933.916 Peak Mbps: 2933.916 Avg Mbps: 2933.916 4001 366739456 2933.916 100.00% Conn: 1 Mbps: 2933.916 Peak Mbps: 2933.916 Avg Mbps: 2933.916 5002 366477312 2931.818 100.00% Conn: 1 Mbps: 2931.818 Peak Mbps: 2933.916 Avg Mbps: 2931.818 --- fc00:0:0:1::12 tcpbench statistics --- 2173510632 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2785.616/2891.673/2933.916/57.920 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.056 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.056/0.056/0.056/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.064 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.064/0.064/0.064/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 736238996 5889.912 100.00% Conn: 1 Mbps: 5889.912 Peak Mbps: 5889.912 Avg Mbps: 5889.912 2000 779253712 6240.270 100.00% Conn: 1 Mbps: 6240.270 Peak Mbps: 6240.270 Avg Mbps: 6240.270 3000 778911248 6231.290 100.00% Conn: 1 Mbps: 6231.290 Peak Mbps: 6240.270 Avg Mbps: 6231.290 4001 788004600 6304.037 100.00% Conn: 1 Mbps: 6304.037 Peak Mbps: 6304.037 Avg Mbps: 6304.037 5000 783586744 6274.969 100.00% Conn: 1 Mbps: 6274.969 Peak Mbps: 6304.037 Avg Mbps: 6274.969 --- 169.254.0.13 tcpbench statistics --- 4651336900 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5889.912/6188.096/6304.037/151.321 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 665666592 5325.333 100.00% Conn: 1 Mbps: 5325.333 Peak Mbps: 5325.333 Avg Mbps: 5325.333 2001 699654448 5597.236 100.00% Conn: 1 Mbps: 5597.236 Peak Mbps: 5597.236 Avg Mbps: 5597.236 3001 694738568 5557.909 100.00% Conn: 1 Mbps: 5557.909 Peak Mbps: 5597.236 Avg Mbps: 5557.909 4001 696846896 5574.775 100.00% Conn: 1 Mbps: 5574.775 Peak Mbps: 5597.236 Avg Mbps: 5574.775 5001 699380896 5595.047 100.00% Conn: 1 Mbps: 5595.047 Peak Mbps: 5597.236 Avg Mbps: 5595.047 --- fc00::13 tcpbench statistics --- 4155561824 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5325.333/5530.060/5597.236/103.367 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 1001 371381320 2968.082 100.00% Conn: 1 Mbps: 2968.082 Peak Mbps: 2968.082 Avg Mbps: 2968.082 2001 389021696 3112.174 100.00% Conn: 1 Mbps: 3112.174 Peak Mbps: 3112.174 Avg Mbps: 3112.174 3001 387448832 3099.591 100.00% Conn: 1 Mbps: 3099.591 Peak Mbps: 3112.174 Avg Mbps: 3099.591 4001 376176640 3009.413 100.00% Conn: 1 Mbps: 3009.413 Peak Mbps: 3112.174 Avg Mbps: 3009.413 5001 384218960 3076.829 100.00% Conn: 1 Mbps: 3076.829 Peak Mbps: 3112.174 Avg Mbps: 3076.829 --- 169.254.1.11 tcpbench statistics --- 2294123416 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2968.082/3053.218/3112.174/55.409 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 349072880 2789.793 100.00% Conn: 1 Mbps: 2789.793 Peak Mbps: 2789.793 Avg Mbps: 2789.793 2001 365690880 2925.527 100.00% Conn: 1 Mbps: 2925.527 Peak Mbps: 2925.527 Avg Mbps: 2925.527 3002 367788032 2942.304 100.00% Conn: 1 Mbps: 2942.304 Peak Mbps: 2942.304 Avg Mbps: 2942.304 4002 361758720 2894.070 100.00% Conn: 1 Mbps: 2894.070 Peak Mbps: 2942.304 Avg Mbps: 2894.070 5002 358875136 2871.001 100.00% Conn: 1 Mbps: 2871.001 Peak Mbps: 2942.304 Avg Mbps: 2871.001 --- fc00:0:0:1::11 tcpbench statistics --- 2161536496 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2789.793/2884.539/2942.304/53.419 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.037 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.037/0.037/0.037/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.045 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.045/0.045/0.045/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 926594024 7412.752 100.00% Conn: 1 Mbps: 7412.752 Peak Mbps: 7412.752 Avg Mbps: 7412.752 2000 925041768 7407.742 100.00% Conn: 1 Mbps: 7407.742 Peak Mbps: 7412.752 Avg Mbps: 7407.742 3000 922698904 7381.591 100.00% Conn: 1 Mbps: 7381.591 Peak Mbps: 7412.752 Avg Mbps: 7381.591 4000 922846600 7382.773 100.00% Conn: 1 Mbps: 7382.773 Peak Mbps: 7412.752 Avg Mbps: 7382.773 5000 925431280 7403.450 100.00% Conn: 1 Mbps: 7403.450 Peak Mbps: 7412.752 Avg Mbps: 7403.450 --- 169.254.1.12 tcpbench statistics --- 5545312928 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7381.591/7397.662/7412.752/12.983 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 927902976 7423.224 100.00% Conn: 1 Mbps: 7423.224 Peak Mbps: 7423.224 Avg Mbps: 7423.224 2000 930748980 7453.445 100.00% Conn: 1 Mbps: 7453.445 Peak Mbps: 7453.445 Avg Mbps: 7453.445 3000 929523756 7443.634 100.00% Conn: 1 Mbps: 7443.634 Peak Mbps: 7453.445 Avg Mbps: 7443.634 4000 934149048 7473.192 100.00% Conn: 1 Mbps: 7473.192 Peak Mbps: 7473.192 Avg Mbps: 7473.192 5000 931120260 7448.962 100.00% Conn: 1 Mbps: 7448.962 Peak Mbps: 7473.192 Avg Mbps: 7448.962 --- fc00:0:0:1::12 tcpbench statistics --- 5584269684 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7423.224/7448.491/7473.192/16.106 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.040 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.040/0.040/0.040/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.047 ms --- fc00::13 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-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 1271282026 10170.256 100.00% Conn: 1 Mbps: 10170.256 Peak Mbps: 10170.256 Avg Mbps: 10170.256 2000 1274811656 10208.702 100.00% Conn: 1 Mbps: 10208.702 Peak Mbps: 10208.702 Avg Mbps: 10208.702 3000 1275204248 10201.634 100.00% Conn: 1 Mbps: 10201.634 Peak Mbps: 10208.702 Avg Mbps: 10201.634 4000 1273879250 10191.034 100.00% Conn: 1 Mbps: 10191.034 Peak Mbps: 10208.702 Avg Mbps: 10191.034 5000 1274484496 10195.876 100.00% Conn: 1 Mbps: 10195.876 Peak Mbps: 10208.702 Avg Mbps: 10195.876 --- 169.254.0.13 tcpbench statistics --- 7644342468 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10170.256/10193.500/10208.702/13.033 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 1262543796 10100.350 100.00% Conn: 1 Mbps: 10100.350 Peak Mbps: 10100.350 Avg Mbps: 10100.350 2000 1266152600 10139.360 100.00% Conn: 1 Mbps: 10139.360 Peak Mbps: 10139.360 Avg Mbps: 10139.360 3000 1265629464 10135.171 100.00% Conn: 1 Mbps: 10135.171 Peak Mbps: 10139.360 Avg Mbps: 10135.171 4000 1266937304 10135.498 100.00% Conn: 1 Mbps: 10135.498 Peak Mbps: 10139.360 Avg Mbps: 10135.498 5000 1270566560 10164.532 100.00% Conn: 1 Mbps: 10164.532 Peak Mbps: 10164.532 Avg Mbps: 10164.532 --- fc00::13 tcpbench statistics --- 7600663396 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10100.350/10134.982/10164.532/20.455 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.047 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.047/0.047/0.047/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.056 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.056/0.056/0.056/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 376925744 3012.394 100.00% Conn: 1 Mbps: 3012.394 Peak Mbps: 3012.394 Avg Mbps: 3012.394 2001 378783352 3030.267 100.00% Conn: 1 Mbps: 3030.267 Peak Mbps: 3030.267 Avg Mbps: 3030.267 3001 386138112 3092.197 100.00% Conn: 1 Mbps: 3092.197 Peak Mbps: 3092.197 Avg Mbps: 3092.197 4002 383516672 3068.133 100.00% Conn: 1 Mbps: 3068.133 Peak Mbps: 3092.197 Avg Mbps: 3068.133 5002 379846656 3038.773 100.00% Conn: 1 Mbps: 3038.773 Peak Mbps: 3092.197 Avg Mbps: 3038.773 --- 169.254.1.11 tcpbench statistics --- 2286367912 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 3012.394/3048.353/3092.197/28.374 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 844434664 6755.477 100.00% Conn: 1 Mbps: 6755.477 Peak Mbps: 6755.477 Avg Mbps: 6755.477 2000 906387688 7251.102 100.00% Conn: 1 Mbps: 7251.102 Peak Mbps: 7251.102 Avg Mbps: 7251.102 3000 921044584 7368.357 100.00% Conn: 1 Mbps: 7368.357 Peak Mbps: 7368.357 Avg Mbps: 7368.357 4000 913355080 7306.841 100.00% Conn: 1 Mbps: 7306.841 Peak Mbps: 7368.357 Avg Mbps: 7306.841 5000 880804144 7046.433 100.00% Conn: 1 Mbps: 7046.433 Peak Mbps: 7368.357 Avg Mbps: 7046.433 --- fc00:0:0:1::11 tcpbench statistics --- 5370083312 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6755.477/7145.642/7368.357/223.060 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.043 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-ping6-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.048 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.048/0.048/0.048/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 1280444690 10243.558 100.00% Conn: 1 Mbps: 10243.558 Peak Mbps: 10243.558 Avg Mbps: 10243.558 2000 1280929548 10257.694 100.00% Conn: 1 Mbps: 10257.694 Peak Mbps: 10257.694 Avg Mbps: 10257.694 3000 1281911028 10255.288 100.00% Conn: 1 Mbps: 10255.288 Peak Mbps: 10257.694 Avg Mbps: 10255.288 4000 1280438808 10243.510 100.00% Conn: 1 Mbps: 10243.510 Peak Mbps: 10257.694 Avg Mbps: 10243.510 5000 1281420288 10251.362 100.00% Conn: 1 Mbps: 10251.362 Peak Mbps: 10257.694 Avg Mbps: 10251.362 --- 169.254.1.12 tcpbench statistics --- 7686728230 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10243.510/10250.283/10257.694/5.869 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 1266028620 10128.229 100.00% Conn: 1 Mbps: 10128.229 Peak Mbps: 10128.229 Avg Mbps: 10128.229 2000 1268866368 10161.092 100.00% Conn: 1 Mbps: 10161.092 Peak Mbps: 10161.092 Avg Mbps: 10161.092 3000 1269585680 10156.685 100.00% Conn: 1 Mbps: 10156.685 Peak Mbps: 10161.092 Avg Mbps: 10156.685 4000 1268997152 10151.977 100.00% Conn: 1 Mbps: 10151.977 Peak Mbps: 10161.092 Avg Mbps: 10151.977 5000 1264419712 10115.358 100.00% Conn: 1 Mbps: 10115.358 Peak Mbps: 10161.092 Avg Mbps: 10115.358 --- fc00:0:0:1::12 tcpbench statistics --- 7607417820 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10115.358/10142.668/10161.092/17.759 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.040 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.040/0.040/0.040/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.043 ms --- fc00::13 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-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 1270422784 10163.382 100.00% Conn: 1 Mbps: 10163.382 Peak Mbps: 10163.382 Avg Mbps: 10163.382 2000 1266076484 10138.751 100.00% Conn: 1 Mbps: 10138.751 Peak Mbps: 10163.382 Avg Mbps: 10138.751 3000 1265683892 10125.471 100.00% Conn: 1 Mbps: 10125.471 Peak Mbps: 10163.382 Avg Mbps: 10125.471 4000 1269462590 10155.701 100.00% Conn: 1 Mbps: 10155.701 Peak Mbps: 10163.382 Avg Mbps: 10155.701 5000 1271409192 10171.274 100.00% Conn: 1 Mbps: 10171.274 Peak Mbps: 10171.274 Avg Mbps: 10171.274 --- 169.254.0.13 tcpbench statistics --- 7609720314 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10125.471/10150.916/10171.274/16.662 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 1289086644 10312.693 100.00% Conn: 1 Mbps: 10312.693 Peak Mbps: 10312.693 Avg Mbps: 10312.693 2000 1293322976 10356.941 100.00% Conn: 1 Mbps: 10356.941 Peak Mbps: 10356.941 Avg Mbps: 10356.941 3000 1288941712 10311.534 100.00% Conn: 1 Mbps: 10311.534 Peak Mbps: 10356.941 Avg Mbps: 10311.534 4000 1292799840 10342.399 100.00% Conn: 1 Mbps: 10342.399 Peak Mbps: 10356.941 Avg Mbps: 10342.399 5000 1291328520 10330.628 100.00% Conn: 1 Mbps: 10330.628 Peak Mbps: 10356.941 Avg Mbps: 10330.628 --- fc00::13 tcpbench statistics --- 7746710124 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10311.534/10330.839/10356.941/17.418 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.91s