START sys/net/pair 2024-09-25T08:33:54Z ==== 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.153 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.153/0.153/0.153/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.218 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.218/0.218/0.218/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 203826460 1630.612 100.00% Conn: 1 Mbps: 1630.612 Peak Mbps: 1630.612 Avg Mbps: 1630.612 2000 199923992 1600.993 100.00% Conn: 1 Mbps: 1600.993 Peak Mbps: 1630.612 Avg Mbps: 1600.993 3000 200043212 1600.346 100.00% Conn: 1 Mbps: 1600.346 Peak Mbps: 1630.612 Avg Mbps: 1600.346 4000 199590176 1596.721 100.00% Conn: 1 Mbps: 1596.721 Peak Mbps: 1630.612 Avg Mbps: 1596.721 5000 198541040 1588.328 100.00% Conn: 1 Mbps: 1588.328 Peak Mbps: 1630.612 Avg Mbps: 1588.328 --- 169.254.1.11 tcpbench statistics --- 1200370544 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1588.328/1603.400/1630.612/14.334 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 200649752 1605.198 100.00% Conn: 1 Mbps: 1605.198 Peak Mbps: 1605.198 Avg Mbps: 1605.198 2000 196574760 1574.172 100.00% Conn: 1 Mbps: 1574.172 Peak Mbps: 1605.198 Avg Mbps: 1574.172 3000 196233856 1569.871 100.00% Conn: 1 Mbps: 1569.871 Peak Mbps: 1605.198 Avg Mbps: 1569.871 4000 196495480 1571.964 100.00% Conn: 1 Mbps: 1571.964 Peak Mbps: 1605.198 Avg Mbps: 1571.964 5000 197668824 1581.351 100.00% Conn: 1 Mbps: 1581.351 Peak Mbps: 1605.198 Avg Mbps: 1581.351 --- fc00:0:0:1::11 tcpbench statistics --- 1185394560 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1569.871/1580.511/1605.198/12.935 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.271 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.271/0.271/0.271/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.435 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.435/0.435/0.435/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 87166704 697.334 100.00% Conn: 1 Mbps: 697.334 Peak Mbps: 697.334 Avg Mbps: 697.334 2001 87495400 699.264 100.00% Conn: 1 Mbps: 699.264 Peak Mbps: 699.264 Avg Mbps: 699.264 3003 87126272 696.314 100.00% Conn: 1 Mbps: 696.314 Peak Mbps: 699.264 Avg Mbps: 696.314 4006 87853168 701.422 100.00% Conn: 1 Mbps: 701.422 Peak Mbps: 701.422 Avg Mbps: 701.422 5004 87088568 698.105 100.00% Conn: 1 Mbps: 698.105 Peak Mbps: 701.422 Avg Mbps: 698.105 --- 169.254.1.12 tcpbench statistics --- 523926000 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 696.314/698.488/701.422/1.756 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 1001 83143872 664.486 100.00% Conn: 1 Mbps: 664.486 Peak Mbps: 664.486 Avg Mbps: 664.486 2004 83203848 664.302 100.00% Conn: 1 Mbps: 664.302 Peak Mbps: 664.486 Avg Mbps: 664.302 3004 83676516 670.082 100.00% Conn: 1 Mbps: 670.082 Peak Mbps: 670.082 Avg Mbps: 670.082 4005 83773620 669.519 100.00% Conn: 1 Mbps: 669.519 Peak Mbps: 670.082 Avg Mbps: 669.519 5003 83677944 670.765 100.00% Conn: 1 Mbps: 670.765 Peak Mbps: 670.765 Avg Mbps: 670.765 --- fc00:0:0:1::12 tcpbench statistics --- 500813880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 664.302/667.831/670.765/2.834 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.220 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.220/0.220/0.220/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.263 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.263/0.263/0.263/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 116668692 933.350 100.00% Conn: 1 Mbps: 933.350 Peak Mbps: 933.350 Avg Mbps: 933.350 2000 116024904 929.128 100.00% Conn: 1 Mbps: 929.128 Peak Mbps: 933.350 Avg Mbps: 929.128 3000 115508284 924.066 100.00% Conn: 1 Mbps: 924.066 Peak Mbps: 933.350 Avg Mbps: 924.066 4000 116279240 930.234 100.00% Conn: 1 Mbps: 930.234 Peak Mbps: 933.350 Avg Mbps: 930.234 5000 115158572 921.269 100.00% Conn: 1 Mbps: 921.269 Peak Mbps: 933.350 Avg Mbps: 921.269 --- 169.254.0.13 tcpbench statistics --- 696213008 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 921.269/927.609/933.350/4.357 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 105933936 847.471 100.00% Conn: 1 Mbps: 847.471 Peak Mbps: 847.471 Avg Mbps: 847.471 2000 104776448 839.051 100.00% Conn: 1 Mbps: 839.051 Peak Mbps: 847.471 Avg Mbps: 839.051 3000 104824016 838.592 100.00% Conn: 1 Mbps: 838.592 Peak Mbps: 847.471 Avg Mbps: 838.592 4000 104150136 833.201 100.00% Conn: 1 Mbps: 833.201 Peak Mbps: 847.471 Avg Mbps: 833.201 5000 105260056 842.080 100.00% Conn: 1 Mbps: 842.080 Peak Mbps: 847.471 Avg Mbps: 842.080 --- fc00::13 tcpbench statistics --- 629736896 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 833.201/840.079/847.471/4.674 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.200 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.200/0.200/0.200/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.238 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.238/0.238/0.238/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 1003 87880568 700.942 100.00% Conn: 1 Mbps: 700.942 Peak Mbps: 700.942 Avg Mbps: 700.942 2002 87423000 700.786 100.00% Conn: 1 Mbps: 700.786 Peak Mbps: 700.942 Avg Mbps: 700.786 3002 87229080 697.833 100.00% Conn: 1 Mbps: 697.833 Peak Mbps: 700.942 Avg Mbps: 697.833 4003 88052992 703.720 100.00% Conn: 1 Mbps: 703.720 Peak Mbps: 703.720 Avg Mbps: 703.720 5006 88106568 703.446 100.00% Conn: 1 Mbps: 703.446 Peak Mbps: 703.720 Avg Mbps: 703.446 --- 169.254.1.11 tcpbench statistics --- 526018192 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 697.833/701.345/703.720/2.139 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 1002 84166320 671.987 100.00% Conn: 1 Mbps: 671.987 Peak Mbps: 671.987 Avg Mbps: 671.987 2001 83623680 670.330 100.00% Conn: 1 Mbps: 670.330 Peak Mbps: 671.987 Avg Mbps: 670.330 3001 84359100 674.873 100.00% Conn: 1 Mbps: 674.873 Peak Mbps: 674.873 Avg Mbps: 674.873 4004 84656124 675.897 100.00% Conn: 1 Mbps: 675.897 Peak Mbps: 675.897 Avg Mbps: 675.897 5004 84576976 677.293 100.00% Conn: 1 Mbps: 677.293 Peak Mbps: 677.293 Avg Mbps: 677.293 --- fc00:0:0:1::11 tcpbench statistics --- 505961212 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 670.330/674.076/677.293/2.557 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.161 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.161/0.161/0.161/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.200 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.200/0.200/0.200/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 199016016 1592.128 100.00% Conn: 1 Mbps: 1592.128 Peak Mbps: 1592.128 Avg Mbps: 1592.128 2000 196874424 1576.572 100.00% Conn: 1 Mbps: 1576.572 Peak Mbps: 1592.128 Avg Mbps: 1576.572 3000 198000968 1584.008 100.00% Conn: 1 Mbps: 1584.008 Peak Mbps: 1592.128 Avg Mbps: 1584.008 4000 198506320 1588.051 100.00% Conn: 1 Mbps: 1588.051 Peak Mbps: 1592.128 Avg Mbps: 1588.051 5000 198525144 1588.201 100.00% Conn: 1 Mbps: 1588.201 Peak Mbps: 1592.128 Avg Mbps: 1588.201 --- 169.254.1.12 tcpbench statistics --- 1187155832 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1576.572/1585.792/1592.128/5.277 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 195416088 1563.329 100.00% Conn: 1 Mbps: 1563.329 Peak Mbps: 1563.329 Avg Mbps: 1563.329 2000 193773888 1551.743 100.00% Conn: 1 Mbps: 1551.743 Peak Mbps: 1563.329 Avg Mbps: 1551.743 3000 193365480 1548.472 100.00% Conn: 1 Mbps: 1548.472 Peak Mbps: 1563.329 Avg Mbps: 1548.472 4000 194132316 1553.059 100.00% Conn: 1 Mbps: 1553.059 Peak Mbps: 1563.329 Avg Mbps: 1553.059 5000 192562944 1540.504 100.00% Conn: 1 Mbps: 1540.504 Peak Mbps: 1563.329 Avg Mbps: 1540.504 --- fc00:0:0:1::12 tcpbench statistics --- 1161705132 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1540.504/1551.421/1563.329/7.382 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.179 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.179/0.179/0.179/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.239 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.239/0.239/0.239/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 334800208 2678.402 100.00% Conn: 1 Mbps: 2678.402 Peak Mbps: 2678.402 Avg Mbps: 2678.402 2000 331134982 2651.732 100.00% Conn: 1 Mbps: 2651.732 Peak Mbps: 2678.402 Avg Mbps: 2651.732 3000 327928826 2623.431 100.00% Conn: 1 Mbps: 2623.431 Peak Mbps: 2678.402 Avg Mbps: 2623.431 4000 331265858 2650.127 100.00% Conn: 1 Mbps: 2650.127 Peak Mbps: 2678.402 Avg Mbps: 2650.127 5000 330497032 2643.976 100.00% Conn: 1 Mbps: 2643.976 Peak Mbps: 2678.402 Avg Mbps: 2643.976 --- 169.254.0.13 tcpbench statistics --- 1986336580 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2623.431/2649.533/2678.402/17.611 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 306313752 2450.510 100.00% Conn: 1 Mbps: 2450.510 Peak Mbps: 2450.510 Avg Mbps: 2450.510 2000 302895744 2425.592 100.00% Conn: 1 Mbps: 2425.592 Peak Mbps: 2450.510 Avg Mbps: 2425.592 3000 305053680 2440.429 100.00% Conn: 1 Mbps: 2440.429 Peak Mbps: 2450.510 Avg Mbps: 2440.429 4000 303124616 2424.997 100.00% Conn: 1 Mbps: 2424.997 Peak Mbps: 2450.510 Avg Mbps: 2424.997 5000 305217160 2441.737 100.00% Conn: 1 Mbps: 2441.737 Peak Mbps: 2450.510 Avg Mbps: 2441.737 --- fc00::13 tcpbench statistics --- 1826873928 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2424.997/2436.653/2450.510/9.903 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.193 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.193/0.193/0.193/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.240 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.240/0.240/0.240/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 85605760 683.479 100.00% Conn: 1 Mbps: 683.479 Peak Mbps: 683.479 Avg Mbps: 683.479 2001 86161792 690.676 100.00% Conn: 1 Mbps: 690.676 Peak Mbps: 690.676 Avg Mbps: 690.676 3003 86403608 690.538 100.00% Conn: 1 Mbps: 690.538 Peak Mbps: 690.676 Avg Mbps: 690.538 4004 86415192 691.322 100.00% Conn: 1 Mbps: 691.322 Peak Mbps: 691.322 Avg Mbps: 691.322 5005 86588952 692.020 100.00% Conn: 1 Mbps: 692.020 Peak Mbps: 692.020 Avg Mbps: 692.020 --- 169.254.1.11 tcpbench statistics --- 516812920 bytes sent over 6.004 seconds bandwidth min/avg/max/std-dev = 683.479/689.607/692.020/3.109 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 1001 135021328 1079.092 100.00% Conn: 1 Mbps: 1079.092 Peak Mbps: 1079.092 Avg Mbps: 1079.092 2003 134388624 1074.035 100.00% Conn: 1 Mbps: 1074.035 Peak Mbps: 1079.092 Avg Mbps: 1074.035 3003 133947688 1071.582 100.00% Conn: 1 Mbps: 1071.582 Peak Mbps: 1079.092 Avg Mbps: 1071.582 4003 134710728 1078.765 100.00% Conn: 1 Mbps: 1078.765 Peak Mbps: 1079.092 Avg Mbps: 1078.765 5005 133023328 1063.124 100.00% Conn: 1 Mbps: 1063.124 Peak Mbps: 1079.092 Avg Mbps: 1063.124 --- fc00:0:0:1::11 tcpbench statistics --- 804303480 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1063.124/1073.319/1079.092/5.839 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.182 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.182/0.182/0.182/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.236 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.236/0.236/0.236/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 333377290 2667.018 100.00% Conn: 1 Mbps: 2667.018 Peak Mbps: 2667.018 Avg Mbps: 2667.018 2000 330856908 2649.505 100.00% Conn: 1 Mbps: 2649.505 Peak Mbps: 2667.018 Avg Mbps: 2649.505 3000 332051042 2656.408 100.00% Conn: 1 Mbps: 2656.408 Peak Mbps: 2667.018 Avg Mbps: 2656.408 4000 329646416 2637.171 100.00% Conn: 1 Mbps: 2637.171 Peak Mbps: 2667.018 Avg Mbps: 2637.171 5000 330955056 2647.640 100.00% Conn: 1 Mbps: 2647.640 Peak Mbps: 2667.018 Avg Mbps: 2647.640 --- 169.254.1.12 tcpbench statistics --- 1986663992 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2637.171/2651.549/2667.018/9.890 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 313082168 2504.657 100.00% Conn: 1 Mbps: 2504.657 Peak Mbps: 2504.657 Avg Mbps: 2504.657 2000 309009896 2474.554 100.00% Conn: 1 Mbps: 2474.554 Peak Mbps: 2504.657 Avg Mbps: 2474.554 3000 312116016 2496.928 100.00% Conn: 1 Mbps: 2496.928 Peak Mbps: 2504.657 Avg Mbps: 2496.928 4000 312442976 2499.544 100.00% Conn: 1 Mbps: 2499.544 Peak Mbps: 2504.657 Avg Mbps: 2499.544 5000 311821752 2494.574 100.00% Conn: 1 Mbps: 2494.574 Peak Mbps: 2504.657 Avg Mbps: 2494.574 --- fc00:0:0:1::12 tcpbench statistics --- 1870785000 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2474.554/2494.051/2504.657/10.309 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.179 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.179/0.179/0.179/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.213 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.213/0.213/0.213/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 342471468 2739.772 100.00% Conn: 1 Mbps: 2739.772 Peak Mbps: 2739.772 Avg Mbps: 2739.772 2000 341767694 2736.878 100.00% Conn: 1 Mbps: 2736.878 Peak Mbps: 2739.772 Avg Mbps: 2736.878 3000 340900720 2727.206 100.00% Conn: 1 Mbps: 2727.206 Peak Mbps: 2739.772 Avg Mbps: 2727.206 4000 344106888 2752.855 100.00% Conn: 1 Mbps: 2752.855 Peak Mbps: 2752.855 Avg Mbps: 2752.855 5000 345186516 2761.492 100.00% Conn: 1 Mbps: 2761.492 Peak Mbps: 2761.492 Avg Mbps: 2761.492 --- 169.254.0.13 tcpbench statistics --- 2051637098 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2727.206/2743.641/2761.492/12.119 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 346136636 2769.093 100.00% Conn: 1 Mbps: 2769.093 Peak Mbps: 2769.093 Avg Mbps: 2769.093 2000 344877408 2761.781 100.00% Conn: 1 Mbps: 2761.781 Peak Mbps: 2769.093 Avg Mbps: 2761.781 3000 341869376 2734.955 100.00% Conn: 1 Mbps: 2734.955 Peak Mbps: 2769.093 Avg Mbps: 2734.955 4000 344942800 2759.542 100.00% Conn: 1 Mbps: 2759.542 Peak Mbps: 2769.093 Avg Mbps: 2759.542 5000 341640504 2733.124 100.00% Conn: 1 Mbps: 2733.124 Peak Mbps: 2769.093 Avg Mbps: 2733.124 --- fc00::13 tcpbench statistics --- 2062447764 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2733.124/2751.699/2769.093/14.772 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 1m53.97s