START sys/net/pair 2025-01-01T15:40:25Z ==== 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.049 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.049/0.049/0.049/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.044 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-tcpbench-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 712180540 5697.444 100.00% Conn: 1 Mbps: 5697.444 Peak Mbps: 5697.444 Avg Mbps: 5697.444 2000 705845984 5652.420 100.00% Conn: 1 Mbps: 5652.420 Peak Mbps: 5697.444 Avg Mbps: 5652.420 3000 704796848 5638.375 100.00% Conn: 1 Mbps: 5638.375 Peak Mbps: 5697.444 Avg Mbps: 5638.375 4000 709128508 5673.028 100.00% Conn: 1 Mbps: 5673.028 Peak Mbps: 5697.444 Avg Mbps: 5673.028 5000 707688800 5661.510 100.00% Conn: 1 Mbps: 5661.510 Peak Mbps: 5697.444 Avg Mbps: 5661.510 --- 169.254.1.11 tcpbench statistics --- 4247084212 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5638.375/5664.556/5697.444/19.977 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 718800048 5750.400 100.00% Conn: 1 Mbps: 5750.400 Peak Mbps: 5750.400 Avg Mbps: 5750.400 2000 720996104 5773.743 100.00% Conn: 1 Mbps: 5773.743 Peak Mbps: 5773.743 Avg Mbps: 5773.743 3000 720203304 5761.626 100.00% Conn: 1 Mbps: 5761.626 Peak Mbps: 5773.743 Avg Mbps: 5761.626 4000 717594992 5740.760 100.00% Conn: 1 Mbps: 5740.760 Peak Mbps: 5773.743 Avg Mbps: 5740.760 5000 717864544 5742.916 100.00% Conn: 1 Mbps: 5742.916 Peak Mbps: 5773.743 Avg Mbps: 5742.916 --- fc00:0:0:1::11 tcpbench statistics --- 4313799216 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5740.760/5753.889/5773.743/12.321 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.086 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.086/0.086/0.086/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.153 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.153/0.153/0.153/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 1000 261020544 2088.164 100.00% Conn: 1 Mbps: 2088.164 Peak Mbps: 2088.164 Avg Mbps: 2088.164 2001 272414560 2179.316 100.00% Conn: 1 Mbps: 2179.316 Peak Mbps: 2179.316 Avg Mbps: 2179.316 3002 277744096 2221.953 100.00% Conn: 1 Mbps: 2221.953 Peak Mbps: 2221.953 Avg Mbps: 2221.953 4002 275339296 2202.714 100.00% Conn: 1 Mbps: 2202.714 Peak Mbps: 2221.953 Avg Mbps: 2202.714 5002 276928808 2215.430 100.00% Conn: 1 Mbps: 2215.430 Peak Mbps: 2221.953 Avg Mbps: 2215.430 --- 169.254.1.12 tcpbench statistics --- 1639429456 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2088.164/2181.516/2221.953/48.896 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 238008540 1904.068 100.00% Conn: 1 Mbps: 1904.068 Peak Mbps: 1904.068 Avg Mbps: 1904.068 2002 248086672 1982.711 100.00% Conn: 1 Mbps: 1982.711 Peak Mbps: 1982.711 Avg Mbps: 1982.711 3001 251828980 2016.648 100.00% Conn: 1 Mbps: 2016.648 Peak Mbps: 2016.648 Avg Mbps: 2016.648 4002 252735152 2019.861 100.00% Conn: 1 Mbps: 2019.861 Peak Mbps: 2019.861 Avg Mbps: 2019.861 5002 252465868 2019.727 100.00% Conn: 1 Mbps: 2019.727 Peak Mbps: 2019.861 Avg Mbps: 2019.727 --- fc00:0:0:1::12 tcpbench statistics --- 1494100008 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1904.068/1988.603/2019.861/44.527 Mbps ==== run-ping-1-3 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=254 time=0.057 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.057/0.057/0.057/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.071 ms --- fc00::13 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-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 564379112 4515.033 100.00% Conn: 1 Mbps: 4515.033 Peak Mbps: 4515.033 Avg Mbps: 4515.033 2000 574696176 4597.569 100.00% Conn: 1 Mbps: 4597.569 Peak Mbps: 4597.569 Avg Mbps: 4597.569 3000 572311076 4578.489 100.00% Conn: 1 Mbps: 4578.489 Peak Mbps: 4597.569 Avg Mbps: 4578.489 4000 569028972 4556.789 100.00% Conn: 1 Mbps: 4556.789 Peak Mbps: 4597.569 Avg Mbps: 4556.789 5000 544024704 4352.198 100.00% Conn: 1 Mbps: 4352.198 Peak Mbps: 4597.569 Avg Mbps: 4352.198 --- 169.254.0.13 tcpbench statistics --- 3367391764 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4352.198/4520.015/4597.569/88.288 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 539581240 4316.650 100.00% Conn: 1 Mbps: 4316.650 Peak Mbps: 4316.650 Avg Mbps: 4316.650 2000 568304904 4546.439 100.00% Conn: 1 Mbps: 4546.439 Peak Mbps: 4546.439 Avg Mbps: 4546.439 3001 571475064 4571.801 100.00% Conn: 1 Mbps: 4571.801 Peak Mbps: 4571.801 Avg Mbps: 4571.801 4001 573939632 4596.113 100.00% Conn: 1 Mbps: 4596.113 Peak Mbps: 4596.113 Avg Mbps: 4596.113 5001 575637784 4605.102 100.00% Conn: 1 Mbps: 4605.102 Peak Mbps: 4605.102 Avg Mbps: 4605.102 --- fc00::13 tcpbench statistics --- 3403996624 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4316.650/4527.221/4605.102/107.246 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.054 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.054/0.054/0.054/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.051 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.051/0.051/0.051/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 261002616 2085.935 100.00% Conn: 1 Mbps: 2085.935 Peak Mbps: 2085.935 Avg Mbps: 2085.935 2001 275624720 2207.205 100.00% Conn: 1 Mbps: 2207.205 Peak Mbps: 2207.205 Avg Mbps: 2207.205 3002 272233008 2175.688 100.00% Conn: 1 Mbps: 2175.688 Peak Mbps: 2207.205 Avg Mbps: 2175.688 4002 275364192 2205.119 100.00% Conn: 1 Mbps: 2205.119 Peak Mbps: 2207.205 Avg Mbps: 2205.119 5003 275055768 2198.248 100.00% Conn: 1 Mbps: 2198.248 Peak Mbps: 2207.205 Avg Mbps: 2198.248 --- 169.254.1.11 tcpbench statistics --- 1633514720 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2085.935/2174.439/2207.205/45.643 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 239842120 1918.737 100.00% Conn: 1 Mbps: 1918.737 Peak Mbps: 1918.737 Avg Mbps: 1918.737 2001 251770912 2012.155 100.00% Conn: 1 Mbps: 2012.155 Peak Mbps: 2012.155 Avg Mbps: 2012.155 3000 250644348 2007.162 100.00% Conn: 1 Mbps: 2007.162 Peak Mbps: 2012.155 Avg Mbps: 2007.162 4000 252168052 2019.364 100.00% Conn: 1 Mbps: 2019.364 Peak Mbps: 2019.364 Avg Mbps: 2019.364 5000 256054376 2048.435 100.00% Conn: 1 Mbps: 2048.435 Peak Mbps: 2048.435 Avg Mbps: 2048.435 --- fc00:0:0:1::11 tcpbench statistics --- 1502720420 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1918.737/2001.171/2048.435/43.627 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.036 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.036/0.036/0.036/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.045 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.045/0.045/0.045/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 684961920 5479.695 100.00% Conn: 1 Mbps: 5479.695 Peak Mbps: 5479.695 Avg Mbps: 5479.695 2000 685280480 5487.732 100.00% Conn: 1 Mbps: 5487.732 Peak Mbps: 5487.732 Avg Mbps: 5487.732 3000 684964816 5479.719 100.00% Conn: 1 Mbps: 5479.719 Peak Mbps: 5487.732 Avg Mbps: 5479.719 4000 685590352 5484.723 100.00% Conn: 1 Mbps: 5484.723 Peak Mbps: 5487.732 Avg Mbps: 5484.723 5000 688062088 5504.497 100.00% Conn: 1 Mbps: 5504.497 Peak Mbps: 5504.497 Avg Mbps: 5504.497 --- 169.254.1.12 tcpbench statistics --- 4112759360 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5479.695/5487.273/5504.497/9.142 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 705407724 5643.262 100.00% Conn: 1 Mbps: 5643.262 Peak Mbps: 5643.262 Avg Mbps: 5643.262 2000 703986864 5637.532 100.00% Conn: 1 Mbps: 5637.532 Peak Mbps: 5643.262 Avg Mbps: 5637.532 3000 703643536 5629.148 100.00% Conn: 1 Mbps: 5629.148 Peak Mbps: 5643.262 Avg Mbps: 5629.148 4000 704790828 5638.327 100.00% Conn: 1 Mbps: 5638.327 Peak Mbps: 5643.262 Avg Mbps: 5638.327 5000 708395100 5672.834 100.00% Conn: 1 Mbps: 5672.834 Peak Mbps: 5672.834 Avg Mbps: 5672.834 --- fc00:0:0:1::12 tcpbench statistics --- 4230828236 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5629.148/5644.221/5672.834/15.008 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.051 ms --- fc00::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-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 1153830936 9230.647 100.00% Conn: 1 Mbps: 9230.647 Peak Mbps: 9230.647 Avg Mbps: 9230.647 2000 1163937132 9320.818 100.00% Conn: 1 Mbps: 9320.818 Peak Mbps: 9320.818 Avg Mbps: 9320.818 3000 1145616172 9164.929 100.00% Conn: 1 Mbps: 9164.929 Peak Mbps: 9320.818 Avg Mbps: 9164.929 4000 1159585904 9276.687 100.00% Conn: 1 Mbps: 9276.687 Peak Mbps: 9320.818 Avg Mbps: 9276.687 5000 1163838984 9310.712 100.00% Conn: 1 Mbps: 9310.712 Peak Mbps: 9320.818 Avg Mbps: 9310.712 --- 169.254.0.13 tcpbench statistics --- 6949192250 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9164.929/9260.759/9320.818/57.352 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 1147029692 9176.238 100.00% Conn: 1 Mbps: 9176.238 Peak Mbps: 9176.238 Avg Mbps: 9176.238 2000 1153384096 9236.309 100.00% Conn: 1 Mbps: 9236.309 Peak Mbps: 9236.309 Avg Mbps: 9236.309 3000 1150506848 9204.055 100.00% Conn: 1 Mbps: 9204.055 Peak Mbps: 9236.309 Avg Mbps: 9204.055 4000 1150637632 9214.315 100.00% Conn: 1 Mbps: 9214.315 Peak Mbps: 9236.309 Avg Mbps: 9214.315 5000 1150277976 9211.435 100.00% Conn: 1 Mbps: 9211.435 Peak Mbps: 9236.309 Avg Mbps: 9211.435 --- fc00::13 tcpbench statistics --- 6898321484 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9176.238/9208.470/9236.309/19.372 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.062 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.062/0.062/0.062/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.058 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.058/0.058/0.058/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 1002 262771728 2097.978 100.00% Conn: 1 Mbps: 2097.978 Peak Mbps: 2097.978 Avg Mbps: 2097.978 2001 272185496 2179.664 100.00% Conn: 1 Mbps: 2179.664 Peak Mbps: 2179.664 Avg Mbps: 2179.664 3002 268009520 2141.934 100.00% Conn: 1 Mbps: 2141.934 Peak Mbps: 2179.664 Avg Mbps: 2141.934 4003 270266672 2162.133 100.00% Conn: 1 Mbps: 2162.133 Peak Mbps: 2179.664 Avg Mbps: 2162.133 5002 269491600 2158.091 100.00% Conn: 1 Mbps: 2158.091 Peak Mbps: 2179.664 Avg Mbps: 2158.091 --- 169.254.1.11 tcpbench statistics --- 1613200144 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2097.978/2147.960/2179.664/27.724 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 509399136 4075.193 100.00% Conn: 1 Mbps: 4075.193 Peak Mbps: 4075.193 Avg Mbps: 4075.193 2000 551858360 4414.867 100.00% Conn: 1 Mbps: 4414.867 Peak Mbps: 4414.867 Avg Mbps: 4414.867 3000 557879304 4463.034 100.00% Conn: 1 Mbps: 4463.034 Peak Mbps: 4463.034 Avg Mbps: 4463.034 4000 552869376 4427.382 100.00% Conn: 1 Mbps: 4427.382 Peak Mbps: 4463.034 Avg Mbps: 4427.382 5000 547166160 4381.711 100.00% Conn: 1 Mbps: 4381.711 Peak Mbps: 4463.034 Avg Mbps: 4381.711 --- fc00:0:0:1::11 tcpbench statistics --- 3262175144 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4075.193/4352.438/4463.034/141.044 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.058 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.058/0.058/0.058/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.047 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.047/0.047/0.047/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 1163025312 9304.202 100.00% Conn: 1 Mbps: 9304.202 Peak Mbps: 9304.202 Avg Mbps: 9304.202 2000 1157410290 9268.551 100.00% Conn: 1 Mbps: 9268.551 Peak Mbps: 9304.202 Avg Mbps: 9268.551 3000 1166767066 9334.137 100.00% Conn: 1 Mbps: 9334.137 Peak Mbps: 9334.137 Avg Mbps: 9334.137 4000 1164460588 9315.685 100.00% Conn: 1 Mbps: 9315.685 Peak Mbps: 9334.137 Avg Mbps: 9315.685 5000 1167241448 9337.932 100.00% Conn: 1 Mbps: 9337.932 Peak Mbps: 9337.932 Avg Mbps: 9337.932 --- 169.254.1.12 tcpbench statistics --- 6987536582 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9268.551/9312.101/9337.932/24.999 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 1148060156 9184.481 100.00% Conn: 1 Mbps: 9184.481 Peak Mbps: 9184.481 Avg Mbps: 9184.481 2000 1151945472 9224.789 100.00% Conn: 1 Mbps: 9224.789 Peak Mbps: 9224.789 Avg Mbps: 9224.789 3000 1150506848 9204.055 100.00% Conn: 1 Mbps: 9204.055 Peak Mbps: 9224.789 Avg Mbps: 9204.055 4000 1143575296 9148.602 100.00% Conn: 1 Mbps: 9148.602 Peak Mbps: 9224.789 Avg Mbps: 9148.602 5000 1145864016 9166.912 100.00% Conn: 1 Mbps: 9166.912 Peak Mbps: 9224.789 Avg Mbps: 9166.912 --- fc00:0:0:1::12 tcpbench statistics --- 6883396300 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9148.602/9185.768/9224.789/26.816 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.042 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.042/0.042/0.042/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 1141054984 9128.440 100.00% Conn: 1 Mbps: 9128.440 Peak Mbps: 9128.440 Avg Mbps: 9128.440 2000 1125217746 9010.753 100.00% Conn: 1 Mbps: 9010.753 Peak Mbps: 9128.440 Avg Mbps: 9010.753 3000 1124056328 8992.451 100.00% Conn: 1 Mbps: 8992.451 Peak Mbps: 9128.440 Avg Mbps: 8992.451 4000 1123794600 8990.357 100.00% Conn: 1 Mbps: 8990.357 Peak Mbps: 9128.440 Avg Mbps: 8990.357 5000 1124628858 8997.031 100.00% Conn: 1 Mbps: 8997.031 Peak Mbps: 9128.440 Avg Mbps: 8997.031 --- 169.254.0.13 tcpbench statistics --- 6764281064 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8990.357/9023.806/9128.440/52.797 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 1196040132 9568.321 100.00% Conn: 1 Mbps: 9568.321 Peak Mbps: 9568.321 Avg Mbps: 9568.321 2000 1198798840 9599.991 100.00% Conn: 1 Mbps: 9599.991 Peak Mbps: 9599.991 Avg Mbps: 9599.991 3000 1198341096 9586.729 100.00% Conn: 1 Mbps: 9586.729 Peak Mbps: 9599.991 Avg Mbps: 9586.729 4000 1195921592 9567.373 100.00% Conn: 1 Mbps: 9567.373 Peak Mbps: 9599.991 Avg Mbps: 9567.373 5000 1195660024 9574.855 100.00% Conn: 1 Mbps: 9574.855 Peak Mbps: 9599.991 Avg Mbps: 9574.855 --- fc00::13 tcpbench statistics --- 7178950388 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9567.373/9579.454/9599.991/12.375 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.86s