START sys/net/pair 2025-02-12T21:17:24Z ==== 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.037 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.037/0.037/0.037/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 946948564 7575.589 100.00% Conn: 1 Mbps: 7575.589 Peak Mbps: 7575.589 Avg Mbps: 7575.589 2000 947163160 7584.890 100.00% Conn: 1 Mbps: 7584.890 Peak Mbps: 7584.890 Avg Mbps: 7584.890 3000 948601748 7588.814 100.00% Conn: 1 Mbps: 7588.814 Peak Mbps: 7588.814 Avg Mbps: 7588.814 4000 947512872 7580.103 100.00% Conn: 1 Mbps: 7580.103 Peak Mbps: 7588.814 Avg Mbps: 7580.103 5000 947504924 7580.039 100.00% Conn: 1 Mbps: 7580.039 Peak Mbps: 7588.814 Avg Mbps: 7580.039 --- 169.254.1.11 tcpbench statistics --- 5685220296 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7575.589/7581.887/7588.814/4.545 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 941124952 7529.000 100.00% Conn: 1 Mbps: 7529.000 Peak Mbps: 7529.000 Avg Mbps: 7529.000 2000 941830544 7542.187 100.00% Conn: 1 Mbps: 7542.187 Peak Mbps: 7542.187 Avg Mbps: 7542.187 3000 943019744 7544.158 100.00% Conn: 1 Mbps: 7544.158 Peak Mbps: 7544.158 Avg Mbps: 7544.158 4000 941521352 7532.171 100.00% Conn: 1 Mbps: 7532.171 Peak Mbps: 7544.158 Avg Mbps: 7532.171 5000 944573632 7556.589 100.00% Conn: 1 Mbps: 7556.589 Peak Mbps: 7556.589 Avg Mbps: 7556.589 --- fc00:0:0:1::11 tcpbench statistics --- 5659046040 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7529.000/7540.821/7556.589/9.759 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.059 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.059/0.059/0.059/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.118 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.118/0.118/0.118/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 372611248 2977.912 100.00% Conn: 1 Mbps: 2977.912 Peak Mbps: 2977.912 Avg Mbps: 2977.912 2001 382049392 3059.455 100.00% Conn: 1 Mbps: 3059.455 Peak Mbps: 3059.455 Avg Mbps: 3059.455 3001 382730240 3061.842 100.00% Conn: 1 Mbps: 3061.842 Peak Mbps: 3061.842 Avg Mbps: 3061.842 4001 381394840 3051.159 100.00% Conn: 1 Mbps: 3051.159 Peak Mbps: 3061.842 Avg Mbps: 3051.159 5001 385875968 3090.098 100.00% Conn: 1 Mbps: 3090.098 Peak Mbps: 3090.098 Avg Mbps: 3090.098 --- 169.254.1.12 tcpbench statistics --- 2287654072 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2977.912/3048.093/3090.098/37.463 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 351285992 2810.288 100.00% Conn: 1 Mbps: 2810.288 Peak Mbps: 2810.288 Avg Mbps: 2810.288 2001 355690292 2845.522 100.00% Conn: 1 Mbps: 2845.522 Peak Mbps: 2845.522 Avg Mbps: 2845.522 3001 350748672 2805.989 100.00% Conn: 1 Mbps: 2805.989 Peak Mbps: 2845.522 Avg Mbps: 2805.989 4001 359399424 2875.195 100.00% Conn: 1 Mbps: 2875.195 Peak Mbps: 2875.195 Avg Mbps: 2875.195 5002 357564416 2860.515 100.00% Conn: 1 Mbps: 2860.515 Peak Mbps: 2875.195 Avg Mbps: 2860.515 --- fc00:0:0:1::12 tcpbench statistics --- 2131204636 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2805.989/2839.502/2875.195/27.307 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.051 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.051/0.051/0.051/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.058 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.058/0.058/0.058/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 758159580 6065.277 100.00% Conn: 1 Mbps: 6065.277 Peak Mbps: 6065.277 Avg Mbps: 6065.277 2000 795992060 6374.311 100.00% Conn: 1 Mbps: 6374.311 Peak Mbps: 6374.311 Avg Mbps: 6374.311 3000 802406120 6419.249 100.00% Conn: 1 Mbps: 6419.249 Peak Mbps: 6419.249 Avg Mbps: 6419.249 4000 797208104 6377.665 100.00% Conn: 1 Mbps: 6377.665 Peak Mbps: 6419.249 Avg Mbps: 6377.665 5001 801857824 6414.863 100.00% Conn: 1 Mbps: 6414.863 Peak Mbps: 6419.249 Avg Mbps: 6414.863 --- 169.254.0.13 tcpbench statistics --- 4757171400 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6065.277/6330.273/6419.249/133.776 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 668901736 5351.214 100.00% Conn: 1 Mbps: 5351.214 Peak Mbps: 5351.214 Avg Mbps: 5351.214 2000 697728464 5587.415 100.00% Conn: 1 Mbps: 5587.415 Peak Mbps: 5587.415 Avg Mbps: 5587.415 3000 692692104 5541.537 100.00% Conn: 1 Mbps: 5541.537 Peak Mbps: 5587.415 Avg Mbps: 5541.537 4000 689934200 5524.999 100.00% Conn: 1 Mbps: 5524.999 Peak Mbps: 5587.415 Avg Mbps: 5524.999 5000 690422752 5523.382 100.00% Conn: 1 Mbps: 5523.382 Peak Mbps: 5587.415 Avg Mbps: 5523.382 --- fc00::13 tcpbench statistics --- 4131642504 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5351.214/5505.709/5587.415/80.638 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.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-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 372363856 2975.935 100.00% Conn: 1 Mbps: 2975.935 Peak Mbps: 2975.935 Avg Mbps: 2975.935 2001 383516672 3068.133 100.00% Conn: 1 Mbps: 3068.133 Peak Mbps: 3068.133 Avg Mbps: 3068.133 3002 380245888 3041.967 100.00% Conn: 1 Mbps: 3041.967 Peak Mbps: 3068.133 Avg Mbps: 3041.967 4002 382992384 3063.939 100.00% Conn: 1 Mbps: 3063.939 Peak Mbps: 3068.133 Avg Mbps: 3063.939 5003 383516672 3068.133 100.00% Conn: 1 Mbps: 3068.133 Peak Mbps: 3068.133 Avg Mbps: 3068.133 --- 169.254.1.11 tcpbench statistics --- 2284841424 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2975.935/3043.622/3068.133/35.210 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 350106072 2800.849 100.00% Conn: 1 Mbps: 2800.849 Peak Mbps: 2800.849 Avg Mbps: 2800.849 2001 352321536 2818.572 100.00% Conn: 1 Mbps: 2818.572 Peak Mbps: 2818.572 Avg Mbps: 2818.572 3001 352845824 2822.767 100.00% Conn: 1 Mbps: 2822.767 Peak Mbps: 2822.767 Avg Mbps: 2822.767 4001 356777984 2854.224 100.00% Conn: 1 Mbps: 2854.224 Peak Mbps: 2854.224 Avg Mbps: 2854.224 5002 357116844 2856.935 100.00% Conn: 1 Mbps: 2856.935 Peak Mbps: 2856.935 Avg Mbps: 2856.935 --- fc00:0:0:1::11 tcpbench statistics --- 2125684100 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2800.849/2830.669/2856.935/21.646 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.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 926378272 7411.026 100.00% Conn: 1 Mbps: 7411.026 Peak Mbps: 7411.026 Avg Mbps: 7411.026 2000 928073880 7432.023 100.00% Conn: 1 Mbps: 7432.023 Peak Mbps: 7432.023 Avg Mbps: 7432.023 3000 926612848 7412.903 100.00% Conn: 1 Mbps: 7412.903 Peak Mbps: 7432.023 Avg Mbps: 7412.903 4000 926466600 7411.733 100.00% Conn: 1 Mbps: 7411.733 Peak Mbps: 7432.023 Avg Mbps: 7411.733 5000 926779368 7414.235 100.00% Conn: 1 Mbps: 7414.235 Peak Mbps: 7432.023 Avg Mbps: 7414.235 --- 169.254.1.12 tcpbench statistics --- 5562284936 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7411.026/7416.384/7432.023/7.895 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 939346968 7514.776 100.00% Conn: 1 Mbps: 7514.776 Peak Mbps: 7514.776 Avg Mbps: 7514.776 2000 941259060 7537.610 100.00% Conn: 1 Mbps: 7537.610 Peak Mbps: 7537.610 Avg Mbps: 7537.610 3000 940834944 7526.680 100.00% Conn: 1 Mbps: 7526.680 Peak Mbps: 7537.610 Avg Mbps: 7526.680 4000 942341484 7538.732 100.00% Conn: 1 Mbps: 7538.732 Peak Mbps: 7538.732 Avg Mbps: 7538.732 5000 940146648 7521.173 100.00% Conn: 1 Mbps: 7521.173 Peak Mbps: 7538.732 Avg Mbps: 7521.173 --- fc00:0:0:1::12 tcpbench statistics --- 5644127160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7514.776/7527.794/7538.732/9.279 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 1276830214 10214.642 100.00% Conn: 1 Mbps: 10214.642 Peak Mbps: 10214.642 Avg Mbps: 10214.642 2000 1278312268 10236.735 100.00% Conn: 1 Mbps: 10236.735 Peak Mbps: 10236.735 Avg Mbps: 10236.735 3000 1282107324 10256.859 100.00% Conn: 1 Mbps: 10256.859 Peak Mbps: 10256.859 Avg Mbps: 10256.859 4000 1280324302 10242.594 100.00% Conn: 1 Mbps: 10242.594 Peak Mbps: 10256.859 Avg Mbps: 10242.594 5000 1278443132 10227.545 100.00% Conn: 1 Mbps: 10227.545 Peak Mbps: 10256.859 Avg Mbps: 10227.545 --- 169.254.0.13 tcpbench statistics --- 7677601108 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10214.642/10235.675/10256.859/14.186 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 1255358020 10042.864 100.00% Conn: 1 Mbps: 10042.864 Peak Mbps: 10042.864 Avg Mbps: 10042.864 2000 1258272864 10076.259 100.00% Conn: 1 Mbps: 10076.259 Peak Mbps: 10076.259 Avg Mbps: 10076.259 3000 1255101352 10040.811 100.00% Conn: 1 Mbps: 10040.811 Peak Mbps: 10076.259 Avg Mbps: 10040.811 4000 1258076688 10064.614 100.00% Conn: 1 Mbps: 10064.614 Peak Mbps: 10076.259 Avg Mbps: 10064.614 5000 1256311104 10050.489 100.00% Conn: 1 Mbps: 10050.489 Peak Mbps: 10076.259 Avg Mbps: 10050.489 --- fc00::13 tcpbench statistics --- 7539104172 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10040.811/10055.007/10076.259/13.515 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.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-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.050 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.050/0.050/0.050/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 373574016 2985.607 100.00% Conn: 1 Mbps: 2985.607 Peak Mbps: 2985.607 Avg Mbps: 2985.607 2001 380633088 3048.113 100.00% Conn: 1 Mbps: 3048.113 Peak Mbps: 3048.113 Avg Mbps: 3048.113 3001 383382352 3067.059 100.00% Conn: 1 Mbps: 3067.059 Peak Mbps: 3067.059 Avg Mbps: 3067.059 4001 380633088 3045.065 100.00% Conn: 1 Mbps: 3045.065 Peak Mbps: 3067.059 Avg Mbps: 3045.065 5002 380108800 3040.870 100.00% Conn: 1 Mbps: 3040.870 Peak Mbps: 3067.059 Avg Mbps: 3040.870 --- 169.254.1.11 tcpbench statistics --- 2279700948 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2985.607/3037.343/3067.059/27.378 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 836448392 6691.587 100.00% Conn: 1 Mbps: 6691.587 Peak Mbps: 6691.587 Avg Mbps: 6691.587 2000 889635488 7117.084 100.00% Conn: 1 Mbps: 7117.084 Peak Mbps: 7117.084 Avg Mbps: 7117.084 3000 897234896 7177.879 100.00% Conn: 1 Mbps: 7177.879 Peak Mbps: 7177.879 Avg Mbps: 7177.879 4000 892850896 7142.807 100.00% Conn: 1 Mbps: 7142.807 Peak Mbps: 7177.879 Avg Mbps: 7142.807 5001 901865464 7214.924 100.00% Conn: 1 Mbps: 7214.924 Peak Mbps: 7214.924 Avg Mbps: 7214.924 --- fc00:0:0:1::11 tcpbench statistics --- 5319398280 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6691.587/7068.856/7214.924/191.493 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 1277707706 10221.662 100.00% Conn: 1 Mbps: 10221.662 Peak Mbps: 10221.662 Avg Mbps: 10221.662 2000 1277101776 10227.041 100.00% Conn: 1 Mbps: 10227.041 Peak Mbps: 10227.041 Avg Mbps: 10227.041 3000 1277101776 10216.814 100.00% Conn: 1 Mbps: 10216.814 Peak Mbps: 10227.041 Avg Mbps: 10216.814 4000 1278099614 10224.797 100.00% Conn: 1 Mbps: 10224.797 Peak Mbps: 10227.041 Avg Mbps: 10224.797 5000 1275858568 10206.869 100.00% Conn: 1 Mbps: 10206.869 Peak Mbps: 10227.041 Avg Mbps: 10206.869 --- 169.254.1.12 tcpbench statistics --- 7662186032 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10206.869/10219.437/10227.041/7.160 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 1262020012 10096.160 100.00% Conn: 1 Mbps: 10096.160 Peak Mbps: 10096.160 Avg Mbps: 10096.160 2000 1264256232 10124.174 100.00% Conn: 1 Mbps: 10124.174 Peak Mbps: 10124.174 Avg Mbps: 10124.174 3000 1264779368 10118.235 100.00% Conn: 1 Mbps: 10118.235 Peak Mbps: 10124.174 Avg Mbps: 10118.235 4000 1266871912 10134.975 100.00% Conn: 1 Mbps: 10134.975 Peak Mbps: 10134.975 Avg Mbps: 10134.975 5000 1268800976 10150.408 100.00% Conn: 1 Mbps: 10150.408 Peak Mbps: 10150.408 Avg Mbps: 10150.408 --- fc00:0:0:1::12 tcpbench statistics --- 7594810164 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10096.160/10124.790/10150.408/18.017 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.039 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.039/0.039/0.039/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.040 ms --- fc00::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-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 1285297634 10282.381 100.00% Conn: 1 Mbps: 10282.381 Peak Mbps: 10282.381 Avg Mbps: 10282.381 2000 1281878312 10265.292 100.00% Conn: 1 Mbps: 10265.292 Peak Mbps: 10282.381 Avg Mbps: 10265.292 3000 1282418126 10269.615 100.00% Conn: 1 Mbps: 10269.615 Peak Mbps: 10282.381 Avg Mbps: 10269.615 4000 1284004852 10272.039 100.00% Conn: 1 Mbps: 10272.039 Peak Mbps: 10282.381 Avg Mbps: 10272.039 5000 1282205472 10257.644 100.00% Conn: 1 Mbps: 10257.644 Peak Mbps: 10282.381 Avg Mbps: 10257.644 --- 169.254.0.13 tcpbench statistics --- 7695785180 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10257.644/10269.394/10282.381/8.131 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 1291413716 10331.310 100.00% Conn: 1 Mbps: 10331.310 Peak Mbps: 10331.310 Avg Mbps: 10331.310 2000 1294107680 10363.225 100.00% Conn: 1 Mbps: 10363.225 Peak Mbps: 10363.225 Avg Mbps: 10363.225 3000 1288778232 10310.226 100.00% Conn: 1 Mbps: 10310.226 Peak Mbps: 10363.225 Avg Mbps: 10310.226 4000 1295448216 10363.586 100.00% Conn: 1 Mbps: 10363.586 Peak Mbps: 10363.586 Avg Mbps: 10363.586 5000 1291524696 10332.198 100.00% Conn: 1 Mbps: 10332.198 Peak Mbps: 10363.586 Avg Mbps: 10332.198 --- fc00::13 tcpbench statistics --- 7753516548 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10310.226/10340.109/10363.586/20.584 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 1m52.69s