START sys/net/pair 2024-08-15T12:12:53Z ==== 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.094 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.094/0.094/0.094/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.113 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.113/0.113/0.113/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 226374936 1810.999 100.00% Conn: 1 Mbps: 1810.999 Peak Mbps: 1810.999 Avg Mbps: 1810.999 2000 219611188 1756.890 100.00% Conn: 1 Mbps: 1756.890 Peak Mbps: 1810.999 Avg Mbps: 1756.890 3000 222408884 1779.271 100.00% Conn: 1 Mbps: 1779.271 Peak Mbps: 1810.999 Avg Mbps: 1779.271 4000 223084464 1784.676 100.00% Conn: 1 Mbps: 1784.676 Peak Mbps: 1810.999 Avg Mbps: 1784.676 5000 219205840 1753.647 100.00% Conn: 1 Mbps: 1753.647 Peak Mbps: 1810.999 Avg Mbps: 1753.647 --- 169.254.1.11 tcpbench statistics --- 1330018320 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1753.647/1777.096/1810.999/20.832 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 221944360 1775.555 100.00% Conn: 1 Mbps: 1775.555 Peak Mbps: 1775.555 Avg Mbps: 1775.555 2000 225083848 1802.473 100.00% Conn: 1 Mbps: 1802.473 Peak Mbps: 1802.473 Avg Mbps: 1802.473 3000 226891432 1815.131 100.00% Conn: 1 Mbps: 1815.131 Peak Mbps: 1815.131 Avg Mbps: 1815.131 4000 218281624 1746.253 100.00% Conn: 1 Mbps: 1746.253 Peak Mbps: 1815.131 Avg Mbps: 1746.253 5000 219883080 1759.065 100.00% Conn: 1 Mbps: 1759.065 Peak Mbps: 1815.131 Avg Mbps: 1759.065 --- fc00:0:0:1::11 tcpbench statistics --- 1330239120 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1746.253/1779.695/1815.131/25.829 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.147 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.147/0.147/0.147/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.298 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.298/0.298/0.298/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 78981160 631.849 100.00% Conn: 1 Mbps: 631.849 Peak Mbps: 631.849 Avg Mbps: 631.849 2001 79723984 637.792 100.00% Conn: 1 Mbps: 637.792 Peak Mbps: 637.792 Avg Mbps: 637.792 3001 79676200 637.410 100.00% Conn: 1 Mbps: 637.410 Peak Mbps: 637.792 Avg Mbps: 637.410 4001 79580632 636.645 100.00% Conn: 1 Mbps: 636.645 Peak Mbps: 637.792 Avg Mbps: 636.645 5002 80070056 639.921 100.00% Conn: 1 Mbps: 639.921 Peak Mbps: 639.921 Avg Mbps: 639.921 --- 169.254.1.12 tcpbench statistics --- 477871856 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 631.849/636.723/639.921/2.668 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 77340480 618.724 100.00% Conn: 1 Mbps: 618.724 Peak Mbps: 618.724 Avg Mbps: 618.724 2001 77480424 619.843 100.00% Conn: 1 Mbps: 619.843 Peak Mbps: 619.843 Avg Mbps: 619.843 3001 78270108 626.788 100.00% Conn: 1 Mbps: 626.788 Peak Mbps: 626.788 Avg Mbps: 626.788 4002 78233800 625.245 100.00% Conn: 1 Mbps: 625.245 Peak Mbps: 626.788 Avg Mbps: 625.245 5003 78423384 627.387 100.00% Conn: 1 Mbps: 627.387 Peak Mbps: 627.387 Avg Mbps: 627.387 --- fc00:0:0:1::12 tcpbench statistics --- 467434612 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 618.724/623.597/627.387/3.608 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.128 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.128/0.128/0.128/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.159 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.159/0.159/0.159/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 134209928 1073.679 100.00% Conn: 1 Mbps: 1073.679 Peak Mbps: 1073.679 Avg Mbps: 1073.679 2000 129584192 1037.711 100.00% Conn: 1 Mbps: 1037.711 Peak Mbps: 1073.679 Avg Mbps: 1037.711 3000 135298804 1082.390 100.00% Conn: 1 Mbps: 1082.390 Peak Mbps: 1082.390 Avg Mbps: 1082.390 4000 129457024 1036.693 100.00% Conn: 1 Mbps: 1036.693 Peak Mbps: 1082.390 Avg Mbps: 1036.693 5000 133939696 1071.518 100.00% Conn: 1 Mbps: 1071.518 Peak Mbps: 1082.390 Avg Mbps: 1071.518 --- 169.254.0.13 tcpbench statistics --- 792582508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1036.693/1060.398/1082.390/19.289 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 126443672 1011.549 100.00% Conn: 1 Mbps: 1011.549 Peak Mbps: 1011.549 Avg Mbps: 1011.549 2000 127680440 1022.466 100.00% Conn: 1 Mbps: 1022.466 Peak Mbps: 1022.466 Avg Mbps: 1022.466 3000 125730152 1005.841 100.00% Conn: 1 Mbps: 1005.841 Peak Mbps: 1022.466 Avg Mbps: 1005.841 4000 126816288 1014.530 100.00% Conn: 1 Mbps: 1014.530 Peak Mbps: 1022.466 Avg Mbps: 1014.530 5000 123811576 990.493 100.00% Conn: 1 Mbps: 990.493 Peak Mbps: 1022.466 Avg Mbps: 990.493 --- fc00::13 tcpbench statistics --- 756878232 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 990.493/1008.976/1022.466/10.686 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.102 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.102/0.102/0.102/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.125 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.125/0.125/0.125/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 1001 79366328 634.296 100.00% Conn: 1 Mbps: 634.296 Peak Mbps: 634.296 Avg Mbps: 634.296 2001 79721088 637.769 100.00% Conn: 1 Mbps: 637.769 Peak Mbps: 637.769 Avg Mbps: 637.769 3003 79984624 639.238 100.00% Conn: 1 Mbps: 639.238 Peak Mbps: 639.238 Avg Mbps: 639.238 4003 79341712 635.369 100.00% Conn: 1 Mbps: 635.369 Peak Mbps: 639.238 Avg Mbps: 635.369 5003 79844168 638.753 100.00% Conn: 1 Mbps: 638.753 Peak Mbps: 639.238 Avg Mbps: 638.753 --- 169.254.1.11 tcpbench statistics --- 477563432 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 634.296/637.085/639.238/1.929 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 77561820 620.495 100.00% Conn: 1 Mbps: 620.495 Peak Mbps: 620.495 Avg Mbps: 620.495 2001 77863128 622.905 100.00% Conn: 1 Mbps: 622.905 Peak Mbps: 622.905 Avg Mbps: 622.905 3002 77758884 622.071 100.00% Conn: 1 Mbps: 622.071 Peak Mbps: 622.905 Avg Mbps: 622.071 4004 78612828 627.647 100.00% Conn: 1 Mbps: 627.647 Peak Mbps: 627.647 Avg Mbps: 627.647 5002 78103040 626.076 100.00% Conn: 1 Mbps: 626.076 Peak Mbps: 627.647 Avg Mbps: 626.076 --- fc00:0:0:1::11 tcpbench statistics --- 467823008 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 620.495/623.839/627.647/2.634 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.092 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.092/0.092/0.092/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.113 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.113/0.113/0.113/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 217750240 1742.002 100.00% Conn: 1 Mbps: 1742.002 Peak Mbps: 1742.002 Avg Mbps: 1742.002 2000 216244320 1731.686 100.00% Conn: 1 Mbps: 1731.686 Peak Mbps: 1742.002 Avg Mbps: 1731.686 3000 216940808 1735.526 100.00% Conn: 1 Mbps: 1735.526 Peak Mbps: 1742.002 Avg Mbps: 1735.526 4000 216416632 1731.333 100.00% Conn: 1 Mbps: 1731.333 Peak Mbps: 1742.002 Avg Mbps: 1731.333 5000 217120360 1736.963 100.00% Conn: 1 Mbps: 1736.963 Peak Mbps: 1742.002 Avg Mbps: 1736.963 --- 169.254.1.12 tcpbench statistics --- 1295369216 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1731.333/1735.502/1742.002/3.907 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 211768116 1694.145 100.00% Conn: 1 Mbps: 1694.145 Peak Mbps: 1694.145 Avg Mbps: 1694.145 2000 211419684 1691.357 100.00% Conn: 1 Mbps: 1691.357 Peak Mbps: 1694.145 Avg Mbps: 1691.357 3000 206520216 1652.162 100.00% Conn: 1 Mbps: 1652.162 Peak Mbps: 1694.145 Avg Mbps: 1652.162 4000 206764404 1655.771 100.00% Conn: 1 Mbps: 1655.771 Peak Mbps: 1694.145 Avg Mbps: 1655.771 5000 205850484 1646.804 100.00% Conn: 1 Mbps: 1646.804 Peak Mbps: 1694.145 Avg Mbps: 1646.804 --- fc00:0:0:1::12 tcpbench statistics --- 1245820044 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1646.804/1668.048/1694.145/20.390 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.092 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.092/0.092/0.092/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.117 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.117/0.117/0.117/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 306680022 2453.440 100.00% Conn: 1 Mbps: 2453.440 Peak Mbps: 2453.440 Avg Mbps: 2453.440 2000 304160652 2433.285 100.00% Conn: 1 Mbps: 2433.285 Peak Mbps: 2453.440 Avg Mbps: 2433.285 3000 302132260 2417.058 100.00% Conn: 1 Mbps: 2417.058 Peak Mbps: 2453.440 Avg Mbps: 2417.058 4000 300594608 2404.757 100.00% Conn: 1 Mbps: 2404.757 Peak Mbps: 2453.440 Avg Mbps: 2404.757 5000 300889052 2407.112 100.00% Conn: 1 Mbps: 2407.112 Peak Mbps: 2453.440 Avg Mbps: 2407.112 --- 169.254.0.13 tcpbench statistics --- 1815476510 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2404.757/2423.131/2453.440/18.182 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 309043456 2472.348 100.00% Conn: 1 Mbps: 2472.348 Peak Mbps: 2472.348 Avg Mbps: 2472.348 2000 304497848 2438.421 100.00% Conn: 1 Mbps: 2438.421 Peak Mbps: 2472.348 Avg Mbps: 2438.421 3000 308388672 2467.109 100.00% Conn: 1 Mbps: 2467.109 Peak Mbps: 2472.348 Avg Mbps: 2467.109 4000 300508936 2404.071 100.00% Conn: 1 Mbps: 2404.071 Peak Mbps: 2472.348 Avg Mbps: 2404.071 5000 305544120 2444.353 100.00% Conn: 1 Mbps: 2444.353 Peak Mbps: 2472.348 Avg Mbps: 2444.353 --- fc00::13 tcpbench statistics --- 1841472280 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2404.071/2445.261/2472.348/24.311 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.110 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.110/0.110/0.110/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.133 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.133/0.133/0.133/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 1001 78808848 629.841 100.00% Conn: 1 Mbps: 629.841 Peak Mbps: 629.841 Avg Mbps: 629.841 2003 79207048 633.023 100.00% Conn: 1 Mbps: 633.023 Peak Mbps: 633.023 Avg Mbps: 633.023 3003 79234560 633.876 100.00% Conn: 1 Mbps: 633.876 Peak Mbps: 633.876 Avg Mbps: 633.876 4003 79421352 635.371 100.00% Conn: 1 Mbps: 635.371 Peak Mbps: 635.371 Avg Mbps: 635.371 5004 79816656 638.533 100.00% Conn: 1 Mbps: 638.533 Peak Mbps: 638.533 Avg Mbps: 638.533 --- 169.254.1.11 tcpbench statistics --- 475744744 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 629.841/634.129/638.533/2.850 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 126015872 1008.127 100.00% Conn: 1 Mbps: 1008.127 Peak Mbps: 1008.127 Avg Mbps: 1008.127 2000 125395320 1003.163 100.00% Conn: 1 Mbps: 1003.163 Peak Mbps: 1008.127 Avg Mbps: 1003.163 3002 124785976 997.291 100.00% Conn: 1 Mbps: 997.291 Peak Mbps: 1008.127 Avg Mbps: 997.291 4003 124899664 998.199 100.00% Conn: 1 Mbps: 998.199 Peak Mbps: 1008.127 Avg Mbps: 998.199 5004 124697352 997.579 100.00% Conn: 1 Mbps: 997.579 Peak Mbps: 1008.127 Avg Mbps: 997.579 --- fc00:0:0:1::11 tcpbench statistics --- 749984896 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 997.291/1000.872/1008.127/4.212 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.099 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.099/0.099/0.099/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.118 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.118/0.118/0.118/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 312751268 2502.010 100.00% Conn: 1 Mbps: 2502.010 Peak Mbps: 2502.010 Avg Mbps: 2502.010 2000 310507556 2486.547 100.00% Conn: 1 Mbps: 2486.547 Peak Mbps: 2502.010 Avg Mbps: 2486.547 3000 305829168 2446.633 100.00% Conn: 1 Mbps: 2446.633 Peak Mbps: 2502.010 Avg Mbps: 2446.633 4000 305796452 2446.372 100.00% Conn: 1 Mbps: 2446.372 Peak Mbps: 2502.010 Avg Mbps: 2446.372 5000 305338428 2442.707 100.00% Conn: 1 Mbps: 2442.707 Peak Mbps: 2502.010 Avg Mbps: 2442.707 --- 169.254.1.12 tcpbench statistics --- 1844710684 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2442.707/2464.854/2502.010/24.557 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 306689164 2453.513 100.00% Conn: 1 Mbps: 2453.513 Peak Mbps: 2453.513 Avg Mbps: 2453.513 2000 310383128 2483.065 100.00% Conn: 1 Mbps: 2483.065 Peak Mbps: 2483.065 Avg Mbps: 2483.065 3000 308715632 2469.725 100.00% Conn: 1 Mbps: 2469.725 Peak Mbps: 2483.065 Avg Mbps: 2469.725 4000 313521944 2508.176 100.00% Conn: 1 Mbps: 2508.176 Peak Mbps: 2508.176 Avg Mbps: 2508.176 5000 312181408 2497.451 100.00% Conn: 1 Mbps: 2497.451 Peak Mbps: 2508.176 Avg Mbps: 2497.451 --- fc00:0:0:1::12 tcpbench statistics --- 1864686260 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2453.513/2482.386/2508.176/19.424 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.092 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.092/0.092/0.092/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.110 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.110/0.110/0.110/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 308350834 2466.807 100.00% Conn: 1 Mbps: 2466.807 Peak Mbps: 2466.807 Avg Mbps: 2466.807 2000 301150780 2409.206 100.00% Conn: 1 Mbps: 2409.206 Peak Mbps: 2466.807 Avg Mbps: 2409.206 3000 299907572 2399.261 100.00% Conn: 1 Mbps: 2399.261 Peak Mbps: 2466.807 Avg Mbps: 2399.261 4000 299842140 2398.737 100.00% Conn: 1 Mbps: 2398.737 Peak Mbps: 2466.807 Avg Mbps: 2398.737 5000 304716824 2437.735 100.00% Conn: 1 Mbps: 2437.735 Peak Mbps: 2466.807 Avg Mbps: 2437.735 --- 169.254.0.13 tcpbench statistics --- 1821662130 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2398.737/2422.349/2466.807/26.369 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 311449924 2491.599 100.00% Conn: 1 Mbps: 2491.599 Peak Mbps: 2491.599 Avg Mbps: 2491.599 2000 312344888 2498.759 100.00% Conn: 1 Mbps: 2498.759 Peak Mbps: 2498.759 Avg Mbps: 2498.759 3000 302993832 2423.951 100.00% Conn: 1 Mbps: 2423.951 Peak Mbps: 2498.759 Avg Mbps: 2423.951 4000 313162288 2505.298 100.00% Conn: 1 Mbps: 2505.298 Peak Mbps: 2505.298 Avg Mbps: 2505.298 5000 308454064 2467.633 100.00% Conn: 1 Mbps: 2467.633 Peak Mbps: 2505.298 Avg Mbps: 2467.633 --- fc00::13 tcpbench statistics --- 1855158868 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2423.951/2477.448/2505.298/29.626 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 1m55.33s