START sys/net/pair 2024-12-29T00:51:28Z ==== 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.036 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.036/0.036/0.036/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.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-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 739736256 5917.890 100.00% Conn: 1 Mbps: 5917.890 Peak Mbps: 5917.890 Avg Mbps: 5917.890 2000 738281772 5912.166 100.00% Conn: 1 Mbps: 5912.166 Peak Mbps: 5917.890 Avg Mbps: 5912.166 3000 743025328 5944.203 100.00% Conn: 1 Mbps: 5944.203 Peak Mbps: 5944.203 Avg Mbps: 5944.203 4000 743622828 5948.983 100.00% Conn: 1 Mbps: 5948.983 Peak Mbps: 5948.983 Avg Mbps: 5948.983 5000 739688568 5917.509 100.00% Conn: 1 Mbps: 5917.509 Peak Mbps: 5948.983 Avg Mbps: 5917.509 --- 169.254.1.11 tcpbench statistics --- 4446578732 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5912.166/5928.150/5948.983/15.269 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 751986656 6015.893 100.00% Conn: 1 Mbps: 6015.893 Peak Mbps: 6015.893 Avg Mbps: 6015.893 2000 753889376 6031.115 100.00% Conn: 1 Mbps: 6031.115 Peak Mbps: 6031.115 Avg Mbps: 6031.115 3000 753255136 6026.041 100.00% Conn: 1 Mbps: 6026.041 Peak Mbps: 6031.115 Avg Mbps: 6026.041 4000 748878880 5997.028 100.00% Conn: 1 Mbps: 5997.028 Peak Mbps: 6031.115 Avg Mbps: 5997.028 5000 749996728 5999.974 100.00% Conn: 1 Mbps: 5999.974 Peak Mbps: 6031.115 Avg Mbps: 5999.974 --- fc00:0:0:1::11 tcpbench statistics --- 4504316984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5997.028/6014.010/6031.115/13.611 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.088 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.088/0.088/0.088/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.144 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.144/0.144/0.144/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 272875824 2180.826 100.00% Conn: 1 Mbps: 2180.826 Peak Mbps: 2180.826 Avg Mbps: 2180.826 2003 288610832 2304.278 100.00% Conn: 1 Mbps: 2304.278 Peak Mbps: 2304.278 Avg Mbps: 2304.278 3002 285862968 2291.487 100.00% Conn: 1 Mbps: 2291.487 Peak Mbps: 2304.278 Avg Mbps: 2291.487 4001 285632960 2287.351 100.00% Conn: 1 Mbps: 2287.351 Peak Mbps: 2304.278 Avg Mbps: 2287.351 5002 290395432 2323.163 100.00% Conn: 1 Mbps: 2323.163 Peak Mbps: 2323.163 Avg Mbps: 2323.163 --- 169.254.1.12 tcpbench statistics --- 1711799776 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2180.826/2277.421/2323.163/49.881 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 245423904 1963.391 100.00% Conn: 1 Mbps: 1963.391 Peak Mbps: 1963.391 Avg Mbps: 1963.391 2001 258234068 2065.873 100.00% Conn: 1 Mbps: 2065.873 Peak Mbps: 2065.873 Avg Mbps: 2065.873 3001 261236700 2089.894 100.00% Conn: 1 Mbps: 2089.894 Peak Mbps: 2089.894 Avg Mbps: 2089.894 4001 260542212 2084.338 100.00% Conn: 1 Mbps: 2084.338 Peak Mbps: 2089.894 Avg Mbps: 2084.338 5002 263451628 2107.613 100.00% Conn: 1 Mbps: 2107.613 Peak Mbps: 2107.613 Avg Mbps: 2107.613 --- fc00:0:0:1::12 tcpbench statistics --- 1553821584 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1963.391/2062.222/2107.613/51.178 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.072 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.072/0.072/0.072/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.068 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.068/0.068/0.068/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 572119764 4576.958 100.00% Conn: 1 Mbps: 4576.958 Peak Mbps: 4576.958 Avg Mbps: 4576.958 2000 587595500 4705.469 100.00% Conn: 1 Mbps: 4705.469 Peak Mbps: 4705.469 Avg Mbps: 4705.469 3000 575920028 4607.360 100.00% Conn: 1 Mbps: 4607.360 Peak Mbps: 4705.469 Avg Mbps: 4607.360 4000 571031868 4572.828 100.00% Conn: 1 Mbps: 4572.828 Peak Mbps: 4705.469 Avg Mbps: 4572.828 5000 569529556 4560.797 100.00% Conn: 1 Mbps: 4560.797 Peak Mbps: 4705.469 Avg Mbps: 4560.797 --- 169.254.0.13 tcpbench statistics --- 3437841856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4560.797/4604.683/4705.469/52.677 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 555403968 4443.232 100.00% Conn: 1 Mbps: 4443.232 Peak Mbps: 4443.232 Avg Mbps: 4443.232 2001 580453200 4638.987 100.00% Conn: 1 Mbps: 4638.987 Peak Mbps: 4638.987 Avg Mbps: 4638.987 3002 583883424 4671.067 100.00% Conn: 1 Mbps: 4671.067 Peak Mbps: 4671.067 Avg Mbps: 4671.067 4002 585524520 4684.196 100.00% Conn: 1 Mbps: 4684.196 Peak Mbps: 4684.196 Avg Mbps: 4684.196 5003 585790304 4681.641 100.00% Conn: 1 Mbps: 4681.641 Peak Mbps: 4684.196 Avg Mbps: 4681.641 --- fc00::13 tcpbench statistics --- 3477282408 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4443.232/4623.825/4684.196/91.720 Mbps ==== run-ping-2-1 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.041 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.041/0.041/0.041/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.048 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.048/0.048/0.048/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 269137368 2150.948 100.00% Conn: 1 Mbps: 2150.948 Peak Mbps: 2150.948 Avg Mbps: 2150.948 2002 281754384 2251.783 100.00% Conn: 1 Mbps: 2251.783 Peak Mbps: 2251.783 Avg Mbps: 2251.783 3002 280987552 2250.151 100.00% Conn: 1 Mbps: 2250.151 Peak Mbps: 2251.783 Avg Mbps: 2250.151 4002 285921112 2287.369 100.00% Conn: 1 Mbps: 2287.369 Peak Mbps: 2287.369 Avg Mbps: 2287.369 5004 286248808 2287.703 100.00% Conn: 1 Mbps: 2287.703 Peak Mbps: 2287.703 Avg Mbps: 2287.703 --- 169.254.1.11 tcpbench statistics --- 1683905560 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2150.948/2245.591/2287.703/50.070 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 241837728 1932.769 100.00% Conn: 1 Mbps: 1932.769 Peak Mbps: 1932.769 Avg Mbps: 1932.769 2001 252871928 2025.000 100.00% Conn: 1 Mbps: 2025.000 Peak Mbps: 2025.000 Avg Mbps: 2025.000 3001 259545156 2076.361 100.00% Conn: 1 Mbps: 2076.361 Peak Mbps: 2076.361 Avg Mbps: 2076.361 4001 259451248 2077.688 100.00% Conn: 1 Mbps: 2077.688 Peak Mbps: 2077.688 Avg Mbps: 2077.688 5003 260272560 2080.100 100.00% Conn: 1 Mbps: 2080.100 Peak Mbps: 2080.100 Avg Mbps: 2080.100 --- fc00:0:0:1::11 tcpbench statistics --- 1534207888 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1932.769/2038.384/2080.100/56.676 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.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-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.061 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.061/0.061/0.061/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 713804632 5710.437 100.00% Conn: 1 Mbps: 5710.437 Peak Mbps: 5710.437 Avg Mbps: 5710.437 2000 715097696 5726.508 100.00% Conn: 1 Mbps: 5726.508 Peak Mbps: 5726.508 Avg Mbps: 5726.508 3000 710952072 5693.310 100.00% Conn: 1 Mbps: 5693.310 Peak Mbps: 5726.508 Avg Mbps: 5693.310 4000 714967376 5719.739 100.00% Conn: 1 Mbps: 5719.739 Peak Mbps: 5726.508 Avg Mbps: 5719.739 5000 713226880 5711.527 100.00% Conn: 1 Mbps: 5711.527 Peak Mbps: 5726.508 Avg Mbps: 5711.527 --- 169.254.1.12 tcpbench statistics --- 4284442984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5693.310/5712.304/5726.508/11.153 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 720156108 5761.249 100.00% Conn: 1 Mbps: 5761.249 Peak Mbps: 5761.249 Avg Mbps: 5761.249 2000 721451304 5777.388 100.00% Conn: 1 Mbps: 5777.388 Peak Mbps: 5777.388 Avg Mbps: 5777.388 3000 722766492 5782.132 100.00% Conn: 1 Mbps: 5782.132 Peak Mbps: 5782.132 Avg Mbps: 5782.132 4000 718601016 5748.808 100.00% Conn: 1 Mbps: 5748.808 Peak Mbps: 5782.132 Avg Mbps: 5748.808 5000 724256192 5794.050 100.00% Conn: 1 Mbps: 5794.050 Peak Mbps: 5794.050 Avg Mbps: 5794.050 --- fc00:0:0:1::12 tcpbench statistics --- 4328799512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5748.808/5772.725/5794.050/15.929 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.057 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.057/0.057/0.057/0.000 ms ==== run-ping6-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.050 ms --- fc00::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-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 1179119412 9432.955 100.00% Conn: 1 Mbps: 9432.955 Peak Mbps: 9432.955 Avg Mbps: 9432.955 2000 1180524144 9453.647 100.00% Conn: 1 Mbps: 9453.647 Peak Mbps: 9453.647 Avg Mbps: 9453.647 3000 1179771676 9438.173 100.00% Conn: 1 Mbps: 9438.173 Peak Mbps: 9453.647 Avg Mbps: 9438.173 4000 1178184950 9425.480 100.00% Conn: 1 Mbps: 9425.480 Peak Mbps: 9453.647 Avg Mbps: 9425.480 5000 1181374760 9450.998 100.00% Conn: 1 Mbps: 9450.998 Peak Mbps: 9453.647 Avg Mbps: 9450.998 --- 169.254.0.13 tcpbench statistics --- 7076603720 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9425.480/9440.251/9453.647/10.683 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 1168737244 9349.898 100.00% Conn: 1 Mbps: 9349.898 Peak Mbps: 9349.898 Avg Mbps: 9349.898 2000 1167377984 9348.372 100.00% Conn: 1 Mbps: 9348.372 Peak Mbps: 9349.898 Avg Mbps: 9348.372 3000 1167803032 9342.424 100.00% Conn: 1 Mbps: 9342.424 Peak Mbps: 9349.898 Avg Mbps: 9342.424 4000 1166135536 9329.084 100.00% Conn: 1 Mbps: 9329.084 Peak Mbps: 9349.898 Avg Mbps: 9329.084 5000 1166429800 9331.438 100.00% Conn: 1 Mbps: 9331.438 Peak Mbps: 9349.898 Avg Mbps: 9331.438 --- fc00::13 tcpbench statistics --- 7002946092 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9329.084/9340.243/9349.898/8.557 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.074 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.074/0.074/0.074/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.057 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.057/0.057/0.057/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 269849448 2156.639 100.00% Conn: 1 Mbps: 2156.639 Peak Mbps: 2156.639 Avg Mbps: 2156.639 2000 286331176 2292.942 100.00% Conn: 1 Mbps: 2292.942 Peak Mbps: 2292.942 Avg Mbps: 2292.942 3001 281103008 2248.824 100.00% Conn: 1 Mbps: 2248.824 Peak Mbps: 2292.942 Avg Mbps: 2248.824 4001 278327184 2228.846 100.00% Conn: 1 Mbps: 2228.846 Peak Mbps: 2292.942 Avg Mbps: 2228.846 5002 282803848 2260.171 100.00% Conn: 1 Mbps: 2260.171 Peak Mbps: 2292.942 Avg Mbps: 2260.171 --- 169.254.1.11 tcpbench statistics --- 1679882848 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2156.639/2237.484/2292.942/45.452 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 504503992 4036.032 100.00% Conn: 1 Mbps: 4036.032 Peak Mbps: 4036.032 Avg Mbps: 4036.032 2000 556036224 4452.743 100.00% Conn: 1 Mbps: 4452.743 Peak Mbps: 4452.743 Avg Mbps: 4452.743 3001 556094288 4448.754 100.00% Conn: 1 Mbps: 4448.754 Peak Mbps: 4452.743 Avg Mbps: 4448.754 4001 553717576 4434.175 100.00% Conn: 1 Mbps: 4434.175 Peak Mbps: 4452.743 Avg Mbps: 4434.175 5001 555562288 4444.498 100.00% Conn: 1 Mbps: 4444.498 Peak Mbps: 4452.743 Avg Mbps: 4444.498 --- fc00:0:0:1::11 tcpbench statistics --- 3279762184 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4036.032/4363.240/4452.743/163.721 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.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-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 1182412816 9459.303 100.00% Conn: 1 Mbps: 9459.303 Peak Mbps: 9459.303 Avg Mbps: 9459.303 2000 1178970134 9441.202 100.00% Conn: 1 Mbps: 9441.202 Peak Mbps: 9459.303 Avg Mbps: 9441.202 3000 1187787096 9502.297 100.00% Conn: 1 Mbps: 9502.297 Peak Mbps: 9502.297 Avg Mbps: 9502.297 4000 1187999750 9503.998 100.00% Conn: 1 Mbps: 9503.998 Peak Mbps: 9503.998 Avg Mbps: 9503.998 5000 1188637712 9509.102 100.00% Conn: 1 Mbps: 9509.102 Peak Mbps: 9509.102 Avg Mbps: 9509.102 --- 169.254.1.12 tcpbench statistics --- 7113872690 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9441.202/9483.180/9509.102/27.579 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 1158167648 9265.341 100.00% Conn: 1 Mbps: 9265.341 Peak Mbps: 9265.341 Avg Mbps: 9265.341 2000 1160838784 9296.006 100.00% Conn: 1 Mbps: 9296.006 Peak Mbps: 9296.006 Avg Mbps: 9296.006 3000 1160773392 9286.187 100.00% Conn: 1 Mbps: 9286.187 Peak Mbps: 9296.006 Avg Mbps: 9286.187 4000 1164435344 9315.483 100.00% Conn: 1 Mbps: 9315.483 Peak Mbps: 9315.483 Avg Mbps: 9315.483 5000 1162833240 9302.666 100.00% Conn: 1 Mbps: 9302.666 Peak Mbps: 9315.483 Avg Mbps: 9302.666 --- fc00:0:0:1::12 tcpbench statistics --- 6968050672 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9265.341/9293.137/9315.483/16.848 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.048 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.048/0.048/0.048/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.047 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-tcpbench-3-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 1143607272 9148.858 100.00% Conn: 1 Mbps: 9148.858 Peak Mbps: 9148.858 Avg Mbps: 9148.858 2000 1143097040 9153.930 100.00% Conn: 1 Mbps: 9153.930 Peak Mbps: 9153.930 Avg Mbps: 9153.930 3000 1143015250 9144.122 100.00% Conn: 1 Mbps: 9144.122 Peak Mbps: 9153.930 Avg Mbps: 9144.122 4000 1142671732 9141.374 100.00% Conn: 1 Mbps: 9141.374 Peak Mbps: 9153.930 Avg Mbps: 9141.374 5000 1143914940 9151.320 100.00% Conn: 1 Mbps: 9151.320 Peak Mbps: 9153.930 Avg Mbps: 9151.320 --- 169.254.0.13 tcpbench statistics --- 6860810062 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9141.374/9147.921/9153.930/4.601 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 1214661980 9717.296 100.00% Conn: 1 Mbps: 9717.296 Peak Mbps: 9717.296 Avg Mbps: 9717.296 2000 1218024088 9753.947 100.00% Conn: 1 Mbps: 9753.947 Peak Mbps: 9753.947 Avg Mbps: 9753.947 3000 1217075904 9736.607 100.00% Conn: 1 Mbps: 9736.607 Peak Mbps: 9753.947 Avg Mbps: 9736.607 4000 1217043208 9736.346 100.00% Conn: 1 Mbps: 9736.346 Peak Mbps: 9753.947 Avg Mbps: 9736.346 5000 1216356592 9730.853 100.00% Conn: 1 Mbps: 9730.853 Peak Mbps: 9753.947 Avg Mbps: 9730.853 --- fc00::13 tcpbench statistics --- 7299354884 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9717.296/9735.010/9753.947/11.781 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.88s