START sys/net/pair 2024-08-05T22:00:57Z ==== 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.172 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.172/0.172/0.172/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.226 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.226/0.226/0.226/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 49961128 399.689 100.00% Conn: 1 Mbps: 399.689 Peak Mbps: 399.689 Avg Mbps: 399.689 2000 50517488 404.140 100.00% Conn: 1 Mbps: 404.140 Peak Mbps: 404.140 Avg Mbps: 404.140 3001 49841908 398.735 100.00% Conn: 1 Mbps: 398.735 Peak Mbps: 404.140 Avg Mbps: 398.735 4001 49523988 396.588 100.00% Conn: 1 Mbps: 396.588 Peak Mbps: 404.140 Avg Mbps: 396.588 5001 50151880 401.215 100.00% Conn: 1 Mbps: 401.215 Peak Mbps: 404.140 Avg Mbps: 401.215 --- 169.254.1.11 tcpbench statistics --- 299901884 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 396.588/400.074/404.140/2.527 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 47195384 377.563 100.00% Conn: 1 Mbps: 377.563 Peak Mbps: 377.563 Avg Mbps: 377.563 2001 46775200 374.202 100.00% Conn: 1 Mbps: 374.202 Peak Mbps: 377.563 Avg Mbps: 374.202 3001 47203312 377.626 100.00% Conn: 1 Mbps: 377.626 Peak Mbps: 377.626 Avg Mbps: 377.626 4001 46973400 375.787 100.00% Conn: 1 Mbps: 375.787 Peak Mbps: 377.626 Avg Mbps: 375.787 5001 47131960 377.056 100.00% Conn: 1 Mbps: 377.056 Peak Mbps: 377.626 Avg Mbps: 377.056 --- fc00:0:0:1::11 tcpbench statistics --- 282696624 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 374.202/376.447/377.626/1.303 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.328 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.328/0.328/0.328/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.739 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.739/0.739/0.739/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 31120416 248.466 100.00% Conn: 1 Mbps: 248.466 Peak Mbps: 248.466 Avg Mbps: 248.466 2002 31566400 252.531 100.00% Conn: 1 Mbps: 252.531 Peak Mbps: 252.531 Avg Mbps: 252.531 3004 31611288 252.638 100.00% Conn: 1 Mbps: 252.638 Peak Mbps: 252.638 Avg Mbps: 252.638 4006 31686584 252.987 100.00% Conn: 1 Mbps: 252.987 Peak Mbps: 252.987 Avg Mbps: 252.987 5006 31288384 250.307 100.00% Conn: 1 Mbps: 250.307 Peak Mbps: 252.987 Avg Mbps: 250.307 --- 169.254.1.12 tcpbench statistics --- 188588968 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 248.466/251.386/252.987/1.739 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 1002 29938020 239.026 100.00% Conn: 1 Mbps: 239.026 Peak Mbps: 239.026 Avg Mbps: 239.026 2005 30275028 241.717 100.00% Conn: 1 Mbps: 241.717 Peak Mbps: 241.717 Avg Mbps: 241.717 3004 29900892 239.447 100.00% Conn: 1 Mbps: 239.447 Peak Mbps: 241.717 Avg Mbps: 239.447 4005 30199344 241.353 100.00% Conn: 1 Mbps: 241.353 Peak Mbps: 241.717 Avg Mbps: 241.353 5006 30210768 241.686 100.00% Conn: 1 Mbps: 241.686 Peak Mbps: 241.717 Avg Mbps: 241.686 --- fc00:0:0:1::12 tcpbench statistics --- 180779088 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 239.026/240.646/241.717/1.165 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.232 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.232/0.232/0.232/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.306 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.306/0.306/0.306/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 31005148 248.041 100.00% Conn: 1 Mbps: 248.041 Peak Mbps: 248.041 Avg Mbps: 248.041 2001 30242140 241.937 100.00% Conn: 1 Mbps: 241.937 Peak Mbps: 248.041 Avg Mbps: 241.937 3002 31060784 248.486 100.00% Conn: 1 Mbps: 248.486 Peak Mbps: 248.486 Avg Mbps: 248.486 4002 30766708 246.380 100.00% Conn: 1 Mbps: 246.380 Peak Mbps: 248.486 Avg Mbps: 246.380 5002 31100524 248.804 100.00% Conn: 1 Mbps: 248.804 Peak Mbps: 248.804 Avg Mbps: 248.804 --- 169.254.0.13 tcpbench statistics --- 184878428 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 241.937/246.730/248.804/2.538 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 32441376 259.531 100.00% Conn: 1 Mbps: 259.531 Peak Mbps: 259.531 Avg Mbps: 259.531 2001 32972552 263.780 100.00% Conn: 1 Mbps: 263.780 Peak Mbps: 263.780 Avg Mbps: 263.780 3001 33162824 265.568 100.00% Conn: 1 Mbps: 265.568 Peak Mbps: 265.568 Avg Mbps: 265.568 4001 32813992 262.512 100.00% Conn: 1 Mbps: 262.512 Peak Mbps: 265.568 Avg Mbps: 262.512 5001 33012192 264.362 100.00% Conn: 1 Mbps: 264.362 Peak Mbps: 265.568 Avg Mbps: 264.362 --- fc00::13 tcpbench statistics --- 197185216 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 259.531/263.151/265.568/2.060 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.190 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.190/0.190/0.190/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 1000 31466488 251.732 100.00% Conn: 1 Mbps: 251.732 Peak Mbps: 251.732 Avg Mbps: 251.732 2002 31732920 253.357 100.00% Conn: 1 Mbps: 253.357 Peak Mbps: 253.357 Avg Mbps: 253.357 3005 31763328 253.599 100.00% Conn: 1 Mbps: 253.599 Peak Mbps: 253.599 Avg Mbps: 253.599 4005 31476624 251.813 100.00% Conn: 1 Mbps: 251.813 Peak Mbps: 253.599 Avg Mbps: 251.813 5008 31785048 253.520 100.00% Conn: 1 Mbps: 253.520 Peak Mbps: 253.599 Avg Mbps: 253.520 --- 169.254.1.11 tcpbench statistics --- 189515688 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 251.732/252.804/253.599/0.846 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 30267888 241.419 100.00% Conn: 1 Mbps: 241.419 Peak Mbps: 241.419 Avg Mbps: 241.419 2001 30286452 242.777 100.00% Conn: 1 Mbps: 242.777 Peak Mbps: 242.777 Avg Mbps: 242.777 3004 30497796 243.495 100.00% Conn: 1 Mbps: 243.495 Peak Mbps: 243.495 Avg Mbps: 243.495 4002 30220764 242.251 100.00% Conn: 1 Mbps: 242.251 Peak Mbps: 243.495 Avg Mbps: 242.251 5006 30483516 243.139 100.00% Conn: 1 Mbps: 243.139 Peak Mbps: 243.495 Avg Mbps: 243.139 --- fc00:0:0:1::11 tcpbench statistics --- 181620180 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 241.419/242.616/243.495/0.727 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.180 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.180/0.180/0.180/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.231 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.231/0.231/0.231/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 1001 44100288 352.450 100.00% Conn: 1 Mbps: 352.450 Peak Mbps: 352.450 Avg Mbps: 352.450 2001 44762024 358.096 100.00% Conn: 1 Mbps: 358.096 Peak Mbps: 358.096 Avg Mbps: 358.096 3002 44990808 359.567 100.00% Conn: 1 Mbps: 359.567 Peak Mbps: 359.567 Avg Mbps: 359.567 4002 46336000 371.059 100.00% Conn: 1 Mbps: 371.059 Peak Mbps: 371.059 Avg Mbps: 371.059 5002 46495280 371.962 100.00% Conn: 1 Mbps: 371.962 Peak Mbps: 371.962 Avg Mbps: 371.962 --- 169.254.1.12 tcpbench statistics --- 271808424 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 352.450/362.627/371.962/7.638 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 46768428 374.147 100.00% Conn: 1 Mbps: 374.147 Peak Mbps: 374.147 Avg Mbps: 374.147 2000 46178664 369.799 100.00% Conn: 1 Mbps: 369.799 Peak Mbps: 374.147 Avg Mbps: 369.799 3001 46088700 368.341 100.00% Conn: 1 Mbps: 368.341 Peak Mbps: 374.147 Avg Mbps: 368.341 4001 45840228 366.722 100.00% Conn: 1 Mbps: 366.722 Peak Mbps: 374.147 Avg Mbps: 366.722 5002 45661728 365.294 100.00% Conn: 1 Mbps: 365.294 Peak Mbps: 374.147 Avg Mbps: 365.294 --- fc00:0:0:1::12 tcpbench statistics --- 276527916 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 365.294/368.861/374.147/3.046 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.180 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.180/0.180/0.180/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.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-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 136966166 1095.729 100.00% Conn: 1 Mbps: 1095.729 Peak Mbps: 1095.729 Avg Mbps: 1095.729 2000 134593540 1076.748 100.00% Conn: 1 Mbps: 1076.748 Peak Mbps: 1095.729 Avg Mbps: 1076.748 3000 137996016 1103.968 100.00% Conn: 1 Mbps: 1103.968 Peak Mbps: 1103.968 Avg Mbps: 1103.968 4000 137407116 1099.257 100.00% Conn: 1 Mbps: 1099.257 Peak Mbps: 1103.968 Avg Mbps: 1099.257 5000 137243536 1097.948 100.00% Conn: 1 Mbps: 1097.948 Peak Mbps: 1103.968 Avg Mbps: 1097.948 --- 169.254.0.13 tcpbench statistics --- 822464118 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1076.748/1094.730/1103.968/9.387 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 122628148 981.025 100.00% Conn: 1 Mbps: 981.025 Peak Mbps: 981.025 Avg Mbps: 981.025 2000 124375584 996.001 100.00% Conn: 1 Mbps: 996.001 Peak Mbps: 996.001 Avg Mbps: 996.001 3000 124375584 995.005 100.00% Conn: 1 Mbps: 995.005 Peak Mbps: 996.001 Avg Mbps: 995.005 4000 123787056 990.296 100.00% Conn: 1 Mbps: 990.296 Peak Mbps: 996.001 Avg Mbps: 990.296 5000 122577304 980.618 100.00% Conn: 1 Mbps: 980.618 Peak Mbps: 996.001 Avg Mbps: 980.618 --- fc00::13 tcpbench statistics --- 741759604 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 980.618/988.589/996.001/6.629 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.190 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.190/0.190/0.190/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.265 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.265/0.265/0.265/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 31438976 251.010 100.00% Conn: 1 Mbps: 251.010 Peak Mbps: 251.010 Avg Mbps: 251.010 2005 31621424 252.466 100.00% Conn: 1 Mbps: 252.466 Peak Mbps: 252.466 Avg Mbps: 252.466 3005 31718440 253.748 100.00% Conn: 1 Mbps: 253.748 Peak Mbps: 253.748 Avg Mbps: 253.748 4005 31827040 254.616 100.00% Conn: 1 Mbps: 254.616 Peak Mbps: 254.616 Avg Mbps: 254.616 5008 31909576 254.767 100.00% Conn: 1 Mbps: 254.767 Peak Mbps: 254.767 Avg Mbps: 254.767 --- 169.254.1.11 tcpbench statistics --- 189996424 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 251.010/253.321/254.767/1.416 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 1003 55915656 445.987 100.00% Conn: 1 Mbps: 445.987 Peak Mbps: 445.987 Avg Mbps: 445.987 2001 55540176 445.212 100.00% Conn: 1 Mbps: 445.212 Peak Mbps: 445.987 Avg Mbps: 445.212 3004 56224640 448.899 100.00% Conn: 1 Mbps: 448.899 Peak Mbps: 448.899 Avg Mbps: 448.899 4006 57082400 456.203 100.00% Conn: 1 Mbps: 456.203 Peak Mbps: 456.203 Avg Mbps: 456.203 5008 56744456 453.050 100.00% Conn: 1 Mbps: 453.050 Peak Mbps: 456.203 Avg Mbps: 453.050 --- fc00:0:0:1::11 tcpbench statistics --- 338104584 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 445.212/449.870/456.203/4.194 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.187 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.187/0.187/0.187/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.246 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.246/0.246/0.246/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 136704150 1093.633 100.00% Conn: 1 Mbps: 1093.633 Peak Mbps: 1093.633 Avg Mbps: 1093.633 2000 137210820 1097.687 100.00% Conn: 1 Mbps: 1097.687 Peak Mbps: 1097.687 Avg Mbps: 1097.687 3000 136785512 1094.284 100.00% Conn: 1 Mbps: 1094.284 Peak Mbps: 1097.687 Avg Mbps: 1094.284 4000 137636128 1101.089 100.00% Conn: 1 Mbps: 1101.089 Peak Mbps: 1101.089 Avg Mbps: 1101.089 5000 138094164 1104.753 100.00% Conn: 1 Mbps: 1104.753 Peak Mbps: 1104.753 Avg Mbps: 1104.753 --- 169.254.1.12 tcpbench statistics --- 823936050 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1093.633/1098.289/1104.753/4.188 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 126468740 1011.750 100.00% Conn: 1 Mbps: 1011.750 Peak Mbps: 1011.750 Avg Mbps: 1011.750 2000 127874056 1022.992 100.00% Conn: 1 Mbps: 1022.992 Peak Mbps: 1022.992 Avg Mbps: 1022.992 3000 127350920 1018.807 100.00% Conn: 1 Mbps: 1018.807 Peak Mbps: 1022.992 Avg Mbps: 1018.807 4000 127220136 1017.761 100.00% Conn: 1 Mbps: 1017.761 Peak Mbps: 1022.992 Avg Mbps: 1017.761 5000 127579792 1020.638 100.00% Conn: 1 Mbps: 1020.638 Peak Mbps: 1022.992 Avg Mbps: 1020.638 --- fc00:0:0:1::12 tcpbench statistics --- 762732900 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1011.750/1018.390/1022.992/3.766 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.174 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.174/0.174/0.174/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.232 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.232/0.232/0.232/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 187675798 1501.406 100.00% Conn: 1 Mbps: 1501.406 Peak Mbps: 1501.406 Avg Mbps: 1501.406 2000 190308864 1522.471 100.00% Conn: 1 Mbps: 1522.471 Peak Mbps: 1522.471 Avg Mbps: 1522.471 3000 190505160 1524.041 100.00% Conn: 1 Mbps: 1524.041 Peak Mbps: 1524.041 Avg Mbps: 1524.041 4000 187789732 1502.318 100.00% Conn: 1 Mbps: 1502.318 Peak Mbps: 1524.041 Avg Mbps: 1502.318 5000 189294668 1514.357 100.00% Conn: 1 Mbps: 1514.357 Peak Mbps: 1524.041 Avg Mbps: 1514.357 --- 169.254.0.13 tcpbench statistics --- 1131466426 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1501.406/1512.919/1524.041/9.612 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 141133004 1129.064 100.00% Conn: 1 Mbps: 1129.064 Peak Mbps: 1129.064 Avg Mbps: 1129.064 2000 138794520 1110.356 100.00% Conn: 1 Mbps: 1110.356 Peak Mbps: 1129.064 Avg Mbps: 1110.356 3000 138892608 1111.141 100.00% Conn: 1 Mbps: 1111.141 Peak Mbps: 1129.064 Avg Mbps: 1111.141 4000 141442896 1131.543 100.00% Conn: 1 Mbps: 1131.543 Peak Mbps: 1131.543 Avg Mbps: 1131.543 5000 142685344 1141.483 100.00% Conn: 1 Mbps: 1141.483 Peak Mbps: 1141.483 Avg Mbps: 1141.483 --- fc00::13 tcpbench statistics --- 844195092 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1110.356/1124.717/1141.483/12.142 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.59s