START sys/net/pair 2024-05-15T09:04: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.167 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.167/0.167/0.167/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.219 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.219/0.219/0.219/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 188256328 1506.051 100.00% Conn: 1 Mbps: 1506.051 Peak Mbps: 1506.051 Avg Mbps: 1506.051 2000 182231744 1459.313 100.00% Conn: 1 Mbps: 1459.313 Peak Mbps: 1506.051 Avg Mbps: 1459.313 3000 184719468 1477.756 100.00% Conn: 1 Mbps: 1477.756 Peak Mbps: 1506.051 Avg Mbps: 1477.756 4000 185689124 1485.513 100.00% Conn: 1 Mbps: 1485.513 Peak Mbps: 1506.051 Avg Mbps: 1485.513 5000 185307620 1482.461 100.00% Conn: 1 Mbps: 1482.461 Peak Mbps: 1506.051 Avg Mbps: 1482.461 --- 169.254.1.11 tcpbench statistics --- 1111408580 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1459.313/1482.219/1506.051/14.990 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 185760968 1486.088 100.00% Conn: 1 Mbps: 1486.088 Peak Mbps: 1486.088 Avg Mbps: 1486.088 2000 183533200 1469.735 100.00% Conn: 1 Mbps: 1469.735 Peak Mbps: 1486.088 Avg Mbps: 1469.735 3000 183501488 1468.012 100.00% Conn: 1 Mbps: 1468.012 Peak Mbps: 1486.088 Avg Mbps: 1468.012 4000 184270504 1474.164 100.00% Conn: 1 Mbps: 1474.164 Peak Mbps: 1486.088 Avg Mbps: 1474.164 5000 183057520 1464.460 100.00% Conn: 1 Mbps: 1464.460 Peak Mbps: 1486.088 Avg Mbps: 1464.460 --- fc00:0:0:1::11 tcpbench statistics --- 1101080280 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1464.460/1472.492/1486.088/7.481 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.242 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.242/0.242/0.242/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.453 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.453/0.453/0.453/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 1003 85967816 685.685 100.00% Conn: 1 Mbps: 685.685 Peak Mbps: 685.685 Avg Mbps: 685.685 2004 85721600 685.773 100.00% Conn: 1 Mbps: 685.773 Peak Mbps: 685.773 Avg Mbps: 685.773 3006 85877984 685.653 100.00% Conn: 1 Mbps: 685.653 Peak Mbps: 685.773 Avg Mbps: 685.653 4007 85646304 684.486 100.00% Conn: 1 Mbps: 684.486 Peak Mbps: 685.773 Avg Mbps: 684.486 5008 84732672 677.861 100.00% Conn: 1 Mbps: 677.861 Peak Mbps: 685.773 Avg Mbps: 677.861 --- 169.254.1.12 tcpbench statistics --- 512936792 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 677.861/683.892/685.773/3.052 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 81762388 653.446 100.00% Conn: 1 Mbps: 653.446 Peak Mbps: 653.446 Avg Mbps: 653.446 2005 82606336 658.218 100.00% Conn: 1 Mbps: 658.218 Peak Mbps: 658.218 Avg Mbps: 658.218 3004 81938244 656.820 100.00% Conn: 1 Mbps: 656.820 Peak Mbps: 658.218 Avg Mbps: 656.820 4006 81802980 653.770 100.00% Conn: 1 Mbps: 653.770 Peak Mbps: 658.218 Avg Mbps: 653.770 5009 82433760 657.498 100.00% Conn: 1 Mbps: 657.498 Peak Mbps: 658.218 Avg Mbps: 657.498 --- fc00:0:0:1::12 tcpbench statistics --- 491649216 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 653.446/655.950/658.218/1.966 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.213 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.213/0.213/0.213/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.260 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.260/0.260/0.260/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 112885444 903.084 100.00% Conn: 1 Mbps: 903.084 Peak Mbps: 903.084 Avg Mbps: 903.084 2000 111542232 893.231 100.00% Conn: 1 Mbps: 893.231 Peak Mbps: 903.084 Avg Mbps: 893.231 3000 113529232 908.234 100.00% Conn: 1 Mbps: 908.234 Peak Mbps: 908.234 Avg Mbps: 908.234 4000 113656400 909.251 100.00% Conn: 1 Mbps: 909.251 Peak Mbps: 909.251 Avg Mbps: 909.251 5000 113068248 904.546 100.00% Conn: 1 Mbps: 904.546 Peak Mbps: 909.251 Avg Mbps: 904.546 --- 169.254.0.13 tcpbench statistics --- 678250528 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 893.231/903.669/909.251/5.693 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 100852088 806.817 100.00% Conn: 1 Mbps: 806.817 Peak Mbps: 806.817 Avg Mbps: 806.817 2000 101803448 814.428 100.00% Conn: 1 Mbps: 814.428 Peak Mbps: 814.428 Avg Mbps: 814.428 3000 101581464 812.652 100.00% Conn: 1 Mbps: 812.652 Peak Mbps: 814.428 Avg Mbps: 812.652 4000 101581464 812.652 100.00% Conn: 1 Mbps: 812.652 Peak Mbps: 814.428 Avg Mbps: 812.652 5000 102913368 823.307 100.00% Conn: 1 Mbps: 823.307 Peak Mbps: 823.307 Avg Mbps: 823.307 --- fc00::13 tcpbench statistics --- 609940680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 806.817/813.971/823.307/5.330 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.165 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.165/0.165/0.165/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.236 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.236/0.236/0.236/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 86309544 689.787 100.00% Conn: 1 Mbps: 689.787 Peak Mbps: 689.787 Avg Mbps: 689.787 2002 86757088 694.057 100.00% Conn: 1 Mbps: 694.057 Peak Mbps: 694.057 Avg Mbps: 694.057 3004 87323312 697.192 100.00% Conn: 1 Mbps: 697.192 Peak Mbps: 697.192 Avg Mbps: 697.192 4004 86677728 693.422 100.00% Conn: 1 Mbps: 693.422 Peak Mbps: 697.192 Avg Mbps: 693.422 5003 85779744 686.925 100.00% Conn: 1 Mbps: 686.925 Peak Mbps: 697.192 Avg Mbps: 686.925 --- 169.254.1.11 tcpbench statistics --- 519193384 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 686.925/692.276/697.192/3.563 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 83172432 664.051 100.00% Conn: 1 Mbps: 664.051 Peak Mbps: 664.051 Avg Mbps: 664.051 2001 82959660 665.007 100.00% Conn: 1 Mbps: 665.007 Peak Mbps: 665.007 Avg Mbps: 665.007 3002 83448036 666.917 100.00% Conn: 1 Mbps: 666.917 Peak Mbps: 666.917 Avg Mbps: 666.917 4006 82931312 661.466 100.00% Conn: 1 Mbps: 661.466 Peak Mbps: 666.917 Avg Mbps: 661.466 5006 83255468 666.710 100.00% Conn: 1 Mbps: 666.710 Peak Mbps: 666.917 Avg Mbps: 666.710 --- fc00:0:0:1::11 tcpbench statistics --- 498600904 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 661.466/664.831/666.917/1.992 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.165 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.165/0.165/0.165/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.220 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.220/0.220/0.220/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 184467960 1475.744 100.00% Conn: 1 Mbps: 1475.744 Peak Mbps: 1475.744 Avg Mbps: 1475.744 2000 181765992 1455.584 100.00% Conn: 1 Mbps: 1455.584 Peak Mbps: 1475.744 Avg Mbps: 1455.584 3000 180306408 1442.451 100.00% Conn: 1 Mbps: 1442.451 Peak Mbps: 1475.744 Avg Mbps: 1442.451 4000 182487096 1459.897 100.00% Conn: 1 Mbps: 1459.897 Peak Mbps: 1475.744 Avg Mbps: 1459.897 5000 182384288 1459.074 100.00% Conn: 1 Mbps: 1459.074 Peak Mbps: 1475.744 Avg Mbps: 1459.074 --- 169.254.1.12 tcpbench statistics --- 1094046536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1442.451/1458.550/1475.744/10.637 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 179818044 1438.544 100.00% Conn: 1 Mbps: 1438.544 Peak Mbps: 1438.544 Avg Mbps: 1438.544 2000 180309276 1442.474 100.00% Conn: 1 Mbps: 1442.474 Peak Mbps: 1442.474 Avg Mbps: 1442.474 3000 180076512 1440.612 100.00% Conn: 1 Mbps: 1440.612 Peak Mbps: 1442.474 Avg Mbps: 1440.612 4000 179599560 1436.796 100.00% Conn: 1 Mbps: 1436.796 Peak Mbps: 1442.474 Avg Mbps: 1436.796 5000 180586308 1444.690 100.00% Conn: 1 Mbps: 1444.690 Peak Mbps: 1444.690 Avg Mbps: 1444.690 --- fc00:0:0:1::12 tcpbench statistics --- 1077581652 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1436.796/1440.624/1444.690/2.790 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.192 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.192/0.192/0.192/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.215 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.215/0.215/0.215/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 306056826 2448.455 100.00% Conn: 1 Mbps: 2448.455 Peak Mbps: 2448.455 Avg Mbps: 2448.455 2000 303866208 2433.363 100.00% Conn: 1 Mbps: 2433.363 Peak Mbps: 2448.455 Avg Mbps: 2433.363 3000 304667750 2437.342 100.00% Conn: 1 Mbps: 2437.342 Peak Mbps: 2448.455 Avg Mbps: 2437.342 4000 305125774 2441.006 100.00% Conn: 1 Mbps: 2441.006 Peak Mbps: 2448.455 Avg Mbps: 2441.006 5000 302164964 2419.739 100.00% Conn: 1 Mbps: 2419.739 Peak Mbps: 2448.455 Avg Mbps: 2419.739 --- 169.254.0.13 tcpbench statistics --- 1826565630 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2419.739/2435.981/2448.455/9.522 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 305052200 2440.418 100.00% Conn: 1 Mbps: 2440.418 Peak Mbps: 2440.418 Avg Mbps: 2440.418 2000 303288096 2426.305 100.00% Conn: 1 Mbps: 2426.305 Peak Mbps: 2440.418 Avg Mbps: 2426.305 3000 301947560 2415.580 100.00% Conn: 1 Mbps: 2415.580 Peak Mbps: 2440.418 Avg Mbps: 2415.580 4000 300018496 2400.148 100.00% Conn: 1 Mbps: 2400.148 Peak Mbps: 2440.418 Avg Mbps: 2400.148 5000 302764960 2422.120 100.00% Conn: 1 Mbps: 2422.120 Peak Mbps: 2440.418 Avg Mbps: 2422.120 --- fc00::13 tcpbench statistics --- 1813743728 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2400.148/2420.914/2440.418/13.195 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.175 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.175/0.175/0.175/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.233 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.233/0.233/0.233/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 85268376 680.785 100.00% Conn: 1 Mbps: 680.785 Peak Mbps: 680.785 Avg Mbps: 680.785 2001 85098960 682.156 100.00% Conn: 1 Mbps: 682.156 Peak Mbps: 682.156 Avg Mbps: 682.156 3003 84870176 677.606 100.00% Conn: 1 Mbps: 677.606 Peak Mbps: 682.156 Avg Mbps: 677.606 4004 85224936 681.799 100.00% Conn: 1 Mbps: 681.799 Peak Mbps: 682.156 Avg Mbps: 681.799 5005 85400144 682.519 100.00% Conn: 1 Mbps: 682.519 Peak Mbps: 682.519 Avg Mbps: 682.519 --- 169.254.1.11 tcpbench statistics --- 510512672 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 677.606/680.973/682.519/1.780 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 1001 133354944 1065.774 100.00% Conn: 1 Mbps: 1065.774 Peak Mbps: 1065.774 Avg Mbps: 1065.774 2002 131365840 1050.927 100.00% Conn: 1 Mbps: 1050.927 Peak Mbps: 1065.774 Avg Mbps: 1050.927 3003 132270648 1057.108 100.00% Conn: 1 Mbps: 1057.108 Peak Mbps: 1065.774 Avg Mbps: 1057.108 4005 132025424 1055.148 100.00% Conn: 1 Mbps: 1055.148 Peak Mbps: 1065.774 Avg Mbps: 1055.148 5005 131682104 1053.457 100.00% Conn: 1 Mbps: 1053.457 Peak Mbps: 1065.774 Avg Mbps: 1053.457 --- fc00:0:0:1::11 tcpbench statistics --- 792217872 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1050.927/1056.483/1065.774/5.070 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.175 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.175/0.175/0.175/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.224 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.224/0.224/0.224/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 295771276 2366.170 100.00% Conn: 1 Mbps: 2366.170 Peak Mbps: 2366.170 Avg Mbps: 2366.170 2000 292677180 2343.761 100.00% Conn: 1 Mbps: 2343.761 Peak Mbps: 2366.170 Avg Mbps: 2343.761 3000 291990144 2335.921 100.00% Conn: 1 Mbps: 2335.921 Peak Mbps: 2366.170 Avg Mbps: 2335.921 4000 291532096 2332.257 100.00% Conn: 1 Mbps: 2332.257 Peak Mbps: 2366.170 Avg Mbps: 2332.257 5000 289012964 2312.104 100.00% Conn: 1 Mbps: 2312.104 Peak Mbps: 2366.170 Avg Mbps: 2312.104 --- 169.254.1.12 tcpbench statistics --- 1752712064 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2312.104/2338.043/2366.170/17.520 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 299923756 2399.390 100.00% Conn: 1 Mbps: 2399.390 Peak Mbps: 2399.390 Avg Mbps: 2399.390 2000 297827864 2385.008 100.00% Conn: 1 Mbps: 2385.008 Peak Mbps: 2399.390 Avg Mbps: 2385.008 3000 297173944 2377.392 100.00% Conn: 1 Mbps: 2377.392 Peak Mbps: 2399.390 Avg Mbps: 2377.392 4000 295604536 2364.836 100.00% Conn: 1 Mbps: 2364.836 Peak Mbps: 2399.390 Avg Mbps: 2364.836 5000 298089432 2387.103 100.00% Conn: 1 Mbps: 2387.103 Peak Mbps: 2399.390 Avg Mbps: 2387.103 --- fc00:0:0:1::12 tcpbench statistics --- 1786185828 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2364.836/2382.746/2399.390/11.407 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.170 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.170/0.170/0.170/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.199 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.199/0.199/0.199/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 331854528 2654.836 100.00% Conn: 1 Mbps: 2654.836 Peak Mbps: 2654.836 Avg Mbps: 2654.836 2000 324739016 2600.513 100.00% Conn: 1 Mbps: 2600.513 Peak Mbps: 2654.836 Avg Mbps: 2600.513 3000 322874192 2585.579 100.00% Conn: 1 Mbps: 2585.579 Peak Mbps: 2654.836 Avg Mbps: 2585.579 4000 324968016 2599.744 100.00% Conn: 1 Mbps: 2599.744 Peak Mbps: 2654.836 Avg Mbps: 2599.744 5000 324542720 2596.342 100.00% Conn: 1 Mbps: 2596.342 Peak Mbps: 2654.836 Avg Mbps: 2596.342 --- 169.254.0.13 tcpbench statistics --- 1954061006 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2585.579/2607.403/2654.836/24.309 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 343669096 2749.353 100.00% Conn: 1 Mbps: 2749.353 Peak Mbps: 2749.353 Avg Mbps: 2749.353 2000 336932280 2698.156 100.00% Conn: 1 Mbps: 2698.156 Peak Mbps: 2749.353 Avg Mbps: 2698.156 3000 339253696 2714.030 100.00% Conn: 1 Mbps: 2714.030 Peak Mbps: 2749.353 Avg Mbps: 2714.030 4000 339122912 2712.983 100.00% Conn: 1 Mbps: 2712.983 Peak Mbps: 2749.353 Avg Mbps: 2712.983 5000 339874920 2718.999 100.00% Conn: 1 Mbps: 2718.999 Peak Mbps: 2749.353 Avg Mbps: 2718.999 --- fc00::13 tcpbench statistics --- 2038891304 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2698.156/2718.704/2749.353/16.830 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 1m53.90s