START sys/net/pair 2024-09-06T00:22:01Z ==== 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.281 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.281/0.281/0.281/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.387 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.387/0.387/0.387/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 104651316 837.211 100.00% Conn: 1 Mbps: 837.211 Peak Mbps: 837.211 Avg Mbps: 837.211 2000 101941048 816.345 100.00% Conn: 1 Mbps: 816.345 Peak Mbps: 837.211 Avg Mbps: 816.345 3000 101631076 813.049 100.00% Conn: 1 Mbps: 813.049 Peak Mbps: 837.211 Avg Mbps: 813.049 4000 101368792 810.950 100.00% Conn: 1 Mbps: 810.950 Peak Mbps: 837.211 Avg Mbps: 810.950 5000 101495960 811.968 100.00% Conn: 1 Mbps: 811.968 Peak Mbps: 837.211 Avg Mbps: 811.968 --- 169.254.1.11 tcpbench statistics --- 612194700 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 810.950/817.904/837.211/9.822 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 102310840 818.487 100.00% Conn: 1 Mbps: 818.487 Peak Mbps: 818.487 Avg Mbps: 818.487 2000 101200920 810.418 100.00% Conn: 1 Mbps: 810.418 Peak Mbps: 818.487 Avg Mbps: 810.418 3000 101549752 812.398 100.00% Conn: 1 Mbps: 812.398 Peak Mbps: 818.487 Avg Mbps: 812.398 4000 101652816 813.223 100.00% Conn: 1 Mbps: 813.223 Peak Mbps: 818.487 Avg Mbps: 813.223 5000 100614248 804.914 100.00% Conn: 1 Mbps: 804.914 Peak Mbps: 818.487 Avg Mbps: 804.914 --- fc00:0:0:1::11 tcpbench statistics --- 607728768 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 804.914/811.888/818.487/4.391 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.423 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.423/0.423/0.423/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.004 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.004/1.004/1.004/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 1004 28703704 228.715 100.00% Conn: 1 Mbps: 228.715 Peak Mbps: 228.715 Avg Mbps: 228.715 2005 28655920 229.247 100.00% Conn: 1 Mbps: 229.247 Peak Mbps: 229.247 Avg Mbps: 229.247 3002 28561800 229.182 100.00% Conn: 1 Mbps: 229.182 Peak Mbps: 229.247 Avg Mbps: 229.182 4003 28803616 230.429 100.00% Conn: 1 Mbps: 230.429 Peak Mbps: 230.429 Avg Mbps: 230.429 5006 28884704 230.386 100.00% Conn: 1 Mbps: 230.386 Peak Mbps: 230.429 Avg Mbps: 230.386 --- 169.254.1.12 tcpbench statistics --- 172217880 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 228.715/229.592/230.429/0.691 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 26683608 213.469 100.00% Conn: 1 Mbps: 213.469 Peak Mbps: 213.469 Avg Mbps: 213.469 2000 26770716 214.166 100.00% Conn: 1 Mbps: 214.166 Peak Mbps: 214.166 Avg Mbps: 214.166 3005 26924940 214.541 100.00% Conn: 1 Mbps: 214.541 Peak Mbps: 214.541 Avg Mbps: 214.541 4004 26793564 214.563 100.00% Conn: 1 Mbps: 214.563 Peak Mbps: 214.563 Avg Mbps: 214.563 5002 26732160 214.286 100.00% Conn: 1 Mbps: 214.286 Peak Mbps: 214.563 Avg Mbps: 214.286 --- fc00:0:0:1::12 tcpbench statistics --- 160721400 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 213.469/214.205/214.563/0.398 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.399 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.399/0.399/0.399/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.533 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.533/0.533/0.533/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 45152588 361.221 100.00% Conn: 1 Mbps: 361.221 Peak Mbps: 361.221 Avg Mbps: 361.221 2000 44930044 359.440 100.00% Conn: 1 Mbps: 359.440 Peak Mbps: 361.221 Avg Mbps: 359.440 3001 44922096 359.377 100.00% Conn: 1 Mbps: 359.377 Peak Mbps: 361.221 Avg Mbps: 359.377 4001 44953888 359.631 100.00% Conn: 1 Mbps: 359.631 Peak Mbps: 361.221 Avg Mbps: 359.631 5001 44945940 359.927 100.00% Conn: 1 Mbps: 359.927 Peak Mbps: 361.221 Avg Mbps: 359.927 --- 169.254.0.13 tcpbench statistics --- 269763068 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 359.377/359.919/361.221/0.678 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 40741992 325.610 100.00% Conn: 1 Mbps: 325.610 Peak Mbps: 325.610 Avg Mbps: 325.610 2000 40028472 320.548 100.00% Conn: 1 Mbps: 320.548 Peak Mbps: 325.610 Avg Mbps: 320.548 3000 39846128 318.769 100.00% Conn: 1 Mbps: 318.769 Peak Mbps: 325.610 Avg Mbps: 318.769 4001 39957120 319.657 100.00% Conn: 1 Mbps: 319.657 Peak Mbps: 325.610 Avg Mbps: 319.657 5001 40044328 320.355 100.00% Conn: 1 Mbps: 320.355 Peak Mbps: 325.610 Avg Mbps: 320.355 --- fc00::13 tcpbench statistics --- 240448312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 318.769/320.988/325.610/2.394 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.315 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.315/0.315/0.315/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.407 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.407/0.407/0.407/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 28744248 229.724 100.00% Conn: 1 Mbps: 229.724 Peak Mbps: 229.724 Avg Mbps: 229.724 2004 28903528 230.537 100.00% Conn: 1 Mbps: 230.537 Peak Mbps: 230.537 Avg Mbps: 230.537 3011 29028056 230.839 100.00% Conn: 1 Mbps: 230.839 Peak Mbps: 230.839 Avg Mbps: 230.839 4011 28768864 230.381 100.00% Conn: 1 Mbps: 230.381 Peak Mbps: 230.839 Avg Mbps: 230.381 5012 28844160 230.523 100.00% Conn: 1 Mbps: 230.523 Peak Mbps: 230.839 Avg Mbps: 230.523 --- 169.254.1.11 tcpbench statistics --- 172810112 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 229.724/230.401/230.839/0.370 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 26710740 213.472 100.00% Conn: 1 Mbps: 213.472 Peak Mbps: 213.472 Avg Mbps: 213.472 2004 26809272 214.046 100.00% Conn: 1 Mbps: 214.046 Peak Mbps: 214.046 Avg Mbps: 214.046 3007 26877816 214.379 100.00% Conn: 1 Mbps: 214.379 Peak Mbps: 214.379 Avg Mbps: 214.379 4010 26883528 214.425 100.00% Conn: 1 Mbps: 214.425 Peak Mbps: 214.425 Avg Mbps: 214.425 5012 26770716 213.952 100.00% Conn: 1 Mbps: 213.952 Peak Mbps: 214.425 Avg Mbps: 213.952 --- fc00:0:0:1::11 tcpbench statistics --- 160548612 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 213.472/214.055/214.425/0.344 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.278 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.278/0.278/0.278/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.352 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.352/0.352/0.352/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 95249440 761.996 100.00% Conn: 1 Mbps: 761.996 Peak Mbps: 761.996 Avg Mbps: 761.996 2000 89686224 718.208 100.00% Conn: 1 Mbps: 718.208 Peak Mbps: 761.996 Avg Mbps: 718.208 3000 89603688 717.547 100.00% Conn: 1 Mbps: 717.547 Peak Mbps: 761.996 Avg Mbps: 717.547 4000 90195920 721.567 100.00% Conn: 1 Mbps: 721.567 Peak Mbps: 761.996 Avg Mbps: 721.567 5000 90240808 722.649 100.00% Conn: 1 Mbps: 722.649 Peak Mbps: 761.996 Avg Mbps: 722.649 --- 169.254.1.12 tcpbench statistics --- 545170552 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 717.547/728.393/761.996/16.912 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 88373208 706.986 100.00% Conn: 1 Mbps: 706.986 Peak Mbps: 706.986 Avg Mbps: 706.986 2000 88538856 709.020 100.00% Conn: 1 Mbps: 709.020 Peak Mbps: 709.020 Avg Mbps: 709.020 3000 88194708 705.558 100.00% Conn: 1 Mbps: 705.558 Peak Mbps: 709.020 Avg Mbps: 705.558 4000 88523148 708.185 100.00% Conn: 1 Mbps: 708.185 Peak Mbps: 709.020 Avg Mbps: 708.185 5000 88179000 705.432 100.00% Conn: 1 Mbps: 705.432 Peak Mbps: 709.020 Avg Mbps: 705.432 --- fc00:0:0:1::12 tcpbench statistics --- 529432428 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 705.432/707.036/709.020/1.415 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.297 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.297/0.297/0.297/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.388 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.388/0.388/0.388/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 137882614 1103.061 100.00% Conn: 1 Mbps: 1103.061 Peak Mbps: 1103.061 Avg Mbps: 1103.061 2000 131354740 1051.890 100.00% Conn: 1 Mbps: 1051.890 Peak Mbps: 1103.061 Avg Mbps: 1051.890 3000 112985122 903.881 100.00% Conn: 1 Mbps: 903.881 Peak Mbps: 1103.061 Avg Mbps: 903.881 4000 93993068 751.945 100.00% Conn: 1 Mbps: 751.945 Peak Mbps: 1103.061 Avg Mbps: 751.945 5001 94647388 757.179 100.00% Conn: 1 Mbps: 757.179 Peak Mbps: 1103.061 Avg Mbps: 757.179 --- 169.254.0.13 tcpbench statistics --- 664823284 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 751.945/913.591/1103.061/145.406 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 131227448 1049.820 100.00% Conn: 1 Mbps: 1049.820 Peak Mbps: 1049.820 Avg Mbps: 1049.820 2000 124310192 995.477 100.00% Conn: 1 Mbps: 995.477 Peak Mbps: 1049.820 Avg Mbps: 995.477 3000 127301876 1018.415 100.00% Conn: 1 Mbps: 1018.415 Peak Mbps: 1049.820 Avg Mbps: 1018.415 4000 128756848 1031.086 100.00% Conn: 1 Mbps: 1031.086 Peak Mbps: 1049.820 Avg Mbps: 1031.086 5000 128266408 1026.131 100.00% Conn: 1 Mbps: 1026.131 Peak Mbps: 1049.820 Avg Mbps: 1026.131 --- fc00::13 tcpbench statistics --- 768750404 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 995.477/1024.186/1049.820/17.697 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.336 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.336/0.336/0.336/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.446 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.446/0.446/0.446/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 1002 27981152 223.402 100.00% Conn: 1 Mbps: 223.402 Peak Mbps: 223.402 Avg Mbps: 223.402 2005 28098440 224.115 100.00% Conn: 1 Mbps: 224.115 Peak Mbps: 224.115 Avg Mbps: 224.115 3006 28013008 224.104 100.00% Conn: 1 Mbps: 224.104 Peak Mbps: 224.115 Avg Mbps: 224.104 4007 28237448 225.674 100.00% Conn: 1 Mbps: 225.674 Peak Mbps: 225.674 Avg Mbps: 225.674 5005 28040520 224.999 100.00% Conn: 1 Mbps: 224.999 Peak Mbps: 225.674 Avg Mbps: 224.999 --- 169.254.1.11 tcpbench statistics --- 168409640 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 223.402/224.459/225.674/0.791 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 1002 46272304 369.440 100.00% Conn: 1 Mbps: 369.440 Peak Mbps: 369.440 Avg Mbps: 369.440 2005 46418016 370.603 100.00% Conn: 1 Mbps: 370.603 Peak Mbps: 370.603 Avg Mbps: 370.603 3005 45658176 365.265 100.00% Conn: 1 Mbps: 365.265 Peak Mbps: 370.603 Avg Mbps: 365.265 4008 45741408 365.201 100.00% Conn: 1 Mbps: 365.201 Peak Mbps: 370.603 Avg Mbps: 365.201 5011 45889992 366.387 100.00% Conn: 1 Mbps: 366.387 Peak Mbps: 370.603 Avg Mbps: 366.387 --- fc00:0:0:1::11 tcpbench statistics --- 275198056 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 365.201/367.379/370.603/2.229 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.301 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.301/0.301/0.301/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.390 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.390/0.390/0.390/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 1001 136933706 1094.375 100.00% Conn: 1 Mbps: 1094.375 Peak Mbps: 1094.375 Avg Mbps: 1094.375 2000 131501962 1053.069 100.00% Conn: 1 Mbps: 1053.069 Peak Mbps: 1094.375 Avg Mbps: 1053.069 3000 93404180 747.233 100.00% Conn: 1 Mbps: 747.233 Peak Mbps: 1094.375 Avg Mbps: 747.233 4000 94778252 758.226 100.00% Conn: 1 Mbps: 758.226 Peak Mbps: 1094.375 Avg Mbps: 758.226 5001 93371464 746.972 100.00% Conn: 1 Mbps: 746.972 Peak Mbps: 1094.375 Avg Mbps: 746.972 --- 169.254.1.12 tcpbench statistics --- 644407940 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 746.972/879.975/1094.375/158.784 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 131602984 1052.824 100.00% Conn: 1 Mbps: 1052.824 Peak Mbps: 1052.824 Avg Mbps: 1052.824 2000 126173864 1009.391 100.00% Conn: 1 Mbps: 1009.391 Peak Mbps: 1052.824 Avg Mbps: 1009.391 3000 124179408 994.430 100.00% Conn: 1 Mbps: 994.430 Peak Mbps: 1052.824 Avg Mbps: 994.430 4000 124964112 999.713 100.00% Conn: 1 Mbps: 999.713 Peak Mbps: 1052.824 Avg Mbps: 999.713 5000 125683424 1005.467 100.00% Conn: 1 Mbps: 1005.467 Peak Mbps: 1052.824 Avg Mbps: 1005.467 --- fc00:0:0:1::12 tcpbench statistics --- 757240944 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 994.430/1012.365/1052.824/20.857 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.278 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.278/0.278/0.278/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 110500320 884.003 100.00% Conn: 1 Mbps: 884.003 Peak Mbps: 884.003 Avg Mbps: 884.003 2000 98540592 788.325 100.00% Conn: 1 Mbps: 788.325 Peak Mbps: 884.003 Avg Mbps: 788.325 3000 98507876 788.063 100.00% Conn: 1 Mbps: 788.063 Peak Mbps: 884.003 Avg Mbps: 788.063 4000 98769604 790.157 100.00% Conn: 1 Mbps: 790.157 Peak Mbps: 884.003 Avg Mbps: 790.157 5000 98082568 785.446 100.00% Conn: 1 Mbps: 785.446 Peak Mbps: 884.003 Avg Mbps: 785.446 --- 169.254.0.13 tcpbench statistics --- 601927356 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 785.446/807.199/884.003/38.431 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 146384204 1171.074 100.00% Conn: 1 Mbps: 1171.074 Peak Mbps: 1171.074 Avg Mbps: 1171.074 2000 131896240 1055.170 100.00% Conn: 1 Mbps: 1055.170 Peak Mbps: 1171.074 Avg Mbps: 1055.170 3000 130620520 1046.010 100.00% Conn: 1 Mbps: 1046.010 Peak Mbps: 1171.074 Avg Mbps: 1046.010 4000 130489736 1044.963 100.00% Conn: 1 Mbps: 1044.963 Peak Mbps: 1171.074 Avg Mbps: 1044.963 5001 129410768 1035.286 100.00% Conn: 1 Mbps: 1035.286 Peak Mbps: 1171.074 Avg Mbps: 1035.286 --- fc00::13 tcpbench statistics --- 798408412 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1035.286/1070.501/1171.074/50.679 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 2m12.21s