START sys/net/pair 2025-02-05T15:53:41Z ==== 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.038 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.038/0.038/0.038/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.042 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.042/0.042/0.042/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 1212483296 9699.866 100.00% Conn: 1 Mbps: 9699.866 Peak Mbps: 9699.866 Avg Mbps: 9699.866 2000 1180548232 9453.840 100.00% Conn: 1 Mbps: 9453.840 Peak Mbps: 9699.866 Avg Mbps: 9453.840 3000 1187073540 9496.588 100.00% Conn: 1 Mbps: 9496.588 Peak Mbps: 9699.866 Avg Mbps: 9496.588 4000 1199877768 9599.022 100.00% Conn: 1 Mbps: 9599.022 Peak Mbps: 9699.866 Avg Mbps: 9599.022 5000 1192533816 9540.271 100.00% Conn: 1 Mbps: 9540.271 Peak Mbps: 9699.866 Avg Mbps: 9540.271 --- 169.254.1.11 tcpbench statistics --- 7184451536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9453.840/9557.917/9699.866/85.725 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 1299771816 10398.175 100.00% Conn: 1 Mbps: 10398.175 Peak Mbps: 10398.175 Avg Mbps: 10398.175 2000 1321597600 10583.364 100.00% Conn: 1 Mbps: 10583.364 Peak Mbps: 10583.364 Avg Mbps: 10583.364 3000 1320059568 10560.477 100.00% Conn: 1 Mbps: 10560.477 Peak Mbps: 10583.364 Avg Mbps: 10560.477 4000 1330595880 10644.767 100.00% Conn: 1 Mbps: 10644.767 Peak Mbps: 10644.767 Avg Mbps: 10644.767 5000 1316864584 10534.917 100.00% Conn: 1 Mbps: 10534.917 Peak Mbps: 10644.767 Avg Mbps: 10534.917 --- fc00:0:0:1::11 tcpbench statistics --- 7904556904 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10398.175/10544.340/10644.767/81.636 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.063 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.063/0.063/0.063/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.123 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.123/0.123/0.123/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 412216640 3297.733 100.00% Conn: 1 Mbps: 3297.733 Peak Mbps: 3297.733 Avg Mbps: 3297.733 2001 430502096 3444.017 100.00% Conn: 1 Mbps: 3444.017 Peak Mbps: 3444.017 Avg Mbps: 3444.017 3002 426737128 3410.487 100.00% Conn: 1 Mbps: 3410.487 Peak Mbps: 3444.017 Avg Mbps: 3410.487 4002 417357264 3342.200 100.00% Conn: 1 Mbps: 3342.200 Peak Mbps: 3444.017 Avg Mbps: 3342.200 5003 429656184 3433.816 100.00% Conn: 1 Mbps: 3433.816 Peak Mbps: 3444.017 Avg Mbps: 3433.816 --- 169.254.1.12 tcpbench statistics --- 2534139120 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 3297.733/3385.650/3444.017/56.499 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 387254428 3098.035 100.00% Conn: 1 Mbps: 3098.035 Peak Mbps: 3098.035 Avg Mbps: 3098.035 2000 403897556 3234.415 100.00% Conn: 1 Mbps: 3234.415 Peak Mbps: 3234.415 Avg Mbps: 3234.415 3000 397021948 3176.176 100.00% Conn: 1 Mbps: 3176.176 Peak Mbps: 3234.415 Avg Mbps: 3176.176 4002 399064596 3189.327 100.00% Conn: 1 Mbps: 3189.327 Peak Mbps: 3234.415 Avg Mbps: 3189.327 5004 397018272 3172.973 100.00% Conn: 1 Mbps: 3172.973 Peak Mbps: 3234.415 Avg Mbps: 3172.973 --- fc00:0:0:1::12 tcpbench statistics --- 2379783844 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3098.035/3174.185/3234.415/43.957 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.053 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.053/0.053/0.053/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.061 ms --- fc00::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-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 736930612 5895.445 100.00% Conn: 1 Mbps: 5895.445 Peak Mbps: 5895.445 Avg Mbps: 5895.445 2000 754606544 6036.852 100.00% Conn: 1 Mbps: 6036.852 Peak Mbps: 6036.852 Avg Mbps: 6036.852 3000 767880124 6149.190 100.00% Conn: 1 Mbps: 6149.190 Peak Mbps: 6149.190 Avg Mbps: 6149.190 4001 753009276 6024.074 100.00% Conn: 1 Mbps: 6024.074 Peak Mbps: 6149.190 Avg Mbps: 6024.074 5001 754511448 6036.092 100.00% Conn: 1 Mbps: 6036.092 Peak Mbps: 6149.190 Avg Mbps: 6036.092 --- 169.254.0.13 tcpbench statistics --- 4524129184 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5895.445/6028.331/6149.190/80.519 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 670174168 5361.393 100.00% Conn: 1 Mbps: 5361.393 Peak Mbps: 5361.393 Avg Mbps: 5361.393 2000 695753352 5566.027 100.00% Conn: 1 Mbps: 5566.027 Peak Mbps: 5566.027 Avg Mbps: 5566.027 3000 694215320 5553.723 100.00% Conn: 1 Mbps: 5553.723 Peak Mbps: 5566.027 Avg Mbps: 5553.723 4000 694256000 5559.608 100.00% Conn: 1 Mbps: 5559.608 Peak Mbps: 5566.027 Avg Mbps: 5559.608 5000 694952104 5559.617 100.00% Conn: 1 Mbps: 5559.617 Peak Mbps: 5566.027 Avg Mbps: 5559.617 --- fc00::13 tcpbench statistics --- 4144113296 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5361.393/5520.073/5566.027/79.435 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.043 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.043/0.043/0.043/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.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-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 414634800 3317.078 100.00% Conn: 1 Mbps: 3317.078 Peak Mbps: 3317.078 Avg Mbps: 3317.078 2001 425868552 3406.948 100.00% Conn: 1 Mbps: 3406.948 Peak Mbps: 3406.948 Avg Mbps: 3406.948 3001 428232932 3429.293 100.00% Conn: 1 Mbps: 3429.293 Peak Mbps: 3429.293 Avg Mbps: 3429.293 4003 430709104 3442.231 100.00% Conn: 1 Mbps: 3442.231 Peak Mbps: 3442.231 Avg Mbps: 3442.231 5002 430726480 3449.261 100.00% Conn: 1 Mbps: 3449.261 Peak Mbps: 3449.261 Avg Mbps: 3449.261 --- 169.254.1.11 tcpbench statistics --- 2556762748 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 3317.078/3408.962/3449.261/48.147 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1001 389265264 3111.011 100.00% Conn: 1 Mbps: 3111.011 Peak Mbps: 3111.011 Avg Mbps: 3111.011 2000 401541172 3215.545 100.00% Conn: 1 Mbps: 3215.545 Peak Mbps: 3215.545 Avg Mbps: 3215.545 3001 402409976 3219.280 100.00% Conn: 1 Mbps: 3219.280 Peak Mbps: 3219.280 Avg Mbps: 3219.280 4001 402456916 3219.655 100.00% Conn: 1 Mbps: 3219.655 Peak Mbps: 3219.655 Avg Mbps: 3219.655 5001 403772528 3230.180 100.00% Conn: 1 Mbps: 3230.180 Peak Mbps: 3230.180 Avg Mbps: 3230.180 --- fc00:0:0:1::11 tcpbench statistics --- 2401282144 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3111.011/3199.134/3230.180/44.330 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.038 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.038/0.038/0.038/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 1278365352 10226.923 100.00% Conn: 1 Mbps: 10226.923 Peak Mbps: 10226.923 Avg Mbps: 10226.923 2000 1236338600 9900.609 100.00% Conn: 1 Mbps: 9900.609 Peak Mbps: 10226.923 Avg Mbps: 9900.609 3000 1246609264 9972.874 100.00% Conn: 1 Mbps: 9972.874 Peak Mbps: 10226.923 Avg Mbps: 9972.874 4000 1237255184 9898.041 100.00% Conn: 1 Mbps: 9898.041 Peak Mbps: 10226.923 Avg Mbps: 9898.041 5000 1263122256 10104.978 100.00% Conn: 1 Mbps: 10104.978 Peak Mbps: 10226.923 Avg Mbps: 10104.978 --- 169.254.1.12 tcpbench statistics --- 7531566384 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9898.041/10020.685/10226.923/127.581 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 1318409568 10547.277 100.00% Conn: 1 Mbps: 10547.277 Peak Mbps: 10547.277 Avg Mbps: 10547.277 2000 1316978712 10546.376 100.00% Conn: 1 Mbps: 10546.376 Peak Mbps: 10547.277 Avg Mbps: 10546.376 3000 1311408084 10491.265 100.00% Conn: 1 Mbps: 10491.265 Peak Mbps: 10547.277 Avg Mbps: 10491.265 4000 1323957348 10591.659 100.00% Conn: 1 Mbps: 10591.659 Peak Mbps: 10591.659 Avg Mbps: 10591.659 5000 1325728068 10605.825 100.00% Conn: 1 Mbps: 10605.825 Peak Mbps: 10605.825 Avg Mbps: 10605.825 --- fc00:0:0:1::12 tcpbench statistics --- 7906137708 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10491.265/10556.480/10605.825/40.280 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.039 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.039/0.039/0.039/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.043 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/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 1455871336 11646.971 100.00% Conn: 1 Mbps: 11646.971 Peak Mbps: 11646.971 Avg Mbps: 11646.971 2000 1452246882 11629.605 100.00% Conn: 1 Mbps: 11629.605 Peak Mbps: 11646.971 Avg Mbps: 11629.605 3000 1452017870 11616.143 100.00% Conn: 1 Mbps: 11616.143 Peak Mbps: 11646.971 Avg Mbps: 11616.143 4000 1449809540 11610.086 100.00% Conn: 1 Mbps: 11610.086 Peak Mbps: 11646.971 Avg Mbps: 11610.086 5000 1431733950 11453.872 100.00% Conn: 1 Mbps: 11453.872 Peak Mbps: 11646.971 Avg Mbps: 11453.872 --- 169.254.0.13 tcpbench statistics --- 8658740402 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11453.872/11591.335/11646.971/69.890 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 1434194876 11473.559 100.00% Conn: 1 Mbps: 11473.559 Peak Mbps: 11473.559 Avg Mbps: 11473.559 2000 1428324760 11438.036 100.00% Conn: 1 Mbps: 11438.036 Peak Mbps: 11473.559 Avg Mbps: 11438.036 3000 1429992256 11439.938 100.00% Conn: 1 Mbps: 11439.938 Peak Mbps: 11473.559 Avg Mbps: 11439.938 4000 1431921320 11455.371 100.00% Conn: 1 Mbps: 11455.371 Peak Mbps: 11473.559 Avg Mbps: 11455.371 5000 1432738720 11461.910 100.00% Conn: 1 Mbps: 11461.910 Peak Mbps: 11473.559 Avg Mbps: 11461.910 --- fc00::13 tcpbench statistics --- 8588504724 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11438.036/11453.763/11473.559/13.411 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.043 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.043/0.043/0.043/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.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-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 414497240 3315.978 100.00% Conn: 1 Mbps: 3315.978 Peak Mbps: 3315.978 Avg Mbps: 3315.978 2000 425093760 3400.750 100.00% Conn: 1 Mbps: 3400.750 Peak Mbps: 3400.750 Avg Mbps: 3400.750 3000 429363968 3434.912 100.00% Conn: 1 Mbps: 3434.912 Peak Mbps: 3434.912 Avg Mbps: 3434.912 4001 424832044 3398.656 100.00% Conn: 1 Mbps: 3398.656 Peak Mbps: 3434.912 Avg Mbps: 3398.656 5001 432821624 3462.573 100.00% Conn: 1 Mbps: 3462.573 Peak Mbps: 3462.573 Avg Mbps: 3462.573 --- 169.254.1.11 tcpbench statistics --- 2555552628 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3315.978/3402.574/3462.573/49.322 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 917272504 7338.180 100.00% Conn: 1 Mbps: 7338.180 Peak Mbps: 7338.180 Avg Mbps: 7338.180 2000 977159912 7825.104 100.00% Conn: 1 Mbps: 7825.104 Peak Mbps: 7825.104 Avg Mbps: 7825.104 3000 969741144 7765.695 100.00% Conn: 1 Mbps: 7765.695 Peak Mbps: 7825.104 Avg Mbps: 7765.695 4000 989989392 7927.843 100.00% Conn: 1 Mbps: 7927.843 Peak Mbps: 7927.843 Avg Mbps: 7927.843 5000 979499552 7835.996 100.00% Conn: 1 Mbps: 7835.996 Peak Mbps: 7927.843 Avg Mbps: 7835.996 --- fc00:0:0:1::11 tcpbench statistics --- 5806749680 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 7338.180/7738.564/7927.843/206.810 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.040 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.040/0.040/0.040/0.000 ms ==== run-ping6-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.040 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.040/0.040/0.040/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 1430563676 11444.509 100.00% Conn: 1 Mbps: 11444.509 Peak Mbps: 11444.509 Avg Mbps: 11444.509 2000 1455436692 11655.149 100.00% Conn: 1 Mbps: 11655.149 Peak Mbps: 11655.149 Avg Mbps: 11655.149 3000 1465529578 11724.237 100.00% Conn: 1 Mbps: 11724.237 Peak Mbps: 11724.237 Avg Mbps: 11724.237 4000 1466592848 11732.743 100.00% Conn: 1 Mbps: 11732.743 Peak Mbps: 11732.743 Avg Mbps: 11732.743 5000 1467230810 11737.846 100.00% Conn: 1 Mbps: 11737.846 Peak Mbps: 11737.846 Avg Mbps: 11737.846 --- 169.254.1.12 tcpbench statistics --- 8752731636 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11444.509/11658.897/11737.846/111.294 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 1424725460 11397.804 100.00% Conn: 1 Mbps: 11397.804 Peak Mbps: 11397.804 Avg Mbps: 11397.804 2000 1428292064 11437.774 100.00% Conn: 1 Mbps: 11437.774 Peak Mbps: 11437.774 Avg Mbps: 11437.774 3000 1428161280 11425.290 100.00% Conn: 1 Mbps: 11425.290 Peak Mbps: 11437.774 Avg Mbps: 11425.290 4000 1428945984 11431.568 100.00% Conn: 1 Mbps: 11431.568 Peak Mbps: 11437.774 Avg Mbps: 11431.568 5000 1428226672 11425.813 100.00% Conn: 1 Mbps: 11425.813 Peak Mbps: 11437.774 Avg Mbps: 11425.813 --- fc00:0:0:1::12 tcpbench statistics --- 8567199356 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11397.804/11423.650/11437.774/13.694 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.037 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.037/0.037/0.037/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.041 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.041/0.041/0.041/0.000 ms ==== run-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 1434254154 11474.033 100.00% Conn: 1 Mbps: 11474.033 Peak Mbps: 11474.033 Avg Mbps: 11474.033 2000 1455763852 11657.769 100.00% Conn: 1 Mbps: 11657.769 Peak Mbps: 11657.769 Avg Mbps: 11657.769 3000 1450316638 11602.533 100.00% Conn: 1 Mbps: 11602.533 Peak Mbps: 11657.769 Avg Mbps: 11602.533 4000 1450611082 11604.889 100.00% Conn: 1 Mbps: 11604.889 Peak Mbps: 11657.769 Avg Mbps: 11604.889 5000 1447862938 11582.904 100.00% Conn: 1 Mbps: 11582.904 Peak Mbps: 11657.769 Avg Mbps: 11582.904 --- 169.254.0.13 tcpbench statistics --- 8689665116 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11474.033/11584.425/11657.769/60.522 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 1448208788 11585.670 100.00% Conn: 1 Mbps: 11585.670 Peak Mbps: 11585.670 Avg Mbps: 11585.670 2000 1452389016 11630.743 100.00% Conn: 1 Mbps: 11630.743 Peak Mbps: 11630.743 Avg Mbps: 11630.743 3000 1449250200 11594.002 100.00% Conn: 1 Mbps: 11594.002 Peak Mbps: 11630.743 Avg Mbps: 11594.002 4000 1451833184 11614.665 100.00% Conn: 1 Mbps: 11614.665 Peak Mbps: 11630.743 Avg Mbps: 11614.665 5000 1459974488 11679.796 100.00% Conn: 1 Mbps: 11679.796 Peak Mbps: 11679.796 Avg Mbps: 11679.796 --- fc00::13 tcpbench statistics --- 8715810276 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11585.670/11620.975/11679.796/33.374 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 1m51.81s