START sys/net/pair 2024-06-16T00:59:06Z ==== 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.272 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.272/0.272/0.272/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.384 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.384/0.384/0.384/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 105692504 845.540 100.00% Conn: 1 Mbps: 845.540 Peak Mbps: 845.540 Avg Mbps: 845.540 2000 105374584 843.841 100.00% Conn: 1 Mbps: 843.841 Peak Mbps: 845.540 Avg Mbps: 843.841 3000 105080508 840.644 100.00% Conn: 1 Mbps: 840.644 Peak Mbps: 845.540 Avg Mbps: 840.644 4000 105191780 841.534 100.00% Conn: 1 Mbps: 841.534 Peak Mbps: 845.540 Avg Mbps: 841.534 5000 104691056 837.528 100.00% Conn: 1 Mbps: 837.528 Peak Mbps: 845.540 Avg Mbps: 837.528 --- 169.254.1.11 tcpbench statistics --- 631063252 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 837.528/841.817/845.540/2.750 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 103722024 829.776 100.00% Conn: 1 Mbps: 829.776 Peak Mbps: 829.776 Avg Mbps: 829.776 2000 101771736 814.174 100.00% Conn: 1 Mbps: 814.174 Peak Mbps: 829.776 Avg Mbps: 814.174 3000 101692456 814.354 100.00% Conn: 1 Mbps: 814.354 Peak Mbps: 829.776 Avg Mbps: 814.354 4000 102009576 816.077 100.00% Conn: 1 Mbps: 816.077 Peak Mbps: 829.776 Avg Mbps: 816.077 5000 101906512 815.252 100.00% Conn: 1 Mbps: 815.252 Peak Mbps: 829.776 Avg Mbps: 815.252 --- fc00:0:0:1::11 tcpbench statistics --- 613698552 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 814.174/817.927/829.776/5.964 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.422 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.422/0.422/0.422/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=1.008 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 = 1.008/1.008/1.008/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 1002 29343720 234.281 100.00% Conn: 1 Mbps: 234.281 Peak Mbps: 234.281 Avg Mbps: 234.281 2006 29521824 235.468 100.00% Conn: 1 Mbps: 235.468 Peak Mbps: 235.468 Avg Mbps: 235.468 3010 29637664 236.157 100.00% Conn: 1 Mbps: 236.157 Peak Mbps: 236.157 Avg Mbps: 236.157 4015 29639112 235.933 100.00% Conn: 1 Mbps: 235.933 Peak Mbps: 236.157 Avg Mbps: 235.933 5012 29461008 236.635 100.00% Conn: 1 Mbps: 236.635 Peak Mbps: 236.635 Avg Mbps: 236.635 --- 169.254.1.12 tcpbench statistics --- 176831208 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 234.281/235.695/236.635/0.800 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 27591816 220.735 100.00% Conn: 1 Mbps: 220.735 Peak Mbps: 220.735 Avg Mbps: 220.735 2001 27673212 221.165 100.00% Conn: 1 Mbps: 221.165 Peak Mbps: 221.165 Avg Mbps: 221.165 3005 27494712 219.300 100.00% Conn: 1 Mbps: 219.300 Peak Mbps: 221.165 Avg Mbps: 219.300 4004 27657504 221.703 100.00% Conn: 1 Mbps: 221.703 Peak Mbps: 221.703 Avg Mbps: 221.703 5006 27638940 220.670 100.00% Conn: 1 Mbps: 220.670 Peak Mbps: 221.703 Avg Mbps: 220.670 --- fc00:0:0:1::12 tcpbench statistics --- 165580884 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 219.300/220.714/221.703/0.798 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.408 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.408/0.408/0.408/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.532 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.532/0.532/0.532/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 45295652 362.365 100.00% Conn: 1 Mbps: 362.365 Peak Mbps: 362.365 Avg Mbps: 362.365 2000 44953888 359.631 100.00% Conn: 1 Mbps: 359.631 Peak Mbps: 362.365 Avg Mbps: 359.631 3000 44930044 359.800 100.00% Conn: 1 Mbps: 359.800 Peak Mbps: 362.365 Avg Mbps: 359.800 4000 44977732 359.822 100.00% Conn: 1 Mbps: 359.822 Peak Mbps: 362.365 Avg Mbps: 359.822 5000 45247964 361.984 100.00% Conn: 1 Mbps: 361.984 Peak Mbps: 362.365 Avg Mbps: 361.984 --- 169.254.0.13 tcpbench statistics --- 270478388 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 359.631/360.720/362.365/1.195 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 1001 39996760 319.654 100.00% Conn: 1 Mbps: 319.654 Peak Mbps: 319.654 Avg Mbps: 319.654 2000 40115680 321.247 100.00% Conn: 1 Mbps: 321.247 Peak Mbps: 321.247 Avg Mbps: 321.247 3000 39877840 319.023 100.00% Conn: 1 Mbps: 319.023 Peak Mbps: 321.247 Avg Mbps: 319.023 4001 39980904 319.847 100.00% Conn: 1 Mbps: 319.847 Peak Mbps: 321.247 Avg Mbps: 319.847 5002 39901624 318.894 100.00% Conn: 1 Mbps: 318.894 Peak Mbps: 321.247 Avg Mbps: 318.894 --- fc00::13 tcpbench statistics --- 239695152 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 318.894/319.733/321.247/0.839 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.311 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.311/0.311/0.311/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.411 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.411/0.411/0.411/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 1004 29585536 235.741 100.00% Conn: 1 Mbps: 235.741 Peak Mbps: 235.741 Avg Mbps: 235.741 2004 29533408 236.504 100.00% Conn: 1 Mbps: 236.504 Peak Mbps: 236.504 Avg Mbps: 236.504 3006 29673864 237.154 100.00% Conn: 1 Mbps: 237.154 Peak Mbps: 237.154 Avg Mbps: 237.154 4004 29540648 237.036 100.00% Conn: 1 Mbps: 237.036 Peak Mbps: 237.154 Avg Mbps: 237.036 5006 29686896 237.258 100.00% Conn: 1 Mbps: 237.258 Peak Mbps: 237.258 Avg Mbps: 237.258 --- 169.254.1.11 tcpbench statistics --- 177477016 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 235.741/236.739/237.258/0.562 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 1002 26984916 215.448 100.00% Conn: 1 Mbps: 215.448 Peak Mbps: 215.448 Avg Mbps: 215.448 2003 27206256 217.433 100.00% Conn: 1 Mbps: 217.433 Peak Mbps: 217.433 Avg Mbps: 217.433 3007 27127716 216.373 100.00% Conn: 1 Mbps: 216.373 Peak Mbps: 217.433 Avg Mbps: 216.373 4011 26936364 214.846 100.00% Conn: 1 Mbps: 214.846 Peak Mbps: 217.433 Avg Mbps: 214.846 5014 27281940 217.603 100.00% Conn: 1 Mbps: 217.603 Peak Mbps: 217.603 Avg Mbps: 217.603 --- fc00:0:0:1::11 tcpbench statistics --- 162256500 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 214.846/216.341/217.603/1.078 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.280 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.280/0.280/0.280/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.362 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.362/0.362/0.362/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 95647640 765.181 100.00% Conn: 1 Mbps: 765.181 Peak Mbps: 765.181 Avg Mbps: 765.181 2000 92910920 744.031 100.00% Conn: 1 Mbps: 744.031 Peak Mbps: 765.181 Avg Mbps: 744.031 3000 92340408 738.723 100.00% Conn: 1 Mbps: 738.723 Peak Mbps: 765.181 Avg Mbps: 738.723 4000 92815352 742.523 100.00% Conn: 1 Mbps: 742.523 Peak Mbps: 765.181 Avg Mbps: 742.523 5001 92504032 740.032 100.00% Conn: 1 Mbps: 740.032 Peak Mbps: 765.181 Avg Mbps: 740.032 --- 169.254.1.12 tcpbench statistics --- 559132168 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 738.723/746.098/765.181/9.720 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 90025404 720.203 100.00% Conn: 1 Mbps: 720.203 Peak Mbps: 720.203 Avg Mbps: 720.203 2000 90193908 722.274 100.00% Conn: 1 Mbps: 722.274 Peak Mbps: 722.274 Avg Mbps: 722.274 3000 88324656 706.597 100.00% Conn: 1 Mbps: 706.597 Peak Mbps: 722.274 Avg Mbps: 706.597 4000 87556392 700.451 100.00% Conn: 1 Mbps: 700.451 Peak Mbps: 722.274 Avg Mbps: 700.451 5000 87146556 697.172 100.00% Conn: 1 Mbps: 697.172 Peak Mbps: 722.274 Avg Mbps: 697.172 --- fc00:0:0:1::12 tcpbench statistics --- 530690496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 697.172/709.340/722.274/10.197 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.303 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.303/0.303/0.303/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.391 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.391/0.391/0.391/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 115798288 926.386 100.00% Conn: 1 Mbps: 926.386 Peak Mbps: 926.386 Avg Mbps: 926.386 2000 98802320 790.419 100.00% Conn: 1 Mbps: 790.419 Peak Mbps: 926.386 Avg Mbps: 790.419 3000 99947380 799.579 100.00% Conn: 1 Mbps: 799.579 Peak Mbps: 926.386 Avg Mbps: 799.579 4001 99489356 795.915 100.00% Conn: 1 Mbps: 795.915 Peak Mbps: 926.386 Avg Mbps: 795.915 5001 100503552 804.028 100.00% Conn: 1 Mbps: 804.028 Peak Mbps: 926.386 Avg Mbps: 804.028 --- 169.254.0.13 tcpbench statistics --- 612590748 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 790.419/823.265/926.386/51.753 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 136408576 1091.269 100.00% Conn: 1 Mbps: 1091.269 Peak Mbps: 1091.269 Avg Mbps: 1091.269 2000 128135624 1026.111 100.00% Conn: 1 Mbps: 1026.111 Peak Mbps: 1091.269 Avg Mbps: 1026.111 3000 128887632 1031.101 100.00% Conn: 1 Mbps: 1031.101 Peak Mbps: 1091.269 Avg Mbps: 1031.101 4000 127481704 1019.854 100.00% Conn: 1 Mbps: 1019.854 Peak Mbps: 1091.269 Avg Mbps: 1019.854 5000 126370040 1010.960 100.00% Conn: 1 Mbps: 1010.960 Peak Mbps: 1091.269 Avg Mbps: 1010.960 --- fc00::13 tcpbench statistics --- 773915184 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1010.960/1035.859/1091.269/28.510 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.339 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.339/0.339/0.339/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.450 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.450/0.450/0.450/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 28388040 226.877 100.00% Conn: 1 Mbps: 226.877 Peak Mbps: 226.877 Avg Mbps: 226.877 2002 28867328 230.939 100.00% Conn: 1 Mbps: 230.939 Peak Mbps: 230.939 Avg Mbps: 230.939 3005 29016472 231.668 100.00% Conn: 1 Mbps: 231.668 Peak Mbps: 231.668 Avg Mbps: 231.668 4007 29038192 231.842 100.00% Conn: 1 Mbps: 231.842 Peak Mbps: 231.842 Avg Mbps: 231.842 5011 29025160 231.507 100.00% Conn: 1 Mbps: 231.507 Peak Mbps: 231.842 Avg Mbps: 231.507 --- 169.254.1.11 tcpbench statistics --- 172959256 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 226.877/230.567/231.842/1.869 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 1004 46703872 372.142 100.00% Conn: 1 Mbps: 372.142 Peak Mbps: 372.142 Avg Mbps: 372.142 2005 46618168 372.945 100.00% Conn: 1 Mbps: 372.945 Peak Mbps: 372.945 Avg Mbps: 372.945 3005 46175688 369.406 100.00% Conn: 1 Mbps: 369.406 Peak Mbps: 372.945 Avg Mbps: 369.406 4005 45846968 366.776 100.00% Conn: 1 Mbps: 366.776 Peak Mbps: 372.945 Avg Mbps: 366.776 5008 45678656 364.700 100.00% Conn: 1 Mbps: 364.700 Peak Mbps: 372.945 Avg Mbps: 364.700 --- fc00:0:0:1::11 tcpbench statistics --- 276201800 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 364.700/369.194/372.945/3.126 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.300 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.300/0.300/0.300/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.392 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.392/0.392/0.392/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 102777632 822.221 100.00% Conn: 1 Mbps: 822.221 Peak Mbps: 822.221 Avg Mbps: 822.221 2000 100176332 801.411 100.00% Conn: 1 Mbps: 801.411 Peak Mbps: 822.221 Avg Mbps: 801.411 3000 98049780 784.398 100.00% Conn: 1 Mbps: 784.398 Peak Mbps: 822.221 Avg Mbps: 784.398 4000 97984372 783.875 100.00% Conn: 1 Mbps: 783.875 Peak Mbps: 822.221 Avg Mbps: 783.875 5000 101386848 811.095 100.00% Conn: 1 Mbps: 811.095 Peak Mbps: 822.221 Avg Mbps: 811.095 --- 169.254.1.12 tcpbench statistics --- 598850124 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 783.875/800.600/822.221/14.970 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 134202584 1073.621 100.00% Conn: 1 Mbps: 1073.621 Peak Mbps: 1073.621 Avg Mbps: 1073.621 2000 127286680 1019.313 100.00% Conn: 1 Mbps: 1019.313 Peak Mbps: 1073.621 Avg Mbps: 1019.313 3000 126173864 1010.401 100.00% Conn: 1 Mbps: 1010.401 Peak Mbps: 1073.621 Avg Mbps: 1010.401 4000 125977688 1007.822 100.00% Conn: 1 Mbps: 1007.822 Peak Mbps: 1073.621 Avg Mbps: 1007.822 5000 125879600 1007.037 100.00% Conn: 1 Mbps: 1007.037 Peak Mbps: 1073.621 Avg Mbps: 1007.037 --- fc00:0:0:1::12 tcpbench statistics --- 764974968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1007.037/1023.639/1073.621/25.369 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.276 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.276/0.276/0.276/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.361 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.361/0.361/0.361/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 103121580 824.973 100.00% Conn: 1 Mbps: 824.973 Peak Mbps: 824.973 Avg Mbps: 824.973 2000 99587444 796.700 100.00% Conn: 1 Mbps: 796.700 Peak Mbps: 824.973 Avg Mbps: 796.700 3000 99718308 797.746 100.00% Conn: 1 Mbps: 797.746 Peak Mbps: 824.973 Avg Mbps: 797.746 4000 99260284 794.877 100.00% Conn: 1 Mbps: 794.877 Peak Mbps: 824.973 Avg Mbps: 794.877 5000 98704112 789.633 100.00% Conn: 1 Mbps: 789.633 Peak Mbps: 824.973 Avg Mbps: 789.633 --- 169.254.0.13 tcpbench statistics --- 599455716 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 789.633/800.786/824.973/12.412 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 142572852 1140.583 100.00% Conn: 1 Mbps: 1140.583 Peak Mbps: 1140.583 Avg Mbps: 1140.583 2000 137355896 1099.947 100.00% Conn: 1 Mbps: 1099.947 Peak Mbps: 1140.583 Avg Mbps: 1099.947 3000 134576736 1076.614 100.00% Conn: 1 Mbps: 1076.614 Peak Mbps: 1140.583 Avg Mbps: 1076.614 4000 135067176 1080.537 100.00% Conn: 1 Mbps: 1080.537 Peak Mbps: 1140.583 Avg Mbps: 1080.537 5000 135753792 1086.030 100.00% Conn: 1 Mbps: 1086.030 Peak Mbps: 1140.583 Avg Mbps: 1086.030 --- fc00::13 tcpbench statistics --- 821276420 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1076.614/1096.742/1140.583/23.301 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 2m11.37s