START sys/net/pair 2024-05-15T23:03:30Z ==== 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.291 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.291/0.291/0.291/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.382 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.382/0.382/0.382/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 103633972 829.072 100.00% Conn: 1 Mbps: 829.072 Peak Mbps: 829.072 Avg Mbps: 829.072 2000 101901308 816.026 100.00% Conn: 1 Mbps: 816.026 Peak Mbps: 829.072 Avg Mbps: 816.026 3000 101082664 809.471 100.00% Conn: 1 Mbps: 809.471 Peak Mbps: 829.072 Avg Mbps: 809.471 4000 100796536 806.372 100.00% Conn: 1 Mbps: 806.372 Peak Mbps: 829.072 Avg Mbps: 806.372 5000 100581940 804.656 100.00% Conn: 1 Mbps: 804.656 Peak Mbps: 829.072 Avg Mbps: 804.656 --- 169.254.1.11 tcpbench statistics --- 608379660 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 804.656/813.119/829.072/8.870 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 100067216 800.538 100.00% Conn: 1 Mbps: 800.538 Peak Mbps: 800.538 Avg Mbps: 800.538 2000 99155496 794.038 100.00% Conn: 1 Mbps: 794.038 Peak Mbps: 800.538 Avg Mbps: 794.038 3000 98925584 791.405 100.00% Conn: 1 Mbps: 791.405 Peak Mbps: 800.538 Avg Mbps: 791.405 4000 98663960 789.312 100.00% Conn: 1 Mbps: 789.312 Peak Mbps: 800.538 Avg Mbps: 789.312 5000 98679816 789.439 100.00% Conn: 1 Mbps: 789.439 Peak Mbps: 800.538 Avg Mbps: 789.439 --- fc00:0:0:1::11 tcpbench statistics --- 594306664 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 789.312/792.946/800.538/4.164 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.429 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.429/0.429/0.429/0.000 ms ==== run-ping6-1-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=1.019 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 1.019/1.019/1.019/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 28538632 228.309 100.00% Conn: 1 Mbps: 228.309 Peak Mbps: 228.309 Avg Mbps: 228.309 2005 28818096 229.626 100.00% Conn: 1 Mbps: 229.626 Peak Mbps: 229.626 Avg Mbps: 229.626 3005 28722528 230.010 100.00% Conn: 1 Mbps: 230.010 Peak Mbps: 230.010 Avg Mbps: 230.010 4005 28819544 230.556 100.00% Conn: 1 Mbps: 230.556 Peak Mbps: 230.556 Avg Mbps: 230.556 5012 28949864 230.218 100.00% Conn: 1 Mbps: 230.218 Peak Mbps: 230.556 Avg Mbps: 230.218 --- 169.254.1.12 tcpbench statistics --- 172245392 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 228.309/229.744/230.556/0.778 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 27179124 217.216 100.00% Conn: 1 Mbps: 217.216 Peak Mbps: 217.216 Avg Mbps: 217.216 2002 27277656 218.221 100.00% Conn: 1 Mbps: 218.221 Peak Mbps: 218.221 Avg Mbps: 218.221 3008 27343344 217.658 100.00% Conn: 1 Mbps: 217.658 Peak Mbps: 218.221 Avg Mbps: 217.658 4006 27150564 217.858 100.00% Conn: 1 Mbps: 217.858 Peak Mbps: 218.221 Avg Mbps: 217.858 5005 27251952 218.234 100.00% Conn: 1 Mbps: 218.234 Peak Mbps: 218.234 Avg Mbps: 218.234 --- fc00:0:0:1::12 tcpbench statistics --- 163266096 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 217.216/217.837/218.234/0.380 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.413 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.413/0.413/0.413/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.551 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.551/0.551/0.551/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 43332496 346.660 100.00% Conn: 1 Mbps: 346.660 Peak Mbps: 346.660 Avg Mbps: 346.660 2000 43062264 344.843 100.00% Conn: 1 Mbps: 344.843 Peak Mbps: 346.660 Avg Mbps: 344.843 3000 43102004 344.816 100.00% Conn: 1 Mbps: 344.816 Peak Mbps: 346.660 Avg Mbps: 344.816 4000 43030472 344.244 100.00% Conn: 1 Mbps: 344.244 Peak Mbps: 346.660 Avg Mbps: 344.244 5001 43157640 345.261 100.00% Conn: 1 Mbps: 345.261 Peak Mbps: 346.660 Avg Mbps: 345.261 --- 169.254.0.13 tcpbench statistics --- 258627920 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 344.244/345.165/346.660/0.815 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 1001 39822344 318.260 100.00% Conn: 1 Mbps: 318.260 Peak Mbps: 318.260 Avg Mbps: 318.260 2000 39307024 314.771 100.00% Conn: 1 Mbps: 314.771 Peak Mbps: 318.260 Avg Mbps: 314.771 3000 39386304 315.090 100.00% Conn: 1 Mbps: 315.090 Peak Mbps: 318.260 Avg Mbps: 315.090 4001 39108824 312.871 100.00% Conn: 1 Mbps: 312.871 Peak Mbps: 318.260 Avg Mbps: 312.871 5002 39354592 314.837 100.00% Conn: 1 Mbps: 314.837 Peak Mbps: 318.260 Avg Mbps: 314.837 --- fc00::13 tcpbench statistics --- 236064128 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 312.871/315.166/318.260/1.739 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.323 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.323/0.323/0.323/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.398 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.398/0.398/0.398/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1004 28815200 229.603 100.00% Conn: 1 Mbps: 229.603 Peak Mbps: 229.603 Avg Mbps: 229.603 2004 28764520 230.347 100.00% Conn: 1 Mbps: 230.347 Peak Mbps: 230.347 Avg Mbps: 230.347 3005 28854296 230.604 100.00% Conn: 1 Mbps: 230.604 Peak Mbps: 230.604 Avg Mbps: 230.604 4009 28968688 231.056 100.00% Conn: 1 Mbps: 231.056 Peak Mbps: 231.056 Avg Mbps: 231.056 5011 28946968 231.114 100.00% Conn: 1 Mbps: 231.114 Peak Mbps: 231.114 Avg Mbps: 231.114 --- 169.254.1.11 tcpbench statistics --- 172908576 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 229.603/230.545/231.114/0.550 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 1003 27107724 216.213 100.00% Conn: 1 Mbps: 216.213 Peak Mbps: 216.213 Avg Mbps: 216.213 2004 27147708 217.182 100.00% Conn: 1 Mbps: 217.182 Peak Mbps: 217.182 Avg Mbps: 217.182 3006 27211968 217.261 100.00% Conn: 1 Mbps: 217.261 Peak Mbps: 217.261 Avg Mbps: 217.261 4006 27193404 217.547 100.00% Conn: 1 Mbps: 217.547 Peak Mbps: 217.547 Avg Mbps: 217.547 5009 27234816 217.444 100.00% Conn: 1 Mbps: 217.444 Peak Mbps: 217.547 Avg Mbps: 217.444 --- fc00:0:0:1::11 tcpbench statistics --- 162831984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 216.213/217.129/217.547/0.476 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.318 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.318/0.318/0.318/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.375 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.375/0.375/0.375/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 95795336 766.363 100.00% Conn: 1 Mbps: 766.363 Peak Mbps: 766.363 Avg Mbps: 766.363 2000 91095128 728.761 100.00% Conn: 1 Mbps: 728.761 Peak Mbps: 766.363 Avg Mbps: 728.761 3000 90442080 723.537 100.00% Conn: 1 Mbps: 723.537 Peak Mbps: 766.363 Avg Mbps: 723.537 4000 90799736 726.398 100.00% Conn: 1 Mbps: 726.398 Peak Mbps: 766.363 Avg Mbps: 726.398 5000 90421808 723.374 100.00% Conn: 1 Mbps: 723.374 Peak Mbps: 766.363 Avg Mbps: 723.374 --- 169.254.1.12 tcpbench statistics --- 549320520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 723.374/733.687/766.363/16.459 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 89411364 715.291 100.00% Conn: 1 Mbps: 715.291 Peak Mbps: 715.291 Avg Mbps: 715.291 2000 86458260 691.666 100.00% Conn: 1 Mbps: 691.666 Peak Mbps: 715.291 Avg Mbps: 691.666 3000 85868496 686.948 100.00% Conn: 1 Mbps: 686.948 Peak Mbps: 715.291 Avg Mbps: 686.948 4000 85919904 687.359 100.00% Conn: 1 Mbps: 687.359 Peak Mbps: 715.291 Avg Mbps: 687.359 5000 86192652 689.541 100.00% Conn: 1 Mbps: 689.541 Peak Mbps: 715.291 Avg Mbps: 689.541 --- fc00:0:0:1::12 tcpbench statistics --- 519409296 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 686.948/694.161/715.291/10.699 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.326 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.326/0.326/0.326/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.435 ms --- fc00::13 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-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 132799660 1062.397 100.00% Conn: 1 Mbps: 1062.397 Peak Mbps: 1062.397 Avg Mbps: 1062.397 2000 90819616 727.284 100.00% Conn: 1 Mbps: 727.284 Peak Mbps: 1062.397 Avg Mbps: 727.284 3000 89739988 717.920 100.00% Conn: 1 Mbps: 717.920 Peak Mbps: 1062.397 Avg Mbps: 717.920 4000 90001716 720.014 100.00% Conn: 1 Mbps: 720.014 Peak Mbps: 1062.397 Avg Mbps: 720.014 5001 91964676 735.717 100.00% Conn: 1 Mbps: 735.717 Peak Mbps: 1062.397 Avg Mbps: 735.717 --- 169.254.0.13 tcpbench statistics --- 584967496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 717.920/792.667/1062.397/135.010 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 129166304 1033.330 100.00% Conn: 1 Mbps: 1033.330 Peak Mbps: 1033.330 Avg Mbps: 1033.330 2000 124473672 996.786 100.00% Conn: 1 Mbps: 996.786 Peak Mbps: 1033.330 Avg Mbps: 996.786 3000 126010384 1008.083 100.00% Conn: 1 Mbps: 1008.083 Peak Mbps: 1033.330 Avg Mbps: 1008.083 4000 124179408 993.435 100.00% Conn: 1 Mbps: 993.435 Peak Mbps: 1033.330 Avg Mbps: 993.435 5000 126500824 1012.007 100.00% Conn: 1 Mbps: 1012.007 Peak Mbps: 1033.330 Avg Mbps: 1012.007 --- fc00::13 tcpbench statistics --- 758547956 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 993.435/1008.728/1033.330/14.092 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.347 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.347/0.347/0.347/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.458 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.458/0.458/0.458/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 27635080 220.639 100.00% Conn: 1 Mbps: 220.639 Peak Mbps: 220.639 Avg Mbps: 220.639 2006 28170840 224.693 100.00% Conn: 1 Mbps: 224.693 Peak Mbps: 224.693 Avg Mbps: 224.693 3009 28160704 224.836 100.00% Conn: 1 Mbps: 224.836 Peak Mbps: 224.836 Avg Mbps: 224.836 4010 28147672 224.956 100.00% Conn: 1 Mbps: 224.956 Peak Mbps: 224.956 Avg Mbps: 224.956 5015 28099888 223.903 100.00% Conn: 1 Mbps: 223.903 Peak Mbps: 224.956 Avg Mbps: 223.903 --- 169.254.1.11 tcpbench statistics --- 167920216 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 220.639/223.806/224.956/1.625 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 46132976 369.064 100.00% Conn: 1 Mbps: 369.064 Peak Mbps: 369.064 Avg Mbps: 369.064 2002 45867448 366.573 100.00% Conn: 1 Mbps: 366.573 Peak Mbps: 369.064 Avg Mbps: 366.573 3006 45243944 360.869 100.00% Conn: 1 Mbps: 360.869 Peak Mbps: 369.064 Avg Mbps: 360.869 4015 45333520 359.433 100.00% Conn: 1 Mbps: 359.433 Peak Mbps: 369.064 Avg Mbps: 359.433 5012 44833072 360.105 100.00% Conn: 1 Mbps: 360.105 Peak Mbps: 369.064 Avg Mbps: 360.105 --- fc00:0:0:1::11 tcpbench statistics --- 271943208 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 359.433/363.209/369.064/3.872 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.318 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.318/0.318/0.318/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.399 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.399/0.399/0.399/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 101032476 808.260 100.00% Conn: 1 Mbps: 808.260 Peak Mbps: 808.260 Avg Mbps: 808.260 2000 94778192 758.985 100.00% Conn: 1 Mbps: 758.985 Peak Mbps: 808.260 Avg Mbps: 758.985 3000 95039932 760.319 100.00% Conn: 1 Mbps: 760.319 Peak Mbps: 808.260 Avg Mbps: 760.319 4001 96021400 768.171 100.00% Conn: 1 Mbps: 768.171 Peak Mbps: 808.260 Avg Mbps: 768.171 5001 93665848 749.327 100.00% Conn: 1 Mbps: 749.327 Peak Mbps: 808.260 Avg Mbps: 749.327 --- 169.254.1.12 tcpbench statistics --- 574923460 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 749.327/769.012/808.260/20.517 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 137961924 1103.695 100.00% Conn: 1 Mbps: 1103.695 Peak Mbps: 1103.695 Avg Mbps: 1103.695 2000 131568704 1053.603 100.00% Conn: 1 Mbps: 1053.603 Peak Mbps: 1103.695 Avg Mbps: 1053.603 3000 131666792 1053.334 100.00% Conn: 1 Mbps: 1053.334 Peak Mbps: 1103.695 Avg Mbps: 1053.334 4000 131078264 1048.626 100.00% Conn: 1 Mbps: 1048.626 Peak Mbps: 1103.695 Avg Mbps: 1048.626 5000 131961056 1055.688 100.00% Conn: 1 Mbps: 1055.688 Peak Mbps: 1103.695 Avg Mbps: 1055.688 --- fc00:0:0:1::12 tcpbench statistics --- 798486516 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1048.626/1062.990/1103.695/20.484 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.304 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.304/0.304/0.304/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.374 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.374/0.374/0.374/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 143035670 1144.285 100.00% Conn: 1 Mbps: 1144.285 Peak Mbps: 1144.285 Avg Mbps: 1144.285 2000 140122628 1122.103 100.00% Conn: 1 Mbps: 1122.103 Peak Mbps: 1144.285 Avg Mbps: 1122.103 3000 137603496 1100.828 100.00% Conn: 1 Mbps: 1100.828 Peak Mbps: 1144.285 Avg Mbps: 1100.828 4000 139501024 1116.008 100.00% Conn: 1 Mbps: 1116.008 Peak Mbps: 1144.285 Avg Mbps: 1116.008 5000 137407200 1099.258 100.00% Conn: 1 Mbps: 1099.258 Peak Mbps: 1144.285 Avg Mbps: 1099.258 --- 169.254.0.13 tcpbench statistics --- 834815490 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1099.258/1116.496/1144.285/16.411 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 142425972 1139.408 100.00% Conn: 1 Mbps: 1139.408 Peak Mbps: 1139.408 Avg Mbps: 1139.408 2000 137486680 1100.994 100.00% Conn: 1 Mbps: 1100.994 Peak Mbps: 1139.408 Avg Mbps: 1100.994 3000 138761824 1110.095 100.00% Conn: 1 Mbps: 1110.095 Peak Mbps: 1139.408 Avg Mbps: 1110.095 4000 138500256 1108.002 100.00% Conn: 1 Mbps: 1108.002 Peak Mbps: 1139.408 Avg Mbps: 1108.002 5000 138598344 1108.787 100.00% Conn: 1 Mbps: 1108.787 Peak Mbps: 1139.408 Avg Mbps: 1108.787 --- fc00::13 tcpbench statistics --- 833357844 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1100.994/1113.457/1139.408/13.354 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 2m12.02s