START sys/net/pair 2025-01-15T16:59:05Z ==== 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.038 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.038/0.038/0.038/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.042 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.042/0.042/0.042/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 860768400 6886.147 100.00% Conn: 1 Mbps: 6886.147 Peak Mbps: 6886.147 Avg Mbps: 6886.147 2000 858066080 6871.400 100.00% Conn: 1 Mbps: 6871.400 Peak Mbps: 6886.147 Avg Mbps: 6871.400 3000 856373156 6850.985 100.00% Conn: 1 Mbps: 6850.985 Peak Mbps: 6886.147 Avg Mbps: 6850.985 4000 858471428 6867.771 100.00% Conn: 1 Mbps: 6867.771 Peak Mbps: 6886.147 Avg Mbps: 6867.771 5000 857772004 6869.045 100.00% Conn: 1 Mbps: 6869.045 Peak Mbps: 6886.147 Avg Mbps: 6869.045 --- 169.254.1.11 tcpbench statistics --- 5149183332 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6850.985/6869.070/6886.147/11.188 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 870335840 6962.687 100.00% Conn: 1 Mbps: 6962.687 Peak Mbps: 6962.687 Avg Mbps: 6962.687 2000 869170424 6960.324 100.00% Conn: 1 Mbps: 6960.324 Peak Mbps: 6962.687 Avg Mbps: 6960.324 3000 870018720 6960.150 100.00% Conn: 1 Mbps: 6960.150 Peak Mbps: 6962.687 Avg Mbps: 6960.150 4000 871485400 6971.883 100.00% Conn: 1 Mbps: 6971.883 Peak Mbps: 6971.883 Avg Mbps: 6971.883 5000 872301984 6978.416 100.00% Conn: 1 Mbps: 6978.416 Peak Mbps: 6978.416 Avg Mbps: 6978.416 --- fc00:0:0:1::11 tcpbench statistics --- 5223806768 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6960.150/6966.692/6978.416/7.264 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.062 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.062/0.062/0.062/0.000 ms ==== run-ping6-1-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.120 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.120/0.120/0.120/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1001 360238680 2879.030 100.00% Conn: 1 Mbps: 2879.030 Peak Mbps: 2879.030 Avg Mbps: 2879.030 2001 366739456 2936.853 100.00% Conn: 1 Mbps: 2936.853 Peak Mbps: 2936.853 Avg Mbps: 2936.853 3002 367525888 2940.207 100.00% Conn: 1 Mbps: 2940.207 Peak Mbps: 2940.207 Avg Mbps: 2940.207 4002 368574464 2948.596 100.00% Conn: 1 Mbps: 2948.596 Peak Mbps: 2948.596 Avg Mbps: 2948.596 5002 368836608 2950.693 100.00% Conn: 1 Mbps: 2950.693 Peak Mbps: 2950.693 Avg Mbps: 2950.693 --- 169.254.1.12 tcpbench statistics --- 2200751704 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2879.030/2931.076/2950.693/26.523 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 350428220 2800.625 100.00% Conn: 1 Mbps: 2800.625 Peak Mbps: 2800.625 Avg Mbps: 2800.625 2001 359385652 2875.085 100.00% Conn: 1 Mbps: 2875.085 Peak Mbps: 2875.085 Avg Mbps: 2875.085 3002 359399424 2875.195 100.00% Conn: 1 Mbps: 2875.195 Peak Mbps: 2875.195 Avg Mbps: 2875.195 4002 360448000 2883.584 100.00% Conn: 1 Mbps: 2883.584 Peak Mbps: 2883.584 Avg Mbps: 2883.584 5002 359137280 2873.098 100.00% Conn: 1 Mbps: 2873.098 Peak Mbps: 2883.584 Avg Mbps: 2873.098 --- fc00:0:0:1::12 tcpbench statistics --- 2147673712 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2800.625/2861.518/2883.584/30.660 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.057 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.057/0.057/0.057/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.064 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.064/0.064/0.064/0.000 ms ==== run-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 737598244 5900.786 100.00% Conn: 1 Mbps: 5900.786 Peak Mbps: 5900.786 Avg Mbps: 5900.786 2000 784229020 6273.832 100.00% Conn: 1 Mbps: 6273.832 Peak Mbps: 6273.832 Avg Mbps: 6273.832 3000 783506056 6274.323 100.00% Conn: 1 Mbps: 6274.323 Peak Mbps: 6274.323 Avg Mbps: 6274.323 4001 776121920 6208.975 100.00% Conn: 1 Mbps: 6208.975 Peak Mbps: 6274.323 Avg Mbps: 6208.975 5001 772799936 6182.399 100.00% Conn: 1 Mbps: 6182.399 Peak Mbps: 6274.323 Avg Mbps: 6182.399 --- 169.254.0.13 tcpbench statistics --- 4633540680 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5900.786/6168.063/6274.323/138.416 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 660894976 5287.160 100.00% Conn: 1 Mbps: 5287.160 Peak Mbps: 5287.160 Avg Mbps: 5287.160 2001 692716408 5541.731 100.00% Conn: 1 Mbps: 5541.731 Peak Mbps: 5541.731 Avg Mbps: 5541.731 3001 692368096 5538.945 100.00% Conn: 1 Mbps: 5538.945 Peak Mbps: 5541.731 Avg Mbps: 5538.945 4001 691496016 5531.968 100.00% Conn: 1 Mbps: 5531.968 Peak Mbps: 5541.731 Avg Mbps: 5531.968 5001 697828000 5582.624 100.00% Conn: 1 Mbps: 5582.624 Peak Mbps: 5582.624 Avg Mbps: 5582.624 --- fc00::13 tcpbench statistics --- 4132617104 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5287.160/5496.486/5582.624/106.157 Mbps ==== run-ping-2-1 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.041 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.041/0.041/0.041/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.044 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 356969880 2852.906 100.00% Conn: 1 Mbps: 2852.906 Peak Mbps: 2852.906 Avg Mbps: 2852.906 2001 368836608 2950.693 100.00% Conn: 1 Mbps: 2950.693 Peak Mbps: 2950.693 Avg Mbps: 2950.693 3002 367788032 2942.304 100.00% Conn: 1 Mbps: 2942.304 Peak Mbps: 2950.693 Avg Mbps: 2942.304 4002 366215168 2929.721 100.00% Conn: 1 Mbps: 2929.721 Peak Mbps: 2950.693 Avg Mbps: 2929.721 5002 363855872 2910.847 100.00% Conn: 1 Mbps: 2910.847 Peak Mbps: 2950.693 Avg Mbps: 2910.847 --- 169.254.1.11 tcpbench statistics --- 2187521432 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2852.906/2917.294/2950.693/34.879 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 351202132 2809.617 100.00% Conn: 1 Mbps: 2809.617 Peak Mbps: 2809.617 Avg Mbps: 2809.617 2001 355991552 2847.932 100.00% Conn: 1 Mbps: 2847.932 Peak Mbps: 2847.932 Avg Mbps: 2847.932 3002 355467264 2843.738 100.00% Conn: 1 Mbps: 2843.738 Peak Mbps: 2847.932 Avg Mbps: 2843.738 4002 356777984 2854.224 100.00% Conn: 1 Mbps: 2854.224 Peak Mbps: 2854.224 Avg Mbps: 2854.224 5003 355467264 2843.738 100.00% Conn: 1 Mbps: 2843.738 Peak Mbps: 2854.224 Avg Mbps: 2843.738 --- fc00:0:0:1::11 tcpbench statistics --- 2132208468 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2809.617/2839.850/2854.224/15.596 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.035 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.035/0.035/0.035/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.040 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.040/0.040/0.040/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 839967424 6719.739 100.00% Conn: 1 Mbps: 6719.739 Peak Mbps: 6719.739 Avg Mbps: 6719.739 2000 840323632 6729.318 100.00% Conn: 1 Mbps: 6729.318 Peak Mbps: 6729.318 Avg Mbps: 6729.318 3000 840824640 6726.597 100.00% Conn: 1 Mbps: 6726.597 Peak Mbps: 6729.318 Avg Mbps: 6726.597 4000 838336976 6706.696 100.00% Conn: 1 Mbps: 6706.696 Peak Mbps: 6729.318 Avg Mbps: 6706.696 5000 840435128 6723.481 100.00% Conn: 1 Mbps: 6723.481 Peak Mbps: 6729.318 Avg Mbps: 6723.481 --- 169.254.1.12 tcpbench statistics --- 5039106608 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6706.696/6721.166/6729.318/7.909 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 839935320 6719.483 100.00% Conn: 1 Mbps: 6719.483 Peak Mbps: 6719.483 Avg Mbps: 6719.483 2000 838237428 6712.612 100.00% Conn: 1 Mbps: 6712.612 Peak Mbps: 6719.483 Avg Mbps: 6712.612 3000 837754764 6702.038 100.00% Conn: 1 Mbps: 6702.038 Peak Mbps: 6719.483 Avg Mbps: 6702.038 4000 837329220 6698.634 100.00% Conn: 1 Mbps: 6698.634 Peak Mbps: 6719.483 Avg Mbps: 6698.634 5000 837781896 6702.255 100.00% Conn: 1 Mbps: 6702.255 Peak Mbps: 6719.483 Avg Mbps: 6702.255 --- fc00:0:0:1::12 tcpbench statistics --- 5029634484 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6698.634/6707.004/6719.483/7.803 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.040 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.040/0.040/0.040/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.043 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-tcpbench-2-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 1260116258 10080.930 100.00% Conn: 1 Mbps: 10080.930 Peak Mbps: 10080.930 Avg Mbps: 10080.930 2000 1267957654 10153.815 100.00% Conn: 1 Mbps: 10153.815 Peak Mbps: 10153.815 Avg Mbps: 10153.815 3000 1268693764 10149.550 100.00% Conn: 1 Mbps: 10149.550 Peak Mbps: 10153.815 Avg Mbps: 10149.550 4000 1268170308 10145.362 100.00% Conn: 1 Mbps: 10145.362 Peak Mbps: 10153.815 Avg Mbps: 10145.362 5000 1271114748 10168.918 100.00% Conn: 1 Mbps: 10168.918 Peak Mbps: 10168.918 Avg Mbps: 10168.918 --- 169.254.0.13 tcpbench statistics --- 7606562234 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10080.930/10139.715/10168.918/30.450 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 1154136100 9233.089 100.00% Conn: 1 Mbps: 9233.089 Peak Mbps: 9233.089 Avg Mbps: 9233.089 2000 1167541464 9349.681 100.00% Conn: 1 Mbps: 9349.681 Peak Mbps: 9349.681 Avg Mbps: 9349.681 3000 1174669192 9397.354 100.00% Conn: 1 Mbps: 9397.354 Peak Mbps: 9397.354 Avg Mbps: 9397.354 4000 1159171288 9273.370 100.00% Conn: 1 Mbps: 9273.370 Peak Mbps: 9397.354 Avg Mbps: 9273.370 5000 1155574728 9244.598 100.00% Conn: 1 Mbps: 9244.598 Peak Mbps: 9397.354 Avg Mbps: 9244.598 --- fc00::13 tcpbench statistics --- 6965555836 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9233.089/9299.618/9397.354/63.562 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.046 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.046/0.046/0.046/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.047 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.047/0.047/0.047/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 358916648 2868.465 100.00% Conn: 1 Mbps: 2868.465 Peak Mbps: 2868.465 Avg Mbps: 2868.465 2001 362545152 2900.361 100.00% Conn: 1 Mbps: 2900.361 Peak Mbps: 2900.361 Avg Mbps: 2900.361 3001 364380160 2915.041 100.00% Conn: 1 Mbps: 2915.041 Peak Mbps: 2915.041 Avg Mbps: 2915.041 4001 363593728 2908.750 100.00% Conn: 1 Mbps: 2908.750 Peak Mbps: 2915.041 Avg Mbps: 2908.750 5001 363855872 2910.847 100.00% Conn: 1 Mbps: 2910.847 Peak Mbps: 2915.041 Avg Mbps: 2910.847 --- 169.254.1.11 tcpbench statistics --- 2175312424 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2868.465/2900.693/2915.041/16.809 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 798959416 6391.675 100.00% Conn: 1 Mbps: 6391.675 Peak Mbps: 6391.675 Avg Mbps: 6391.675 2000 832307200 6658.458 100.00% Conn: 1 Mbps: 6658.458 Peak Mbps: 6658.458 Avg Mbps: 6658.458 3000 828899328 6631.195 100.00% Conn: 1 Mbps: 6631.195 Peak Mbps: 6658.458 Avg Mbps: 6631.195 4000 829685760 6637.486 100.00% Conn: 1 Mbps: 6637.486 Peak Mbps: 6658.458 Avg Mbps: 6637.486 5001 834404352 6675.235 100.00% Conn: 1 Mbps: 6675.235 Peak Mbps: 6675.235 Avg Mbps: 6675.235 --- fc00:0:0:1::11 tcpbench statistics --- 4975175480 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6391.675/6598.810/6675.235/104.736 Mbps # path MTU discovery in other rtable does not work in ip6_output() /sbin/route -T 13 -n get -host -inet6 fc00:0:0:1::11 route to: fc00:0:0:1::11 destination: fc00:: mask: ffff:ffff:ffff:: gateway: ::1 interface: lo13 if address: ::1 priority: 8 (static) flags: use mtu expire 7 32768 0 DISABLED ==== run-ping-3-2 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.038 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.038/0.038/0.038/0.000 ms ==== run-ping6-3-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.043 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-tcpbench-3-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 1268198266 10145.586 100.00% Conn: 1 Mbps: 10145.586 Peak Mbps: 10145.586 Avg Mbps: 10145.586 2000 1274615360 10207.130 100.00% Conn: 1 Mbps: 10207.130 Peak Mbps: 10207.130 Avg Mbps: 10207.130 3000 1270967526 10167.740 100.00% Conn: 1 Mbps: 10167.740 Peak Mbps: 10207.130 Avg Mbps: 10167.740 4000 1266501792 10132.014 100.00% Conn: 1 Mbps: 10132.014 Peak Mbps: 10207.130 Avg Mbps: 10132.014 5000 1272815980 10182.528 100.00% Conn: 1 Mbps: 10182.528 Peak Mbps: 10207.130 Avg Mbps: 10182.528 --- 169.254.1.12 tcpbench statistics --- 7625456880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10132.014/10167.000/10207.130/26.588 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 1119585756 8956.686 100.00% Conn: 1 Mbps: 8956.686 Peak Mbps: 8956.686 Avg Mbps: 8956.686 2000 1122453680 8988.618 100.00% Conn: 1 Mbps: 8988.618 Peak Mbps: 8988.618 Avg Mbps: 8988.618 3000 1124938576 8999.509 100.00% Conn: 1 Mbps: 8999.509 Peak Mbps: 8999.509 Avg Mbps: 8999.509 4000 1120786184 8966.289 100.00% Conn: 1 Mbps: 8966.289 Peak Mbps: 8999.509 Avg Mbps: 8966.289 5000 1122551768 8980.414 100.00% Conn: 1 Mbps: 8980.414 Peak Mbps: 8999.509 Avg Mbps: 8980.414 --- fc00:0:0:1::12 tcpbench statistics --- 6733390868 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8956.686/8978.303/8999.509/15.311 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.037 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.037/0.037/0.037/0.000 ms ==== run-ping6-3-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.039 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-tcpbench-3-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 1272687700 10181.502 100.00% Conn: 1 Mbps: 10181.502 Peak Mbps: 10181.502 Avg Mbps: 10181.502 2000 1274697150 10207.785 100.00% Conn: 1 Mbps: 10207.785 Peak Mbps: 10207.785 Avg Mbps: 10207.785 3000 1276643752 10213.150 100.00% Conn: 1 Mbps: 10213.150 Peak Mbps: 10213.150 Avg Mbps: 10213.150 4000 1273421226 10187.370 100.00% Conn: 1 Mbps: 10187.370 Peak Mbps: 10213.150 Avg Mbps: 10187.370 5000 1275515050 10204.120 100.00% Conn: 1 Mbps: 10204.120 Peak Mbps: 10213.150 Avg Mbps: 10204.120 --- 169.254.0.13 tcpbench statistics --- 7649346902 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10181.502/10198.785/10213.150/12.205 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 1298601828 10388.815 100.00% Conn: 1 Mbps: 10388.815 Peak Mbps: 10388.815 Avg Mbps: 10388.815 2000 1303000992 10434.442 100.00% Conn: 1 Mbps: 10434.442 Peak Mbps: 10434.442 Avg Mbps: 10434.442 3000 1303295256 10426.362 100.00% Conn: 1 Mbps: 10426.362 Peak Mbps: 10434.442 Avg Mbps: 10426.362 4000 1299633304 10397.066 100.00% Conn: 1 Mbps: 10397.066 Peak Mbps: 10434.442 Avg Mbps: 10397.066 5000 1302085504 10416.684 100.00% Conn: 1 Mbps: 10416.684 Peak Mbps: 10434.442 Avg Mbps: 10416.684 --- fc00::13 tcpbench statistics --- 7808636996 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10388.815/10412.674/10434.442/17.264 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m51.83s