START sys/net/pair 2024-11-09T05:25:00Z ==== ifconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 fc00::13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair11 destroy ifconfig: pair11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair12 destroy ifconfig: pair12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/route -n -T 11 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 11 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo12 rdomain 12 /sbin/ifconfig lo12 inet 127.0.0.1/8 /sbin/ifconfig lo12 inet6 ::1/128 /sbin/route -n -T 12 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 12 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 127.0.0.1/8 /sbin/ifconfig lo13 inet6 ::1/128 /sbin/route -n -T 13 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 13 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig pair11 rdomain 11 /sbin/ifconfig pair11 inet 169.254.1.11/24 /sbin/ifconfig pair11 inet6 fc00:0:0:1::11/64 /sbin/ifconfig pair12 rdomain 12 /sbin/ifconfig pair12 inet 169.254.1.12/24 /sbin/ifconfig pair12 inet6 fc00:0:0:1::12/64 /sbin/ifconfig pair11 patch pair12 /sbin/ifconfig lo13 inet 169.254.0.13/24 alias /sbin/ifconfig lo13 inet6 fc00::13/64 /sbin/ifconfig pair11 mtu 8000 /sbin/route -n -T 11 add -inet 169.254.0.13 169.254.1.12 add host 169.254.0.13: gateway 169.254.1.12 /sbin/route -n -T 11 add -inet6 fc00::13 fc00:0:0:1::12 add host fc00::13: gateway fc00:0:0:1::12 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'LO_N1="lo11"' >>addr.py.tmp echo 'PAIR_N1="pair11"' >>addr.py.tmp echo 'IP_N1="169.254.1.11"' >>addr.py.tmp echo 'IP6_N1="fc00:0:0:1::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'LO_N2="lo12"' >>addr.py.tmp echo 'PAIR_N2="pair12"' >>addr.py.tmp echo 'IP_N2="169.254.1.12"' >>addr.py.tmp echo 'IP6_N2="fc00:0:0:1::12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'LO_N3="lo13"' >>addr.py.tmp echo 'PAIR_N3="pair13"' >>addr.py.tmp echo 'IP_N3="169.254.0.13"' >>addr.py.tmp echo 'IP6_N3="fc00::13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1-1 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.037 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.037/0.037/0.037/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.047 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.047/0.047/0.047/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 580498076 4643.985 100.00% Conn: 1 Mbps: 4643.985 Peak Mbps: 4643.985 Avg Mbps: 4643.985 2000 586037832 4692.996 100.00% Conn: 1 Mbps: 4692.996 Peak Mbps: 4692.996 Avg Mbps: 4692.996 3000 585862976 4686.904 100.00% Conn: 1 Mbps: 4686.904 Peak Mbps: 4692.996 Avg Mbps: 4686.904 4000 586808788 4694.470 100.00% Conn: 1 Mbps: 4694.470 Peak Mbps: 4694.470 Avg Mbps: 4694.470 5000 585942456 4687.540 100.00% Conn: 1 Mbps: 4687.540 Peak Mbps: 4694.470 Avg Mbps: 4687.540 --- 169.254.1.11 tcpbench statistics --- 3512380160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4643.985/4681.179/4694.470/18.831 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 570982488 4567.860 100.00% Conn: 1 Mbps: 4567.860 Peak Mbps: 4567.860 Avg Mbps: 4567.860 2000 571212400 4569.699 100.00% Conn: 1 Mbps: 4569.699 Peak Mbps: 4569.699 Avg Mbps: 4569.699 3000 571228256 4569.826 100.00% Conn: 1 Mbps: 4569.826 Peak Mbps: 4569.826 Avg Mbps: 4569.826 4000 568199760 4545.598 100.00% Conn: 1 Mbps: 4545.598 Peak Mbps: 4569.826 Avg Mbps: 4545.598 5000 568469312 4547.754 100.00% Conn: 1 Mbps: 4547.754 Peak Mbps: 4569.826 Avg Mbps: 4547.754 --- fc00:0:0:1::11 tcpbench statistics --- 3420868576 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4545.598/4560.148/4569.826/11.042 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.083 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.083/0.083/0.083/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.132 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.132/0.132/0.132/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 215336992 1722.696 100.00% Conn: 1 Mbps: 1722.696 Peak Mbps: 1722.696 Avg Mbps: 1722.696 2000 217519576 1740.157 100.00% Conn: 1 Mbps: 1740.157 Peak Mbps: 1740.157 Avg Mbps: 1740.157 3001 217537080 1740.297 100.00% Conn: 1 Mbps: 1740.297 Peak Mbps: 1740.297 Avg Mbps: 1740.297 4000 217264080 1739.852 100.00% Conn: 1 Mbps: 1739.852 Peak Mbps: 1740.297 Avg Mbps: 1739.852 5001 218811152 1750.489 100.00% Conn: 1 Mbps: 1750.489 Peak Mbps: 1750.489 Avg Mbps: 1750.489 --- 169.254.1.12 tcpbench statistics --- 1303182992 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1722.696/1738.698/1750.489/8.957 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 208600284 1668.802 100.00% Conn: 1 Mbps: 1668.802 Peak Mbps: 1668.802 Avg Mbps: 1668.802 2000 210190592 1681.525 100.00% Conn: 1 Mbps: 1681.525 Peak Mbps: 1681.525 Avg Mbps: 1681.525 3001 210797068 1686.377 100.00% Conn: 1 Mbps: 1686.377 Peak Mbps: 1686.377 Avg Mbps: 1686.377 4002 208407772 1667.262 100.00% Conn: 1 Mbps: 1667.262 Peak Mbps: 1686.377 Avg Mbps: 1667.262 5002 206769388 1654.155 100.00% Conn: 1 Mbps: 1654.155 Peak Mbps: 1686.377 Avg Mbps: 1654.155 --- fc00:0:0:1::12 tcpbench statistics --- 1251822808 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1654.155/1671.624/1686.377/11.383 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.061 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.061/0.061/0.061/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.066 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.066/0.066/0.066/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 315766092 2526.129 100.00% Conn: 1 Mbps: 2526.129 Peak Mbps: 2526.129 Avg Mbps: 2526.129 2000 315464068 2526.239 100.00% Conn: 1 Mbps: 2526.239 Peak Mbps: 2526.239 Avg Mbps: 2526.239 3000 311116512 2488.932 100.00% Conn: 1 Mbps: 2488.932 Peak Mbps: 2526.239 Avg Mbps: 2488.932 4000 312729676 2501.837 100.00% Conn: 1 Mbps: 2501.837 Peak Mbps: 2526.239 Avg Mbps: 2501.837 5000 309463328 2475.707 100.00% Conn: 1 Mbps: 2475.707 Peak Mbps: 2526.239 Avg Mbps: 2475.707 --- 169.254.0.13 tcpbench statistics --- 1874106048 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2475.707/2503.769/2526.239/20.081 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 292194368 2337.555 100.00% Conn: 1 Mbps: 2337.555 Peak Mbps: 2337.555 Avg Mbps: 2337.555 2000 290188584 2323.833 100.00% Conn: 1 Mbps: 2323.833 Peak Mbps: 2337.555 Avg Mbps: 2323.833 3000 290014168 2320.113 100.00% Conn: 1 Mbps: 2320.113 Peak Mbps: 2337.555 Avg Mbps: 2320.113 4000 290851288 2326.810 100.00% Conn: 1 Mbps: 2326.810 Peak Mbps: 2337.555 Avg Mbps: 2326.810 5000 290212368 2321.699 100.00% Conn: 1 Mbps: 2321.699 Peak Mbps: 2337.555 Avg Mbps: 2321.699 --- fc00::13 tcpbench statistics --- 1743030976 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2320.113/2326.002/2337.555/6.197 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.059 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.059/0.059/0.059/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 218171008 1745.368 100.00% Conn: 1 Mbps: 1745.368 Peak Mbps: 1745.368 Avg Mbps: 1745.368 2001 221116232 1768.930 100.00% Conn: 1 Mbps: 1768.930 Peak Mbps: 1768.930 Avg Mbps: 1768.930 3001 220708560 1765.668 100.00% Conn: 1 Mbps: 1765.668 Peak Mbps: 1768.930 Avg Mbps: 1765.668 4001 220675152 1765.401 100.00% Conn: 1 Mbps: 1765.401 Peak Mbps: 1768.930 Avg Mbps: 1765.401 5002 219374096 1753.240 100.00% Conn: 1 Mbps: 1753.240 Peak Mbps: 1768.930 Avg Mbps: 1753.240 --- 169.254.1.11 tcpbench statistics --- 1319389736 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1745.368/1759.721/1768.930/8.949 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 210397176 1683.177 100.00% Conn: 1 Mbps: 1683.177 Peak Mbps: 1683.177 Avg Mbps: 1683.177 2000 209885716 1679.086 100.00% Conn: 1 Mbps: 1679.086 Peak Mbps: 1683.177 Avg Mbps: 1679.086 3000 207227480 1657.820 100.00% Conn: 1 Mbps: 1657.820 Peak Mbps: 1683.177 Avg Mbps: 1657.820 4000 206595372 1652.763 100.00% Conn: 1 Mbps: 1652.763 Peak Mbps: 1683.177 Avg Mbps: 1652.763 5001 210875088 1687.001 100.00% Conn: 1 Mbps: 1687.001 Peak Mbps: 1687.001 Avg Mbps: 1687.001 --- fc00:0:0:1::11 tcpbench statistics --- 1255761912 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1652.763/1671.969/1687.001/13.938 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.050 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.050/0.050/0.050/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.046 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.046/0.046/0.046/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 587960400 4703.683 100.00% Conn: 1 Mbps: 4703.683 Peak Mbps: 4703.683 Avg Mbps: 4703.683 2000 581412544 4655.956 100.00% Conn: 1 Mbps: 4655.956 Peak Mbps: 4703.683 Avg Mbps: 4655.956 3000 581747032 4653.976 100.00% Conn: 1 Mbps: 4653.976 Peak Mbps: 4703.683 Avg Mbps: 4653.976 4000 580943392 4652.199 100.00% Conn: 1 Mbps: 4652.199 Peak Mbps: 4703.683 Avg Mbps: 4652.199 5000 582746152 4661.969 100.00% Conn: 1 Mbps: 4661.969 Peak Mbps: 4703.683 Avg Mbps: 4661.969 --- 169.254.1.12 tcpbench statistics --- 3495638520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4652.199/4665.557/4703.683/19.345 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 564141396 4513.131 100.00% Conn: 1 Mbps: 4513.131 Peak Mbps: 4513.131 Avg Mbps: 4513.131 2000 563997168 4516.494 100.00% Conn: 1 Mbps: 4516.494 Peak Mbps: 4516.494 Avg Mbps: 4516.494 3000 567594300 4545.300 100.00% Conn: 1 Mbps: 4545.300 Peak Mbps: 4545.300 Avg Mbps: 4545.300 4000 563395980 4507.168 100.00% Conn: 1 Mbps: 4507.168 Peak Mbps: 4545.300 Avg Mbps: 4507.168 5000 566610408 4532.883 100.00% Conn: 1 Mbps: 4532.883 Peak Mbps: 4545.300 Avg Mbps: 4532.883 --- fc00:0:0:1::12 tcpbench statistics --- 3387464472 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4507.168/4522.995/4545.300/14.038 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.051 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/0.000 ms ==== run-ping6-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.053 ms --- fc00::13 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-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 1059446636 8475.573 100.00% Conn: 1 Mbps: 8475.573 Peak Mbps: 8475.573 Avg Mbps: 8475.573 2000 1061372472 8499.479 100.00% Conn: 1 Mbps: 8499.479 Peak Mbps: 8499.479 Avg Mbps: 8499.479 3000 1061830496 8503.147 100.00% Conn: 1 Mbps: 8503.147 Peak Mbps: 8503.147 Avg Mbps: 8503.147 4000 1061307040 8490.456 100.00% Conn: 1 Mbps: 8490.456 Peak Mbps: 8503.147 Avg Mbps: 8490.456 5000 1062452100 8499.617 100.00% Conn: 1 Mbps: 8499.617 Peak Mbps: 8503.147 Avg Mbps: 8499.617 --- 169.254.0.13 tcpbench statistics --- 6369547880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8475.573/8493.655/8503.147/9.967 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 1035930124 8287.441 100.00% Conn: 1 Mbps: 8287.441 Peak Mbps: 8287.441 Avg Mbps: 8287.441 2000 1034468744 8284.034 100.00% Conn: 1 Mbps: 8284.034 Peak Mbps: 8287.441 Avg Mbps: 8284.034 3000 1032038076 8256.305 100.00% Conn: 1 Mbps: 8256.305 Peak Mbps: 8287.441 Avg Mbps: 8256.305 4000 1036299720 8290.398 100.00% Conn: 1 Mbps: 8290.398 Peak Mbps: 8290.398 Avg Mbps: 8290.398 5000 1033455168 8267.641 100.00% Conn: 1 Mbps: 8267.641 Peak Mbps: 8290.398 Avg Mbps: 8267.641 --- fc00::13 tcpbench statistics --- 6204568032 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8256.305/8277.164/8290.398/13.067 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.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-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 1000 216135296 1729.082 100.00% Conn: 1 Mbps: 1729.082 Peak Mbps: 1729.082 Avg Mbps: 1729.082 2000 215713456 1725.708 100.00% Conn: 1 Mbps: 1725.708 Peak Mbps: 1729.082 Avg Mbps: 1725.708 3001 218219720 1745.758 100.00% Conn: 1 Mbps: 1745.758 Peak Mbps: 1745.758 Avg Mbps: 1745.758 4002 215393904 1723.151 100.00% Conn: 1 Mbps: 1723.151 Peak Mbps: 1745.758 Avg Mbps: 1723.151 5002 214890016 1719.120 100.00% Conn: 1 Mbps: 1719.120 Peak Mbps: 1745.758 Avg Mbps: 1719.120 --- 169.254.1.11 tcpbench statistics --- 1295130408 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1719.120/1728.564/1745.758/9.193 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 306177048 2449.416 100.00% Conn: 1 Mbps: 2449.416 Peak Mbps: 2449.416 Avg Mbps: 2449.416 2000 307509128 2460.073 100.00% Conn: 1 Mbps: 2460.073 Peak Mbps: 2460.073 Avg Mbps: 2460.073 3000 308637992 2471.576 100.00% Conn: 1 Mbps: 2471.576 Peak Mbps: 2471.576 Avg Mbps: 2471.576 4000 306129528 2451.488 100.00% Conn: 1 Mbps: 2451.488 Peak Mbps: 2471.576 Avg Mbps: 2451.488 5001 302845120 2422.761 100.00% Conn: 1 Mbps: 2422.761 Peak Mbps: 2471.576 Avg Mbps: 2422.761 --- fc00:0:0:1::11 tcpbench statistics --- 1836701304 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2422.761/2451.063/2471.576/16.161 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.051 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.051/0.051/0.051/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 1084028578 8672.229 100.00% Conn: 1 Mbps: 8672.229 Peak Mbps: 8672.229 Avg Mbps: 8672.229 2000 1079791580 8646.980 100.00% Conn: 1 Mbps: 8646.980 Peak Mbps: 8672.229 Avg Mbps: 8646.980 3000 1081918120 8655.345 100.00% Conn: 1 Mbps: 8655.345 Peak Mbps: 8672.229 Avg Mbps: 8655.345 4000 1081885404 8655.083 100.00% Conn: 1 Mbps: 8655.083 Peak Mbps: 8672.229 Avg Mbps: 8655.083 5000 1077566892 8620.535 100.00% Conn: 1 Mbps: 8620.535 Peak Mbps: 8672.229 Avg Mbps: 8620.535 --- 169.254.1.12 tcpbench statistics --- 6482299442 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8620.535/8650.034/8672.229/16.887 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 1026115708 8208.926 100.00% Conn: 1 Mbps: 8208.926 Peak Mbps: 8208.926 Avg Mbps: 8208.926 2000 1028779640 8238.476 100.00% Conn: 1 Mbps: 8238.476 Peak Mbps: 8238.476 Avg Mbps: 8238.476 3000 1026883272 8215.066 100.00% Conn: 1 Mbps: 8215.066 Peak Mbps: 8238.476 Avg Mbps: 8215.066 4000 1027150600 8217.205 100.00% Conn: 1 Mbps: 8217.205 Peak Mbps: 8238.476 Avg Mbps: 8217.205 5000 1031628800 8253.030 100.00% Conn: 1 Mbps: 8253.030 Peak Mbps: 8253.030 Avg Mbps: 8253.030 --- fc00:0:0:1::12 tcpbench statistics --- 6171593684 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8208.926/8226.541/8253.030/16.573 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.051 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/0.000 ms ==== run-ping6-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.058 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.058/0.058/0.058/0.000 ms ==== run-tcpbench-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 1126679918 9013.439 100.00% Conn: 1 Mbps: 9013.439 Peak Mbps: 9013.439 Avg Mbps: 9013.439 2000 1137862480 9112.012 100.00% Conn: 1 Mbps: 9112.012 Peak Mbps: 9112.012 Avg Mbps: 9112.012 3000 1133478536 9067.828 100.00% Conn: 1 Mbps: 9067.828 Peak Mbps: 9112.012 Avg Mbps: 9067.828 4000 1139040256 9112.322 100.00% Conn: 1 Mbps: 9112.322 Peak Mbps: 9112.322 Avg Mbps: 9112.322 5000 1136455692 9091.646 100.00% Conn: 1 Mbps: 9091.646 Peak Mbps: 9112.322 Avg Mbps: 9091.646 --- 169.254.0.13 tcpbench statistics --- 6805065174 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9013.439/9079.449/9112.322/36.829 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 1082508276 8660.066 100.00% Conn: 1 Mbps: 8660.066 Peak Mbps: 8660.066 Avg Mbps: 8660.066 2000 1086880432 8703.747 100.00% Conn: 1 Mbps: 8703.747 Peak Mbps: 8703.747 Avg Mbps: 8703.747 3000 1086880432 8695.043 100.00% Conn: 1 Mbps: 8695.043 Peak Mbps: 8703.747 Avg Mbps: 8695.043 4000 1087109304 8696.874 100.00% Conn: 1 Mbps: 8696.874 Peak Mbps: 8703.747 Avg Mbps: 8696.874 5000 1085311024 8682.488 100.00% Conn: 1 Mbps: 8682.488 Peak Mbps: 8703.747 Avg Mbps: 8682.488 --- fc00::13 tcpbench statistics --- 6515864164 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8660.066/8687.644/8703.747/15.404 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