START sys/net/pair 2024-06-25T15:23:54Z ==== 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.071 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.071/0.071/0.071/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.069 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.069/0.069/0.069/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 371084172 2968.673 100.00% Conn: 1 Mbps: 2968.673 Peak Mbps: 2968.673 Avg Mbps: 2968.673 2000 371815388 2977.501 100.00% Conn: 1 Mbps: 2977.501 Peak Mbps: 2977.501 Avg Mbps: 2977.501 3000 371537208 2972.298 100.00% Conn: 1 Mbps: 2972.298 Peak Mbps: 2977.501 Avg Mbps: 2972.298 4000 371839232 2977.692 100.00% Conn: 1 Mbps: 2977.692 Peak Mbps: 2977.692 Avg Mbps: 2977.692 5000 373022504 2984.180 100.00% Conn: 1 Mbps: 2984.180 Peak Mbps: 2984.180 Avg Mbps: 2984.180 --- 169.254.1.11 tcpbench statistics --- 2230366780 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2968.673/2976.069/2984.180/5.280 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 374098536 2992.788 100.00% Conn: 1 Mbps: 2992.788 Peak Mbps: 2992.788 Avg Mbps: 2992.788 2000 376437296 3014.513 100.00% Conn: 1 Mbps: 3014.513 Peak Mbps: 3014.513 Avg Mbps: 3014.513 3000 375914048 3007.312 100.00% Conn: 1 Mbps: 3007.312 Peak Mbps: 3014.513 Avg Mbps: 3007.312 4000 375684136 3005.473 100.00% Conn: 1 Mbps: 3005.473 Peak Mbps: 3014.513 Avg Mbps: 3005.473 5000 374526648 2996.213 100.00% Conn: 1 Mbps: 2996.213 Peak Mbps: 3014.513 Avg Mbps: 2996.213 --- fc00:0:0:1::11 tcpbench statistics --- 2250656136 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2992.788/3003.260/3014.513/7.839 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.091 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.091/0.091/0.091/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.167 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.167/0.167/0.167/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 153060712 1223.262 100.00% Conn: 1 Mbps: 1223.262 Peak Mbps: 1223.262 Avg Mbps: 1223.262 2001 154545032 1236.360 100.00% Conn: 1 Mbps: 1236.360 Peak Mbps: 1236.360 Avg Mbps: 1236.360 3001 153161864 1225.295 100.00% Conn: 1 Mbps: 1225.295 Peak Mbps: 1236.360 Avg Mbps: 1225.295 4000 154174120 1234.628 100.00% Conn: 1 Mbps: 1234.628 Peak Mbps: 1236.360 Avg Mbps: 1234.628 5001 154788296 1238.306 100.00% Conn: 1 Mbps: 1238.306 Peak Mbps: 1238.306 Avg Mbps: 1238.306 --- 169.254.1.12 tcpbench statistics --- 922961608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1223.262/1231.570/1238.306/6.100 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 142606476 1139.712 100.00% Conn: 1 Mbps: 1139.712 Peak Mbps: 1139.712 Avg Mbps: 1139.712 2000 143336264 1147.838 100.00% Conn: 1 Mbps: 1147.838 Peak Mbps: 1147.838 Avg Mbps: 1147.838 3001 142926936 1142.273 100.00% Conn: 1 Mbps: 1142.273 Peak Mbps: 1147.838 Avg Mbps: 1142.273 4001 144012824 1152.103 100.00% Conn: 1 Mbps: 1152.103 Peak Mbps: 1152.103 Avg Mbps: 1152.103 5001 143275368 1147.350 100.00% Conn: 1 Mbps: 1147.350 Peak Mbps: 1152.103 Avg Mbps: 1147.350 --- fc00:0:0:1::12 tcpbench statistics --- 860524228 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1139.712/1145.855/1152.103/4.376 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.073 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.073/0.073/0.073/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.084 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.084/0.084/0.084/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 189512112 1516.097 100.00% Conn: 1 Mbps: 1516.097 Peak Mbps: 1516.097 Avg Mbps: 1516.097 2000 188868324 1512.459 100.00% Conn: 1 Mbps: 1512.459 Peak Mbps: 1516.097 Avg Mbps: 1512.459 3000 189408788 1515.270 100.00% Conn: 1 Mbps: 1515.270 Peak Mbps: 1516.097 Avg Mbps: 1515.270 4000 189917460 1520.861 100.00% Conn: 1 Mbps: 1520.861 Peak Mbps: 1520.861 Avg Mbps: 1520.861 5000 191299292 1530.394 100.00% Conn: 1 Mbps: 1530.394 Peak Mbps: 1530.394 Avg Mbps: 1530.394 --- 169.254.0.13 tcpbench statistics --- 1139551328 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1512.459/1519.016/1530.394/6.299 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 179386856 1435.095 100.00% Conn: 1 Mbps: 1435.095 Peak Mbps: 1435.095 Avg Mbps: 1435.095 2000 178934960 1431.480 100.00% Conn: 1 Mbps: 1431.480 Peak Mbps: 1435.095 Avg Mbps: 1431.480 3000 179561272 1436.490 100.00% Conn: 1 Mbps: 1436.490 Peak Mbps: 1436.490 Avg Mbps: 1436.490 4000 179386856 1435.095 100.00% Conn: 1 Mbps: 1435.095 Peak Mbps: 1436.490 Avg Mbps: 1435.095 5000 179905816 1440.687 100.00% Conn: 1 Mbps: 1440.687 Peak Mbps: 1440.687 Avg Mbps: 1440.687 --- fc00::13 tcpbench statistics --- 1076570544 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1431.480/1435.769/1440.687/2.967 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.067 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.067/0.067/0.067/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.062 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.062/0.062/0.062/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 1000 154621056 1236.968 100.00% Conn: 1 Mbps: 1236.968 Peak Mbps: 1236.968 Avg Mbps: 1236.968 2001 155434776 1243.478 100.00% Conn: 1 Mbps: 1243.478 Peak Mbps: 1243.478 Avg Mbps: 1243.478 3002 155665344 1245.323 100.00% Conn: 1 Mbps: 1245.323 Peak Mbps: 1245.323 Avg Mbps: 1245.323 4002 153998136 1231.985 100.00% Conn: 1 Mbps: 1231.985 Peak Mbps: 1245.323 Avg Mbps: 1231.985 5002 155394672 1243.157 100.00% Conn: 1 Mbps: 1243.157 Peak Mbps: 1245.323 Avg Mbps: 1243.157 --- 169.254.1.11 tcpbench statistics --- 929814176 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1231.985/1240.182/1245.323/4.973 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 144129684 1151.886 100.00% Conn: 1 Mbps: 1151.886 Peak Mbps: 1151.886 Avg Mbps: 1151.886 2000 142488936 1141.053 100.00% Conn: 1 Mbps: 1141.053 Peak Mbps: 1151.886 Avg Mbps: 1141.053 3001 143113580 1144.909 100.00% Conn: 1 Mbps: 1144.909 Peak Mbps: 1151.886 Avg Mbps: 1144.909 4001 143596852 1148.775 100.00% Conn: 1 Mbps: 1148.775 Peak Mbps: 1151.886 Avg Mbps: 1148.775 5001 143632552 1150.211 100.00% Conn: 1 Mbps: 1150.211 Peak Mbps: 1151.886 Avg Mbps: 1150.211 --- fc00:0:0:1::11 tcpbench statistics --- 860610896 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1141.053/1147.366/1151.886/3.909 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.052 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.052/0.052/0.052/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.057 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.057/0.057/0.057/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 368617360 2948.939 100.00% Conn: 1 Mbps: 2948.939 Peak Mbps: 2948.939 Avg Mbps: 2948.939 2000 368527584 2951.172 100.00% Conn: 1 Mbps: 2951.172 Peak Mbps: 2951.172 Avg Mbps: 2951.172 3000 368591296 2948.730 100.00% Conn: 1 Mbps: 2948.730 Peak Mbps: 2951.172 Avg Mbps: 2948.730 4000 367083928 2936.671 100.00% Conn: 1 Mbps: 2936.671 Peak Mbps: 2951.172 Avg Mbps: 2936.671 5000 368983704 2951.870 100.00% Conn: 1 Mbps: 2951.870 Peak Mbps: 2951.870 Avg Mbps: 2951.870 --- 169.254.1.12 tcpbench statistics --- 2211527504 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2936.671/2947.476/2951.870/5.539 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 371198604 2969.589 100.00% Conn: 1 Mbps: 2969.589 Peak Mbps: 2969.589 Avg Mbps: 2969.589 2000 375832464 3006.660 100.00% Conn: 1 Mbps: 3006.660 Peak Mbps: 3006.660 Avg Mbps: 3006.660 3000 373454844 2990.629 100.00% Conn: 1 Mbps: 2990.629 Peak Mbps: 3006.660 Avg Mbps: 2990.629 4000 377210484 3017.684 100.00% Conn: 1 Mbps: 3017.684 Peak Mbps: 3017.684 Avg Mbps: 3017.684 5000 374765748 2998.126 100.00% Conn: 1 Mbps: 2998.126 Peak Mbps: 3017.684 Avg Mbps: 2998.126 --- fc00:0:0:1::12 tcpbench statistics --- 2247312144 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2969.589/2996.538/3017.684/16.207 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.058 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.058/0.058/0.058/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.062 ms --- fc00::13 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-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 675998462 5407.988 100.00% Conn: 1 Mbps: 5407.988 Peak Mbps: 5407.988 Avg Mbps: 5407.988 2000 678006384 5429.481 100.00% Conn: 1 Mbps: 5429.481 Peak Mbps: 5429.481 Avg Mbps: 5429.481 3000 677744656 5421.957 100.00% Conn: 1 Mbps: 5421.957 Peak Mbps: 5429.481 Avg Mbps: 5421.957 4000 677532002 5420.256 100.00% Conn: 1 Mbps: 5420.256 Peak Mbps: 5429.481 Avg Mbps: 5420.256 5000 668093436 5344.747 100.00% Conn: 1 Mbps: 5344.747 Peak Mbps: 5429.481 Avg Mbps: 5344.747 --- 169.254.0.13 tcpbench statistics --- 4053516512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5344.747/5404.886/5429.481/30.851 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 671302928 5370.423 100.00% Conn: 1 Mbps: 5370.423 Peak Mbps: 5370.423 Avg Mbps: 5370.423 2000 671183488 5374.843 100.00% Conn: 1 Mbps: 5374.843 Peak Mbps: 5374.843 Avg Mbps: 5374.843 3000 671575840 5372.607 100.00% Conn: 1 Mbps: 5372.607 Peak Mbps: 5374.843 Avg Mbps: 5372.607 4000 671935496 5375.484 100.00% Conn: 1 Mbps: 5375.484 Peak Mbps: 5375.484 Avg Mbps: 5375.484 5000 671837408 5374.699 100.00% Conn: 1 Mbps: 5374.699 Peak Mbps: 5375.484 Avg Mbps: 5374.699 --- fc00::13 tcpbench statistics --- 4028822472 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5370.423/5373.611/5375.484/1.864 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.072 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.072/0.072/0.072/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.079 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.079/0.079/0.079/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 1000 153730584 1229.845 100.00% Conn: 1 Mbps: 1229.845 Peak Mbps: 1229.845 Avg Mbps: 1229.845 2001 155125240 1241.002 100.00% Conn: 1 Mbps: 1241.002 Peak Mbps: 1241.002 Avg Mbps: 1241.002 3000 155631144 1246.295 100.00% Conn: 1 Mbps: 1246.295 Peak Mbps: 1246.295 Avg Mbps: 1246.295 4001 155376128 1243.009 100.00% Conn: 1 Mbps: 1243.009 Peak Mbps: 1246.295 Avg Mbps: 1243.009 5002 156150528 1249.204 100.00% Conn: 1 Mbps: 1249.204 Peak Mbps: 1249.204 Avg Mbps: 1249.204 --- 169.254.1.11 tcpbench statistics --- 931181968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1229.845/1241.871/1249.204/6.634 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 223815576 1790.525 100.00% Conn: 1 Mbps: 1790.525 Peak Mbps: 1790.525 Avg Mbps: 1790.525 2000 222444912 1779.559 100.00% Conn: 1 Mbps: 1779.559 Peak Mbps: 1790.525 Avg Mbps: 1779.559 3002 223621088 1787.182 100.00% Conn: 1 Mbps: 1787.182 Peak Mbps: 1790.525 Avg Mbps: 1787.182 4002 223686088 1789.489 100.00% Conn: 1 Mbps: 1789.489 Peak Mbps: 1790.525 Avg Mbps: 1789.489 5002 224082336 1792.659 100.00% Conn: 1 Mbps: 1792.659 Peak Mbps: 1792.659 Avg Mbps: 1792.659 --- fc00:0:0:1::11 tcpbench statistics --- 1339632944 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1779.559/1787.883/1792.659/4.520 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.069 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.069/0.069/0.069/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.059 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.059/0.059/0.059/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 672596636 5380.773 100.00% Conn: 1 Mbps: 5380.773 Peak Mbps: 5380.773 Avg Mbps: 5380.773 2000 674374908 5400.400 100.00% Conn: 1 Mbps: 5400.400 Peak Mbps: 5400.400 Avg Mbps: 5400.400 3000 675585400 5404.683 100.00% Conn: 1 Mbps: 5404.683 Peak Mbps: 5404.683 Avg Mbps: 5404.683 4000 675323672 5402.589 100.00% Conn: 1 Mbps: 5402.589 Peak Mbps: 5404.683 Avg Mbps: 5402.589 5000 674963796 5399.710 100.00% Conn: 1 Mbps: 5399.710 Peak Mbps: 5404.683 Avg Mbps: 5399.710 --- 169.254.1.12 tcpbench statistics --- 4047415616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5380.773/5397.631/5404.683/8.608 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 671759916 5374.079 100.00% Conn: 1 Mbps: 5374.079 Peak Mbps: 5374.079 Avg Mbps: 5374.079 2000 672098976 5382.174 100.00% Conn: 1 Mbps: 5382.174 Peak Mbps: 5382.174 Avg Mbps: 5382.174 3000 672393240 5379.146 100.00% Conn: 1 Mbps: 5379.146 Peak Mbps: 5382.174 Avg Mbps: 5379.146 4000 672131672 5377.053 100.00% Conn: 1 Mbps: 5377.053 Peak Mbps: 5382.174 Avg Mbps: 5377.053 5000 671772016 5374.176 100.00% Conn: 1 Mbps: 5374.176 Peak Mbps: 5382.174 Avg Mbps: 5374.176 --- fc00:0:0:1::12 tcpbench statistics --- 4033202980 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5374.079/5377.326/5382.174/3.077 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.050 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.050/0.050/0.050/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.057 ms --- fc00::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-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 689753114 5518.025 100.00% Conn: 1 Mbps: 5518.025 Peak Mbps: 5518.025 Avg Mbps: 5518.025 2000 687559456 5505.982 100.00% Conn: 1 Mbps: 5505.982 Peak Mbps: 5518.025 Avg Mbps: 5505.982 3000 687330444 5498.644 100.00% Conn: 1 Mbps: 5498.644 Peak Mbps: 5518.025 Avg Mbps: 5498.644 4000 688017480 5504.140 100.00% Conn: 1 Mbps: 5504.140 Peak Mbps: 5518.025 Avg Mbps: 5504.140 5000 687101432 5496.811 100.00% Conn: 1 Mbps: 5496.811 Peak Mbps: 5518.025 Avg Mbps: 5496.811 --- 169.254.0.13 tcpbench statistics --- 4126830642 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5496.811/5504.720/5518.025/7.462 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 687369140 5498.953 100.00% Conn: 1 Mbps: 5498.953 Peak Mbps: 5498.953 Avg Mbps: 5498.953 2000 686910264 5500.783 100.00% Conn: 1 Mbps: 5500.783 Peak Mbps: 5500.783 Avg Mbps: 5500.783 3000 686648696 5493.190 100.00% Conn: 1 Mbps: 5493.190 Peak Mbps: 5500.783 Avg Mbps: 5493.190 4000 686616000 5492.928 100.00% Conn: 1 Mbps: 5492.928 Peak Mbps: 5500.783 Avg Mbps: 5492.928 5000 686746784 5493.974 100.00% Conn: 1 Mbps: 5493.974 Peak Mbps: 5500.783 Avg Mbps: 5493.974 --- fc00::13 tcpbench statistics --- 4121299236 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5492.928/5495.966/5500.783/3.257 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m53.56s