START sys/net/pair 2024-11-20T06:42:43Z ==== 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.310 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.310/0.310/0.310/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.365 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.365/0.365/0.365/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 88460960 707.688 100.00% Conn: 1 Mbps: 707.688 Peak Mbps: 707.688 Avg Mbps: 707.688 2000 91600700 733.539 100.00% Conn: 1 Mbps: 733.539 Peak Mbps: 733.539 Avg Mbps: 733.539 3000 91648388 733.187 100.00% Conn: 1 Mbps: 733.187 Peak Mbps: 733.539 Avg Mbps: 733.187 4000 91473532 731.788 100.00% Conn: 1 Mbps: 731.788 Peak Mbps: 733.539 Avg Mbps: 731.788 5000 92371656 738.973 100.00% Conn: 1 Mbps: 738.973 Peak Mbps: 738.973 Avg Mbps: 738.973 --- 169.254.1.11 tcpbench statistics --- 544405928 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 707.688/729.035/738.973/10.951 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 91695248 733.562 100.00% Conn: 1 Mbps: 733.562 Peak Mbps: 733.562 Avg Mbps: 733.562 2000 90894520 727.884 100.00% Conn: 1 Mbps: 727.884 Peak Mbps: 733.562 Avg Mbps: 727.884 3000 91504976 732.040 100.00% Conn: 1 Mbps: 732.040 Peak Mbps: 733.562 Avg Mbps: 732.040 4000 91330560 730.644 100.00% Conn: 1 Mbps: 730.644 Peak Mbps: 733.562 Avg Mbps: 730.644 5000 87287280 698.298 100.00% Conn: 1 Mbps: 698.298 Peak Mbps: 733.562 Avg Mbps: 698.298 --- fc00:0:0:1::11 tcpbench statistics --- 543527824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 698.298/724.486/733.562/13.227 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.488 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.488/0.488/0.488/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.893 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.893/0.893/0.893/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 27607568 220.200 100.00% Conn: 1 Mbps: 220.200 Peak Mbps: 220.200 Avg Mbps: 220.200 2003 27693000 221.544 100.00% Conn: 1 Mbps: 221.544 Peak Mbps: 221.544 Avg Mbps: 221.544 3005 26714152 213.287 100.00% Conn: 1 Mbps: 213.287 Peak Mbps: 221.544 Avg Mbps: 213.287 4007 27827664 222.399 100.00% Conn: 1 Mbps: 222.399 Peak Mbps: 222.399 Avg Mbps: 222.399 5008 28043416 224.347 100.00% Conn: 1 Mbps: 224.347 Peak Mbps: 224.347 Avg Mbps: 224.347 --- 169.254.1.12 tcpbench statistics --- 165726496 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 213.287/220.355/224.347/3.782 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 26784996 213.639 100.00% Conn: 1 Mbps: 213.639 Peak Mbps: 213.639 Avg Mbps: 213.639 2003 26335176 210.681 100.00% Conn: 1 Mbps: 210.681 Peak Mbps: 213.639 Avg Mbps: 210.681 3002 27083448 216.884 100.00% Conn: 1 Mbps: 216.884 Peak Mbps: 216.884 Avg Mbps: 216.884 4003 27420456 219.364 100.00% Conn: 1 Mbps: 219.364 Peak Mbps: 219.364 Avg Mbps: 219.364 5006 27181980 216.805 100.00% Conn: 1 Mbps: 216.805 Peak Mbps: 219.364 Avg Mbps: 216.805 --- fc00:0:0:1::12 tcpbench statistics --- 161329728 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 210.681/215.475/219.364/3.008 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.398 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.398/0.398/0.398/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.478 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.478/0.478/0.478/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 48967628 391.741 100.00% Conn: 1 Mbps: 391.741 Peak Mbps: 391.741 Avg Mbps: 391.741 2001 48117192 384.938 100.00% Conn: 1 Mbps: 384.938 Peak Mbps: 391.741 Avg Mbps: 384.938 3001 48125140 385.001 100.00% Conn: 1 Mbps: 385.001 Peak Mbps: 391.741 Avg Mbps: 385.001 4002 48657656 389.261 100.00% Conn: 1 Mbps: 389.261 Peak Mbps: 391.741 Avg Mbps: 389.261 5002 46456060 371.648 100.00% Conn: 1 Mbps: 371.648 Peak Mbps: 391.741 Avg Mbps: 371.648 --- 169.254.0.13 tcpbench statistics --- 288790580 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 371.648/384.518/391.741/6.938 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 48669992 389.360 100.00% Conn: 1 Mbps: 389.360 Peak Mbps: 389.360 Avg Mbps: 389.360 2000 48701704 389.614 100.00% Conn: 1 Mbps: 389.614 Peak Mbps: 389.614 Avg Mbps: 389.614 3026 46973400 366.622 100.00% Conn: 1 Mbps: 366.622 Peak Mbps: 389.614 Avg Mbps: 366.622 4027 47314304 378.514 100.00% Conn: 1 Mbps: 378.514 Peak Mbps: 389.614 Avg Mbps: 378.514 5027 47211240 378.068 100.00% Conn: 1 Mbps: 378.068 Peak Mbps: 389.614 Avg Mbps: 378.068 --- fc00::13 tcpbench statistics --- 284940248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 366.622/380.436/389.614/8.532 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.359 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.359/0.359/0.359/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 1002 27468560 219.310 100.00% Conn: 1 Mbps: 219.310 Peak Mbps: 219.310 Avg Mbps: 219.310 2002 26967552 215.956 100.00% Conn: 1 Mbps: 215.956 Peak Mbps: 219.310 Avg Mbps: 215.956 3003 27904408 223.235 100.00% Conn: 1 Mbps: 223.235 Peak Mbps: 223.235 Avg Mbps: 223.235 4003 27999976 224.000 100.00% Conn: 1 Mbps: 224.000 Peak Mbps: 224.000 Avg Mbps: 224.000 5004 28052104 224.417 100.00% Conn: 1 Mbps: 224.417 Peak Mbps: 224.417 Avg Mbps: 224.417 --- 169.254.1.11 tcpbench statistics --- 165992928 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 215.956/221.384/224.417/3.263 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1001 27169128 217.136 100.00% Conn: 1 Mbps: 217.136 Peak Mbps: 217.136 Avg Mbps: 217.136 2007 27370476 217.658 100.00% Conn: 1 Mbps: 217.658 Peak Mbps: 217.658 Avg Mbps: 217.658 3006 27377616 219.240 100.00% Conn: 1 Mbps: 219.240 Peak Mbps: 219.240 Avg Mbps: 219.240 4006 27319068 218.553 100.00% Conn: 1 Mbps: 218.553 Peak Mbps: 219.240 Avg Mbps: 218.553 5006 26276628 210.423 100.00% Conn: 1 Mbps: 210.423 Peak Mbps: 219.240 Avg Mbps: 210.423 --- fc00:0:0:1::11 tcpbench statistics --- 162620640 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 210.423/216.602/219.240/3.173 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.304 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.304/0.304/0.304/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.357 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.357/0.357/0.357/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 89613824 716.911 100.00% Conn: 1 Mbps: 716.911 Peak Mbps: 716.911 Avg Mbps: 716.911 2000 88721856 709.775 100.00% Conn: 1 Mbps: 709.775 Peak Mbps: 716.911 Avg Mbps: 709.775 3008 85702776 680.856 100.00% Conn: 1 Mbps: 680.856 Peak Mbps: 716.911 Avg Mbps: 680.856 4008 88930592 711.445 100.00% Conn: 1 Mbps: 711.445 Peak Mbps: 716.911 Avg Mbps: 711.445 5008 89517032 716.136 100.00% Conn: 1 Mbps: 716.136 Peak Mbps: 716.911 Avg Mbps: 716.136 --- 169.254.1.12 tcpbench statistics --- 530715616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 680.856/707.025/716.911/13.361 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 91761852 734.095 100.00% Conn: 1 Mbps: 734.095 Peak Mbps: 734.095 Avg Mbps: 734.095 2000 88164720 705.318 100.00% Conn: 1 Mbps: 705.318 Peak Mbps: 734.095 Avg Mbps: 705.318 3000 91226352 729.811 100.00% Conn: 1 Mbps: 729.811 Peak Mbps: 734.095 Avg Mbps: 729.811 4001 90666576 725.333 100.00% Conn: 1 Mbps: 725.333 Peak Mbps: 734.095 Avg Mbps: 725.333 5001 91079268 728.634 100.00% Conn: 1 Mbps: 728.634 Peak Mbps: 734.095 Avg Mbps: 728.634 --- fc00:0:0:1::12 tcpbench statistics --- 543305448 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 705.318/724.638/734.095/10.059 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.306 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.306/0.306/0.306/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.394 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.394/0.394/0.394/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 135118148 1080.945 100.00% Conn: 1 Mbps: 1080.945 Peak Mbps: 1080.945 Avg Mbps: 1080.945 2000 134266464 1075.207 100.00% Conn: 1 Mbps: 1075.207 Peak Mbps: 1080.945 Avg Mbps: 1075.207 3000 134560908 1076.487 100.00% Conn: 1 Mbps: 1076.487 Peak Mbps: 1080.945 Avg Mbps: 1076.487 4000 134757204 1078.058 100.00% Conn: 1 Mbps: 1078.058 Peak Mbps: 1080.945 Avg Mbps: 1078.058 5000 128737460 1029.900 100.00% Conn: 1 Mbps: 1029.900 Peak Mbps: 1080.945 Avg Mbps: 1029.900 --- 169.254.0.13 tcpbench statistics --- 801444920 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 1029.900/1068.119/1080.945/19.206 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 131618108 1052.945 100.00% Conn: 1 Mbps: 1052.945 Peak Mbps: 1052.945 Avg Mbps: 1052.945 2000 130260864 1043.130 100.00% Conn: 1 Mbps: 1043.130 Peak Mbps: 1052.945 Avg Mbps: 1043.130 3000 130260864 1042.087 100.00% Conn: 1 Mbps: 1042.087 Peak Mbps: 1052.945 Avg Mbps: 1042.087 4000 125094896 1000.759 100.00% Conn: 1 Mbps: 1000.759 Peak Mbps: 1052.945 Avg Mbps: 1000.759 5000 130457040 1043.656 100.00% Conn: 1 Mbps: 1043.656 Peak Mbps: 1052.945 Avg Mbps: 1043.656 --- fc00::13 tcpbench statistics --- 777789156 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1000.759/1036.515/1052.945/18.299 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.377 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.377/0.377/0.377/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.422 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.422/0.422/0.422/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 27244120 217.735 100.00% Conn: 1 Mbps: 217.735 Peak Mbps: 217.735 Avg Mbps: 217.735 2003 26315952 210.107 100.00% Conn: 1 Mbps: 210.107 Peak Mbps: 217.735 Avg Mbps: 210.107 3001 27606120 221.514 100.00% Conn: 1 Mbps: 221.514 Peak Mbps: 221.514 Avg Mbps: 221.514 4002 27674176 221.393 100.00% Conn: 1 Mbps: 221.393 Peak Mbps: 221.514 Avg Mbps: 221.393 5005 27581504 220.212 100.00% Conn: 1 Mbps: 220.212 Peak Mbps: 221.514 Avg Mbps: 220.212 --- 169.254.1.11 tcpbench statistics --- 163787624 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 210.107/218.192/221.514/4.264 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 1001 46026888 367.847 100.00% Conn: 1 Mbps: 367.847 Peak Mbps: 367.847 Avg Mbps: 367.847 2003 47457832 378.905 100.00% Conn: 1 Mbps: 378.905 Peak Mbps: 378.905 Avg Mbps: 378.905 3003 47400360 379.203 100.00% Conn: 1 Mbps: 379.203 Peak Mbps: 379.203 Avg Mbps: 379.203 4004 46586320 372.691 100.00% Conn: 1 Mbps: 372.691 Peak Mbps: 379.203 Avg Mbps: 372.691 5005 44420520 355.009 100.00% Conn: 1 Mbps: 355.009 Peak Mbps: 379.203 Avg Mbps: 355.009 --- fc00:0:0:1::11 tcpbench statistics --- 275374432 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 355.009/370.731/379.203/8.921 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.317 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.317/0.317/0.317/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.380 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.380/0.380/0.380/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 134905794 1079.246 100.00% Conn: 1 Mbps: 1079.246 Peak Mbps: 1079.246 Avg Mbps: 1079.246 2000 134004736 1073.111 100.00% Conn: 1 Mbps: 1073.111 Peak Mbps: 1079.246 Avg Mbps: 1073.111 3000 134102884 1072.823 100.00% Conn: 1 Mbps: 1072.823 Peak Mbps: 1079.246 Avg Mbps: 1072.823 4000 128802892 1030.423 100.00% Conn: 1 Mbps: 1030.423 Peak Mbps: 1079.246 Avg Mbps: 1030.423 5000 134004736 1072.038 100.00% Conn: 1 Mbps: 1072.038 Peak Mbps: 1079.246 Avg Mbps: 1072.038 --- 169.254.1.12 tcpbench statistics --- 799825778 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1030.423/1065.528/1079.246/17.741 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 130948092 1047.585 100.00% Conn: 1 Mbps: 1047.585 Peak Mbps: 1047.585 Avg Mbps: 1047.585 2000 128168320 1026.373 100.00% Conn: 1 Mbps: 1026.373 Peak Mbps: 1047.585 Avg Mbps: 1026.373 3000 126271952 1010.176 100.00% Conn: 1 Mbps: 1010.176 Peak Mbps: 1047.585 Avg Mbps: 1010.176 4000 130162776 1041.302 100.00% Conn: 1 Mbps: 1041.302 Peak Mbps: 1047.585 Avg Mbps: 1041.302 5000 130195472 1041.564 100.00% Conn: 1 Mbps: 1041.564 Peak Mbps: 1047.585 Avg Mbps: 1041.564 --- fc00:0:0:1::12 tcpbench statistics --- 775942084 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1010.176/1033.400/1047.585/13.558 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.317 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.317/0.317/0.317/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.380 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.380/0.380/0.380/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 132837032 1062.696 100.00% Conn: 1 Mbps: 1062.696 Peak Mbps: 1062.696 Avg Mbps: 1062.696 2000 135869476 1088.044 100.00% Conn: 1 Mbps: 1088.044 Peak Mbps: 1088.044 Avg Mbps: 1088.044 3000 136229340 1089.835 100.00% Conn: 1 Mbps: 1089.835 Peak Mbps: 1089.835 Avg Mbps: 1089.835 4000 136033056 1088.264 100.00% Conn: 1 Mbps: 1088.264 Peak Mbps: 1089.835 Avg Mbps: 1088.264 5000 134462676 1075.701 100.00% Conn: 1 Mbps: 1075.701 Peak Mbps: 1089.835 Avg Mbps: 1075.701 --- 169.254.0.13 tcpbench statistics --- 807833160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1062.696/1080.908/1089.835/10.426 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 136788472 1094.308 100.00% Conn: 1 Mbps: 1094.308 Peak Mbps: 1094.308 Avg Mbps: 1094.308 2000 135851880 1087.903 100.00% Conn: 1 Mbps: 1087.903 Peak Mbps: 1094.308 Avg Mbps: 1087.903 3000 136015360 1088.123 100.00% Conn: 1 Mbps: 1088.123 Peak Mbps: 1094.308 Avg Mbps: 1088.123 4000 130260864 1042.087 100.00% Conn: 1 Mbps: 1042.087 Peak Mbps: 1094.308 Avg Mbps: 1042.087 5000 136146144 1089.169 100.00% Conn: 1 Mbps: 1089.169 Peak Mbps: 1094.308 Avg Mbps: 1089.169 --- fc00::13 tcpbench statistics --- 811110776 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1042.087/1080.318/1094.308/19.257 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.91s