START sys/net/pair 2024-11-05T20:31:57Z ==== ifconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 fc00::13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair11 destroy ifconfig: pair11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair12 destroy ifconfig: pair12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/route -n -T 11 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 11 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo12 rdomain 12 /sbin/ifconfig lo12 inet 127.0.0.1/8 /sbin/ifconfig lo12 inet6 ::1/128 /sbin/route -n -T 12 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 12 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 127.0.0.1/8 /sbin/ifconfig lo13 inet6 ::1/128 /sbin/route -n -T 13 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 13 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig pair11 rdomain 11 /sbin/ifconfig pair11 inet 169.254.1.11/24 /sbin/ifconfig pair11 inet6 fc00:0:0:1::11/64 /sbin/ifconfig pair12 rdomain 12 /sbin/ifconfig pair12 inet 169.254.1.12/24 /sbin/ifconfig pair12 inet6 fc00:0:0:1::12/64 /sbin/ifconfig pair11 patch pair12 /sbin/ifconfig lo13 inet 169.254.0.13/24 alias /sbin/ifconfig lo13 inet6 fc00::13/64 /sbin/ifconfig pair11 mtu 8000 /sbin/route -n -T 11 add -inet 169.254.0.13 169.254.1.12 add host 169.254.0.13: gateway 169.254.1.12 /sbin/route -n -T 11 add -inet6 fc00::13 fc00:0:0:1::12 add host fc00::13: gateway fc00:0:0:1::12 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'LO_N1="lo11"' >>addr.py.tmp echo 'PAIR_N1="pair11"' >>addr.py.tmp echo 'IP_N1="169.254.1.11"' >>addr.py.tmp echo 'IP6_N1="fc00:0:0:1::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'LO_N2="lo12"' >>addr.py.tmp echo 'PAIR_N2="pair12"' >>addr.py.tmp echo 'IP_N2="169.254.1.12"' >>addr.py.tmp echo 'IP6_N2="fc00:0:0:1::12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'LO_N3="lo13"' >>addr.py.tmp echo 'PAIR_N3="pair13"' >>addr.py.tmp echo 'IP_N3="169.254.0.13"' >>addr.py.tmp echo 'IP6_N3="fc00::13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1-1 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.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.045 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 557123008 4456.984 100.00% Conn: 1 Mbps: 4456.984 Peak Mbps: 4456.984 Avg Mbps: 4456.984 2000 554849880 4443.242 100.00% Conn: 1 Mbps: 4443.242 Peak Mbps: 4456.984 Avg Mbps: 4443.242 3000 551821692 4414.574 100.00% Conn: 1 Mbps: 4414.574 Peak Mbps: 4456.984 Avg Mbps: 4414.574 4000 550828192 4411.037 100.00% Conn: 1 Mbps: 4411.037 Peak Mbps: 4456.984 Avg Mbps: 4411.037 5000 554643232 4437.146 100.00% Conn: 1 Mbps: 4437.146 Peak Mbps: 4456.984 Avg Mbps: 4437.146 --- 169.254.1.11 tcpbench statistics --- 3323329032 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4411.037/4432.596/4456.984/17.427 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 553184128 4425.473 100.00% Conn: 1 Mbps: 4425.473 Peak Mbps: 4425.473 Avg Mbps: 4425.473 2000 551717448 4418.158 100.00% Conn: 1 Mbps: 4418.158 Peak Mbps: 4425.473 Avg Mbps: 4418.158 3000 547975432 4383.803 100.00% Conn: 1 Mbps: 4383.803 Peak Mbps: 4425.473 Avg Mbps: 4383.803 4000 549616528 4396.932 100.00% Conn: 1 Mbps: 4396.932 Peak Mbps: 4425.473 Avg Mbps: 4396.932 5000 551947360 4415.579 100.00% Conn: 1 Mbps: 4415.579 Peak Mbps: 4425.473 Avg Mbps: 4415.579 --- fc00:0:0:1::11 tcpbench statistics --- 3307601240 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4383.803/4407.989/4425.473/15.322 Mbps ==== run-ping-1-2 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.089 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.089/0.089/0.089/0.000 ms ==== run-ping6-1-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.146 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.146/0.146/0.146/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 214405616 1715.245 100.00% Conn: 1 Mbps: 1715.245 Peak Mbps: 1715.245 Avg Mbps: 1715.245 2001 215873552 1726.988 100.00% Conn: 1 Mbps: 1726.988 Peak Mbps: 1726.988 Avg Mbps: 1726.988 3001 216586472 1732.692 100.00% Conn: 1 Mbps: 1732.692 Peak Mbps: 1732.692 Avg Mbps: 1732.692 4001 217334920 1740.420 100.00% Conn: 1 Mbps: 1740.420 Peak Mbps: 1740.420 Avg Mbps: 1740.420 5002 217111200 1736.890 100.00% Conn: 1 Mbps: 1736.890 Peak Mbps: 1740.420 Avg Mbps: 1736.890 --- 169.254.1.12 tcpbench statistics --- 1297532048 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1715.245/1730.447/1740.420/8.821 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 208867432 1670.939 100.00% Conn: 1 Mbps: 1670.939 Peak Mbps: 1670.939 Avg Mbps: 1670.939 2000 205369368 1644.600 100.00% Conn: 1 Mbps: 1644.600 Peak Mbps: 1670.939 Avg Mbps: 1644.600 3001 205112852 1640.903 100.00% Conn: 1 Mbps: 1640.903 Peak Mbps: 1670.939 Avg Mbps: 1640.903 4000 206962620 1657.358 100.00% Conn: 1 Mbps: 1657.358 Peak Mbps: 1670.939 Avg Mbps: 1657.358 5001 206375316 1651.003 100.00% Conn: 1 Mbps: 1651.003 Peak Mbps: 1670.939 Avg Mbps: 1651.003 --- fc00:0:0:1::12 tcpbench statistics --- 1239185472 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1640.903/1652.961/1670.939/10.599 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.059 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.059/0.059/0.059/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.065 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.065/0.065/0.065/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 304925020 2439.400 100.00% Conn: 1 Mbps: 2439.400 Peak Mbps: 2439.400 Avg Mbps: 2439.400 2000 305258836 2444.515 100.00% Conn: 1 Mbps: 2444.515 Peak Mbps: 2444.515 Avg Mbps: 2444.515 3000 303891780 2433.568 100.00% Conn: 1 Mbps: 2433.568 Peak Mbps: 2444.515 Avg Mbps: 2433.568 4000 304630944 2437.048 100.00% Conn: 1 Mbps: 2437.048 Peak Mbps: 2444.515 Avg Mbps: 2437.048 5000 304011000 2432.088 100.00% Conn: 1 Mbps: 2432.088 Peak Mbps: 2444.515 Avg Mbps: 2432.088 --- 169.254.0.13 tcpbench statistics --- 1827014708 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2432.088/2437.324/2444.515/4.419 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 286914320 2295.315 100.00% Conn: 1 Mbps: 2295.315 Peak Mbps: 2295.315 Avg Mbps: 2295.315 2000 287532704 2300.262 100.00% Conn: 1 Mbps: 2300.262 Peak Mbps: 2300.262 Avg Mbps: 2300.262 3000 288071808 2304.574 100.00% Conn: 1 Mbps: 2304.574 Peak Mbps: 2304.574 Avg Mbps: 2304.574 4000 288634696 2309.078 100.00% Conn: 1 Mbps: 2309.078 Peak Mbps: 2309.078 Avg Mbps: 2309.078 5000 285606200 2284.850 100.00% Conn: 1 Mbps: 2284.850 Peak Mbps: 2309.078 Avg Mbps: 2284.850 --- fc00::13 tcpbench statistics --- 1724696760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2284.850/2298.816/2309.078/8.341 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.042 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.042/0.042/0.042/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.048 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.048/0.048/0.048/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 219445656 1755.565 100.00% Conn: 1 Mbps: 1755.565 Peak Mbps: 1755.565 Avg Mbps: 1755.565 2000 219655208 1759.001 100.00% Conn: 1 Mbps: 1759.001 Peak Mbps: 1759.001 Avg Mbps: 1759.001 3000 220827992 1766.624 100.00% Conn: 1 Mbps: 1766.624 Peak Mbps: 1766.624 Avg Mbps: 1766.624 4001 219539272 1756.314 100.00% Conn: 1 Mbps: 1756.314 Peak Mbps: 1766.624 Avg Mbps: 1756.314 5001 220007816 1760.063 100.00% Conn: 1 Mbps: 1760.063 Peak Mbps: 1766.624 Avg Mbps: 1760.063 --- 169.254.1.11 tcpbench statistics --- 1317598736 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1755.565/1759.513/1766.624/3.923 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 208770336 1670.163 100.00% Conn: 1 Mbps: 1670.163 Peak Mbps: 1670.163 Avg Mbps: 1670.163 2000 208710548 1669.684 100.00% Conn: 1 Mbps: 1669.684 Peak Mbps: 1670.163 Avg Mbps: 1669.684 3000 206982756 1657.520 100.00% Conn: 1 Mbps: 1657.520 Peak Mbps: 1670.163 Avg Mbps: 1657.520 4000 209763680 1678.109 100.00% Conn: 1 Mbps: 1678.109 Peak Mbps: 1678.109 Avg Mbps: 1678.109 5001 209784252 1678.274 100.00% Conn: 1 Mbps: 1678.274 Peak Mbps: 1678.274 Avg Mbps: 1678.274 --- fc00:0:0:1::11 tcpbench statistics --- 1254914032 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1657.520/1670.750/1678.274/7.580 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.049 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.049/0.049/0.049/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.057 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.057/0.057/0.057/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 566973088 4535.785 100.00% Conn: 1 Mbps: 4535.785 Peak Mbps: 4535.785 Avg Mbps: 4535.785 2000 563874368 4515.510 100.00% Conn: 1 Mbps: 4515.510 Peak Mbps: 4535.785 Avg Mbps: 4515.510 3000 563396528 4511.684 100.00% Conn: 1 Mbps: 4511.684 Peak Mbps: 4535.785 Avg Mbps: 4511.684 4000 563248832 4505.991 100.00% Conn: 1 Mbps: 4505.991 Peak Mbps: 4535.785 Avg Mbps: 4505.991 5000 563118512 4504.948 100.00% Conn: 1 Mbps: 4504.948 Peak Mbps: 4535.785 Avg Mbps: 4504.948 --- 169.254.1.12 tcpbench statistics --- 3383795000 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4504.948/4514.784/4535.785/11.182 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 550933824 4407.471 100.00% Conn: 1 Mbps: 4407.471 Peak Mbps: 4407.471 Avg Mbps: 4407.471 2000 549011736 4396.490 100.00% Conn: 1 Mbps: 4396.490 Peak Mbps: 4407.471 Avg Mbps: 4396.490 3000 551682096 4413.457 100.00% Conn: 1 Mbps: 4413.457 Peak Mbps: 4413.457 Avg Mbps: 4413.457 4000 550439128 4403.513 100.00% Conn: 1 Mbps: 4403.513 Peak Mbps: 4413.457 Avg Mbps: 4403.513 5000 551270224 4414.576 100.00% Conn: 1 Mbps: 4414.576 Peak Mbps: 4414.576 Avg Mbps: 4414.576 --- fc00:0:0:1::12 tcpbench statistics --- 3303202688 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4396.490/4407.101/4414.576/6.661 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.050 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.050/0.050/0.050/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 1049076582 8392.613 100.00% Conn: 1 Mbps: 8392.613 Peak Mbps: 8392.613 Avg Mbps: 8392.613 2000 1052391930 8427.563 100.00% Conn: 1 Mbps: 8427.563 Peak Mbps: 8427.563 Avg Mbps: 8427.563 3000 1056923096 8455.385 100.00% Conn: 1 Mbps: 8455.385 Peak Mbps: 8455.385 Avg Mbps: 8455.385 4000 1057250256 8458.002 100.00% Conn: 1 Mbps: 8458.002 Peak Mbps: 8458.002 Avg Mbps: 8458.002 5000 1057381120 8459.049 100.00% Conn: 1 Mbps: 8459.049 Peak Mbps: 8459.049 Avg Mbps: 8459.049 --- 169.254.0.13 tcpbench statistics --- 6332825088 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8392.613/8438.522/8459.049/25.741 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 1033627828 8269.023 100.00% Conn: 1 Mbps: 8269.023 Peak Mbps: 8269.023 Avg Mbps: 8269.023 2000 1039340448 8323.047 100.00% Conn: 1 Mbps: 8323.047 Peak Mbps: 8323.047 Avg Mbps: 8323.047 3000 1037803736 8302.430 100.00% Conn: 1 Mbps: 8302.430 Peak Mbps: 8323.047 Avg Mbps: 8302.430 4000 1036332416 8290.659 100.00% Conn: 1 Mbps: 8290.659 Peak Mbps: 8323.047 Avg Mbps: 8290.659 5000 1034403352 8275.227 100.00% Conn: 1 Mbps: 8275.227 Peak Mbps: 8323.047 Avg Mbps: 8275.227 --- fc00::13 tcpbench statistics --- 6216270788 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8269.023/8292.077/8323.047/19.410 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.061 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.061/0.061/0.061/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 216097112 1728.777 100.00% Conn: 1 Mbps: 1728.777 Peak Mbps: 1728.777 Avg Mbps: 1728.777 2000 216487128 1731.897 100.00% Conn: 1 Mbps: 1731.897 Peak Mbps: 1731.897 Avg Mbps: 1731.897 3000 216377624 1731.021 100.00% Conn: 1 Mbps: 1731.021 Peak Mbps: 1731.897 Avg Mbps: 1731.021 4001 215889152 1727.113 100.00% Conn: 1 Mbps: 1727.113 Peak Mbps: 1731.897 Avg Mbps: 1727.113 5001 217284464 1738.276 100.00% Conn: 1 Mbps: 1738.276 Peak Mbps: 1738.276 Avg Mbps: 1738.276 --- 169.254.1.11 tcpbench statistics --- 1297634288 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1727.113/1731.417/1738.276/3.819 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 310428968 2483.432 100.00% Conn: 1 Mbps: 2483.432 Peak Mbps: 2483.432 Avg Mbps: 2483.432 2000 309082464 2472.660 100.00% Conn: 1 Mbps: 2472.660 Peak Mbps: 2483.432 Avg Mbps: 2472.660 3001 309641240 2477.130 100.00% Conn: 1 Mbps: 2477.130 Peak Mbps: 2483.432 Avg Mbps: 2477.130 4001 307629040 2461.032 100.00% Conn: 1 Mbps: 2461.032 Peak Mbps: 2483.432 Avg Mbps: 2461.032 5002 309394360 2475.155 100.00% Conn: 1 Mbps: 2475.155 Peak Mbps: 2483.432 Avg Mbps: 2475.155 --- fc00:0:0:1::11 tcpbench statistics --- 1851501800 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2461.032/2473.882/2483.432/7.348 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.071 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.071/0.071/0.071/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 1067837562 8542.700 100.00% Conn: 1 Mbps: 8542.700 Peak Mbps: 8542.700 Avg Mbps: 8542.700 2000 1071219988 8578.338 100.00% Conn: 1 Mbps: 8578.338 Peak Mbps: 8578.338 Avg Mbps: 8578.338 3000 1070794680 8566.357 100.00% Conn: 1 Mbps: 8566.357 Peak Mbps: 8578.338 Avg Mbps: 8566.357 4000 1072103320 8576.827 100.00% Conn: 1 Mbps: 8576.827 Peak Mbps: 8578.338 Avg Mbps: 8576.827 5000 1072201468 8577.612 100.00% Conn: 1 Mbps: 8577.612 Peak Mbps: 8578.338 Avg Mbps: 8577.612 --- 169.254.1.12 tcpbench statistics --- 6424199230 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8542.700/8568.367/8578.338/13.559 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 1042585092 8340.681 100.00% Conn: 1 Mbps: 8340.681 Peak Mbps: 8340.681 Avg Mbps: 8340.681 2000 1041629168 8341.375 100.00% Conn: 1 Mbps: 8341.375 Peak Mbps: 8341.375 Avg Mbps: 8341.375 3000 1044081368 8352.651 100.00% Conn: 1 Mbps: 8352.651 Peak Mbps: 8352.651 Avg Mbps: 8352.651 4000 1040027064 8328.545 100.00% Conn: 1 Mbps: 8328.545 Peak Mbps: 8352.651 Avg Mbps: 8328.545 5000 1043787104 8350.297 100.00% Conn: 1 Mbps: 8350.297 Peak Mbps: 8352.651 Avg Mbps: 8350.297 --- fc00:0:0:1::12 tcpbench statistics --- 6257139348 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8328.545/8342.710/8352.651/8.520 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.048 ms --- fc00::13 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-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 1133826800 9070.614 100.00% Conn: 1 Mbps: 9070.614 Peak Mbps: 9070.614 Avg Mbps: 9070.614 2000 1135408780 9092.363 100.00% Conn: 1 Mbps: 9092.363 Peak Mbps: 9092.363 Avg Mbps: 9092.363 3000 1136226680 9089.813 100.00% Conn: 1 Mbps: 9089.813 Peak Mbps: 9092.363 Avg Mbps: 9089.813 4000 1136161248 9089.290 100.00% Conn: 1 Mbps: 9089.290 Peak Mbps: 9092.363 Avg Mbps: 9089.290 5000 1136684704 9093.478 100.00% Conn: 1 Mbps: 9093.478 Peak Mbps: 9093.478 Avg Mbps: 9093.478 --- 169.254.0.13 tcpbench statistics --- 6814044152 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9070.614/9087.112/9093.478/8.394 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 1088622932 8708.983 100.00% Conn: 1 Mbps: 8708.983 Peak Mbps: 8708.983 Avg Mbps: 8708.983 2000 1092569536 8749.306 100.00% Conn: 1 Mbps: 8749.306 Peak Mbps: 8749.306 Avg Mbps: 8749.306 3000 1092079096 8736.633 100.00% Conn: 1 Mbps: 8736.633 Peak Mbps: 8749.306 Avg Mbps: 8736.633 4000 1091359784 8730.878 100.00% Conn: 1 Mbps: 8730.878 Peak Mbps: 8749.306 Avg Mbps: 8730.878 5000 1091392480 8731.140 100.00% Conn: 1 Mbps: 8731.140 Peak Mbps: 8749.306 Avg Mbps: 8731.140 --- fc00::13 tcpbench statistics --- 6546566212 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8708.983/8731.388/8749.306/13.045 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.82s