START sys/net/pair 2024-11-05T05:06:02Z ==== 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.054 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.054/0.054/0.054/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 556042080 4448.337 100.00% Conn: 1 Mbps: 4448.337 Peak Mbps: 4448.337 Avg Mbps: 4448.337 2000 556415636 4455.781 100.00% Conn: 1 Mbps: 4455.781 Peak Mbps: 4455.781 Avg Mbps: 4455.781 3000 556598440 4452.788 100.00% Conn: 1 Mbps: 4452.788 Peak Mbps: 4455.781 Avg Mbps: 4452.788 4000 555318812 4442.550 100.00% Conn: 1 Mbps: 4442.550 Peak Mbps: 4455.781 Avg Mbps: 4442.550 5000 557107112 4461.318 100.00% Conn: 1 Mbps: 4461.318 Peak Mbps: 4461.318 Avg Mbps: 4461.318 --- 169.254.1.11 tcpbench statistics --- 3338748152 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4442.550/4452.155/4461.318/6.393 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 542497184 4339.977 100.00% Conn: 1 Mbps: 4339.977 Peak Mbps: 4339.977 Avg Mbps: 4339.977 2000 541307984 4330.464 100.00% Conn: 1 Mbps: 4330.464 Peak Mbps: 4339.977 Avg Mbps: 4330.464 3000 544225488 4353.804 100.00% Conn: 1 Mbps: 4353.804 Peak Mbps: 4353.804 Avg Mbps: 4353.804 4000 542758808 4342.070 100.00% Conn: 1 Mbps: 4342.070 Peak Mbps: 4353.804 Avg Mbps: 4342.070 5000 542259344 4338.075 100.00% Conn: 1 Mbps: 4338.075 Peak Mbps: 4353.804 Avg Mbps: 4338.075 --- fc00:0:0:1::11 tcpbench statistics --- 3251883256 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4330.464/4340.878/4353.804/7.558 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.079 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.079/0.079/0.079/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.145 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.145/0.145/0.145/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1001 212926936 1701.714 100.00% Conn: 1 Mbps: 1701.714 Peak Mbps: 1701.714 Avg Mbps: 1701.714 2000 214438280 1717.223 100.00% Conn: 1 Mbps: 1717.223 Peak Mbps: 1717.223 Avg Mbps: 1717.223 3001 214579176 1716.633 100.00% Conn: 1 Mbps: 1716.633 Peak Mbps: 1717.223 Avg Mbps: 1716.633 4001 214569320 1716.555 100.00% Conn: 1 Mbps: 1716.555 Peak Mbps: 1717.223 Avg Mbps: 1716.555 5002 213154296 1705.234 100.00% Conn: 1 Mbps: 1705.234 Peak Mbps: 1717.223 Avg Mbps: 1705.234 --- 169.254.1.12 tcpbench statistics --- 1281241272 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1701.714/1711.472/1717.223/6.628 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 201357676 1610.861 100.00% Conn: 1 Mbps: 1610.861 Peak Mbps: 1610.861 Avg Mbps: 1610.861 2000 200315536 1602.524 100.00% Conn: 1 Mbps: 1602.524 Peak Mbps: 1610.861 Avg Mbps: 1602.524 3001 201468640 1611.749 100.00% Conn: 1 Mbps: 1611.749 Peak Mbps: 1611.749 Avg Mbps: 1611.749 4001 200279484 1603.840 100.00% Conn: 1 Mbps: 1603.840 Peak Mbps: 1611.749 Avg Mbps: 1603.840 5001 202361664 1618.893 100.00% Conn: 1 Mbps: 1618.893 Peak Mbps: 1618.893 Avg Mbps: 1618.893 --- fc00:0:0:1::12 tcpbench statistics --- 1207413740 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1602.524/1609.574/1618.893/5.930 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.067 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.067/0.067/0.067/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 312555100 2500.441 100.00% Conn: 1 Mbps: 2500.441 Peak Mbps: 2500.441 Avg Mbps: 2500.441 2000 311490068 2494.415 100.00% Conn: 1 Mbps: 2494.415 Peak Mbps: 2500.441 Avg Mbps: 2494.415 3000 312594840 2500.759 100.00% Conn: 1 Mbps: 2500.759 Peak Mbps: 2500.759 Avg Mbps: 2500.759 4000 314073168 2512.585 100.00% Conn: 1 Mbps: 2512.585 Peak Mbps: 2512.585 Avg Mbps: 2512.585 5000 310059428 2482.958 100.00% Conn: 1 Mbps: 2482.958 Peak Mbps: 2512.585 Avg Mbps: 2482.958 --- 169.254.0.13 tcpbench statistics --- 1865355720 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2482.958/2498.232/2512.585/9.645 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 284702408 2277.619 100.00% Conn: 1 Mbps: 2277.619 Peak Mbps: 2277.619 Avg Mbps: 2277.619 2000 284583488 2278.947 100.00% Conn: 1 Mbps: 2278.947 Peak Mbps: 2278.947 Avg Mbps: 2278.947 3000 285487280 2283.898 100.00% Conn: 1 Mbps: 2283.898 Peak Mbps: 2283.898 Avg Mbps: 2283.898 4000 286890536 2295.124 100.00% Conn: 1 Mbps: 2295.124 Peak Mbps: 2295.124 Avg Mbps: 2295.124 5000 290450208 2323.602 100.00% Conn: 1 Mbps: 2323.602 Peak Mbps: 2323.602 Avg Mbps: 2323.602 --- fc00::13 tcpbench statistics --- 1725394424 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2277.619/2291.838/2323.602/17.036 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.044 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.044/0.044/0.044/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 213221592 1705.773 100.00% Conn: 1 Mbps: 1705.773 Peak Mbps: 1705.773 Avg Mbps: 1705.773 2001 215318496 1722.548 100.00% Conn: 1 Mbps: 1722.548 Peak Mbps: 1722.548 Avg Mbps: 1722.548 3001 217186416 1737.491 100.00% Conn: 1 Mbps: 1737.491 Peak Mbps: 1737.491 Avg Mbps: 1737.491 4001 216626320 1733.011 100.00% Conn: 1 Mbps: 1733.011 Peak Mbps: 1737.491 Avg Mbps: 1733.011 5001 215697264 1727.305 100.00% Conn: 1 Mbps: 1727.305 Peak Mbps: 1737.491 Avg Mbps: 1727.305 --- 169.254.1.11 tcpbench statistics --- 1294414320 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1705.773/1725.226/1737.491/10.963 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 203266196 1626.130 100.00% Conn: 1 Mbps: 1626.130 Peak Mbps: 1626.130 Avg Mbps: 1626.130 2000 202140620 1617.125 100.00% Conn: 1 Mbps: 1617.125 Peak Mbps: 1626.130 Avg Mbps: 1617.125 3001 202002852 1616.023 100.00% Conn: 1 Mbps: 1616.023 Peak Mbps: 1626.130 Avg Mbps: 1616.023 4001 202076472 1616.612 100.00% Conn: 1 Mbps: 1616.612 Peak Mbps: 1626.130 Avg Mbps: 1616.612 5002 202042836 1616.343 100.00% Conn: 1 Mbps: 1616.343 Peak Mbps: 1626.130 Avg Mbps: 1616.343 --- fc00:0:0:1::11 tcpbench statistics --- 1213179664 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1616.023/1618.446/1626.130/3.859 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.037 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.037/0.037/0.037/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.045 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-2-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 558083816 4464.671 100.00% Conn: 1 Mbps: 4464.671 Peak Mbps: 4464.671 Avg Mbps: 4464.671 2000 552404760 4423.662 100.00% Conn: 1 Mbps: 4423.662 Peak Mbps: 4464.671 Avg Mbps: 4423.662 3000 550338464 4402.708 100.00% Conn: 1 Mbps: 4402.708 Peak Mbps: 4464.671 Avg Mbps: 4402.708 4000 549142416 4397.537 100.00% Conn: 1 Mbps: 4397.537 Peak Mbps: 4464.671 Avg Mbps: 4397.537 5000 546651856 4373.215 100.00% Conn: 1 Mbps: 4373.215 Peak Mbps: 4464.671 Avg Mbps: 4373.215 --- 169.254.1.12 tcpbench statistics --- 3307175528 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4373.215/4412.358/4464.671/30.690 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 539976172 4319.809 100.00% Conn: 1 Mbps: 4319.809 Peak Mbps: 4319.809 Avg Mbps: 4319.809 2000 539248500 4318.306 100.00% Conn: 1 Mbps: 4318.306 Peak Mbps: 4319.809 Avg Mbps: 4318.306 3000 541032072 4328.257 100.00% Conn: 1 Mbps: 4328.257 Peak Mbps: 4328.257 Avg Mbps: 4328.257 4000 536134032 4289.072 100.00% Conn: 1 Mbps: 4289.072 Peak Mbps: 4328.257 Avg Mbps: 4289.072 5000 538361712 4306.894 100.00% Conn: 1 Mbps: 4306.894 Peak Mbps: 4328.257 Avg Mbps: 4306.894 --- fc00:0:0:1::12 tcpbench statistics --- 3234586468 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4289.072/4312.468/4328.257/13.533 Mbps ==== run-ping-2-3 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.058 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.058/0.058/0.058/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.051 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/0.000 ms ==== run-tcpbench-2-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 1028908826 8231.271 100.00% Conn: 1 Mbps: 8231.271 Peak Mbps: 8231.271 Avg Mbps: 8231.271 2000 1042299044 8346.739 100.00% Conn: 1 Mbps: 8346.739 Peak Mbps: 8346.739 Avg Mbps: 8346.739 3000 1040565096 8324.521 100.00% Conn: 1 Mbps: 8324.521 Peak Mbps: 8346.739 Avg Mbps: 8324.521 4000 1040008924 8320.071 100.00% Conn: 1 Mbps: 8320.071 Peak Mbps: 8346.739 Avg Mbps: 8320.071 5000 1042102748 8336.822 100.00% Conn: 1 Mbps: 8336.822 Peak Mbps: 8346.739 Avg Mbps: 8336.822 --- 169.254.0.13 tcpbench statistics --- 6234515166 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8231.271/8311.885/8346.739/41.381 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 1004497348 8035.979 100.00% Conn: 1 Mbps: 8035.979 Peak Mbps: 8035.979 Avg Mbps: 8035.979 2000 1011189192 8097.611 100.00% Conn: 1 Mbps: 8097.611 Peak Mbps: 8097.611 Avg Mbps: 8097.611 3000 1012300856 8098.407 100.00% Conn: 1 Mbps: 8098.407 Peak Mbps: 8098.407 Avg Mbps: 8098.407 4000 1010208312 8081.666 100.00% Conn: 1 Mbps: 8081.666 Peak Mbps: 8098.407 Avg Mbps: 8081.666 5000 1014197224 8113.578 100.00% Conn: 1 Mbps: 8113.578 Peak Mbps: 8113.578 Avg Mbps: 8113.578 --- fc00::13 tcpbench statistics --- 6061980020 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8035.979/8085.448/8113.578/26.716 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.048 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.048/0.048/0.048/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.055 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.055/0.055/0.055/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 211826584 1694.613 100.00% Conn: 1 Mbps: 1694.613 Peak Mbps: 1694.613 Avg Mbps: 1694.613 2000 211051472 1690.102 100.00% Conn: 1 Mbps: 1690.102 Peak Mbps: 1694.613 Avg Mbps: 1690.102 3001 211119584 1688.957 100.00% Conn: 1 Mbps: 1688.957 Peak Mbps: 1694.613 Avg Mbps: 1688.957 4002 211190704 1687.838 100.00% Conn: 1 Mbps: 1687.838 Peak Mbps: 1694.613 Avg Mbps: 1687.838 5001 210615120 1686.608 100.00% Conn: 1 Mbps: 1686.608 Peak Mbps: 1694.613 Avg Mbps: 1686.608 --- 169.254.1.11 tcpbench statistics --- 1265464472 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1686.608/1689.623/1694.613/2.751 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 303109616 2424.877 100.00% Conn: 1 Mbps: 2424.877 Peak Mbps: 2424.877 Avg Mbps: 2424.877 2000 302869528 2425.382 100.00% Conn: 1 Mbps: 2425.382 Peak Mbps: 2425.382 Avg Mbps: 2425.382 3000 305363128 2442.905 100.00% Conn: 1 Mbps: 2442.905 Peak Mbps: 2442.905 Avg Mbps: 2442.905 4001 302853336 2422.827 100.00% Conn: 1 Mbps: 2422.827 Peak Mbps: 2442.905 Avg Mbps: 2422.827 5001 309059512 2472.476 100.00% Conn: 1 Mbps: 2472.476 Peak Mbps: 2472.476 Avg Mbps: 2472.476 --- fc00:0:0:1::11 tcpbench statistics --- 1825928784 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2422.827/2437.693/2472.476/18.835 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.053 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.053/0.053/0.053/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.061 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.061/0.061/0.061/0.000 ms ==== run-tcpbench-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 1043906550 8351.252 100.00% Conn: 1 Mbps: 8351.252 Peak Mbps: 8351.252 Avg Mbps: 8351.252 2000 1051066932 8416.952 100.00% Conn: 1 Mbps: 8416.952 Peak Mbps: 8416.952 Avg Mbps: 8416.952 3000 1048384220 8387.074 100.00% Conn: 1 Mbps: 8387.074 Peak Mbps: 8416.952 Avg Mbps: 8387.074 4000 1050837920 8406.703 100.00% Conn: 1 Mbps: 8406.703 Peak Mbps: 8416.952 Avg Mbps: 8406.703 5000 1050412612 8403.301 100.00% Conn: 1 Mbps: 8403.301 Peak Mbps: 8416.952 Avg Mbps: 8403.301 --- 169.254.1.12 tcpbench statistics --- 6293875786 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8351.252/8393.057/8416.952/23.002 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 1001895100 8015.161 100.00% Conn: 1 Mbps: 8015.161 Peak Mbps: 8015.161 Avg Mbps: 8015.161 2000 1006938712 8063.573 100.00% Conn: 1 Mbps: 8063.573 Peak Mbps: 8063.573 Avg Mbps: 8063.573 3000 1007952288 8063.618 100.00% Conn: 1 Mbps: 8063.618 Peak Mbps: 8063.618 Avg Mbps: 8063.618 4000 1005663568 8045.309 100.00% Conn: 1 Mbps: 8045.309 Peak Mbps: 8063.618 Avg Mbps: 8045.309 5000 1007592632 8060.741 100.00% Conn: 1 Mbps: 8060.741 Peak Mbps: 8063.618 Avg Mbps: 8060.741 --- fc00:0:0:1::12 tcpbench statistics --- 6034724988 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8015.161/8049.680/8063.618/18.549 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.046 ms --- fc00::13 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-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 1063995290 8511.962 100.00% Conn: 1 Mbps: 8511.962 Peak Mbps: 8511.962 Avg Mbps: 8511.962 2000 1070958260 8576.242 100.00% Conn: 1 Mbps: 8576.242 Peak Mbps: 8576.242 Avg Mbps: 8576.242 3000 1072103320 8576.827 100.00% Conn: 1 Mbps: 8576.827 Peak Mbps: 8576.827 Avg Mbps: 8576.827 4000 1073379244 8587.034 100.00% Conn: 1 Mbps: 8587.034 Peak Mbps: 8587.034 Avg Mbps: 8587.034 5000 1073837268 8590.698 100.00% Conn: 1 Mbps: 8590.698 Peak Mbps: 8590.698 Avg Mbps: 8590.698 --- 169.254.0.13 tcpbench statistics --- 6426572998 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8511.962/8568.553/8590.698/28.851 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 1047916124 8383.329 100.00% Conn: 1 Mbps: 8383.329 Peak Mbps: 8383.329 Avg Mbps: 8383.329 2000 1051372576 8419.400 100.00% Conn: 1 Mbps: 8419.400 Peak Mbps: 8419.400 Avg Mbps: 8419.400 3000 1050228216 8401.826 100.00% Conn: 1 Mbps: 8401.826 Peak Mbps: 8419.400 Avg Mbps: 8401.826 4000 1052026496 8416.212 100.00% Conn: 1 Mbps: 8416.212 Peak Mbps: 8419.400 Avg Mbps: 8416.212 5000 1054217128 8433.737 100.00% Conn: 1 Mbps: 8433.737 Peak Mbps: 8433.737 Avg Mbps: 8433.737 --- fc00::13 tcpbench statistics --- 6309781492 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8383.329/8410.901/8433.737/17.114 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.83s