START sys/net/pair 2024-10-05T22:05: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.174 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.174/0.174/0.174/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.218 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.218/0.218/0.218/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 50787720 406.302 100.00% Conn: 1 Mbps: 406.302 Peak Mbps: 406.302 Avg Mbps: 406.302 2000 50008816 400.071 100.00% Conn: 1 Mbps: 400.071 Peak Mbps: 406.302 Avg Mbps: 400.071 3001 50279048 402.232 100.00% Conn: 1 Mbps: 402.232 Peak Mbps: 406.302 Avg Mbps: 402.232 4001 50382372 403.059 100.00% Conn: 1 Mbps: 403.059 Peak Mbps: 406.302 Avg Mbps: 403.059 5002 50223412 401.787 100.00% Conn: 1 Mbps: 401.787 Peak Mbps: 406.302 Avg Mbps: 401.787 --- 169.254.1.11 tcpbench statistics --- 302524724 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 400.071/402.690/406.302/2.053 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 1001 45482936 363.500 100.00% Conn: 1 Mbps: 363.500 Peak Mbps: 363.500 Avg Mbps: 363.500 2001 45728704 365.830 100.00% Conn: 1 Mbps: 365.830 Peak Mbps: 365.830 Avg Mbps: 365.830 3002 45221312 361.770 100.00% Conn: 1 Mbps: 361.770 Peak Mbps: 365.830 Avg Mbps: 361.770 4001 45934832 367.847 100.00% Conn: 1 Mbps: 367.847 Peak Mbps: 367.847 Avg Mbps: 367.847 5002 45712848 365.703 100.00% Conn: 1 Mbps: 365.703 Peak Mbps: 367.847 Avg Mbps: 365.703 --- fc00:0:0:1::11 tcpbench statistics --- 273531856 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 361.770/364.930/367.847/2.095 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.267 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.267/0.267/0.267/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.753 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.753/0.753/0.753/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 31323136 250.085 100.00% Conn: 1 Mbps: 250.085 Peak Mbps: 250.085 Avg Mbps: 250.085 2010 31633008 251.305 100.00% Conn: 1 Mbps: 251.305 Peak Mbps: 251.305 Avg Mbps: 251.305 3007 31324584 251.351 100.00% Conn: 1 Mbps: 251.351 Peak Mbps: 251.351 Avg Mbps: 251.351 4009 31730024 253.587 100.00% Conn: 1 Mbps: 253.587 Peak Mbps: 253.587 Avg Mbps: 253.587 5009 31692376 253.539 100.00% Conn: 1 Mbps: 253.539 Peak Mbps: 253.587 Avg Mbps: 253.539 --- 169.254.1.12 tcpbench statistics --- 189340480 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 250.085/251.973/253.587/1.375 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 30080820 240.647 100.00% Conn: 1 Mbps: 240.647 Peak Mbps: 240.647 Avg Mbps: 240.647 2002 29922312 238.901 100.00% Conn: 1 Mbps: 238.901 Peak Mbps: 240.647 Avg Mbps: 238.901 3005 30127944 240.542 100.00% Conn: 1 Mbps: 240.542 Peak Mbps: 240.647 Avg Mbps: 240.542 4007 29982288 239.380 100.00% Conn: 1 Mbps: 239.380 Peak Mbps: 240.647 Avg Mbps: 239.380 5008 30046548 240.132 100.00% Conn: 1 Mbps: 240.132 Peak Mbps: 240.647 Avg Mbps: 240.132 --- fc00:0:0:1::12 tcpbench statistics --- 179949420 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 238.901/239.920/240.647/0.677 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.226 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.226/0.226/0.226/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.310 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.310/0.310/0.310/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 31625092 253.001 100.00% Conn: 1 Mbps: 253.001 Peak Mbps: 253.001 Avg Mbps: 253.001 2001 31164108 249.313 100.00% Conn: 1 Mbps: 249.313 Peak Mbps: 253.001 Avg Mbps: 249.313 3002 31426392 251.411 100.00% Conn: 1 Mbps: 251.411 Peak Mbps: 253.001 Avg Mbps: 251.411 4002 30838240 246.706 100.00% Conn: 1 Mbps: 246.706 Peak Mbps: 253.001 Avg Mbps: 246.706 5003 31704572 253.637 100.00% Conn: 1 Mbps: 253.637 Peak Mbps: 253.637 Avg Mbps: 253.637 --- 169.254.0.13 tcpbench statistics --- 187994044 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 246.706/250.813/253.637/2.539 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 32695072 261.561 100.00% Conn: 1 Mbps: 261.561 Peak Mbps: 261.561 Avg Mbps: 261.561 2001 32623720 260.990 100.00% Conn: 1 Mbps: 260.990 Peak Mbps: 261.561 Avg Mbps: 260.990 3001 32536512 260.292 100.00% Conn: 1 Mbps: 260.292 Peak Mbps: 261.561 Avg Mbps: 260.292 4001 32528584 260.489 100.00% Conn: 1 Mbps: 260.489 Peak Mbps: 261.561 Avg Mbps: 260.489 5001 32703000 261.624 100.00% Conn: 1 Mbps: 261.624 Peak Mbps: 261.624 Avg Mbps: 261.624 --- fc00::13 tcpbench statistics --- 195948448 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 260.292/260.991/261.624/0.541 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.208 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.208/0.208/0.208/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.237 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.237/0.237/0.237/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1003 31622872 252.226 100.00% Conn: 1 Mbps: 252.226 Peak Mbps: 252.226 Avg Mbps: 252.226 2007 31847312 254.016 100.00% Conn: 1 Mbps: 254.016 Peak Mbps: 254.016 Avg Mbps: 254.016 3010 31654728 252.732 100.00% Conn: 1 Mbps: 252.732 Peak Mbps: 254.016 Avg Mbps: 252.732 4011 31767672 253.887 100.00% Conn: 1 Mbps: 253.887 Peak Mbps: 254.016 Avg Mbps: 253.887 5012 31618528 252.696 100.00% Conn: 1 Mbps: 252.696 Peak Mbps: 254.016 Avg Mbps: 252.696 --- 169.254.1.11 tcpbench statistics --- 189451976 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 252.226/253.112/254.016/0.710 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 1001 30213624 241.468 100.00% Conn: 1 Mbps: 241.468 Peak Mbps: 241.468 Avg Mbps: 241.468 2004 30269316 241.430 100.00% Conn: 1 Mbps: 241.430 Peak Mbps: 241.468 Avg Mbps: 241.430 3004 29926596 239.413 100.00% Conn: 1 Mbps: 239.413 Peak Mbps: 241.468 Avg Mbps: 239.413 4007 30260748 241.603 100.00% Conn: 1 Mbps: 241.603 Peak Mbps: 241.603 Avg Mbps: 241.603 5008 29979432 239.835 100.00% Conn: 1 Mbps: 239.835 Peak Mbps: 241.603 Avg Mbps: 239.835 --- fc00:0:0:1::11 tcpbench statistics --- 180696264 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 239.413/240.750/241.603/0.931 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.176 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.176/0.176/0.176/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 43477648 347.821 100.00% Conn: 1 Mbps: 347.821 Peak Mbps: 347.821 Avg Mbps: 347.821 2000 45759696 366.078 100.00% Conn: 1 Mbps: 366.078 Peak Mbps: 366.078 Avg Mbps: 366.078 3001 44565096 356.521 100.00% Conn: 1 Mbps: 356.521 Peak Mbps: 366.078 Avg Mbps: 356.521 4001 44187168 353.497 100.00% Conn: 1 Mbps: 353.497 Peak Mbps: 366.078 Avg Mbps: 353.497 5001 44091600 352.733 100.00% Conn: 1 Mbps: 352.733 Peak Mbps: 366.078 Avg Mbps: 352.733 --- 169.254.1.12 tcpbench statistics --- 266233624 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 347.821/355.330/366.078/6.057 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 1001 47890836 382.744 100.00% Conn: 1 Mbps: 382.744 Peak Mbps: 382.744 Avg Mbps: 382.744 2000 46844112 375.128 100.00% Conn: 1 Mbps: 375.128 Peak Mbps: 382.744 Avg Mbps: 375.128 3001 46872672 374.981 100.00% Conn: 1 Mbps: 374.981 Peak Mbps: 382.744 Avg Mbps: 374.981 4001 47431020 379.448 100.00% Conn: 1 Mbps: 379.448 Peak Mbps: 382.744 Avg Mbps: 379.448 5002 47645220 381.162 100.00% Conn: 1 Mbps: 381.162 Peak Mbps: 382.744 Avg Mbps: 381.162 --- fc00:0:0:1::12 tcpbench statistics --- 283886400 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 374.981/378.693/382.744/3.148 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.176 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.176/0.176/0.176/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.226 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.226/0.226/0.226/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 136965722 1095.726 100.00% Conn: 1 Mbps: 1095.726 Peak Mbps: 1095.726 Avg Mbps: 1095.726 2000 137766992 1102.136 100.00% Conn: 1 Mbps: 1102.136 Peak Mbps: 1102.136 Avg Mbps: 1102.136 3000 138028732 1104.230 100.00% Conn: 1 Mbps: 1104.230 Peak Mbps: 1104.230 Avg Mbps: 1104.230 4000 137570696 1100.566 100.00% Conn: 1 Mbps: 1100.566 Peak Mbps: 1104.230 Avg Mbps: 1100.566 5000 137276264 1098.210 100.00% Conn: 1 Mbps: 1098.210 Peak Mbps: 1104.230 Avg Mbps: 1098.210 --- 169.254.0.13 tcpbench statistics --- 824459362 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1095.726/1100.173/1104.230/2.970 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 127678420 1021.427 100.00% Conn: 1 Mbps: 1021.427 Peak Mbps: 1021.427 Avg Mbps: 1021.427 2000 128135624 1025.085 100.00% Conn: 1 Mbps: 1025.085 Peak Mbps: 1025.085 Avg Mbps: 1025.085 3000 128397192 1027.178 100.00% Conn: 1 Mbps: 1027.178 Peak Mbps: 1027.178 Avg Mbps: 1027.178 4000 128331800 1026.654 100.00% Conn: 1 Mbps: 1026.654 Peak Mbps: 1027.178 Avg Mbps: 1026.654 5000 128037536 1024.300 100.00% Conn: 1 Mbps: 1024.300 Peak Mbps: 1027.178 Avg Mbps: 1024.300 --- fc00::13 tcpbench statistics --- 768585412 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1021.427/1024.929/1027.178/2.035 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.259 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.259/0.259/0.259/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 1003 31518616 251.395 100.00% Conn: 1 Mbps: 251.395 Peak Mbps: 251.395 Avg Mbps: 251.395 2003 31550472 252.404 100.00% Conn: 1 Mbps: 252.404 Peak Mbps: 252.404 Avg Mbps: 252.404 3003 31744504 253.956 100.00% Conn: 1 Mbps: 253.956 Peak Mbps: 253.956 Avg Mbps: 253.956 4006 31728576 253.322 100.00% Conn: 1 Mbps: 253.322 Peak Mbps: 253.956 Avg Mbps: 253.322 5004 31466488 252.236 100.00% Conn: 1 Mbps: 252.236 Peak Mbps: 253.956 Avg Mbps: 252.236 --- 169.254.1.11 tcpbench statistics --- 189460664 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 251.395/252.663/253.956/0.890 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 57505640 459.127 100.00% Conn: 1 Mbps: 459.127 Peak Mbps: 459.127 Avg Mbps: 459.127 2001 57208328 458.125 100.00% Conn: 1 Mbps: 458.125 Peak Mbps: 459.127 Avg Mbps: 458.125 3001 57761192 462.090 100.00% Conn: 1 Mbps: 462.090 Peak Mbps: 462.090 Avg Mbps: 462.090 4001 57429328 459.435 100.00% Conn: 1 Mbps: 459.435 Peak Mbps: 462.090 Avg Mbps: 459.435 5004 57303416 457.512 100.00% Conn: 1 Mbps: 457.512 Peak Mbps: 462.090 Avg Mbps: 457.512 --- fc00:0:0:1::11 tcpbench statistics --- 344373608 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 457.512/459.258/462.090/1.575 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.192 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.192/0.192/0.192/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.225 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.225/0.225/0.225/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 136360964 1090.888 100.00% Conn: 1 Mbps: 1090.888 Peak Mbps: 1090.888 Avg Mbps: 1090.888 2000 137472632 1099.781 100.00% Conn: 1 Mbps: 1099.781 Peak Mbps: 1099.781 Avg Mbps: 1099.781 3000 137734360 1101.875 100.00% Conn: 1 Mbps: 1101.875 Peak Mbps: 1101.875 Avg Mbps: 1101.875 4000 136196708 1089.574 100.00% Conn: 1 Mbps: 1089.574 Peak Mbps: 1101.875 Avg Mbps: 1089.574 5000 133546712 1068.374 100.00% Conn: 1 Mbps: 1068.374 Peak Mbps: 1101.875 Avg Mbps: 1068.374 --- 169.254.1.12 tcpbench statistics --- 815250680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1068.374/1090.098/1101.875/11.877 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 127090324 1016.723 100.00% Conn: 1 Mbps: 1016.723 Peak Mbps: 1016.723 Avg Mbps: 1016.723 2000 128364496 1026.916 100.00% Conn: 1 Mbps: 1026.916 Peak Mbps: 1026.916 Avg Mbps: 1026.916 3000 128495280 1027.962 100.00% Conn: 1 Mbps: 1027.962 Peak Mbps: 1027.962 Avg Mbps: 1027.962 4000 128462584 1027.701 100.00% Conn: 1 Mbps: 1027.701 Peak Mbps: 1027.962 Avg Mbps: 1027.701 5000 128756848 1030.055 100.00% Conn: 1 Mbps: 1030.055 Peak Mbps: 1030.055 Avg Mbps: 1030.055 --- fc00:0:0:1::12 tcpbench statistics --- 769697508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1016.723/1025.871/1030.055/4.691 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.229 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.229/0.229/0.229/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 140842466 1126.740 100.00% Conn: 1 Mbps: 1126.740 Peak Mbps: 1126.740 Avg Mbps: 1126.740 2000 140613284 1124.906 100.00% Conn: 1 Mbps: 1124.906 Peak Mbps: 1126.740 Avg Mbps: 1124.906 3000 139435520 1115.484 100.00% Conn: 1 Mbps: 1115.484 Peak Mbps: 1126.740 Avg Mbps: 1115.484 4000 139599088 1116.793 100.00% Conn: 1 Mbps: 1116.793 Peak Mbps: 1126.740 Avg Mbps: 1116.793 5000 140515136 1124.121 100.00% Conn: 1 Mbps: 1124.121 Peak Mbps: 1126.740 Avg Mbps: 1124.121 --- 169.254.0.13 tcpbench statistics --- 842927418 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1115.484/1121.609/1126.740/4.565 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 140642852 1125.143 100.00% Conn: 1 Mbps: 1125.143 Peak Mbps: 1125.143 Avg Mbps: 1125.143 2000 139219568 1113.757 100.00% Conn: 1 Mbps: 1113.757 Peak Mbps: 1125.143 Avg Mbps: 1113.757 3000 141017848 1128.143 100.00% Conn: 1 Mbps: 1128.143 Peak Mbps: 1128.143 Avg Mbps: 1128.143 4000 139971576 1119.773 100.00% Conn: 1 Mbps: 1119.773 Peak Mbps: 1128.143 Avg Mbps: 1119.773 5000 139056088 1112.449 100.00% Conn: 1 Mbps: 1112.449 Peak Mbps: 1128.143 Avg Mbps: 1112.449 --- fc00::13 tcpbench statistics --- 841743180 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1112.449/1119.853/1128.143/6.143 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 1m59.51s