START sys/net/pair 2024-09-26T04:30:32Z ==== 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.294 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.294/0.294/0.294/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.399 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.399/0.399/0.399/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 90734368 725.875 100.00% Conn: 1 Mbps: 725.875 Peak Mbps: 725.875 Avg Mbps: 725.875 2018 90011100 707.356 100.00% Conn: 1 Mbps: 707.356 Peak Mbps: 725.875 Avg Mbps: 707.356 3019 88135372 705.083 100.00% Conn: 1 Mbps: 705.083 Peak Mbps: 725.875 Avg Mbps: 705.083 4019 90178008 721.424 100.00% Conn: 1 Mbps: 721.424 Peak Mbps: 725.875 Avg Mbps: 721.424 5019 89915724 719.326 100.00% Conn: 1 Mbps: 719.326 Peak Mbps: 725.875 Avg Mbps: 719.326 --- 169.254.1.11 tcpbench statistics --- 536132340 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 705.083/715.813/725.875/8.145 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 89459552 715.676 100.00% Conn: 1 Mbps: 715.676 Peak Mbps: 715.676 Avg Mbps: 715.676 2000 92408768 739.270 100.00% Conn: 1 Mbps: 739.270 Peak Mbps: 739.270 Avg Mbps: 739.270 3000 92916160 744.073 100.00% Conn: 1 Mbps: 744.073 Peak Mbps: 744.073 Avg Mbps: 744.073 4000 93138144 745.105 100.00% Conn: 1 Mbps: 745.105 Peak Mbps: 745.105 Avg Mbps: 745.105 5000 93489056 747.912 100.00% Conn: 1 Mbps: 747.912 Peak Mbps: 747.912 Avg Mbps: 747.912 --- fc00:0:0:1::11 tcpbench statistics --- 550807808 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 715.676/738.408/747.912/11.703 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.464 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.464/0.464/0.464/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.875 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.875/0.875/0.875/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 1003 27733544 221.205 100.00% Conn: 1 Mbps: 221.205 Peak Mbps: 221.205 Avg Mbps: 221.205 2002 27694448 221.777 100.00% Conn: 1 Mbps: 221.777 Peak Mbps: 221.777 Avg Mbps: 221.777 3003 27999976 224.000 100.00% Conn: 1 Mbps: 224.000 Peak Mbps: 224.000 Avg Mbps: 224.000 4005 26973344 215.356 100.00% Conn: 1 Mbps: 215.356 Peak Mbps: 224.000 Avg Mbps: 215.356 5006 27973912 223.791 100.00% Conn: 1 Mbps: 223.791 Peak Mbps: 224.000 Avg Mbps: 223.791 --- 169.254.1.12 tcpbench statistics --- 166283976 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 215.356/221.226/224.000/3.132 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 27667500 220.678 100.00% Conn: 1 Mbps: 220.678 Peak Mbps: 220.678 Avg Mbps: 220.678 2006 27875988 222.341 100.00% Conn: 1 Mbps: 222.341 Peak Mbps: 222.341 Avg Mbps: 222.341 3005 26660760 213.714 100.00% Conn: 1 Mbps: 213.714 Peak Mbps: 222.341 Avg Mbps: 213.714 4007 27884556 222.854 100.00% Conn: 1 Mbps: 222.854 Peak Mbps: 222.854 Avg Mbps: 222.854 5009 27930252 222.996 100.00% Conn: 1 Mbps: 222.996 Peak Mbps: 222.996 Avg Mbps: 222.996 --- fc00:0:0:1::12 tcpbench statistics --- 165650856 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 213.714/220.516/222.996/3.500 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.396 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.396/0.396/0.396/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.468 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.468/0.468/0.468/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 47091900 376.735 100.00% Conn: 1 Mbps: 376.735 Peak Mbps: 376.735 Avg Mbps: 376.735 2000 48570228 388.562 100.00% Conn: 1 Mbps: 388.562 Peak Mbps: 388.562 Avg Mbps: 388.562 3001 48180776 385.446 100.00% Conn: 1 Mbps: 385.446 Peak Mbps: 388.562 Avg Mbps: 385.446 4002 48037712 384.302 100.00% Conn: 1 Mbps: 384.302 Peak Mbps: 388.562 Avg Mbps: 384.302 5002 48411268 387.678 100.00% Conn: 1 Mbps: 387.678 Peak Mbps: 388.562 Avg Mbps: 387.678 --- 169.254.0.13 tcpbench statistics --- 286350544 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 376.735/384.545/388.562/4.191 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 49113960 392.912 100.00% Conn: 1 Mbps: 392.912 Peak Mbps: 392.912 Avg Mbps: 392.912 2000 48622944 389.373 100.00% Conn: 1 Mbps: 389.373 Peak Mbps: 392.912 Avg Mbps: 389.373 3001 47361872 378.895 100.00% Conn: 1 Mbps: 378.895 Peak Mbps: 392.912 Avg Mbps: 378.895 4001 48709632 389.677 100.00% Conn: 1 Mbps: 389.677 Peak Mbps: 392.912 Avg Mbps: 389.677 5002 45864520 366.916 100.00% Conn: 1 Mbps: 366.916 Peak Mbps: 392.912 Avg Mbps: 366.916 --- fc00::13 tcpbench statistics --- 287288496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 366.916/383.555/392.912/9.565 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.329 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.329/0.329/0.329/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.397 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.397/0.397/0.397/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 27724856 221.577 100.00% Conn: 1 Mbps: 221.577 Peak Mbps: 221.577 Avg Mbps: 221.577 2002 27927576 223.197 100.00% Conn: 1 Mbps: 223.197 Peak Mbps: 223.197 Avg Mbps: 223.197 3004 27000856 215.791 100.00% Conn: 1 Mbps: 215.791 Peak Mbps: 223.197 Avg Mbps: 215.791 4005 28037624 224.077 100.00% Conn: 1 Mbps: 224.077 Peak Mbps: 224.077 Avg Mbps: 224.077 5007 27934816 223.255 100.00% Conn: 1 Mbps: 223.255 Peak Mbps: 224.077 Avg Mbps: 223.255 --- 169.254.1.11 tcpbench statistics --- 166160896 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 215.791/221.580/224.077/3.006 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 27434736 219.040 100.00% Conn: 1 Mbps: 219.040 Peak Mbps: 219.040 Avg Mbps: 219.040 2006 26306616 209.823 100.00% Conn: 1 Mbps: 209.823 Peak Mbps: 219.040 Avg Mbps: 209.823 3007 27301932 218.197 100.00% Conn: 1 Mbps: 218.197 Peak Mbps: 219.040 Avg Mbps: 218.197 4007 27279084 218.451 100.00% Conn: 1 Mbps: 218.451 Peak Mbps: 219.040 Avg Mbps: 218.451 5008 27323352 218.587 100.00% Conn: 1 Mbps: 218.587 Peak Mbps: 219.040 Avg Mbps: 218.587 --- fc00:0:0:1::11 tcpbench statistics --- 162986208 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 209.823/216.820/219.040/3.509 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.299 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.299/0.299/0.299/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.349 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.349/0.349/0.349/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 90072840 720.583 100.00% Conn: 1 Mbps: 720.583 Peak Mbps: 720.583 Avg Mbps: 720.583 2000 89784688 718.278 100.00% Conn: 1 Mbps: 718.278 Peak Mbps: 720.583 Avg Mbps: 718.278 3001 89505224 716.042 100.00% Conn: 1 Mbps: 716.042 Peak Mbps: 720.583 Avg Mbps: 716.042 4001 89538528 716.308 100.00% Conn: 1 Mbps: 716.308 Peak Mbps: 720.583 Avg Mbps: 716.308 5001 85918528 687.348 100.00% Conn: 1 Mbps: 687.348 Peak Mbps: 720.583 Avg Mbps: 687.348 --- 169.254.1.12 tcpbench statistics --- 533424376 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 687.348/711.712/720.583/12.290 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 92387316 739.099 100.00% Conn: 1 Mbps: 739.099 Peak Mbps: 739.099 Avg Mbps: 739.099 2000 91914648 736.053 100.00% Conn: 1 Mbps: 736.053 Peak Mbps: 739.099 Avg Mbps: 736.053 3000 91864668 734.917 100.00% Conn: 1 Mbps: 734.917 Peak Mbps: 739.099 Avg Mbps: 734.917 4000 87556392 700.451 100.00% Conn: 1 Mbps: 700.451 Peak Mbps: 739.099 Avg Mbps: 700.451 5000 92061732 736.494 100.00% Conn: 1 Mbps: 736.494 Peak Mbps: 739.099 Avg Mbps: 736.494 --- fc00:0:0:1::12 tcpbench statistics --- 547682268 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 700.451/729.403/739.099/14.540 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.328 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.328/0.328/0.328/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.388 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.388/0.388/0.388/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 134266874 1074.135 100.00% Conn: 1 Mbps: 1074.135 Peak Mbps: 1074.135 Avg Mbps: 1074.135 2000 127886772 1024.118 100.00% Conn: 1 Mbps: 1024.118 Peak Mbps: 1074.135 Avg Mbps: 1024.118 3000 133219468 1065.756 100.00% Conn: 1 Mbps: 1065.756 Peak Mbps: 1074.135 Avg Mbps: 1065.756 4000 133121332 1064.971 100.00% Conn: 1 Mbps: 1064.971 Peak Mbps: 1074.135 Avg Mbps: 1064.971 5000 133415764 1067.326 100.00% Conn: 1 Mbps: 1067.326 Peak Mbps: 1074.135 Avg Mbps: 1067.326 --- 169.254.0.13 tcpbench statistics --- 794966110 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 1024.118/1059.261/1074.135/17.867 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 131276080 1050.209 100.00% Conn: 1 Mbps: 1050.209 Peak Mbps: 1050.209 Avg Mbps: 1050.209 2000 130293560 1043.392 100.00% Conn: 1 Mbps: 1043.392 Peak Mbps: 1050.209 Avg Mbps: 1043.392 3000 130260864 1042.087 100.00% Conn: 1 Mbps: 1042.087 Peak Mbps: 1050.209 Avg Mbps: 1042.087 4000 130358952 1042.872 100.00% Conn: 1 Mbps: 1042.872 Peak Mbps: 1050.209 Avg Mbps: 1042.872 5000 125225680 1002.808 100.00% Conn: 1 Mbps: 1002.808 Peak Mbps: 1050.209 Avg Mbps: 1002.808 --- fc00::13 tcpbench statistics --- 778035656 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 1002.808/1036.273/1050.209/16.983 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.350 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.350/0.350/0.350/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.421 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.421/0.421/0.421/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 1000 27255704 218.046 100.00% Conn: 1 Mbps: 218.046 Peak Mbps: 218.046 Avg Mbps: 218.046 2002 27688656 221.288 100.00% Conn: 1 Mbps: 221.288 Peak Mbps: 221.288 Avg Mbps: 221.288 3004 27926128 222.963 100.00% Conn: 1 Mbps: 222.963 Peak Mbps: 222.963 Avg Mbps: 222.963 4006 26795240 214.148 100.00% Conn: 1 Mbps: 214.148 Peak Mbps: 222.963 Avg Mbps: 214.148 5010 27973912 222.900 100.00% Conn: 1 Mbps: 222.900 Peak Mbps: 222.963 Avg Mbps: 222.900 --- 169.254.1.11 tcpbench statistics --- 165329744 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 214.148/219.869/222.963/3.371 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 47416144 379.329 100.00% Conn: 1 Mbps: 379.329 Peak Mbps: 379.329 Avg Mbps: 379.329 2001 43502096 348.017 100.00% Conn: 1 Mbps: 348.017 Peak Mbps: 379.329 Avg Mbps: 348.017 3007 45610944 362.711 100.00% Conn: 1 Mbps: 362.711 Peak Mbps: 379.329 Avg Mbps: 362.711 4008 45337488 362.338 100.00% Conn: 1 Mbps: 362.338 Peak Mbps: 379.329 Avg Mbps: 362.338 5013 45684224 364.018 100.00% Conn: 1 Mbps: 364.018 Peak Mbps: 379.329 Avg Mbps: 364.018 --- fc00:0:0:1::11 tcpbench statistics --- 272304232 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 348.017/363.282/379.329/9.923 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.292 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.292/0.292/0.292/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.400 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.400/0.400/0.400/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 133138990 1065.112 100.00% Conn: 1 Mbps: 1065.112 Peak Mbps: 1065.112 Avg Mbps: 1065.112 2000 132368864 1058.951 100.00% Conn: 1 Mbps: 1058.951 Peak Mbps: 1065.112 Avg Mbps: 1058.951 3000 128737376 1029.899 100.00% Conn: 1 Mbps: 1029.899 Peak Mbps: 1065.112 Avg Mbps: 1029.899 4000 131092940 1048.744 100.00% Conn: 1 Mbps: 1048.744 Peak Mbps: 1065.112 Avg Mbps: 1048.744 5001 126479984 1011.840 100.00% Conn: 1 Mbps: 1011.840 Peak Mbps: 1065.112 Avg Mbps: 1011.840 --- 169.254.1.12 tcpbench statistics --- 783401834 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1011.840/1042.909/1065.112/19.590 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 132632548 1061.060 100.00% Conn: 1 Mbps: 1061.060 Peak Mbps: 1061.060 Avg Mbps: 1061.060 2000 132091840 1057.793 100.00% Conn: 1 Mbps: 1057.793 Peak Mbps: 1061.060 Avg Mbps: 1057.793 3000 132026448 1056.212 100.00% Conn: 1 Mbps: 1056.212 Peak Mbps: 1061.060 Avg Mbps: 1056.212 4000 126827784 1014.622 100.00% Conn: 1 Mbps: 1014.622 Peak Mbps: 1061.060 Avg Mbps: 1014.622 5000 132124536 1056.996 100.00% Conn: 1 Mbps: 1056.996 Peak Mbps: 1061.060 Avg Mbps: 1056.996 --- fc00:0:0:1::12 tcpbench statistics --- 787598820 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 1014.622/1049.337/1061.060/17.435 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.307 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.307/0.307/0.307/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.377 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.377/0.377/0.377/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 137849094 1102.793 100.00% Conn: 1 Mbps: 1102.793 Peak Mbps: 1102.793 Avg Mbps: 1102.793 2000 130929360 1048.483 100.00% Conn: 1 Mbps: 1048.483 Peak Mbps: 1102.793 Avg Mbps: 1048.483 3000 136491068 1091.929 100.00% Conn: 1 Mbps: 1091.929 Peak Mbps: 1102.793 Avg Mbps: 1091.929 4000 136589216 1092.714 100.00% Conn: 1 Mbps: 1092.714 Peak Mbps: 1102.793 Avg Mbps: 1092.714 5000 136523808 1092.190 100.00% Conn: 1 Mbps: 1092.190 Peak Mbps: 1102.793 Avg Mbps: 1092.190 --- 169.254.0.13 tcpbench statistics --- 814562836 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 1048.483/1085.622/1102.793/19.012 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 130033884 1040.271 100.00% Conn: 1 Mbps: 1040.271 Peak Mbps: 1040.271 Avg Mbps: 1040.271 2000 134838304 1078.706 100.00% Conn: 1 Mbps: 1078.706 Peak Mbps: 1078.706 Avg Mbps: 1078.706 3000 134969088 1079.753 100.00% Conn: 1 Mbps: 1079.753 Peak Mbps: 1079.753 Avg Mbps: 1079.753 4000 134772912 1078.183 100.00% Conn: 1 Mbps: 1078.183 Peak Mbps: 1079.753 Avg Mbps: 1078.183 5000 134838304 1078.706 100.00% Conn: 1 Mbps: 1078.706 Peak Mbps: 1079.753 Avg Mbps: 1078.706 --- fc00::13 tcpbench statistics --- 798601692 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1040.271/1071.124/1079.753/15.435 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 2m02.79s