START sys/net/pair 2025-02-20T02:46:40Z ==== 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.045 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.045/0.045/0.045/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 930782332 7446.259 100.00% Conn: 1 Mbps: 7446.259 Peak Mbps: 7446.259 Avg Mbps: 7446.259 2000 929486808 7443.338 100.00% Conn: 1 Mbps: 7443.338 Peak Mbps: 7446.259 Avg Mbps: 7443.338 3000 928970188 7431.762 100.00% Conn: 1 Mbps: 7431.762 Peak Mbps: 7446.259 Avg Mbps: 7431.762 4000 930074960 7440.600 100.00% Conn: 1 Mbps: 7440.600 Peak Mbps: 7446.259 Avg Mbps: 7440.600 5000 931147940 7449.184 100.00% Conn: 1 Mbps: 7449.184 Peak Mbps: 7449.184 Avg Mbps: 7449.184 --- 169.254.1.11 tcpbench statistics --- 5581451208 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7431.762/7442.228/7449.184/5.968 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 927243024 7417.944 100.00% Conn: 1 Mbps: 7417.944 Peak Mbps: 7417.944 Avg Mbps: 7417.944 2000 928004112 7431.464 100.00% Conn: 1 Mbps: 7431.464 Peak Mbps: 7431.464 Avg Mbps: 7431.464 3000 929645208 7437.162 100.00% Conn: 1 Mbps: 7437.162 Peak Mbps: 7437.162 Avg Mbps: 7437.162 4000 928812768 7430.502 100.00% Conn: 1 Mbps: 7430.502 Peak Mbps: 7437.162 Avg Mbps: 7430.502 5000 928162672 7425.301 100.00% Conn: 1 Mbps: 7425.301 Peak Mbps: 7437.162 Avg Mbps: 7425.301 --- fc00:0:0:1::11 tcpbench statistics --- 5569911536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7417.944/7428.475/7437.162/6.473 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.063 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.063/0.063/0.063/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.128 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.128/0.128/0.128/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 369912624 2956.345 100.00% Conn: 1 Mbps: 2956.345 Peak Mbps: 2956.345 Avg Mbps: 2956.345 2001 382205952 3057.648 100.00% Conn: 1 Mbps: 3057.648 Peak Mbps: 3057.648 Avg Mbps: 3057.648 3002 381681664 3053.453 100.00% Conn: 1 Mbps: 3053.453 Peak Mbps: 3057.648 Avg Mbps: 3053.453 4002 381943808 3055.550 100.00% Conn: 1 Mbps: 3055.550 Peak Mbps: 3057.648 Avg Mbps: 3055.550 5003 383551808 3068.414 100.00% Conn: 1 Mbps: 3068.414 Peak Mbps: 3068.414 Avg Mbps: 3068.414 --- 169.254.1.12 tcpbench statistics --- 2280191088 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2956.345/3038.282/3068.414/41.292 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1001 350942404 2804.734 100.00% Conn: 1 Mbps: 2804.734 Peak Mbps: 2804.734 Avg Mbps: 2804.734 2002 361017576 2888.141 100.00% Conn: 1 Mbps: 2888.141 Peak Mbps: 2888.141 Avg Mbps: 2888.141 3002 359923712 2879.390 100.00% Conn: 1 Mbps: 2879.390 Peak Mbps: 2888.141 Avg Mbps: 2879.390 4002 359647320 2877.179 100.00% Conn: 1 Mbps: 2877.179 Peak Mbps: 2888.141 Avg Mbps: 2877.179 5003 358612992 2868.904 100.00% Conn: 1 Mbps: 2868.904 Peak Mbps: 2888.141 Avg Mbps: 2868.904 --- fc00:0:0:1::12 tcpbench statistics --- 2148494852 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2804.734/2863.669/2888.141/30.097 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.068 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.068/0.068/0.068/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 728815564 5830.525 100.00% Conn: 1 Mbps: 5830.525 Peak Mbps: 5830.525 Avg Mbps: 5830.525 2000 771925236 6175.402 100.00% Conn: 1 Mbps: 6175.402 Peak Mbps: 6175.402 Avg Mbps: 6175.402 3000 787202132 6297.617 100.00% Conn: 1 Mbps: 6297.617 Peak Mbps: 6297.617 Avg Mbps: 6297.617 4000 785922084 6287.377 100.00% Conn: 1 Mbps: 6287.377 Peak Mbps: 6297.617 Avg Mbps: 6287.377 5001 787326788 6298.614 100.00% Conn: 1 Mbps: 6298.614 Peak Mbps: 6298.614 Avg Mbps: 6298.614 --- 169.254.0.13 tcpbench statistics --- 4651103924 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5830.525/6177.907/6298.614/179.758 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 654283544 5234.268 100.00% Conn: 1 Mbps: 5234.268 Peak Mbps: 5234.268 Avg Mbps: 5234.268 2000 683332992 5466.664 100.00% Conn: 1 Mbps: 5466.664 Peak Mbps: 5466.664 Avg Mbps: 5466.664 3000 692129736 5542.580 100.00% Conn: 1 Mbps: 5542.580 Peak Mbps: 5542.580 Avg Mbps: 5542.580 4000 686580656 5492.645 100.00% Conn: 1 Mbps: 5492.645 Peak Mbps: 5542.580 Avg Mbps: 5492.645 5000 688857032 5510.856 100.00% Conn: 1 Mbps: 5510.856 Peak Mbps: 5542.580 Avg Mbps: 5510.856 --- fc00::13 tcpbench statistics --- 4093422608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5234.268/5449.403/5542.580/110.371 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.043 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.043/0.043/0.043/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.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-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 370893648 2967.149 100.00% Conn: 1 Mbps: 2967.149 Peak Mbps: 2967.149 Avg Mbps: 2967.149 2000 380895232 3050.212 100.00% Conn: 1 Mbps: 3050.212 Peak Mbps: 3050.212 Avg Mbps: 3050.212 3001 384565248 3076.522 100.00% Conn: 1 Mbps: 3076.522 Peak Mbps: 3076.522 Avg Mbps: 3076.522 4001 383254528 3066.036 100.00% Conn: 1 Mbps: 3066.036 Peak Mbps: 3076.522 Avg Mbps: 3066.036 5001 386400256 3091.202 100.00% Conn: 1 Mbps: 3091.202 Peak Mbps: 3091.202 Avg Mbps: 3091.202 --- 169.254.1.11 tcpbench statistics --- 2292933456 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2967.149/3050.224/3091.202/43.640 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 347776116 2779.429 100.00% Conn: 1 Mbps: 2779.429 Peak Mbps: 2779.429 Avg Mbps: 2779.429 2001 356777984 2857.081 100.00% Conn: 1 Mbps: 2857.081 Peak Mbps: 2857.081 Avg Mbps: 2857.081 3001 356777984 2854.224 100.00% Conn: 1 Mbps: 2854.224 Peak Mbps: 2857.081 Avg Mbps: 2854.224 4001 361496576 2891.973 100.00% Conn: 1 Mbps: 2891.973 Peak Mbps: 2891.973 Avg Mbps: 2891.973 5002 351797248 2814.378 100.00% Conn: 1 Mbps: 2814.378 Peak Mbps: 2891.973 Avg Mbps: 2814.378 --- fc00:0:0:1::11 tcpbench statistics --- 2125374580 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2779.429/2839.417/2891.973/38.778 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.039 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.039/0.039/0.039/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.043 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.043/0.043/0.043/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 929526224 7436.210 100.00% Conn: 1 Mbps: 7436.210 Peak Mbps: 7436.210 Avg Mbps: 7436.210 2000 928747200 7437.415 100.00% Conn: 1 Mbps: 7437.415 Peak Mbps: 7437.415 Avg Mbps: 7437.415 3000 928823944 7438.030 100.00% Conn: 1 Mbps: 7438.030 Peak Mbps: 7438.030 Avg Mbps: 7438.030 4000 928415608 7427.325 100.00% Conn: 1 Mbps: 7427.325 Peak Mbps: 7438.030 Avg Mbps: 7427.325 5000 925927944 7407.424 100.00% Conn: 1 Mbps: 7407.424 Peak Mbps: 7438.030 Avg Mbps: 7407.424 --- 169.254.1.12 tcpbench statistics --- 5569708832 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7407.424/7429.281/7438.030/11.596 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 929025384 7432.203 100.00% Conn: 1 Mbps: 7432.203 Peak Mbps: 7432.203 Avg Mbps: 7432.203 2000 925980888 7415.262 100.00% Conn: 1 Mbps: 7415.262 Peak Mbps: 7432.203 Avg Mbps: 7415.262 3000 924794220 7398.354 100.00% Conn: 1 Mbps: 7398.354 Peak Mbps: 7432.203 Avg Mbps: 7398.354 4000 925042692 7400.342 100.00% Conn: 1 Mbps: 7400.342 Peak Mbps: 7432.203 Avg Mbps: 7400.342 5000 924401520 7395.212 100.00% Conn: 1 Mbps: 7395.212 Peak Mbps: 7432.203 Avg Mbps: 7395.212 --- fc00:0:0:1::12 tcpbench statistics --- 5548876704 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7395.212/7408.275/7432.203/13.809 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.042 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.042/0.042/0.042/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.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-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 1271480112 10171.841 100.00% Conn: 1 Mbps: 10171.841 Peak Mbps: 10171.841 Avg Mbps: 10171.841 2000 1273666596 10199.532 100.00% Conn: 1 Mbps: 10199.532 Peak Mbps: 10199.532 Avg Mbps: 10199.532 3000 1273503016 10188.024 100.00% Conn: 1 Mbps: 10188.024 Peak Mbps: 10199.532 Avg Mbps: 10188.024 4000 1275171532 10201.372 100.00% Conn: 1 Mbps: 10201.372 Peak Mbps: 10201.372 Avg Mbps: 10201.372 5000 1274484496 10195.876 100.00% Conn: 1 Mbps: 10195.876 Peak Mbps: 10201.372 Avg Mbps: 10195.876 --- 169.254.0.13 tcpbench statistics --- 7644393332 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10171.841/10191.329/10201.372/10.766 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 1245592468 9964.740 100.00% Conn: 1 Mbps: 9964.740 Peak Mbps: 9964.740 Avg Mbps: 9964.740 2000 1250752784 10016.038 100.00% Conn: 1 Mbps: 10016.038 Peak Mbps: 10016.038 Avg Mbps: 10016.038 3000 1250458520 10003.668 100.00% Conn: 1 Mbps: 10003.668 Peak Mbps: 10016.038 Avg Mbps: 10003.668 4000 1249608424 9996.867 100.00% Conn: 1 Mbps: 9996.867 Peak Mbps: 10016.038 Avg Mbps: 9996.867 5000 1248365976 9986.928 100.00% Conn: 1 Mbps: 9986.928 Peak Mbps: 10016.038 Avg Mbps: 9986.928 --- fc00::13 tcpbench statistics --- 7492163268 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9964.740/9993.648/10016.038/17.280 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.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-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 374377808 2995.022 100.00% Conn: 1 Mbps: 2995.022 Peak Mbps: 2995.022 Avg Mbps: 2995.022 2001 381157376 3049.259 100.00% Conn: 1 Mbps: 3049.259 Peak Mbps: 3049.259 Avg Mbps: 3049.259 3002 379584512 3036.676 100.00% Conn: 1 Mbps: 3036.676 Peak Mbps: 3049.259 Avg Mbps: 3036.676 4002 383516672 3068.133 100.00% Conn: 1 Mbps: 3068.133 Peak Mbps: 3068.133 Avg Mbps: 3068.133 5003 380108800 3040.870 100.00% Conn: 1 Mbps: 3040.870 Peak Mbps: 3068.133 Avg Mbps: 3040.870 --- 169.254.1.11 tcpbench statistics --- 2279640400 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2995.022/3037.992/3068.133/24.049 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 838866920 6710.935 100.00% Conn: 1 Mbps: 6710.935 Peak Mbps: 6710.935 Avg Mbps: 6710.935 2000 906245912 7257.225 100.00% Conn: 1 Mbps: 7257.225 Peak Mbps: 7257.225 Avg Mbps: 7257.225 3000 895107928 7160.863 100.00% Conn: 1 Mbps: 7160.863 Peak Mbps: 7257.225 Avg Mbps: 7160.863 4000 906757640 7254.061 100.00% Conn: 1 Mbps: 7254.061 Peak Mbps: 7257.225 Avg Mbps: 7254.061 5000 926218136 7409.745 100.00% Conn: 1 Mbps: 7409.745 Peak Mbps: 7409.745 Avg Mbps: 7409.745 --- fc00:0:0:1::11 tcpbench statistics --- 5398564856 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6710.935/7158.566/7409.745/237.622 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.041 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.041/0.041/0.041/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 1278627598 10229.021 100.00% Conn: 1 Mbps: 10229.021 Peak Mbps: 10229.021 Avg Mbps: 10229.021 2000 1277936034 10233.722 100.00% Conn: 1 Mbps: 10233.722 Peak Mbps: 10233.722 Avg Mbps: 10233.722 3000 1277428936 10219.431 100.00% Conn: 1 Mbps: 10219.431 Peak Mbps: 10233.722 Avg Mbps: 10219.431 4000 1276807332 10214.459 100.00% Conn: 1 Mbps: 10214.459 Peak Mbps: 10233.722 Avg Mbps: 10214.459 5000 1276545604 10212.365 100.00% Conn: 1 Mbps: 10212.365 Peak Mbps: 10233.722 Avg Mbps: 10212.365 --- 169.254.1.12 tcpbench statistics --- 7667129992 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10212.365/10221.800/10233.722/8.280 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 1241831564 9934.653 100.00% Conn: 1 Mbps: 9934.653 Peak Mbps: 9934.653 Avg Mbps: 9934.653 2000 1246535000 9982.262 100.00% Conn: 1 Mbps: 9982.262 Peak Mbps: 9982.262 Avg Mbps: 9982.262 3000 1245946472 9967.572 100.00% Conn: 1 Mbps: 9967.572 Peak Mbps: 9982.262 Avg Mbps: 9967.572 4000 1244638632 9957.109 100.00% Conn: 1 Mbps: 9957.109 Peak Mbps: 9982.262 Avg Mbps: 9957.109 5000 1244475152 9955.801 100.00% Conn: 1 Mbps: 9955.801 Peak Mbps: 9982.262 Avg Mbps: 9955.801 --- fc00:0:0:1::12 tcpbench statistics --- 7467346140 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9934.653/9959.479/9982.262/15.621 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.039 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.039/0.039/0.039/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 1265276132 10122.209 100.00% Conn: 1 Mbps: 10122.209 Peak Mbps: 10122.209 Avg Mbps: 10122.209 2000 1266370928 10141.109 100.00% Conn: 1 Mbps: 10141.109 Peak Mbps: 10141.109 Avg Mbps: 10141.109 3000 1263753648 10110.029 100.00% Conn: 1 Mbps: 10110.029 Peak Mbps: 10141.109 Avg Mbps: 10110.029 4000 1266567224 10132.538 100.00% Conn: 1 Mbps: 10132.538 Peak Mbps: 10141.109 Avg Mbps: 10132.538 5000 1266076484 10128.612 100.00% Conn: 1 Mbps: 10128.612 Peak Mbps: 10141.109 Avg Mbps: 10128.612 --- 169.254.0.13 tcpbench statistics --- 7594529850 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10110.029/10126.899/10141.109/10.423 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 1267494068 10139.953 100.00% Conn: 1 Mbps: 10139.953 Peak Mbps: 10139.953 Avg Mbps: 10139.953 2000 1276746104 10224.193 100.00% Conn: 1 Mbps: 10224.193 Peak Mbps: 10224.193 Avg Mbps: 10224.193 3000 1274784344 10198.275 100.00% Conn: 1 Mbps: 10198.275 Peak Mbps: 10224.193 Avg Mbps: 10198.275 4000 1273247632 10185.981 100.00% Conn: 1 Mbps: 10185.981 Peak Mbps: 10224.193 Avg Mbps: 10185.981 5000 1272397536 10179.180 100.00% Conn: 1 Mbps: 10179.180 Peak Mbps: 10224.193 Avg Mbps: 10179.180 --- fc00::13 tcpbench statistics --- 7637296092 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10139.953/10185.516/10224.193/27.478 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.90s