START sys/net/pair 2024-12-18T04:51:57Z ==== 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.059 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.059/0.059/0.059/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.045 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 566032716 4528.262 100.00% Conn: 1 Mbps: 4528.262 Peak Mbps: 4528.262 Avg Mbps: 4528.262 2000 565015372 4524.648 100.00% Conn: 1 Mbps: 4524.648 Peak Mbps: 4528.262 Avg Mbps: 4524.648 3000 564005976 4512.048 100.00% Conn: 1 Mbps: 4512.048 Peak Mbps: 4528.262 Avg Mbps: 4512.048 4000 566771880 4534.175 100.00% Conn: 1 Mbps: 4534.175 Peak Mbps: 4534.175 Avg Mbps: 4534.175 5000 566016820 4532.667 100.00% Conn: 1 Mbps: 4532.667 Peak Mbps: 4534.175 Avg Mbps: 4532.667 --- 169.254.1.11 tcpbench statistics --- 3391793104 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4512.048/4526.360/4534.175/7.902 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 557267048 4458.136 100.00% Conn: 1 Mbps: 4458.136 Peak Mbps: 4458.136 Avg Mbps: 4458.136 2000 556172984 4449.384 100.00% Conn: 1 Mbps: 4449.384 Peak Mbps: 4458.136 Avg Mbps: 4449.384 3000 556006496 4452.504 100.00% Conn: 1 Mbps: 4452.504 Peak Mbps: 4458.136 Avg Mbps: 4452.504 4000 554286120 4434.289 100.00% Conn: 1 Mbps: 4434.289 Peak Mbps: 4458.136 Avg Mbps: 4434.289 5000 556585240 4452.682 100.00% Conn: 1 Mbps: 4452.682 Peak Mbps: 4458.136 Avg Mbps: 4452.682 --- fc00:0:0:1::11 tcpbench statistics --- 3335357168 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4434.289/4449.399/4458.136/8.063 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.089 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.089/0.089/0.089/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.155 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.155/0.155/0.155/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 215966696 1727.734 100.00% Conn: 1 Mbps: 1727.734 Peak Mbps: 1727.734 Avg Mbps: 1727.734 2001 216575808 1732.606 100.00% Conn: 1 Mbps: 1732.606 Peak Mbps: 1732.606 Avg Mbps: 1732.606 3000 217608184 1742.608 100.00% Conn: 1 Mbps: 1742.608 Peak Mbps: 1742.608 Avg Mbps: 1742.608 4000 216856056 1736.585 100.00% Conn: 1 Mbps: 1736.585 Peak Mbps: 1742.608 Avg Mbps: 1736.585 5001 216885520 1735.084 100.00% Conn: 1 Mbps: 1735.084 Peak Mbps: 1742.608 Avg Mbps: 1735.084 --- 169.254.1.12 tcpbench statistics --- 1300666336 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1727.734/1734.923/1742.608/4.877 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 206849796 1654.798 100.00% Conn: 1 Mbps: 1654.798 Peak Mbps: 1654.798 Avg Mbps: 1654.798 2000 208812940 1672.176 100.00% Conn: 1 Mbps: 1672.176 Peak Mbps: 1672.176 Avg Mbps: 1672.176 3001 207830700 1662.646 100.00% Conn: 1 Mbps: 1662.646 Peak Mbps: 1672.176 Avg Mbps: 1662.646 4002 205193060 1641.544 100.00% Conn: 1 Mbps: 1641.544 Peak Mbps: 1672.176 Avg Mbps: 1641.544 5001 206366324 1652.583 100.00% Conn: 1 Mbps: 1652.583 Peak Mbps: 1672.176 Avg Mbps: 1652.583 --- fc00:0:0:1::12 tcpbench statistics --- 1241048260 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1641.544/1656.749/1672.176/10.248 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.085 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.085/0.085/0.085/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.067 ms --- fc00::13 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-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 309145408 2473.163 100.00% Conn: 1 Mbps: 2473.163 Peak Mbps: 2473.163 Avg Mbps: 2473.163 2000 307992248 2466.404 100.00% Conn: 1 Mbps: 2466.404 Peak Mbps: 2473.163 Avg Mbps: 2466.404 3000 303446692 2427.574 100.00% Conn: 1 Mbps: 2427.574 Peak Mbps: 2473.163 Avg Mbps: 2427.574 4000 301650444 2413.204 100.00% Conn: 1 Mbps: 2413.204 Peak Mbps: 2473.163 Avg Mbps: 2413.204 5000 302024000 2416.192 100.00% Conn: 1 Mbps: 2416.192 Peak Mbps: 2473.163 Avg Mbps: 2416.192 --- 169.254.0.13 tcpbench statistics --- 1823055904 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2413.204/2439.307/2473.163/25.432 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 285059168 2280.473 100.00% Conn: 1 Mbps: 2280.473 Peak Mbps: 2280.473 Avg Mbps: 2280.473 2000 283790688 2272.598 100.00% Conn: 1 Mbps: 2272.598 Peak Mbps: 2280.473 Avg Mbps: 2272.598 3000 284258440 2274.068 100.00% Conn: 1 Mbps: 2274.068 Peak Mbps: 2280.473 Avg Mbps: 2274.068 4000 285844040 2286.752 100.00% Conn: 1 Mbps: 2286.752 Peak Mbps: 2286.752 Avg Mbps: 2286.752 5000 287881536 2303.052 100.00% Conn: 1 Mbps: 2303.052 Peak Mbps: 2303.052 Avg Mbps: 2303.052 --- fc00::13 tcpbench statistics --- 1711552136 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2272.598/2283.389/2303.052/11.043 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.053 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.053/0.053/0.053/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.046 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.046/0.046/0.046/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 217750896 1742.007 100.00% Conn: 1 Mbps: 1742.007 Peak Mbps: 1742.007 Avg Mbps: 1742.007 2000 216743472 1733.948 100.00% Conn: 1 Mbps: 1733.948 Peak Mbps: 1742.007 Avg Mbps: 1733.948 3001 217170680 1737.365 100.00% Conn: 1 Mbps: 1737.365 Peak Mbps: 1742.007 Avg Mbps: 1737.365 4001 216416224 1731.330 100.00% Conn: 1 Mbps: 1731.330 Peak Mbps: 1742.007 Avg Mbps: 1731.330 5002 219772632 1758.181 100.00% Conn: 1 Mbps: 1758.181 Peak Mbps: 1758.181 Avg Mbps: 1758.181 --- 169.254.1.11 tcpbench statistics --- 1303274288 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1731.330/1740.566/1758.181/9.505 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 210019560 1680.156 100.00% Conn: 1 Mbps: 1680.156 Peak Mbps: 1680.156 Avg Mbps: 1680.156 2000 210880344 1687.043 100.00% Conn: 1 Mbps: 1687.043 Peak Mbps: 1687.043 Avg Mbps: 1687.043 3001 208521784 1668.174 100.00% Conn: 1 Mbps: 1668.174 Peak Mbps: 1687.043 Avg Mbps: 1668.174 4001 208251228 1666.010 100.00% Conn: 1 Mbps: 1666.010 Peak Mbps: 1687.043 Avg Mbps: 1666.010 5002 207185644 1657.485 100.00% Conn: 1 Mbps: 1657.485 Peak Mbps: 1687.043 Avg Mbps: 1657.485 --- fc00:0:0:1::11 tcpbench statistics --- 1251893416 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1657.485/1671.774/1687.043/10.524 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.038 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.038/0.038/0.038/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.044 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-tcpbench-2-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 574747400 4597.979 100.00% Conn: 1 Mbps: 4597.979 Peak Mbps: 4597.979 Avg Mbps: 4597.979 2000 567970760 4548.314 100.00% Conn: 1 Mbps: 4548.314 Peak Mbps: 4597.979 Avg Mbps: 4548.314 3000 568159000 4545.272 100.00% Conn: 1 Mbps: 4545.272 Peak Mbps: 4597.979 Avg Mbps: 4545.272 4000 566215784 4529.726 100.00% Conn: 1 Mbps: 4529.726 Peak Mbps: 4597.979 Avg Mbps: 4529.726 5000 566118768 4533.484 100.00% Conn: 1 Mbps: 4533.484 Peak Mbps: 4597.979 Avg Mbps: 4533.484 --- 169.254.1.12 tcpbench statistics --- 3409114728 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4529.726/4550.955/4597.979/24.521 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 555476292 4443.810 100.00% Conn: 1 Mbps: 4443.810 Peak Mbps: 4443.810 Avg Mbps: 4443.810 2000 556008936 4448.071 100.00% Conn: 1 Mbps: 4448.071 Peak Mbps: 4448.071 Avg Mbps: 4448.071 3000 557564028 4460.512 100.00% Conn: 1 Mbps: 4460.512 Peak Mbps: 4460.512 Avg Mbps: 4460.512 4000 558446532 4467.572 100.00% Conn: 1 Mbps: 4467.572 Peak Mbps: 4467.572 Avg Mbps: 4467.572 5000 557768232 4462.146 100.00% Conn: 1 Mbps: 4462.146 Peak Mbps: 4467.572 Avg Mbps: 4462.146 --- fc00:0:0:1::12 tcpbench statistics --- 3344491668 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4443.810/4456.422/4467.572/8.973 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.052 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.052/0.052/0.052/0.000 ms ==== run-tcpbench-2-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 1051480122 8411.841 100.00% Conn: 1 Mbps: 8411.841 Peak Mbps: 8411.841 Avg Mbps: 8411.841 2000 1061503336 8500.527 100.00% Conn: 1 Mbps: 8500.527 Peak Mbps: 8500.527 Avg Mbps: 8500.527 3000 1065003948 8520.032 100.00% Conn: 1 Mbps: 8520.032 Peak Mbps: 8520.032 Avg Mbps: 8520.032 4000 1062910124 8503.281 100.00% Conn: 1 Mbps: 8503.281 Peak Mbps: 8520.032 Avg Mbps: 8503.281 5000 1064055184 8512.441 100.00% Conn: 1 Mbps: 8512.441 Peak Mbps: 8520.032 Avg Mbps: 8512.441 --- 169.254.0.13 tcpbench statistics --- 6369171478 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8411.841/8489.624/8520.032/39.499 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 1031204580 8249.637 100.00% Conn: 1 Mbps: 8249.637 Peak Mbps: 8249.637 Avg Mbps: 8249.637 2000 1034501440 8284.296 100.00% Conn: 1 Mbps: 8284.296 Peak Mbps: 8284.296 Avg Mbps: 8284.296 3000 1033684040 8269.472 100.00% Conn: 1 Mbps: 8269.472 Peak Mbps: 8284.296 Avg Mbps: 8269.472 4000 1031951152 8255.609 100.00% Conn: 1 Mbps: 8255.609 Peak Mbps: 8284.296 Avg Mbps: 8255.609 5000 1034632224 8277.058 100.00% Conn: 1 Mbps: 8277.058 Peak Mbps: 8284.296 Avg Mbps: 8277.058 --- fc00::13 tcpbench statistics --- 6199984436 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8249.637/8267.214/8284.296/12.942 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.052 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.052/0.052/0.052/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 1000 215278152 1722.225 100.00% Conn: 1 Mbps: 1722.225 Peak Mbps: 1722.225 Avg Mbps: 1722.225 2000 217457912 1739.663 100.00% Conn: 1 Mbps: 1739.663 Peak Mbps: 1739.663 Avg Mbps: 1739.663 3000 216806424 1736.188 100.00% Conn: 1 Mbps: 1736.188 Peak Mbps: 1739.663 Avg Mbps: 1736.188 4001 215593440 1724.748 100.00% Conn: 1 Mbps: 1724.748 Peak Mbps: 1739.663 Avg Mbps: 1724.748 5001 214494232 1715.954 100.00% Conn: 1 Mbps: 1715.954 Peak Mbps: 1739.663 Avg Mbps: 1715.954 --- 169.254.1.11 tcpbench statistics --- 1295485016 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1715.954/1727.755/1739.663/8.852 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 309861048 2478.888 100.00% Conn: 1 Mbps: 2478.888 Peak Mbps: 2478.888 Avg Mbps: 2478.888 2001 309490448 2475.924 100.00% Conn: 1 Mbps: 2475.924 Peak Mbps: 2478.888 Avg Mbps: 2475.924 3001 305202784 2441.622 100.00% Conn: 1 Mbps: 2441.622 Peak Mbps: 2478.888 Avg Mbps: 2441.622 4002 308689464 2469.516 100.00% Conn: 1 Mbps: 2469.516 Peak Mbps: 2478.888 Avg Mbps: 2469.516 5002 307160952 2457.288 100.00% Conn: 1 Mbps: 2457.288 Peak Mbps: 2478.888 Avg Mbps: 2457.288 --- fc00:0:0:1::11 tcpbench statistics --- 1849955504 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2441.622/2464.648/2478.888/13.697 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 8 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.076 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.076/0.076/0.076/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 1047470162 8379.761 100.00% Conn: 1 Mbps: 8379.761 Peak Mbps: 8379.761 Avg Mbps: 8379.761 2000 1053193472 8433.982 100.00% Conn: 1 Mbps: 8433.982 Peak Mbps: 8433.982 Avg Mbps: 8433.982 3000 1050216316 8401.731 100.00% Conn: 1 Mbps: 8401.731 Peak Mbps: 8433.982 Avg Mbps: 8401.731 4000 1051721252 8413.770 100.00% Conn: 1 Mbps: 8413.770 Peak Mbps: 8433.982 Avg Mbps: 8413.770 5000 1040695960 8325.568 100.00% Conn: 1 Mbps: 8325.568 Peak Mbps: 8433.982 Avg Mbps: 8325.568 --- 169.254.1.12 tcpbench statistics --- 6294985698 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8325.568/8390.962/8433.982/37.118 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 1042466156 8339.729 100.00% Conn: 1 Mbps: 8339.729 Peak Mbps: 8339.729 Avg Mbps: 8339.729 2000 1038424960 8315.715 100.00% Conn: 1 Mbps: 8315.715 Peak Mbps: 8339.729 Avg Mbps: 8315.715 3000 1035547712 8284.382 100.00% Conn: 1 Mbps: 8284.382 Peak Mbps: 8339.729 Avg Mbps: 8284.382 4000 1036790160 8294.321 100.00% Conn: 1 Mbps: 8294.321 Peak Mbps: 8339.729 Avg Mbps: 8294.321 5000 1035743888 8285.951 100.00% Conn: 1 Mbps: 8285.951 Peak Mbps: 8339.729 Avg Mbps: 8285.951 --- fc00:0:0:1::12 tcpbench statistics --- 6225501468 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8284.382/8304.020/8339.729/21.063 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.052 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.052/0.052/0.052/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 1141960198 9135.682 100.00% Conn: 1 Mbps: 9135.682 Peak Mbps: 9135.682 Avg Mbps: 9135.682 2000 1146728516 9183.011 100.00% Conn: 1 Mbps: 9183.011 Peak Mbps: 9183.011 Avg Mbps: 9183.011 3000 1147677280 9190.609 100.00% Conn: 1 Mbps: 9190.609 Peak Mbps: 9190.609 Avg Mbps: 9190.609 4000 1148756908 9190.055 100.00% Conn: 1 Mbps: 9190.055 Peak Mbps: 9190.609 Avg Mbps: 9190.055 5000 1150359992 9202.880 100.00% Conn: 1 Mbps: 9202.880 Peak Mbps: 9202.880 Avg Mbps: 9202.880 --- 169.254.0.13 tcpbench statistics --- 6884010790 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9135.682/9180.447/9202.880/23.278 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 1083507412 8668.059 100.00% Conn: 1 Mbps: 8668.059 Peak Mbps: 8668.059 Avg Mbps: 8668.059 2000 1086782344 8702.962 100.00% Conn: 1 Mbps: 8702.962 Peak Mbps: 8702.962 Avg Mbps: 8702.962 3000 1086847736 8703.485 100.00% Conn: 1 Mbps: 8703.485 Peak Mbps: 8703.485 Avg Mbps: 8703.485 4000 1085278328 8682.227 100.00% Conn: 1 Mbps: 8682.227 Peak Mbps: 8703.485 Avg Mbps: 8682.227 5000 1084657104 8677.257 100.00% Conn: 1 Mbps: 8677.257 Peak Mbps: 8703.485 Avg Mbps: 8677.257 --- fc00::13 tcpbench statistics --- 6512645516 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8668.059/8686.798/8703.485/14.162 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.87s