START sys/net/pair 2025-01-27T02:40:41Z ==== 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.045 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.045/0.045/0.045/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 861269124 6890.153 100.00% Conn: 1 Mbps: 6890.153 Peak Mbps: 6890.153 Avg Mbps: 6890.153 2000 861483720 6898.769 100.00% Conn: 1 Mbps: 6898.769 Peak Mbps: 6898.769 Avg Mbps: 6898.769 3000 860140508 6881.124 100.00% Conn: 1 Mbps: 6881.124 Peak Mbps: 6898.769 Avg Mbps: 6881.124 4000 860315364 6882.523 100.00% Conn: 1 Mbps: 6882.523 Peak Mbps: 6898.769 Avg Mbps: 6882.523 5000 858797296 6870.378 100.00% Conn: 1 Mbps: 6870.378 Peak Mbps: 6898.769 Avg Mbps: 6870.378 --- 169.254.1.11 tcpbench statistics --- 5162019352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6870.378/6884.589/6898.769/9.489 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 856224000 6849.792 100.00% Conn: 1 Mbps: 6849.792 Peak Mbps: 6849.792 Avg Mbps: 6849.792 2000 855621472 6851.824 100.00% Conn: 1 Mbps: 6851.824 Peak Mbps: 6851.824 Avg Mbps: 6851.824 3000 856152648 6856.077 100.00% Conn: 1 Mbps: 6856.077 Peak Mbps: 6856.077 Avg Mbps: 6856.077 4000 855700752 6845.606 100.00% Conn: 1 Mbps: 6845.606 Peak Mbps: 6856.077 Avg Mbps: 6845.606 5000 856699680 6853.597 100.00% Conn: 1 Mbps: 6853.597 Peak Mbps: 6856.077 Avg Mbps: 6853.597 --- fc00:0:0:1::11 tcpbench statistics --- 5137415352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6845.606/6851.379/6856.077/3.551 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.064 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.064/0.064/0.064/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.124 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.124/0.124/0.124/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 366444896 2928.631 100.00% Conn: 1 Mbps: 2928.631 Peak Mbps: 2928.631 Avg Mbps: 2928.631 2001 384303104 3077.502 100.00% Conn: 1 Mbps: 3077.502 Peak Mbps: 3077.502 Avg Mbps: 3077.502 3002 385613824 3084.911 100.00% Conn: 1 Mbps: 3084.911 Peak Mbps: 3084.911 Avg Mbps: 3084.911 4002 385613824 3084.911 100.00% Conn: 1 Mbps: 3084.911 Peak Mbps: 3084.911 Avg Mbps: 3084.911 5002 385613824 3084.911 100.00% Conn: 1 Mbps: 3084.911 Peak Mbps: 3084.911 Avg Mbps: 3084.911 --- 169.254.1.12 tcpbench statistics --- 2292154720 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2928.631/3052.173/3084.911/61.838 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 352036864 2816.295 100.00% Conn: 1 Mbps: 2816.295 Peak Mbps: 2816.295 Avg Mbps: 2816.295 2000 360448000 2883.584 100.00% Conn: 1 Mbps: 2883.584 Peak Mbps: 2883.584 Avg Mbps: 2883.584 3001 359137280 2873.098 100.00% Conn: 1 Mbps: 2873.098 Peak Mbps: 2883.584 Avg Mbps: 2873.098 4001 358875136 2871.001 100.00% Conn: 1 Mbps: 2871.001 Peak Mbps: 2883.584 Avg Mbps: 2871.001 5001 359923712 2879.390 100.00% Conn: 1 Mbps: 2879.390 Peak Mbps: 2883.584 Avg Mbps: 2879.390 --- fc00:0:0:1::12 tcpbench statistics --- 2154014720 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2816.295/2864.674/2883.584/24.599 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.056 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.056/0.056/0.056/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.065 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.065/0.065/0.065/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 736254892 5890.039 100.00% Conn: 1 Mbps: 5890.039 Peak Mbps: 5890.039 Avg Mbps: 5890.039 2001 783068752 6264.550 100.00% Conn: 1 Mbps: 6264.550 Peak Mbps: 6264.550 Avg Mbps: 6264.550 3001 786875144 6295.001 100.00% Conn: 1 Mbps: 6295.001 Peak Mbps: 6295.001 Avg Mbps: 6295.001 4001 788290448 6306.324 100.00% Conn: 1 Mbps: 6306.324 Peak Mbps: 6306.324 Avg Mbps: 6306.324 5002 793305336 6346.443 100.00% Conn: 1 Mbps: 6346.443 Peak Mbps: 6346.443 Avg Mbps: 6346.443 --- 169.254.0.13 tcpbench statistics --- 4684907440 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5890.039/6220.471/6346.443/167.286 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 656914080 5255.313 100.00% Conn: 1 Mbps: 5255.313 Peak Mbps: 5255.313 Avg Mbps: 5255.313 2001 686438472 5486.022 100.00% Conn: 1 Mbps: 5486.022 Peak Mbps: 5486.022 Avg Mbps: 5486.022 3001 687087528 5496.700 100.00% Conn: 1 Mbps: 5496.700 Peak Mbps: 5496.700 Avg Mbps: 5496.700 4002 687468592 5499.749 100.00% Conn: 1 Mbps: 5499.749 Peak Mbps: 5499.749 Avg Mbps: 5499.749 5002 692383952 5539.072 100.00% Conn: 1 Mbps: 5539.072 Peak Mbps: 5539.072 Avg Mbps: 5539.072 --- fc00::13 tcpbench statistics --- 4102629480 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5255.313/5455.371/5539.072/101.633 Mbps ==== run-ping-2-1 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.042 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.052 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.052/0.052/0.052/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 366734656 2930.946 100.00% Conn: 1 Mbps: 2930.946 Peak Mbps: 2930.946 Avg Mbps: 2930.946 2001 373293056 2986.344 100.00% Conn: 1 Mbps: 2986.344 Peak Mbps: 2986.344 Avg Mbps: 2986.344 3002 376176640 3009.413 100.00% Conn: 1 Mbps: 3009.413 Peak Mbps: 3009.413 Avg Mbps: 3009.413 4002 375390208 3003.122 100.00% Conn: 1 Mbps: 3003.122 Peak Mbps: 3009.413 Avg Mbps: 3003.122 5002 374603776 2996.830 100.00% Conn: 1 Mbps: 2996.830 Peak Mbps: 3009.413 Avg Mbps: 2996.830 --- 169.254.1.11 tcpbench statistics --- 2241064256 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2930.946/2985.331/3009.413/28.240 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 356940992 2852.675 100.00% Conn: 1 Mbps: 2852.675 Peak Mbps: 2852.675 Avg Mbps: 2852.675 2000 364380160 2917.959 100.00% Conn: 1 Mbps: 2917.959 Peak Mbps: 2917.959 Avg Mbps: 2917.959 3001 364904448 2919.236 100.00% Conn: 1 Mbps: 2919.236 Peak Mbps: 2919.236 Avg Mbps: 2919.236 4001 364904448 2919.236 100.00% Conn: 1 Mbps: 2919.236 Peak Mbps: 2919.236 Avg Mbps: 2919.236 5002 367001600 2936.013 100.00% Conn: 1 Mbps: 2936.013 Peak Mbps: 2936.013 Avg Mbps: 2936.013 --- fc00:0:0:1::11 tcpbench statistics --- 2185395392 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2852.675/2909.024/2936.013/28.955 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.037 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.037/0.037/0.037/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.044 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.044/0.044/0.044/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 854279456 6834.236 100.00% Conn: 1 Mbps: 6834.236 Peak Mbps: 6834.236 Avg Mbps: 6834.236 2000 856177784 6856.279 100.00% Conn: 1 Mbps: 6856.279 Peak Mbps: 6856.279 Avg Mbps: 6856.279 3000 858472864 6867.783 100.00% Conn: 1 Mbps: 6867.783 Peak Mbps: 6867.783 Avg Mbps: 6867.783 4000 856157512 6849.260 100.00% Conn: 1 Mbps: 6849.260 Peak Mbps: 6867.783 Avg Mbps: 6849.260 5000 853186216 6825.490 100.00% Conn: 1 Mbps: 6825.490 Peak Mbps: 6867.783 Avg Mbps: 6825.490 --- 169.254.1.12 tcpbench statistics --- 5131206648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6825.490/6846.609/6867.783/15.152 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 843008376 6744.067 100.00% Conn: 1 Mbps: 6744.067 Peak Mbps: 6744.067 Avg Mbps: 6744.067 2000 842348640 6745.535 100.00% Conn: 1 Mbps: 6745.535 Peak Mbps: 6745.535 Avg Mbps: 6745.535 3000 840400848 6723.207 100.00% Conn: 1 Mbps: 6723.207 Peak Mbps: 6745.535 Avg Mbps: 6723.207 4000 842547132 6740.377 100.00% Conn: 1 Mbps: 6740.377 Peak Mbps: 6745.535 Avg Mbps: 6740.377 5000 839679708 6717.438 100.00% Conn: 1 Mbps: 6717.438 Peak Mbps: 6745.535 Avg Mbps: 6717.438 --- fc00:0:0:1::12 tcpbench statistics --- 5049417996 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6717.438/6734.125/6745.535/11.539 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.043 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.043/0.043/0.043/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.045 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-2-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 1264940214 10119.522 100.00% Conn: 1 Mbps: 10119.522 Peak Mbps: 10119.522 Avg Mbps: 10119.522 2000 1268137592 10155.256 100.00% Conn: 1 Mbps: 10155.256 Peak Mbps: 10155.256 Avg Mbps: 10155.256 3000 1270722156 10165.777 100.00% Conn: 1 Mbps: 10165.777 Peak Mbps: 10165.777 Avg Mbps: 10165.777 4000 1268153950 10145.232 100.00% Conn: 1 Mbps: 10145.232 Peak Mbps: 10165.777 Avg Mbps: 10145.232 5000 1269593442 10156.748 100.00% Conn: 1 Mbps: 10156.748 Peak Mbps: 10165.777 Avg Mbps: 10156.748 --- 169.254.0.13 tcpbench statistics --- 7613987100 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10119.522/10148.507/10165.777/15.891 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 1105552836 8844.423 100.00% Conn: 1 Mbps: 8844.423 Peak Mbps: 8844.423 Avg Mbps: 8844.423 2000 1104503576 8844.873 100.00% Conn: 1 Mbps: 8844.873 Peak Mbps: 8844.873 Avg Mbps: 8844.873 3000 1106432640 8851.461 100.00% Conn: 1 Mbps: 8851.461 Peak Mbps: 8851.461 Avg Mbps: 8851.461 4000 1107086560 8856.692 100.00% Conn: 1 Mbps: 8856.692 Peak Mbps: 8856.692 Avg Mbps: 8856.692 5000 1113821936 8910.575 100.00% Conn: 1 Mbps: 8910.575 Peak Mbps: 8910.575 Avg Mbps: 8910.575 --- fc00::13 tcpbench statistics --- 6648767284 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8844.423/8861.605/8910.575/24.901 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.054 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.054/0.054/0.054/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 366221768 2926.847 100.00% Conn: 1 Mbps: 2926.847 Peak Mbps: 2926.847 Avg Mbps: 2926.847 2001 373030912 2984.247 100.00% Conn: 1 Mbps: 2984.247 Peak Mbps: 2984.247 Avg Mbps: 2984.247 3002 374865920 2998.927 100.00% Conn: 1 Mbps: 2998.927 Peak Mbps: 2998.927 Avg Mbps: 2998.927 4002 374079488 2992.636 100.00% Conn: 1 Mbps: 2992.636 Peak Mbps: 2998.927 Avg Mbps: 2992.636 5003 372506624 2980.053 100.00% Conn: 1 Mbps: 2980.053 Peak Mbps: 2998.927 Avg Mbps: 2980.053 --- 169.254.1.11 tcpbench statistics --- 2229541320 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2926.847/2976.542/2998.927/25.696 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 825036416 6600.291 100.00% Conn: 1 Mbps: 6600.291 Peak Mbps: 6600.291 Avg Mbps: 6600.291 2000 856424448 6858.254 100.00% Conn: 1 Mbps: 6858.254 Peak Mbps: 6858.254 Avg Mbps: 6858.254 3000 848822272 6790.578 100.00% Conn: 1 Mbps: 6790.578 Peak Mbps: 6858.254 Avg Mbps: 6790.578 4000 844954488 6759.636 100.00% Conn: 1 Mbps: 6759.636 Peak Mbps: 6858.254 Avg Mbps: 6759.636 5000 850395136 6803.161 100.00% Conn: 1 Mbps: 6803.161 Peak Mbps: 6858.254 Avg Mbps: 6803.161 --- fc00:0:0:1::11 tcpbench statistics --- 5081795064 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6600.291/6762.384/6858.254/87.098 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.040 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.040/0.040/0.040/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.048 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.048/0.048/0.048/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 1263714882 10109.719 100.00% Conn: 1 Mbps: 10109.719 Peak Mbps: 10109.719 Avg Mbps: 10109.719 2000 1270689440 10175.691 100.00% Conn: 1 Mbps: 10175.691 Peak Mbps: 10175.691 Avg Mbps: 10175.691 3000 1270051478 10160.412 100.00% Conn: 1 Mbps: 10160.412 Peak Mbps: 10175.691 Avg Mbps: 10160.412 4000 1270640366 10165.123 100.00% Conn: 1 Mbps: 10165.123 Peak Mbps: 10175.691 Avg Mbps: 10165.123 5000 1267188828 10137.511 100.00% Conn: 1 Mbps: 10137.511 Peak Mbps: 10175.691 Avg Mbps: 10137.511 --- 169.254.1.12 tcpbench statistics --- 7611142338 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10109.719/10149.691/10175.691/23.559 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 1102798916 8822.391 100.00% Conn: 1 Mbps: 8822.391 Peak Mbps: 8822.391 Avg Mbps: 8822.391 2000 1103849656 8839.637 100.00% Conn: 1 Mbps: 8839.637 Peak Mbps: 8839.637 Avg Mbps: 8839.637 3000 1104470880 8835.767 100.00% Conn: 1 Mbps: 8835.767 Peak Mbps: 8839.637 Avg Mbps: 8835.767 4000 1104568968 8836.552 100.00% Conn: 1 Mbps: 8836.552 Peak Mbps: 8839.637 Avg Mbps: 8836.552 5000 1104863232 8838.906 100.00% Conn: 1 Mbps: 8838.906 Peak Mbps: 8839.637 Avg Mbps: 8838.906 --- fc00:0:0:1::12 tcpbench statistics --- 6626395764 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8822.391/8834.651/8839.637/6.295 Mbps ==== run-ping-3-3 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.040 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.040/0.040/0.040/0.000 ms ==== run-ping6-3-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.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-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 1274848826 10198.791 100.00% Conn: 1 Mbps: 10198.791 Peak Mbps: 10198.791 Avg Mbps: 10198.791 2000 1279359180 10245.119 100.00% Conn: 1 Mbps: 10245.119 Peak Mbps: 10245.119 Avg Mbps: 10245.119 3000 1282205472 10257.644 100.00% Conn: 1 Mbps: 10257.644 Peak Mbps: 10257.644 Avg Mbps: 10257.644 4000 1282761644 10262.093 100.00% Conn: 1 Mbps: 10262.093 Peak Mbps: 10262.093 Avg Mbps: 10262.093 5000 1281453004 10251.624 100.00% Conn: 1 Mbps: 10251.624 Peak Mbps: 10262.093 Avg Mbps: 10251.624 --- 169.254.0.13 tcpbench statistics --- 7684861990 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10198.791/10243.054/10262.093/22.857 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 1290074260 10320.594 100.00% Conn: 1 Mbps: 10320.594 Peak Mbps: 10320.594 Avg Mbps: 10320.594 2000 1293780720 10360.606 100.00% Conn: 1 Mbps: 10360.606 Peak Mbps: 10360.606 Avg Mbps: 10360.606 3000 1293715328 10349.723 100.00% Conn: 1 Mbps: 10349.723 Peak Mbps: 10360.606 Avg Mbps: 10349.723 4000 1292538272 10340.306 100.00% Conn: 1 Mbps: 10340.306 Peak Mbps: 10360.606 Avg Mbps: 10340.306 5000 1294205768 10353.646 100.00% Conn: 1 Mbps: 10353.646 Peak Mbps: 10360.606 Avg Mbps: 10353.646 --- fc00::13 tcpbench statistics --- 7757833500 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10320.594/10344.975/10360.606/13.844 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m51.93s