START sys/net/pair 2024-06-06T05:13:17Z ==== 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.300 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.300/0.300/0.300/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.368 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.368/0.368/0.368/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 93158508 745.268 100.00% Conn: 1 Mbps: 745.268 Peak Mbps: 745.268 Avg Mbps: 745.268 2000 92673680 741.389 100.00% Conn: 1 Mbps: 741.389 Peak Mbps: 745.268 Avg Mbps: 741.389 3000 88342020 706.736 100.00% Conn: 1 Mbps: 706.736 Peak Mbps: 745.268 Avg Mbps: 706.736 4001 92586252 740.690 100.00% Conn: 1 Mbps: 740.690 Peak Mbps: 745.268 Avg Mbps: 740.690 5000 92403448 739.968 100.00% Conn: 1 Mbps: 739.968 Peak Mbps: 745.268 Avg Mbps: 739.968 --- 169.254.1.11 tcpbench statistics --- 551750160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 706.736/734.810/745.268/14.156 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 89245496 713.964 100.00% Conn: 1 Mbps: 713.964 Peak Mbps: 713.964 Avg Mbps: 713.964 2000 92289848 739.058 100.00% Conn: 1 Mbps: 739.058 Peak Mbps: 739.058 Avg Mbps: 739.058 3000 93217944 745.744 100.00% Conn: 1 Mbps: 745.744 Peak Mbps: 745.744 Avg Mbps: 745.744 4000 94057792 752.462 100.00% Conn: 1 Mbps: 752.462 Peak Mbps: 752.462 Avg Mbps: 752.462 5000 93574184 748.593 100.00% Conn: 1 Mbps: 748.593 Peak Mbps: 752.462 Avg Mbps: 748.593 --- fc00:0:0:1::11 tcpbench statistics --- 551606976 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 713.964/739.964/752.462/13.718 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.449 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.449/0.449/0.449/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.815 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.815/0.815/0.815/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 1001 27512000 219.876 100.00% Conn: 1 Mbps: 219.876 Peak Mbps: 219.876 Avg Mbps: 219.876 2000 27658248 221.487 100.00% Conn: 1 Mbps: 221.487 Peak Mbps: 221.487 Avg Mbps: 221.487 3003 27913096 222.859 100.00% Conn: 1 Mbps: 222.859 Peak Mbps: 222.859 Avg Mbps: 222.859 4003 27066016 216.528 100.00% Conn: 1 Mbps: 216.528 Peak Mbps: 222.859 Avg Mbps: 216.528 5005 27092080 216.304 100.00% Conn: 1 Mbps: 216.304 Peak Mbps: 222.859 Avg Mbps: 216.304 --- 169.254.1.12 tcpbench statistics --- 164585472 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 216.304/219.411/222.859/2.622 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 1003 27124860 216.350 100.00% Conn: 1 Mbps: 216.350 Peak Mbps: 216.350 Avg Mbps: 216.350 2002 27261948 218.533 100.00% Conn: 1 Mbps: 218.533 Peak Mbps: 218.533 Avg Mbps: 218.533 3003 26466552 211.521 100.00% Conn: 1 Mbps: 211.521 Peak Mbps: 218.533 Avg Mbps: 211.521 4005 27614664 220.697 100.00% Conn: 1 Mbps: 220.697 Peak Mbps: 220.697 Avg Mbps: 220.697 5006 27666072 221.329 100.00% Conn: 1 Mbps: 221.329 Peak Mbps: 221.329 Avg Mbps: 221.329 --- fc00:0:0:1::12 tcpbench statistics --- 163717344 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 211.521/217.686/221.329/3.545 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.393 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.393/0.393/0.393/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.502 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.502/0.502/0.502/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 48840460 390.724 100.00% Conn: 1 Mbps: 390.724 Peak Mbps: 390.724 Avg Mbps: 390.724 2000 48959680 391.677 100.00% Conn: 1 Mbps: 391.677 Peak Mbps: 391.677 Avg Mbps: 391.677 3000 49937284 399.498 100.00% Conn: 1 Mbps: 399.498 Peak Mbps: 399.498 Avg Mbps: 399.498 4001 48435112 387.481 100.00% Conn: 1 Mbps: 387.481 Peak Mbps: 399.498 Avg Mbps: 387.481 5001 49889596 399.516 100.00% Conn: 1 Mbps: 399.516 Peak Mbps: 399.516 Avg Mbps: 399.516 --- 169.254.0.13 tcpbench statistics --- 293146084 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 387.481/393.779/399.516/4.879 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 45364016 362.550 100.00% Conn: 1 Mbps: 362.550 Peak Mbps: 362.550 Avg Mbps: 362.550 2001 45031040 360.248 100.00% Conn: 1 Mbps: 360.248 Peak Mbps: 362.550 Avg Mbps: 360.248 3001 45831768 366.654 100.00% Conn: 1 Mbps: 366.654 Peak Mbps: 366.654 Avg Mbps: 366.654 4002 45482936 363.863 100.00% Conn: 1 Mbps: 363.863 Peak Mbps: 366.654 Avg Mbps: 363.863 5002 42208672 337.669 100.00% Conn: 1 Mbps: 337.669 Peak Mbps: 366.654 Avg Mbps: 337.669 --- fc00::13 tcpbench statistics --- 267665136 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 337.669/358.197/366.654/10.471 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.340 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.340/0.340/0.340/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.404 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.404/0.404/0.404/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 1002 27626392 220.570 100.00% Conn: 1 Mbps: 220.570 Peak Mbps: 220.570 Avg Mbps: 220.570 2003 27794360 222.355 100.00% Conn: 1 Mbps: 222.355 Peak Mbps: 222.355 Avg Mbps: 222.355 3007 26857504 214.217 100.00% Conn: 1 Mbps: 214.217 Peak Mbps: 222.355 Avg Mbps: 214.217 4008 27999976 223.776 100.00% Conn: 1 Mbps: 223.776 Peak Mbps: 223.776 Avg Mbps: 223.776 5011 28079616 224.189 100.00% Conn: 1 Mbps: 224.189 Peak Mbps: 224.189 Avg Mbps: 224.189 --- 169.254.1.11 tcpbench statistics --- 166130488 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 214.217/221.021/224.189/3.630 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1002 27339060 218.276 100.00% Conn: 1 Mbps: 218.276 Peak Mbps: 218.276 Avg Mbps: 218.276 2007 26332320 209.611 100.00% Conn: 1 Mbps: 209.611 Peak Mbps: 218.276 Avg Mbps: 209.611 3004 27380472 219.703 100.00% Conn: 1 Mbps: 219.703 Peak Mbps: 219.703 Avg Mbps: 219.703 4006 27490428 219.704 100.00% Conn: 1 Mbps: 219.704 Peak Mbps: 219.704 Avg Mbps: 219.704 5006 27590388 220.944 100.00% Conn: 1 Mbps: 220.944 Peak Mbps: 220.944 Avg Mbps: 220.944 --- fc00:0:0:1::11 tcpbench statistics --- 163564548 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 209.611/217.647/220.944/4.106 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.300 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.300/0.300/0.300/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.355 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.355/0.355/0.355/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 91764104 734.113 100.00% Conn: 1 Mbps: 734.113 Peak Mbps: 734.113 Avg Mbps: 734.113 2000 90946040 727.568 100.00% Conn: 1 Mbps: 727.568 Peak Mbps: 734.113 Avg Mbps: 727.568 3000 91588896 733.445 100.00% Conn: 1 Mbps: 733.445 Peak Mbps: 734.113 Avg Mbps: 733.445 4000 90882272 727.058 100.00% Conn: 1 Mbps: 727.058 Peak Mbps: 734.113 Avg Mbps: 727.058 5000 87408520 699.968 100.00% Conn: 1 Mbps: 699.968 Peak Mbps: 734.113 Avg Mbps: 699.968 --- 169.254.1.12 tcpbench statistics --- 543630160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 699.968/724.430/734.113/12.571 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 91329168 730.633 100.00% Conn: 1 Mbps: 730.633 Peak Mbps: 730.633 Avg Mbps: 730.633 2000 89914020 719.312 100.00% Conn: 1 Mbps: 719.312 Peak Mbps: 730.633 Avg Mbps: 719.312 3018 89686968 705.502 100.00% Conn: 1 Mbps: 705.502 Peak Mbps: 730.633 Avg Mbps: 705.502 4018 88504400 708.035 100.00% Conn: 1 Mbps: 708.035 Peak Mbps: 730.633 Avg Mbps: 708.035 5019 90966456 727.732 100.00% Conn: 1 Mbps: 727.732 Peak Mbps: 730.633 Avg Mbps: 727.732 --- fc00:0:0:1::12 tcpbench statistics --- 539052680 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 705.502/718.243/730.633/10.112 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.310 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.310/0.310/0.310/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.383 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.383/0.383/0.383/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 133939350 1071.515 100.00% Conn: 1 Mbps: 1071.515 Peak Mbps: 1071.515 Avg Mbps: 1071.515 2000 127461464 1020.712 100.00% Conn: 1 Mbps: 1020.712 Peak Mbps: 1071.515 Avg Mbps: 1020.712 3000 133055888 1064.447 100.00% Conn: 1 Mbps: 1064.447 Peak Mbps: 1071.515 Avg Mbps: 1064.447 4000 132794172 1062.353 100.00% Conn: 1 Mbps: 1062.353 Peak Mbps: 1071.515 Avg Mbps: 1062.353 5000 132728740 1061.830 100.00% Conn: 1 Mbps: 1061.830 Peak Mbps: 1071.515 Avg Mbps: 1061.830 --- 169.254.0.13 tcpbench statistics --- 792741058 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1020.712/1056.172/1071.515/18.064 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 131744340 1053.955 100.00% Conn: 1 Mbps: 1053.955 Peak Mbps: 1053.955 Avg Mbps: 1053.955 2000 131012872 1049.152 100.00% Conn: 1 Mbps: 1049.152 Peak Mbps: 1053.955 Avg Mbps: 1049.152 3000 131274440 1050.196 100.00% Conn: 1 Mbps: 1050.196 Peak Mbps: 1053.955 Avg Mbps: 1050.196 4000 131045568 1048.365 100.00% Conn: 1 Mbps: 1048.365 Peak Mbps: 1053.955 Avg Mbps: 1048.365 5000 125650728 1005.206 100.00% Conn: 1 Mbps: 1005.206 Peak Mbps: 1053.955 Avg Mbps: 1005.206 --- fc00::13 tcpbench statistics --- 781740820 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1005.206/1041.375/1053.955/18.186 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.349 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.349/0.349/0.349/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.426 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.426/0.426/0.426/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 27257152 217.839 100.00% Conn: 1 Mbps: 217.839 Peak Mbps: 217.839 Avg Mbps: 217.839 2001 27297696 218.600 100.00% Conn: 1 Mbps: 218.600 Peak Mbps: 218.600 Avg Mbps: 218.600 3003 26854608 214.408 100.00% Conn: 1 Mbps: 214.408 Peak Mbps: 218.600 Avg Mbps: 214.408 4001 26958864 216.103 100.00% Conn: 1 Mbps: 216.103 Peak Mbps: 218.600 Avg Mbps: 216.103 5002 27716168 221.729 100.00% Conn: 1 Mbps: 221.729 Peak Mbps: 221.729 Avg Mbps: 221.729 --- 169.254.1.11 tcpbench statistics --- 163783280 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 214.408/217.736/221.729/2.468 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 47190304 376.769 100.00% Conn: 1 Mbps: 376.769 Peak Mbps: 376.769 Avg Mbps: 376.769 2002 45386696 363.094 100.00% Conn: 1 Mbps: 363.094 Peak Mbps: 376.769 Avg Mbps: 363.094 3003 45822760 366.582 100.00% Conn: 1 Mbps: 366.582 Peak Mbps: 376.769 Avg Mbps: 366.582 4006 46116024 368.192 100.00% Conn: 1 Mbps: 368.192 Peak Mbps: 376.769 Avg Mbps: 368.192 5008 44457656 354.951 100.00% Conn: 1 Mbps: 354.951 Peak Mbps: 376.769 Avg Mbps: 354.951 --- fc00:0:0:1::11 tcpbench statistics --- 273119952 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 354.951/365.918/376.769/7.094 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.320 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.320/0.320/0.320/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.384 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.384/0.384/0.384/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 134413810 1075.310 100.00% Conn: 1 Mbps: 1075.310 Peak Mbps: 1075.310 Avg Mbps: 1075.310 2000 133023184 1065.251 100.00% Conn: 1 Mbps: 1065.251 Peak Mbps: 1075.310 Avg Mbps: 1065.251 3000 133186752 1065.494 100.00% Conn: 1 Mbps: 1065.494 Peak Mbps: 1075.310 Avg Mbps: 1065.494 4000 133415776 1067.326 100.00% Conn: 1 Mbps: 1067.326 Peak Mbps: 1075.310 Avg Mbps: 1067.326 5001 127870426 1022.963 100.00% Conn: 1 Mbps: 1022.963 Peak Mbps: 1075.310 Avg Mbps: 1022.963 --- 169.254.1.12 tcpbench statistics --- 794769624 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1022.963/1059.269/1075.310/18.520 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 131401876 1051.215 100.00% Conn: 1 Mbps: 1051.215 Peak Mbps: 1051.215 Avg Mbps: 1051.215 2000 130228168 1042.868 100.00% Conn: 1 Mbps: 1042.868 Peak Mbps: 1051.215 Avg Mbps: 1042.868 3000 130424344 1043.395 100.00% Conn: 1 Mbps: 1043.395 Peak Mbps: 1051.215 Avg Mbps: 1043.395 4000 124866024 998.928 100.00% Conn: 1 Mbps: 998.928 Peak Mbps: 1051.215 Avg Mbps: 998.928 5000 130260864 1042.087 100.00% Conn: 1 Mbps: 1042.087 Peak Mbps: 1051.215 Avg Mbps: 1042.087 --- fc00:0:0:1::12 tcpbench statistics --- 777442140 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 998.928/1035.699/1051.215/18.678 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.299 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.299/0.299/0.299/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.361 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.361/0.361/0.361/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 134927982 1079.424 100.00% Conn: 1 Mbps: 1079.424 Peak Mbps: 1079.424 Avg Mbps: 1079.424 2000 128802820 1031.454 100.00% Conn: 1 Mbps: 1031.454 Peak Mbps: 1079.424 Avg Mbps: 1031.454 3000 134560824 1076.487 100.00% Conn: 1 Mbps: 1076.487 Peak Mbps: 1079.424 Avg Mbps: 1076.487 4000 134217318 1073.739 100.00% Conn: 1 Mbps: 1073.739 Peak Mbps: 1079.424 Avg Mbps: 1073.739 5000 134250034 1074.000 100.00% Conn: 1 Mbps: 1074.000 Peak Mbps: 1079.424 Avg Mbps: 1074.000 --- 169.254.0.13 tcpbench statistics --- 800910912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1031.454/1067.021/1079.424/17.901 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 132128316 1057.027 100.00% Conn: 1 Mbps: 1057.027 Peak Mbps: 1057.027 Avg Mbps: 1057.027 2000 136865456 1094.924 100.00% Conn: 1 Mbps: 1094.924 Peak Mbps: 1094.924 Avg Mbps: 1094.924 3000 136636584 1093.093 100.00% Conn: 1 Mbps: 1093.093 Peak Mbps: 1094.924 Avg Mbps: 1093.093 4000 136505800 1092.046 100.00% Conn: 1 Mbps: 1092.046 Peak Mbps: 1094.924 Avg Mbps: 1092.046 5000 136636584 1093.093 100.00% Conn: 1 Mbps: 1093.093 Peak Mbps: 1094.924 Avg Mbps: 1093.093 --- fc00::13 tcpbench statistics --- 809556740 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1057.027/1086.036/1094.924/14.534 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 2m03.02s