START sys/net/pair 2025-02-07T01:45:51Z ==== 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.035 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.035/0.035/0.035/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.041 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.041/0.041/0.041/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 926418880 7411.351 100.00% Conn: 1 Mbps: 7411.351 Peak Mbps: 7411.351 Avg Mbps: 7411.351 2000 929041720 7439.774 100.00% Conn: 1 Mbps: 7439.774 Peak Mbps: 7439.774 Avg Mbps: 7439.774 3000 931624820 7452.999 100.00% Conn: 1 Mbps: 7452.999 Peak Mbps: 7452.999 Avg Mbps: 7452.999 4000 928350244 7434.236 100.00% Conn: 1 Mbps: 7434.236 Peak Mbps: 7452.999 Avg Mbps: 7434.236 5000 927301108 7418.409 100.00% Conn: 1 Mbps: 7418.409 Peak Mbps: 7452.999 Avg Mbps: 7418.409 --- 169.254.1.11 tcpbench statistics --- 5571873868 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7411.351/7431.354/7452.999/14.936 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 940776120 7526.209 100.00% Conn: 1 Mbps: 7526.209 Peak Mbps: 7526.209 Avg Mbps: 7526.209 2000 941997032 7543.520 100.00% Conn: 1 Mbps: 7543.520 Peak Mbps: 7543.520 Avg Mbps: 7543.520 3000 940340080 7522.721 100.00% Conn: 1 Mbps: 7522.721 Peak Mbps: 7543.520 Avg Mbps: 7522.721 4000 941339008 7530.712 100.00% Conn: 1 Mbps: 7530.712 Peak Mbps: 7543.520 Avg Mbps: 7530.712 5000 939214304 7513.714 100.00% Conn: 1 Mbps: 7513.714 Peak Mbps: 7543.520 Avg Mbps: 7513.714 --- fc00:0:0:1::11 tcpbench statistics --- 5643602296 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7513.714/7527.375/7543.520/9.812 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.120 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.120/0.120/0.120/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 376750576 3010.994 100.00% Conn: 1 Mbps: 3010.994 Peak Mbps: 3010.994 Avg Mbps: 3010.994 2001 388099144 3104.793 100.00% Conn: 1 Mbps: 3104.793 Peak Mbps: 3104.793 Avg Mbps: 3104.793 3001 384303104 3074.425 100.00% Conn: 1 Mbps: 3074.425 Peak Mbps: 3104.793 Avg Mbps: 3074.425 4002 385678280 3085.426 100.00% Conn: 1 Mbps: 3085.426 Peak Mbps: 3104.793 Avg Mbps: 3085.426 5002 387448832 3099.591 100.00% Conn: 1 Mbps: 3099.591 Peak Mbps: 3104.793 Avg Mbps: 3099.591 --- 169.254.1.12 tcpbench statistics --- 2307369472 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3010.994/3075.046/3104.793/33.758 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 350945864 2804.762 100.00% Conn: 1 Mbps: 2804.762 Peak Mbps: 2804.762 Avg Mbps: 2804.762 2001 365690880 2928.455 100.00% Conn: 1 Mbps: 2928.455 Peak Mbps: 2928.455 Avg Mbps: 2928.455 3001 367001600 2936.013 100.00% Conn: 1 Mbps: 2936.013 Peak Mbps: 2936.013 Avg Mbps: 2936.013 4001 367263744 2938.110 100.00% Conn: 1 Mbps: 2938.110 Peak Mbps: 2938.110 Avg Mbps: 2938.110 5002 362141160 2897.129 100.00% Conn: 1 Mbps: 2897.129 Peak Mbps: 2938.110 Avg Mbps: 2897.129 --- fc00:0:0:1::12 tcpbench statistics --- 2176741280 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2804.762/2900.894/2938.110/50.266 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.055 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.055/0.055/0.055/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.062 ms --- fc00::13 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-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 740301796 5922.414 100.00% Conn: 1 Mbps: 5922.414 Peak Mbps: 5922.414 Avg Mbps: 5922.414 2000 776432172 6217.675 100.00% Conn: 1 Mbps: 6217.675 Peak Mbps: 6217.675 Avg Mbps: 6217.675 3000 776145764 6209.166 100.00% Conn: 1 Mbps: 6209.166 Peak Mbps: 6217.675 Avg Mbps: 6209.166 4000 786375400 6291.003 100.00% Conn: 1 Mbps: 6291.003 Peak Mbps: 6291.003 Avg Mbps: 6291.003 5001 788815016 6310.520 100.00% Conn: 1 Mbps: 6310.520 Peak Mbps: 6310.520 Avg Mbps: 6310.520 --- 169.254.0.13 tcpbench statistics --- 4656967248 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5922.414/6190.156/6310.520/139.615 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 657517648 5260.141 100.00% Conn: 1 Mbps: 5260.141 Peak Mbps: 5260.141 Avg Mbps: 5260.141 2000 685993464 5487.948 100.00% Conn: 1 Mbps: 5487.948 Peak Mbps: 5487.948 Avg Mbps: 5487.948 3000 686524640 5497.695 100.00% Conn: 1 Mbps: 5497.695 Peak Mbps: 5497.695 Avg Mbps: 5497.695 4001 686708024 5493.664 100.00% Conn: 1 Mbps: 5493.664 Peak Mbps: 5497.695 Avg Mbps: 5493.664 5001 686525112 5497.699 100.00% Conn: 1 Mbps: 5497.699 Peak Mbps: 5497.699 Avg Mbps: 5497.699 --- fc00::13 tcpbench statistics --- 4089199968 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5260.141/5447.429/5497.699/93.712 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.044 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.044/0.044/0.044/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 376293112 3010.345 100.00% Conn: 1 Mbps: 3010.345 Peak Mbps: 3010.345 Avg Mbps: 3010.345 2001 391643136 3133.145 100.00% Conn: 1 Mbps: 3133.145 Peak Mbps: 3133.145 Avg Mbps: 3133.145 3001 392167424 3137.339 100.00% Conn: 1 Mbps: 3137.339 Peak Mbps: 3137.339 Avg Mbps: 3137.339 4001 388548536 3108.388 100.00% Conn: 1 Mbps: 3108.388 Peak Mbps: 3137.339 Avg Mbps: 3108.388 5002 383955960 3071.648 100.00% Conn: 1 Mbps: 3071.648 Peak Mbps: 3137.339 Avg Mbps: 3071.648 --- 169.254.1.11 tcpbench statistics --- 2317173416 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 3010.345/3092.173/3137.339/47.114 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 352228032 2817.824 100.00% Conn: 1 Mbps: 2817.824 Peak Mbps: 2817.824 Avg Mbps: 2817.824 2000 358644568 2872.029 100.00% Conn: 1 Mbps: 2872.029 Peak Mbps: 2872.029 Avg Mbps: 2872.029 3001 362283008 2898.264 100.00% Conn: 1 Mbps: 2898.264 Peak Mbps: 2898.264 Avg Mbps: 2898.264 4001 362020864 2896.167 100.00% Conn: 1 Mbps: 2896.167 Peak Mbps: 2898.264 Avg Mbps: 2896.167 5002 360448000 2883.584 100.00% Conn: 1 Mbps: 2883.584 Peak Mbps: 2898.264 Avg Mbps: 2883.584 --- fc00:0:0:1::11 tcpbench statistics --- 2153713176 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2817.824/2873.574/2898.264/29.430 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.036 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.036/0.036/0.036/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.038 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.038/0.038/0.038/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 924154144 7393.233 100.00% Conn: 1 Mbps: 7393.233 Peak Mbps: 7393.233 Avg Mbps: 7393.233 2000 928072432 7432.011 100.00% Conn: 1 Mbps: 7432.011 Peak Mbps: 7432.011 Avg Mbps: 7432.011 3000 927596040 7420.768 100.00% Conn: 1 Mbps: 7420.768 Peak Mbps: 7432.011 Avg Mbps: 7420.768 4000 927318024 7418.544 100.00% Conn: 1 Mbps: 7418.544 Peak Mbps: 7432.011 Avg Mbps: 7418.544 5000 926531760 7412.254 100.00% Conn: 1 Mbps: 7412.254 Peak Mbps: 7432.011 Avg Mbps: 7412.254 --- 169.254.1.12 tcpbench statistics --- 5560613944 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7393.233/7415.362/7432.011/12.774 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 928475604 7427.805 100.00% Conn: 1 Mbps: 7427.805 Peak Mbps: 7427.805 Avg Mbps: 7427.805 2000 925678152 7412.838 100.00% Conn: 1 Mbps: 7412.838 Peak Mbps: 7427.805 Avg Mbps: 7412.838 3000 925368276 7402.946 100.00% Conn: 1 Mbps: 7402.946 Peak Mbps: 7427.805 Avg Mbps: 7402.946 4000 925876644 7407.013 100.00% Conn: 1 Mbps: 7407.013 Peak Mbps: 7427.805 Avg Mbps: 7407.013 5000 925042692 7400.342 100.00% Conn: 1 Mbps: 7400.342 Peak Mbps: 7427.805 Avg Mbps: 7400.342 --- fc00:0:0:1::12 tcpbench statistics --- 5554777200 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7400.342/7410.189/7427.805/9.766 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.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-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.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-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 1258032606 10064.261 100.00% Conn: 1 Mbps: 10064.261 Peak Mbps: 10064.261 Avg Mbps: 10064.261 2000 1261038220 10098.404 100.00% Conn: 1 Mbps: 10098.404 Peak Mbps: 10098.404 Avg Mbps: 10098.404 3000 1260449332 10083.595 100.00% Conn: 1 Mbps: 10083.595 Peak Mbps: 10098.404 Avg Mbps: 10083.595 4000 1260547480 10084.380 100.00% Conn: 1 Mbps: 10084.380 Peak Mbps: 10098.404 Avg Mbps: 10084.380 5000 1260612912 10084.903 100.00% Conn: 1 Mbps: 10084.903 Peak Mbps: 10098.404 Avg Mbps: 10084.903 --- 169.254.0.13 tcpbench statistics --- 7561604264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10064.261/10083.109/10098.404/10.902 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 1168124084 9344.993 100.00% Conn: 1 Mbps: 9344.993 Peak Mbps: 9344.993 Avg Mbps: 9344.993 2000 1177742616 9431.372 100.00% Conn: 1 Mbps: 9431.372 Peak Mbps: 9431.372 Avg Mbps: 9431.372 3000 1169339744 9354.718 100.00% Conn: 1 Mbps: 9354.718 Peak Mbps: 9431.372 Avg Mbps: 9354.718 4000 1170418712 9363.350 100.00% Conn: 1 Mbps: 9363.350 Peak Mbps: 9431.372 Avg Mbps: 9363.350 5000 1166724064 9333.793 100.00% Conn: 1 Mbps: 9333.793 Peak Mbps: 9431.372 Avg Mbps: 9333.793 --- fc00::13 tcpbench statistics --- 7015869076 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9333.793/9365.645/9431.372/34.310 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.044 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.044/0.044/0.044/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.051 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.051/0.051/0.051/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 378771912 3027.148 100.00% Conn: 1 Mbps: 3027.148 Peak Mbps: 3027.148 Avg Mbps: 3027.148 2001 388759552 3110.076 100.00% Conn: 1 Mbps: 3110.076 Peak Mbps: 3110.076 Avg Mbps: 3110.076 3001 385552176 3084.417 100.00% Conn: 1 Mbps: 3084.417 Peak Mbps: 3110.076 Avg Mbps: 3084.417 4002 386138112 3089.105 100.00% Conn: 1 Mbps: 3089.105 Peak Mbps: 3110.076 Avg Mbps: 3089.105 5002 384827392 3078.619 100.00% Conn: 1 Mbps: 3078.619 Peak Mbps: 3110.076 Avg Mbps: 3078.619 --- 169.254.1.11 tcpbench statistics --- 2308203656 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 3027.148/3077.873/3110.076/27.494 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 856999256 6855.994 100.00% Conn: 1 Mbps: 6855.994 Peak Mbps: 6855.994 Avg Mbps: 6855.994 2000 903638544 7229.108 100.00% Conn: 1 Mbps: 7229.108 Peak Mbps: 7229.108 Avg Mbps: 7229.108 3000 912321560 7298.572 100.00% Conn: 1 Mbps: 7298.572 Peak Mbps: 7298.572 Avg Mbps: 7298.572 4000 922915176 7383.321 100.00% Conn: 1 Mbps: 7383.321 Peak Mbps: 7383.321 Avg Mbps: 7383.321 5001 892620176 7140.961 100.00% Conn: 1 Mbps: 7140.961 Peak Mbps: 7383.321 Avg Mbps: 7140.961 --- fc00:0:0:1::11 tcpbench statistics --- 5385497448 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6855.994/7181.592/7383.321/181.274 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.038 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.038/0.038/0.038/0.000 ms ==== run-ping6-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.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-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 1257614578 10060.917 100.00% Conn: 1 Mbps: 10060.917 Peak Mbps: 10060.917 Avg Mbps: 10060.917 2000 1262019700 10106.264 100.00% Conn: 1 Mbps: 10106.264 Peak Mbps: 10106.264 Avg Mbps: 10106.264 3000 1259795012 10078.360 100.00% Conn: 1 Mbps: 10078.360 Peak Mbps: 10106.264 Avg Mbps: 10078.360 4000 1262739452 10101.916 100.00% Conn: 1 Mbps: 10101.916 Peak Mbps: 10106.264 Avg Mbps: 10101.916 5000 1261070936 10088.567 100.00% Conn: 1 Mbps: 10088.567 Peak Mbps: 10106.264 Avg Mbps: 10088.567 --- 169.254.1.12 tcpbench statistics --- 7564997650 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10060.917/10087.205/10106.264/16.437 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 1242776076 9942.209 100.00% Conn: 1 Mbps: 9942.209 Peak Mbps: 9942.209 Avg Mbps: 9942.209 2000 1243886624 9961.054 100.00% Conn: 1 Mbps: 9961.054 Peak Mbps: 9961.054 Avg Mbps: 9961.054 3000 1241565208 9932.522 100.00% Conn: 1 Mbps: 9932.522 Peak Mbps: 9961.054 Avg Mbps: 9932.522 4000 1245096376 9960.771 100.00% Conn: 1 Mbps: 9960.771 Peak Mbps: 9961.054 Avg Mbps: 9960.771 5000 1246371520 9970.972 100.00% Conn: 1 Mbps: 9970.972 Peak Mbps: 9970.972 Avg Mbps: 9970.972 --- fc00:0:0:1::12 tcpbench statistics --- 7465642276 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9932.522/9953.505/9970.972/14.020 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.039 ms --- fc00::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-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 1263651236 10109.210 100.00% Conn: 1 Mbps: 10109.210 Peak Mbps: 10109.210 Avg Mbps: 10109.210 2000 1266469076 10141.895 100.00% Conn: 1 Mbps: 10141.895 Peak Mbps: 10141.895 Avg Mbps: 10141.895 3000 1274173694 10193.390 100.00% Conn: 1 Mbps: 10193.390 Peak Mbps: 10193.390 Avg Mbps: 10193.390 4000 1271883574 10175.069 100.00% Conn: 1 Mbps: 10175.069 Peak Mbps: 10193.390 Avg Mbps: 10175.069 5000 1270983884 10167.871 100.00% Conn: 1 Mbps: 10167.871 Peak Mbps: 10193.390 Avg Mbps: 10167.871 --- 169.254.0.13 tcpbench statistics --- 7614955538 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10109.210/10157.487/10193.390/29.257 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 1287096044 10296.768 100.00% Conn: 1 Mbps: 10296.768 Peak Mbps: 10296.768 Avg Mbps: 10296.768 2000 1288157008 10315.572 100.00% Conn: 1 Mbps: 10315.572 Peak Mbps: 10315.572 Avg Mbps: 10315.572 3000 1290739992 10325.920 100.00% Conn: 1 Mbps: 10325.920 Peak Mbps: 10325.920 Avg Mbps: 10325.920 4000 1287535784 10300.286 100.00% Conn: 1 Mbps: 10300.286 Peak Mbps: 10325.920 Avg Mbps: 10300.286 5000 1285802896 10286.423 100.00% Conn: 1 Mbps: 10286.423 Peak Mbps: 10325.920 Avg Mbps: 10286.423 --- fc00::13 tcpbench statistics --- 7728567700 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10286.423/10304.994/10325.920/14.032 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.80s