START sys/net/pair 2024-06-25T08:33:19Z ==== 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.163 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.163/0.163/0.163/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.209 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.209/0.209/0.209/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 200210120 1601.681 100.00% Conn: 1 Mbps: 1601.681 Peak Mbps: 1601.681 Avg Mbps: 1601.681 2000 196037420 1569.869 100.00% Conn: 1 Mbps: 1569.869 Peak Mbps: 1601.681 Avg Mbps: 1569.869 3000 196736844 1573.895 100.00% Conn: 1 Mbps: 1573.895 Peak Mbps: 1601.681 Avg Mbps: 1573.895 4000 196736844 1573.895 100.00% Conn: 1 Mbps: 1573.895 Peak Mbps: 1601.681 Avg Mbps: 1573.895 5000 195083660 1560.669 100.00% Conn: 1 Mbps: 1560.669 Peak Mbps: 1601.681 Avg Mbps: 1560.669 --- 169.254.1.11 tcpbench statistics --- 1181740432 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1560.669/1576.002/1601.681/13.719 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 202861664 1622.893 100.00% Conn: 1 Mbps: 1622.893 Peak Mbps: 1622.893 Avg Mbps: 1622.893 2000 200324704 1602.598 100.00% Conn: 1 Mbps: 1602.598 Peak Mbps: 1622.893 Avg Mbps: 1602.598 3000 200654432 1606.842 100.00% Conn: 1 Mbps: 1606.842 Peak Mbps: 1622.893 Avg Mbps: 1606.842 4000 198398200 1587.186 100.00% Conn: 1 Mbps: 1587.186 Peak Mbps: 1622.893 Avg Mbps: 1587.186 5000 200689392 1605.515 100.00% Conn: 1 Mbps: 1605.515 Peak Mbps: 1622.893 Avg Mbps: 1605.515 --- fc00:0:0:1::11 tcpbench statistics --- 1202777416 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1587.186/1605.007/1622.893/11.375 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.260 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.260/0.260/0.260/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.437 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.437/0.437/0.437/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 81376208 649.710 100.00% Conn: 1 Mbps: 649.710 Peak Mbps: 649.710 Avg Mbps: 649.710 2002 80888176 647.105 100.00% Conn: 1 Mbps: 647.105 Peak Mbps: 649.710 Avg Mbps: 647.105 3004 80620352 643.675 100.00% Conn: 1 Mbps: 643.675 Peak Mbps: 649.710 Avg Mbps: 643.675 4003 80973664 649.087 100.00% Conn: 1 Mbps: 649.087 Peak Mbps: 649.710 Avg Mbps: 649.087 5003 81376208 651.010 100.00% Conn: 1 Mbps: 651.010 Peak Mbps: 651.010 Avg Mbps: 651.010 --- 169.254.1.12 tcpbench statistics --- 486402248 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 643.675/648.118/651.010/2.553 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 81693024 653.544 100.00% Conn: 1 Mbps: 653.544 Peak Mbps: 653.544 Avg Mbps: 653.544 2000 81166092 649.329 100.00% Conn: 1 Mbps: 649.329 Peak Mbps: 653.544 Avg Mbps: 649.329 3004 82284216 656.305 100.00% Conn: 1 Mbps: 656.305 Peak Mbps: 656.305 Avg Mbps: 656.305 4004 81888052 655.104 100.00% Conn: 1 Mbps: 655.104 Peak Mbps: 656.305 Avg Mbps: 655.104 5004 81817260 654.538 100.00% Conn: 1 Mbps: 654.538 Peak Mbps: 656.305 Avg Mbps: 654.538 --- fc00:0:0:1::12 tcpbench statistics --- 490363168 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 649.329/653.764/656.305/2.390 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.225 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.225/0.225/0.225/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.267 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.267/0.267/0.267/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 111073300 888.586 100.00% Conn: 1 Mbps: 888.586 Peak Mbps: 888.586 Avg Mbps: 888.586 2000 110652056 886.103 100.00% Conn: 1 Mbps: 886.103 Peak Mbps: 888.586 Avg Mbps: 886.103 3000 110580524 884.644 100.00% Conn: 1 Mbps: 884.644 Peak Mbps: 888.586 Avg Mbps: 884.644 4000 110445408 883.563 100.00% Conn: 1 Mbps: 883.563 Peak Mbps: 888.586 Avg Mbps: 883.563 5000 109984424 879.875 100.00% Conn: 1 Mbps: 879.875 Peak Mbps: 888.586 Avg Mbps: 879.875 --- 169.254.0.13 tcpbench statistics --- 664341528 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 879.875/884.554/888.586/2.882 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 101327768 810.622 100.00% Conn: 1 Mbps: 810.622 Peak Mbps: 810.622 Avg Mbps: 810.622 2000 100376408 803.815 100.00% Conn: 1 Mbps: 803.815 Peak Mbps: 810.622 Avg Mbps: 803.815 3000 100336768 802.694 100.00% Conn: 1 Mbps: 802.694 Peak Mbps: 810.622 Avg Mbps: 802.694 4000 100265416 802.123 100.00% Conn: 1 Mbps: 802.123 Peak Mbps: 810.622 Avg Mbps: 802.123 5000 100828304 806.626 100.00% Conn: 1 Mbps: 806.626 Peak Mbps: 810.622 Avg Mbps: 806.626 --- fc00::13 tcpbench statistics --- 604026392 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 802.123/805.176/810.622/3.134 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.186 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.186/0.186/0.186/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.241 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.241/0.241/0.241/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 82492560 659.281 100.00% Conn: 1 Mbps: 659.281 Peak Mbps: 659.281 Avg Mbps: 659.281 2004 82605504 659.525 100.00% Conn: 1 Mbps: 659.525 Peak Mbps: 659.525 Avg Mbps: 659.525 3006 82169656 656.045 100.00% Conn: 1 Mbps: 656.045 Peak Mbps: 659.525 Avg Mbps: 656.045 4005 82520072 661.484 100.00% Conn: 1 Mbps: 661.484 Peak Mbps: 661.484 Avg Mbps: 661.484 5006 82929856 662.776 100.00% Conn: 1 Mbps: 662.776 Peak Mbps: 662.776 Avg Mbps: 662.776 --- 169.254.1.11 tcpbench statistics --- 494736712 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 656.045/659.822/662.776/2.286 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 82755456 660.722 100.00% Conn: 1 Mbps: 660.722 Peak Mbps: 660.722 Avg Mbps: 660.722 2003 82827068 661.955 100.00% Conn: 1 Mbps: 661.955 Peak Mbps: 661.955 Avg Mbps: 661.955 3002 82729752 663.164 100.00% Conn: 1 Mbps: 663.164 Peak Mbps: 663.164 Avg Mbps: 663.164 4003 82763416 661.446 100.00% Conn: 1 Mbps: 661.446 Peak Mbps: 663.164 Avg Mbps: 661.446 5005 82878476 662.365 100.00% Conn: 1 Mbps: 662.365 Peak Mbps: 663.164 Avg Mbps: 662.365 --- fc00:0:0:1::11 tcpbench statistics --- 496233492 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 660.722/661.930/663.164/0.825 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.159 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.159/0.159/0.159/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.223 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.223/0.223/0.223/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 195675480 1565.404 100.00% Conn: 1 Mbps: 1565.404 Peak Mbps: 1565.404 Avg Mbps: 1565.404 2000 194201416 1555.166 100.00% Conn: 1 Mbps: 1555.166 Peak Mbps: 1565.404 Avg Mbps: 1555.166 3000 193429632 1547.437 100.00% Conn: 1 Mbps: 1547.437 Peak Mbps: 1565.404 Avg Mbps: 1547.437 4000 193691720 1549.534 100.00% Conn: 1 Mbps: 1549.534 Peak Mbps: 1565.404 Avg Mbps: 1549.534 5000 193502032 1548.016 100.00% Conn: 1 Mbps: 1548.016 Peak Mbps: 1565.404 Avg Mbps: 1548.016 --- 169.254.1.12 tcpbench statistics --- 1162399376 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1547.437/1553.111/1565.404/6.727 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 193765320 1550.123 100.00% Conn: 1 Mbps: 1550.123 Peak Mbps: 1550.123 Avg Mbps: 1550.123 2000 191413404 1531.307 100.00% Conn: 1 Mbps: 1531.307 Peak Mbps: 1550.123 Avg Mbps: 1531.307 3000 190773660 1526.189 100.00% Conn: 1 Mbps: 1526.189 Peak Mbps: 1550.123 Avg Mbps: 1526.189 4000 190072512 1520.580 100.00% Conn: 1 Mbps: 1520.580 Peak Mbps: 1550.123 Avg Mbps: 1520.580 5000 190873620 1526.989 100.00% Conn: 1 Mbps: 1526.989 Peak Mbps: 1550.123 Avg Mbps: 1526.989 --- fc00:0:0:1::12 tcpbench statistics --- 1147720728 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1520.580/1531.038/1550.123/10.135 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.169 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.169/0.169/0.169/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.217 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.217/0.217/0.217/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 318050574 2544.405 100.00% Conn: 1 Mbps: 2544.405 Peak Mbps: 2544.405 Avg Mbps: 2544.405 2000 314629736 2519.557 100.00% Conn: 1 Mbps: 2519.557 Peak Mbps: 2544.405 Avg Mbps: 2519.557 3000 311783468 2494.268 100.00% Conn: 1 Mbps: 2494.268 Peak Mbps: 2544.405 Avg Mbps: 2494.268 4000 314793352 2518.347 100.00% Conn: 1 Mbps: 2518.347 Peak Mbps: 2544.405 Avg Mbps: 2518.347 5000 314368044 2514.944 100.00% Conn: 1 Mbps: 2514.944 Peak Mbps: 2544.405 Avg Mbps: 2514.944 --- 169.254.0.13 tcpbench statistics --- 1888287662 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2494.268/2518.304/2544.405/15.949 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 316269488 2530.156 100.00% Conn: 1 Mbps: 2530.156 Peak Mbps: 2530.156 Avg Mbps: 2530.156 2000 309336856 2477.172 100.00% Conn: 1 Mbps: 2477.172 Peak Mbps: 2530.156 Avg Mbps: 2477.172 3000 312017928 2496.143 100.00% Conn: 1 Mbps: 2496.143 Peak Mbps: 2530.156 Avg Mbps: 2496.143 4000 314175864 2513.407 100.00% Conn: 1 Mbps: 2513.407 Peak Mbps: 2530.156 Avg Mbps: 2513.407 5000 312050624 2496.405 100.00% Conn: 1 Mbps: 2496.405 Peak Mbps: 2530.156 Avg Mbps: 2496.405 --- fc00::13 tcpbench statistics --- 1875378248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2477.172/2502.657/2530.156/17.904 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.195 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.195/0.195/0.195/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.243 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.243/0.243/0.243/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 80534864 643.635 100.00% Conn: 1 Mbps: 643.635 Peak Mbps: 643.635 Avg Mbps: 643.635 2001 81269000 650.152 100.00% Conn: 1 Mbps: 650.152 Peak Mbps: 650.152 Avg Mbps: 650.152 3001 81067728 649.191 100.00% Conn: 1 Mbps: 649.191 Peak Mbps: 650.152 Avg Mbps: 649.191 4004 81642584 651.187 100.00% Conn: 1 Mbps: 651.187 Peak Mbps: 651.187 Avg Mbps: 651.187 5005 81306648 650.453 100.00% Conn: 1 Mbps: 650.453 Peak Mbps: 651.187 Avg Mbps: 650.453 --- 169.254.1.11 tcpbench statistics --- 485814136 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 643.635/648.924/651.187/2.721 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 1002 135759048 1083.905 100.00% Conn: 1 Mbps: 1083.905 Peak Mbps: 1083.905 Avg Mbps: 1083.905 2002 133918600 1072.421 100.00% Conn: 1 Mbps: 1072.421 Peak Mbps: 1083.905 Avg Mbps: 1072.421 3004 134381288 1073.976 100.00% Conn: 1 Mbps: 1073.976 Peak Mbps: 1083.905 Avg Mbps: 1073.976 4004 133431928 1067.455 100.00% Conn: 1 Mbps: 1067.455 Peak Mbps: 1083.905 Avg Mbps: 1067.455 5005 132982400 1062.796 100.00% Conn: 1 Mbps: 1062.796 Peak Mbps: 1083.905 Avg Mbps: 1062.796 --- fc00:0:0:1::11 tcpbench statistics --- 803958224 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1062.796/1072.111/1083.905/7.087 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.169 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.169/0.169/0.169/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.219 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.219/0.219/0.219/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 319062986 2552.504 100.00% Conn: 1 Mbps: 2552.504 Peak Mbps: 2552.504 Avg Mbps: 2552.504 2000 315742116 2528.465 100.00% Conn: 1 Mbps: 2528.465 Peak Mbps: 2552.504 Avg Mbps: 2528.465 3000 312535948 2500.288 100.00% Conn: 1 Mbps: 2500.288 Peak Mbps: 2552.504 Avg Mbps: 2500.288 4000 315022364 2520.179 100.00% Conn: 1 Mbps: 2520.179 Peak Mbps: 2552.504 Avg Mbps: 2520.179 5000 314498908 2515.991 100.00% Conn: 1 Mbps: 2515.991 Peak Mbps: 2552.504 Avg Mbps: 2515.991 --- 169.254.1.12 tcpbench statistics --- 1892015550 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2500.288/2523.485/2552.504/17.159 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 317367540 2538.940 100.00% Conn: 1 Mbps: 2538.940 Peak Mbps: 2538.940 Avg Mbps: 2538.940 2000 311592880 2495.238 100.00% Conn: 1 Mbps: 2495.238 Peak Mbps: 2538.940 Avg Mbps: 2495.238 3000 314437432 2515.499 100.00% Conn: 1 Mbps: 2515.499 Peak Mbps: 2538.940 Avg Mbps: 2515.499 4000 314960568 2519.685 100.00% Conn: 1 Mbps: 2519.685 Peak Mbps: 2538.940 Avg Mbps: 2519.685 5000 315712576 2525.701 100.00% Conn: 1 Mbps: 2525.701 Peak Mbps: 2538.940 Avg Mbps: 2525.701 --- fc00:0:0:1::12 tcpbench statistics --- 1889423916 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2495.238/2519.013/2538.940/14.282 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.168 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.168/0.168/0.168/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.218 ms --- fc00::13 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-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 325095168 2600.761 100.00% Conn: 1 Mbps: 2600.761 Peak Mbps: 2600.761 Avg Mbps: 2600.761 2000 325066176 2603.133 100.00% Conn: 1 Mbps: 2603.133 Peak Mbps: 2603.133 Avg Mbps: 2603.133 3000 323070500 2584.564 100.00% Conn: 1 Mbps: 2584.564 Peak Mbps: 2603.133 Avg Mbps: 2584.564 4000 322285316 2578.283 100.00% Conn: 1 Mbps: 2578.283 Peak Mbps: 2603.133 Avg Mbps: 2578.283 5000 324166486 2593.332 100.00% Conn: 1 Mbps: 2593.332 Peak Mbps: 2603.133 Avg Mbps: 2593.332 --- 169.254.0.13 tcpbench statistics --- 1939907854 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2578.283/2592.014/2603.133/9.444 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 357272108 2858.177 100.00% Conn: 1 Mbps: 2858.177 Peak Mbps: 2858.177 Avg Mbps: 2858.177 2000 353607240 2831.690 100.00% Conn: 1 Mbps: 2831.690 Peak Mbps: 2858.177 Avg Mbps: 2831.690 3000 353214888 2825.719 100.00% Conn: 1 Mbps: 2825.719 Peak Mbps: 2858.177 Avg Mbps: 2825.719 4000 352986016 2823.888 100.00% Conn: 1 Mbps: 2823.888 Peak Mbps: 2858.177 Avg Mbps: 2823.888 5000 350566512 2807.339 100.00% Conn: 1 Mbps: 2807.339 Peak Mbps: 2858.177 Avg Mbps: 2807.339 --- fc00::13 tcpbench statistics --- 2121319396 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2807.339/2829.363/2858.177/16.516 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 1m54.09s