START sys/net/pair 2024-08-16T00:25:24Z ==== 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.289 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.289/0.289/0.289/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.369 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.369/0.369/0.369/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 105239468 841.916 100.00% Conn: 1 Mbps: 841.916 Peak Mbps: 841.916 Avg Mbps: 841.916 2000 102656368 822.073 100.00% Conn: 1 Mbps: 822.073 Peak Mbps: 841.916 Avg Mbps: 822.073 3000 102465616 819.725 100.00% Conn: 1 Mbps: 819.725 Peak Mbps: 841.916 Avg Mbps: 819.725 4000 102338448 818.708 100.00% Conn: 1 Mbps: 818.708 Peak Mbps: 841.916 Avg Mbps: 818.708 5000 102219228 817.754 100.00% Conn: 1 Mbps: 817.754 Peak Mbps: 841.916 Avg Mbps: 817.754 --- 169.254.1.11 tcpbench statistics --- 617337056 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 817.754/824.035/841.916/9.055 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 102604176 820.833 100.00% Conn: 1 Mbps: 820.833 Peak Mbps: 820.833 Avg Mbps: 820.833 2000 100828304 807.434 100.00% Conn: 1 Mbps: 807.434 Peak Mbps: 820.833 Avg Mbps: 807.434 3000 101089928 808.719 100.00% Conn: 1 Mbps: 808.719 Peak Mbps: 820.833 Avg Mbps: 808.719 4000 100368480 802.948 100.00% Conn: 1 Mbps: 802.948 Peak Mbps: 820.833 Avg Mbps: 802.948 5000 100875872 807.007 100.00% Conn: 1 Mbps: 807.007 Peak Mbps: 820.833 Avg Mbps: 807.007 --- fc00:0:0:1::11 tcpbench statistics --- 606087672 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 802.948/809.388/820.833/6.040 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.418 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.418/0.418/0.418/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=1.022 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 = 1.022/1.022/1.022/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 1002 29375576 234.536 100.00% Conn: 1 Mbps: 234.536 Peak Mbps: 234.536 Avg Mbps: 234.536 2010 29717304 236.086 100.00% Conn: 1 Mbps: 236.086 Peak Mbps: 236.086 Avg Mbps: 236.086 3008 29492864 236.416 100.00% Conn: 1 Mbps: 236.416 Peak Mbps: 236.416 Avg Mbps: 236.416 4011 29657936 236.554 100.00% Conn: 1 Mbps: 236.554 Peak Mbps: 236.554 Avg Mbps: 236.554 5013 29699928 237.125 100.00% Conn: 1 Mbps: 237.125 Peak Mbps: 237.125 Avg Mbps: 237.125 --- 169.254.1.12 tcpbench statistics --- 177314840 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 234.536/236.143/237.125/0.871 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 1002 27294792 217.922 100.00% Conn: 1 Mbps: 217.922 Peak Mbps: 217.922 Avg Mbps: 217.922 2005 27393324 218.709 100.00% Conn: 1 Mbps: 218.709 Peak Mbps: 218.709 Avg Mbps: 218.709 3009 27439020 218.638 100.00% Conn: 1 Mbps: 218.638 Peak Mbps: 218.709 Avg Mbps: 218.638 4008 27251952 218.453 100.00% Conn: 1 Mbps: 218.453 Peak Mbps: 218.709 Avg Mbps: 218.453 5011 27377616 218.366 100.00% Conn: 1 Mbps: 218.366 Peak Mbps: 218.709 Avg Mbps: 218.366 --- fc00:0:0:1::12 tcpbench statistics --- 163754472 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 217.922/218.418/218.709/0.277 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.400 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.400/0.400/0.400/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.535 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.535/0.535/0.535/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 45772532 366.180 100.00% Conn: 1 Mbps: 366.180 Peak Mbps: 366.180 Avg Mbps: 366.180 2000 45454612 364.001 100.00% Conn: 1 Mbps: 364.001 Peak Mbps: 366.180 Avg Mbps: 364.001 3000 45303600 362.429 100.00% Conn: 1 Mbps: 362.429 Peak Mbps: 366.180 Avg Mbps: 362.429 4001 45534092 364.273 100.00% Conn: 1 Mbps: 364.273 Peak Mbps: 366.180 Avg Mbps: 364.273 5002 45414872 362.956 100.00% Conn: 1 Mbps: 362.956 Peak Mbps: 366.180 Avg Mbps: 362.956 --- 169.254.0.13 tcpbench statistics --- 272974060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 362.429/363.968/366.180/1.295 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 40963976 327.712 100.00% Conn: 1 Mbps: 327.712 Peak Mbps: 327.712 Avg Mbps: 327.712 2000 40781632 326.580 100.00% Conn: 1 Mbps: 326.580 Peak Mbps: 327.712 Avg Mbps: 326.580 3000 40829200 326.634 100.00% Conn: 1 Mbps: 326.634 Peak Mbps: 327.712 Avg Mbps: 326.634 4000 40979832 327.839 100.00% Conn: 1 Mbps: 327.839 Peak Mbps: 327.839 Avg Mbps: 327.839 5000 40876768 327.014 100.00% Conn: 1 Mbps: 327.014 Peak Mbps: 327.839 Avg Mbps: 327.014 --- fc00::13 tcpbench statistics --- 245125832 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 326.580/327.156/327.839/0.529 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.312 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.312/0.312/0.312/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.417 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.417/0.417/0.417/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 1004 29392952 234.207 100.00% Conn: 1 Mbps: 234.207 Peak Mbps: 234.207 Avg Mbps: 234.207 2002 29358200 235.336 100.00% Conn: 1 Mbps: 235.336 Peak Mbps: 235.336 Avg Mbps: 235.336 3003 29508792 235.835 100.00% Conn: 1 Mbps: 235.835 Peak Mbps: 235.835 Avg Mbps: 235.835 4006 29558024 235.992 100.00% Conn: 1 Mbps: 235.992 Peak Mbps: 235.992 Avg Mbps: 235.992 5008 29504448 235.800 100.00% Conn: 1 Mbps: 235.800 Peak Mbps: 235.992 Avg Mbps: 235.800 --- 169.254.1.11 tcpbench statistics --- 176634280 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 234.207/235.434/235.992/0.651 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 1004 27361908 218.023 100.00% Conn: 1 Mbps: 218.023 Peak Mbps: 218.023 Avg Mbps: 218.023 2004 27264804 218.118 100.00% Conn: 1 Mbps: 218.118 Peak Mbps: 218.118 Avg Mbps: 218.118 3002 27246240 218.626 100.00% Conn: 1 Mbps: 218.626 Peak Mbps: 218.626 Avg Mbps: 218.626 4004 27406176 218.812 100.00% Conn: 1 Mbps: 218.812 Peak Mbps: 218.812 Avg Mbps: 218.812 5002 27266232 218.567 100.00% Conn: 1 Mbps: 218.567 Peak Mbps: 218.812 Avg Mbps: 218.567 --- fc00:0:0:1::11 tcpbench statistics --- 163874424 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 218.023/218.429/218.812/0.305 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.281 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.281/0.281/0.281/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.362 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.362/0.362/0.362/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 96791560 774.332 100.00% Conn: 1 Mbps: 774.332 Peak Mbps: 774.332 Avg Mbps: 774.332 2000 94435664 755.485 100.00% Conn: 1 Mbps: 755.485 Peak Mbps: 774.332 Avg Mbps: 755.485 3000 94665896 758.085 100.00% Conn: 1 Mbps: 758.085 Peak Mbps: 774.332 Avg Mbps: 758.085 4000 94503720 756.030 100.00% Conn: 1 Mbps: 756.030 Peak Mbps: 774.332 Avg Mbps: 756.030 5000 94551504 757.169 100.00% Conn: 1 Mbps: 757.169 Peak Mbps: 774.332 Avg Mbps: 757.169 --- 169.254.1.12 tcpbench statistics --- 569271064 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 755.485/760.220/774.332/7.113 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 90259596 722.077 100.00% Conn: 1 Mbps: 722.077 Peak Mbps: 722.077 Avg Mbps: 722.077 2000 90306720 723.177 100.00% Conn: 1 Mbps: 723.177 Peak Mbps: 723.177 Avg Mbps: 723.177 3000 88638816 709.111 100.00% Conn: 1 Mbps: 709.111 Peak Mbps: 723.177 Avg Mbps: 709.111 4000 86919504 695.356 100.00% Conn: 1 Mbps: 695.356 Peak Mbps: 723.177 Avg Mbps: 695.356 5000 87127992 697.024 100.00% Conn: 1 Mbps: 697.024 Peak Mbps: 723.177 Avg Mbps: 697.024 --- fc00:0:0:1::12 tcpbench statistics --- 530579112 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 695.356/709.349/723.177/11.840 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.300 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.300/0.300/0.300/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.394 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.394/0.394/0.394/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 103792968 830.344 100.00% Conn: 1 Mbps: 830.344 Peak Mbps: 830.344 Avg Mbps: 830.344 2000 95138128 761.105 100.00% Conn: 1 Mbps: 761.105 Peak Mbps: 830.344 Avg Mbps: 761.105 3000 96544916 772.359 100.00% Conn: 1 Mbps: 772.359 Peak Mbps: 830.344 Avg Mbps: 772.359 4000 93829488 750.636 100.00% Conn: 1 Mbps: 750.636 Peak Mbps: 830.344 Avg Mbps: 750.636 5001 94941832 759.535 100.00% Conn: 1 Mbps: 759.535 Peak Mbps: 830.344 Avg Mbps: 759.535 --- 169.254.0.13 tcpbench statistics --- 579549040 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 750.636/774.796/830.344/28.620 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 138369812 1106.958 100.00% Conn: 1 Mbps: 1106.958 Peak Mbps: 1106.958 Avg Mbps: 1106.958 2000 130424344 1044.439 100.00% Conn: 1 Mbps: 1044.439 Peak Mbps: 1106.958 Avg Mbps: 1044.439 3000 130391648 1043.133 100.00% Conn: 1 Mbps: 1043.133 Peak Mbps: 1106.958 Avg Mbps: 1043.133 4000 130195472 1041.564 100.00% Conn: 1 Mbps: 1041.564 Peak Mbps: 1106.958 Avg Mbps: 1041.564 5000 130358952 1042.872 100.00% Conn: 1 Mbps: 1042.872 Peak Mbps: 1106.958 Avg Mbps: 1042.872 --- fc00::13 tcpbench statistics --- 789804916 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 1041.564/1055.793/1106.958/25.599 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.336 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.336/0.336/0.336/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.460 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.460/0.460/0.460/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 1002 28522704 227.726 100.00% Conn: 1 Mbps: 227.726 Peak Mbps: 227.726 Avg Mbps: 227.726 2005 28990408 231.230 100.00% Conn: 1 Mbps: 231.230 Peak Mbps: 231.230 Avg Mbps: 231.230 3007 29048328 231.923 100.00% Conn: 1 Mbps: 231.923 Peak Mbps: 231.923 Avg Mbps: 231.923 4010 29048328 231.923 100.00% Conn: 1 Mbps: 231.923 Peak Mbps: 231.923 Avg Mbps: 231.923 5014 29077288 231.692 100.00% Conn: 1 Mbps: 231.692 Peak Mbps: 231.923 Avg Mbps: 231.692 --- 169.254.1.11 tcpbench statistics --- 173231480 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 227.726/230.899/231.923/1.606 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 47221352 377.771 100.00% Conn: 1 Mbps: 377.771 Peak Mbps: 377.771 Avg Mbps: 377.771 2001 47022800 376.182 100.00% Conn: 1 Mbps: 376.182 Peak Mbps: 377.771 Avg Mbps: 376.182 3004 47005352 375.292 100.00% Conn: 1 Mbps: 375.292 Peak Mbps: 377.771 Avg Mbps: 375.292 4007 46686480 372.375 100.00% Conn: 1 Mbps: 372.375 Peak Mbps: 377.771 Avg Mbps: 372.375 5009 46735008 373.507 100.00% Conn: 1 Mbps: 373.507 Peak Mbps: 377.771 Avg Mbps: 373.507 --- fc00:0:0:1::11 tcpbench statistics --- 280950048 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 372.375/375.025/377.771/1.912 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.296 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.296/0.296/0.296/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.398 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.398/0.398/0.398/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 138880374 1111.043 100.00% Conn: 1 Mbps: 1111.043 Peak Mbps: 1111.043 Avg Mbps: 1111.043 2000 133514412 1069.184 100.00% Conn: 1 Mbps: 1069.184 Peak Mbps: 1111.043 Avg Mbps: 1069.184 3000 131191160 1049.529 100.00% Conn: 1 Mbps: 1049.529 Peak Mbps: 1111.043 Avg Mbps: 1049.529 4000 133383132 1067.065 100.00% Conn: 1 Mbps: 1067.065 Peak Mbps: 1111.043 Avg Mbps: 1067.065 5000 131322024 1050.576 100.00% Conn: 1 Mbps: 1050.576 Peak Mbps: 1111.043 Avg Mbps: 1050.576 --- 169.254.1.12 tcpbench statistics --- 799842138 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1049.529/1069.480/1111.043/22.310 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 135919324 1087.355 100.00% Conn: 1 Mbps: 1087.355 Peak Mbps: 1087.355 Avg Mbps: 1087.355 2000 130620520 1044.964 100.00% Conn: 1 Mbps: 1044.964 Peak Mbps: 1087.355 Avg Mbps: 1044.964 3000 131307136 1050.457 100.00% Conn: 1 Mbps: 1050.457 Peak Mbps: 1087.355 Avg Mbps: 1050.457 4000 129083808 1032.670 100.00% Conn: 1 Mbps: 1032.670 Peak Mbps: 1087.355 Avg Mbps: 1032.670 5001 131307136 1050.457 100.00% Conn: 1 Mbps: 1050.457 Peak Mbps: 1087.355 Avg Mbps: 1050.457 --- fc00:0:0:1::12 tcpbench statistics --- 788923836 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1032.670/1053.181/1087.355/18.280 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.283 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.283/0.283/0.283/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.362 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.362/0.362/0.362/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 103148248 825.186 100.00% Conn: 1 Mbps: 825.186 Peak Mbps: 825.186 Avg Mbps: 825.186 2000 94614672 756.917 100.00% Conn: 1 Mbps: 756.917 Peak Mbps: 825.186 Avg Mbps: 756.917 3000 95138128 761.105 100.00% Conn: 1 Mbps: 761.105 Peak Mbps: 825.186 Avg Mbps: 761.105 4000 94058500 752.468 100.00% Conn: 1 Mbps: 752.468 Peak Mbps: 825.186 Avg Mbps: 752.468 5000 94647388 757.937 100.00% Conn: 1 Mbps: 757.937 Peak Mbps: 825.186 Avg Mbps: 757.937 --- 169.254.0.13 tcpbench statistics --- 576810496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 752.468/770.723/825.186/27.372 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 1001 143969276 1150.604 100.00% Conn: 1 Mbps: 1150.604 Peak Mbps: 1150.604 Avg Mbps: 1150.604 2000 136113448 1089.998 100.00% Conn: 1 Mbps: 1089.998 Peak Mbps: 1150.604 Avg Mbps: 1089.998 3000 136636584 1093.093 100.00% Conn: 1 Mbps: 1093.093 Peak Mbps: 1150.604 Avg Mbps: 1093.093 4000 136603888 1092.831 100.00% Conn: 1 Mbps: 1092.831 Peak Mbps: 1150.604 Avg Mbps: 1092.831 5000 135982664 1087.861 100.00% Conn: 1 Mbps: 1087.861 Peak Mbps: 1150.604 Avg Mbps: 1087.861 --- fc00::13 tcpbench statistics --- 825844356 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1087.861/1102.877/1150.604/23.941 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 2m11.75s