START sys/net/pair 2025-01-30T02:27:42Z ==== 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.037 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.037/0.037/0.037/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 857740212 6861.922 100.00% Conn: 1 Mbps: 6861.922 Peak Mbps: 6861.922 Avg Mbps: 6861.922 2000 853782108 6837.094 100.00% Conn: 1 Mbps: 6837.094 Peak Mbps: 6861.922 Avg Mbps: 6837.094 3000 853495980 6827.968 100.00% Conn: 1 Mbps: 6827.968 Peak Mbps: 6861.922 Avg Mbps: 6827.968 4000 851787160 6814.297 100.00% Conn: 1 Mbps: 6814.297 Peak Mbps: 6861.922 Avg Mbps: 6814.297 5000 854211300 6833.690 100.00% Conn: 1 Mbps: 6833.690 Peak Mbps: 6861.922 Avg Mbps: 6833.690 --- 169.254.1.11 tcpbench statistics --- 5125164476 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6814.297/6834.994/6861.922/15.549 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 885042280 7080.338 100.00% Conn: 1 Mbps: 7080.338 Peak Mbps: 7080.338 Avg Mbps: 7080.338 2000 887515816 7107.234 100.00% Conn: 1 Mbps: 7107.234 Peak Mbps: 7107.234 Avg Mbps: 7107.234 3000 884360472 7074.884 100.00% Conn: 1 Mbps: 7074.884 Peak Mbps: 7107.234 Avg Mbps: 7074.884 4000 885375256 7083.002 100.00% Conn: 1 Mbps: 7083.002 Peak Mbps: 7107.234 Avg Mbps: 7083.002 5000 886651664 7093.213 100.00% Conn: 1 Mbps: 7093.213 Peak Mbps: 7107.234 Avg Mbps: 7093.213 --- fc00:0:0:1::11 tcpbench statistics --- 5314606152 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7074.884/7087.734/7107.234/11.423 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.067 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.067/0.067/0.067/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.125 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.125/0.125/0.125/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 375311936 3002.495 100.00% Conn: 1 Mbps: 3002.495 Peak Mbps: 3002.495 Avg Mbps: 3002.495 2001 381157376 3049.259 100.00% Conn: 1 Mbps: 3049.259 Peak Mbps: 3049.259 Avg Mbps: 3049.259 3001 381157376 3049.259 100.00% Conn: 1 Mbps: 3049.259 Peak Mbps: 3049.259 Avg Mbps: 3049.259 4002 384619616 3076.957 100.00% Conn: 1 Mbps: 3076.957 Peak Mbps: 3076.957 Avg Mbps: 3076.957 5002 384040960 3072.328 100.00% Conn: 1 Mbps: 3072.328 Peak Mbps: 3076.957 Avg Mbps: 3072.328 --- 169.254.1.12 tcpbench statistics --- 2287476608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3002.495/3050.060/3076.957/26.393 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 356262360 2847.252 100.00% Conn: 1 Mbps: 2847.252 Peak Mbps: 2847.252 Avg Mbps: 2847.252 2001 362283008 2898.264 100.00% Conn: 1 Mbps: 2898.264 Peak Mbps: 2898.264 Avg Mbps: 2898.264 3001 362745656 2901.965 100.00% Conn: 1 Mbps: 2901.965 Peak Mbps: 2901.965 Avg Mbps: 2901.965 4002 364904448 2919.236 100.00% Conn: 1 Mbps: 2919.236 Peak Mbps: 2919.236 Avg Mbps: 2919.236 5002 368050176 2944.401 100.00% Conn: 1 Mbps: 2944.401 Peak Mbps: 2944.401 Avg Mbps: 2944.401 --- fc00:0:0:1::12 tcpbench statistics --- 2184917264 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2847.252/2902.224/2944.401/31.956 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.059 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.059/0.059/0.059/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.069 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.069/0.069/0.069/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 729689704 5837.518 100.00% Conn: 1 Mbps: 5837.518 Peak Mbps: 5837.518 Avg Mbps: 5837.518 2000 772561496 6180.492 100.00% Conn: 1 Mbps: 6180.492 Peak Mbps: 6180.492 Avg Mbps: 6180.492 3000 772978348 6183.827 100.00% Conn: 1 Mbps: 6183.827 Peak Mbps: 6183.827 Avg Mbps: 6183.827 4000 777354140 6218.833 100.00% Conn: 1 Mbps: 6218.833 Peak Mbps: 6218.833 Avg Mbps: 6218.833 5001 767379400 6139.035 100.00% Conn: 1 Mbps: 6139.035 Peak Mbps: 6218.833 Avg Mbps: 6139.035 --- 169.254.0.13 tcpbench statistics --- 4593335000 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5837.518/6111.941/6218.833/139.524 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 676847152 5414.777 100.00% Conn: 1 Mbps: 5414.777 Peak Mbps: 5414.777 Avg Mbps: 5414.777 2000 705264872 5647.767 100.00% Conn: 1 Mbps: 5647.767 Peak Mbps: 5647.767 Avg Mbps: 5647.767 3000 704006920 5632.055 100.00% Conn: 1 Mbps: 5632.055 Peak Mbps: 5647.767 Avg Mbps: 5632.055 4001 696395496 5571.164 100.00% Conn: 1 Mbps: 5571.164 Peak Mbps: 5647.767 Avg Mbps: 5571.164 5001 696935144 5575.481 100.00% Conn: 1 Mbps: 5575.481 Peak Mbps: 5647.767 Avg Mbps: 5575.481 --- fc00::13 tcpbench statistics --- 4181506216 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5414.777/5568.249/5647.767/82.473 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.042 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.042/0.042/0.042/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.050 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.050/0.050/0.050/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 371729304 2970.864 100.00% Conn: 1 Mbps: 2970.864 Peak Mbps: 2970.864 Avg Mbps: 2970.864 2001 386400256 3091.202 100.00% Conn: 1 Mbps: 3091.202 Peak Mbps: 3091.202 Avg Mbps: 3091.202 3002 385875968 3087.008 100.00% Conn: 1 Mbps: 3087.008 Peak Mbps: 3091.202 Avg Mbps: 3087.008 4002 379060224 3032.482 100.00% Conn: 1 Mbps: 3032.482 Peak Mbps: 3091.202 Avg Mbps: 3032.482 5002 381419520 3051.356 100.00% Conn: 1 Mbps: 3051.356 Peak Mbps: 3091.202 Avg Mbps: 3051.356 --- 169.254.1.11 tcpbench statistics --- 2289836952 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2970.864/3046.582/3091.202/43.772 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 360063520 2877.631 100.00% Conn: 1 Mbps: 2877.631 Peak Mbps: 2877.631 Avg Mbps: 2877.631 2001 371720192 2973.762 100.00% Conn: 1 Mbps: 2973.762 Peak Mbps: 2973.762 Avg Mbps: 2973.762 3001 370147328 2961.179 100.00% Conn: 1 Mbps: 2961.179 Peak Mbps: 2973.762 Avg Mbps: 2961.179 4002 374341632 2994.733 100.00% Conn: 1 Mbps: 2994.733 Peak Mbps: 2994.733 Avg Mbps: 2994.733 5002 376700928 3013.607 100.00% Conn: 1 Mbps: 3013.607 Peak Mbps: 3013.607 Avg Mbps: 3013.607 --- fc00:0:0:1::11 tcpbench statistics --- 2218402336 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2877.631/2964.182/3013.607/46.836 Mbps ==== run-ping-2-2 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.038 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.038/0.038/0.038/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.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 841600768 6732.806 100.00% Conn: 1 Mbps: 6732.806 Peak Mbps: 6732.806 Avg Mbps: 6732.806 2000 840577032 6731.348 100.00% Conn: 1 Mbps: 6731.348 Peak Mbps: 6732.806 Avg Mbps: 6731.348 3000 836483536 6691.868 100.00% Conn: 1 Mbps: 6691.868 Peak Mbps: 6732.806 Avg Mbps: 6691.868 4000 840941928 6727.535 100.00% Conn: 1 Mbps: 6727.535 Peak Mbps: 6732.806 Avg Mbps: 6727.535 5000 839056632 6712.453 100.00% Conn: 1 Mbps: 6712.453 Peak Mbps: 6732.806 Avg Mbps: 6712.453 --- 169.254.1.12 tcpbench statistics --- 5040569088 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6691.868/6719.202/6732.806/15.458 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 847175280 6777.402 100.00% Conn: 1 Mbps: 6777.402 Peak Mbps: 6777.402 Avg Mbps: 6777.402 2000 847216692 6784.518 100.00% Conn: 1 Mbps: 6784.518 Peak Mbps: 6784.518 Avg Mbps: 6784.518 3000 846529824 6772.239 100.00% Conn: 1 Mbps: 6772.239 Peak Mbps: 6784.518 Avg Mbps: 6772.239 4000 845297460 6762.380 100.00% Conn: 1 Mbps: 6762.380 Peak Mbps: 6784.518 Avg Mbps: 6762.380 5000 844594884 6756.759 100.00% Conn: 1 Mbps: 6756.759 Peak Mbps: 6784.518 Avg Mbps: 6756.759 --- fc00:0:0:1::12 tcpbench statistics --- 5074886376 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6756.759/6770.660/6784.518/10.018 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.046 ms --- fc00::13 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-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 1258168036 10065.344 100.00% Conn: 1 Mbps: 10065.344 Peak Mbps: 10065.344 Avg Mbps: 10065.344 2000 1263328340 10116.743 100.00% Conn: 1 Mbps: 10116.743 Peak Mbps: 10116.743 Avg Mbps: 10116.743 3000 1266060126 10128.481 100.00% Conn: 1 Mbps: 10128.481 Peak Mbps: 10128.481 Avg Mbps: 10128.481 4000 1267548704 10140.390 100.00% Conn: 1 Mbps: 10140.390 Peak Mbps: 10140.390 Avg Mbps: 10140.390 5000 1268562900 10148.503 100.00% Conn: 1 Mbps: 10148.503 Peak Mbps: 10148.503 Avg Mbps: 10148.503 --- 169.254.0.13 tcpbench statistics --- 7590856934 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10065.344/10119.892/10148.503/29.319 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 1119621908 8956.975 100.00% Conn: 1 Mbps: 8956.975 Peak Mbps: 8956.975 Avg Mbps: 8956.975 2000 1129189056 9042.555 100.00% Conn: 1 Mbps: 9042.555 Peak Mbps: 9042.555 Avg Mbps: 9042.555 3000 1127881216 9023.050 100.00% Conn: 1 Mbps: 9023.050 Peak Mbps: 9042.555 Avg Mbps: 9023.050 4000 1134256936 9074.055 100.00% Conn: 1 Mbps: 9074.055 Peak Mbps: 9074.055 Avg Mbps: 9074.055 5000 1137722712 9101.782 100.00% Conn: 1 Mbps: 9101.782 Peak Mbps: 9101.782 Avg Mbps: 9101.782 --- fc00::13 tcpbench statistics --- 6782732588 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8956.975/9039.683/9101.782/49.322 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.055 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.055/0.055/0.055/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 372367200 2975.962 100.00% Conn: 1 Mbps: 2975.962 Peak Mbps: 2975.962 Avg Mbps: 2975.962 2001 380108800 3040.870 100.00% Conn: 1 Mbps: 3040.870 Peak Mbps: 3040.870 Avg Mbps: 3040.870 3002 379584512 3036.676 100.00% Conn: 1 Mbps: 3036.676 Peak Mbps: 3040.870 Avg Mbps: 3036.676 4002 376673880 3016.407 100.00% Conn: 1 Mbps: 3016.407 Peak Mbps: 3040.870 Avg Mbps: 3016.407 5002 378273792 3026.190 100.00% Conn: 1 Mbps: 3026.190 Peak Mbps: 3040.870 Avg Mbps: 3026.190 --- 169.254.1.11 tcpbench statistics --- 2266330552 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2975.962/3019.221/3040.870/23.243 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 821971000 6575.768 100.00% Conn: 1 Mbps: 6575.768 Peak Mbps: 6575.768 Avg Mbps: 6575.768 2000 859308032 6874.464 100.00% Conn: 1 Mbps: 6874.464 Peak Mbps: 6874.464 Avg Mbps: 6874.464 3000 862776192 6902.210 100.00% Conn: 1 Mbps: 6902.210 Peak Mbps: 6902.210 Avg Mbps: 6902.210 4000 853106512 6824.852 100.00% Conn: 1 Mbps: 6824.852 Peak Mbps: 6902.210 Avg Mbps: 6824.852 5000 868483072 6947.865 100.00% Conn: 1 Mbps: 6947.865 Peak Mbps: 6947.865 Avg Mbps: 6947.865 --- fc00:0:0:1::11 tcpbench statistics --- 5127739024 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6575.768/6825.032/6947.865/130.859 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.049 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.049/0.049/0.049/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 1254780410 10038.243 100.00% Conn: 1 Mbps: 10038.243 Peak Mbps: 10038.243 Avg Mbps: 10038.243 2000 1263017538 10114.255 100.00% Conn: 1 Mbps: 10114.255 Peak Mbps: 10114.255 Avg Mbps: 10114.255 3000 1259516926 10076.135 100.00% Conn: 1 Mbps: 10076.135 Peak Mbps: 10114.255 Avg Mbps: 10076.135 4000 1265193152 10121.545 100.00% Conn: 1 Mbps: 10121.545 Peak Mbps: 10121.545 Avg Mbps: 10121.545 5000 1262379576 10099.037 100.00% Conn: 1 Mbps: 10099.037 Peak Mbps: 10121.545 Avg Mbps: 10099.037 --- 169.254.1.12 tcpbench statistics --- 7567054524 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10038.243/10089.843/10121.545/30.119 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 1081821012 8654.568 100.00% Conn: 1 Mbps: 8654.568 Peak Mbps: 8654.568 Avg Mbps: 8654.568 2000 1082335688 8667.353 100.00% Conn: 1 Mbps: 8667.353 Peak Mbps: 8667.353 Avg Mbps: 8667.353 3000 1081976032 8655.808 100.00% Conn: 1 Mbps: 8655.808 Peak Mbps: 8667.353 Avg Mbps: 8655.808 4000 1081420200 8651.362 100.00% Conn: 1 Mbps: 8651.362 Peak Mbps: 8667.353 Avg Mbps: 8651.362 5000 1082302992 8658.424 100.00% Conn: 1 Mbps: 8658.424 Peak Mbps: 8667.353 Avg Mbps: 8658.424 --- fc00:0:0:1::12 tcpbench statistics --- 6492453180 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8651.362/8657.503/8667.353/5.423 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.044 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-tcpbench-3-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 1276646566 10213.173 100.00% Conn: 1 Mbps: 10213.173 Peak Mbps: 10213.173 Avg Mbps: 10213.173 2000 1278050540 10234.639 100.00% Conn: 1 Mbps: 10234.639 Peak Mbps: 10234.639 Avg Mbps: 10234.639 3000 1277118134 10216.945 100.00% Conn: 1 Mbps: 10216.945 Peak Mbps: 10234.639 Avg Mbps: 10216.945 4000 1277330788 10218.646 100.00% Conn: 1 Mbps: 10218.646 Peak Mbps: 10234.639 Avg Mbps: 10218.646 5000 1279522760 10236.182 100.00% Conn: 1 Mbps: 10236.182 Peak Mbps: 10236.182 Avg Mbps: 10236.182 --- 169.254.0.13 tcpbench statistics --- 7667291858 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10213.173/10223.917/10236.182/9.563 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 1296022196 10368.178 100.00% Conn: 1 Mbps: 10368.178 Peak Mbps: 10368.178 Avg Mbps: 10368.178 2000 1296363704 10381.291 100.00% Conn: 1 Mbps: 10381.291 Peak Mbps: 10381.291 Avg Mbps: 10381.291 3000 1297246496 10377.972 100.00% Conn: 1 Mbps: 10377.972 Peak Mbps: 10381.291 Avg Mbps: 10377.972 4000 1293257584 10346.061 100.00% Conn: 1 Mbps: 10346.061 Peak Mbps: 10381.291 Avg Mbps: 10346.061 5000 1298652424 10389.219 100.00% Conn: 1 Mbps: 10389.219 Peak Mbps: 10389.219 Avg Mbps: 10389.219 --- fc00::13 tcpbench statistics --- 7778036892 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10346.061/10372.544/10389.219/14.863 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.93s