START sys/net/pair 2024-08-06T04:41:49Z ==== 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.296 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.296/0.296/0.296/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.382 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.382/0.382/0.382/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 93166176 745.329 100.00% Conn: 1 Mbps: 745.329 Peak Mbps: 745.329 Avg Mbps: 745.329 2000 93619492 749.706 100.00% Conn: 1 Mbps: 749.706 Peak Mbps: 749.706 Avg Mbps: 749.706 3000 92896224 743.170 100.00% Conn: 1 Mbps: 743.170 Peak Mbps: 749.706 Avg Mbps: 743.170 4000 91481480 731.852 100.00% Conn: 1 Mbps: 731.852 Peak Mbps: 749.706 Avg Mbps: 731.852 5000 87968464 703.748 100.00% Conn: 1 Mbps: 703.748 Peak Mbps: 749.706 Avg Mbps: 703.748 --- 169.254.1.11 tcpbench statistics --- 550041060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 703.748/734.761/749.706/16.589 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 94232208 753.858 100.00% Conn: 1 Mbps: 753.858 Peak Mbps: 753.858 Avg Mbps: 753.858 2000 93613824 749.660 100.00% Conn: 1 Mbps: 749.660 Peak Mbps: 753.858 Avg Mbps: 749.660 3000 89919376 719.355 100.00% Conn: 1 Mbps: 719.355 Peak Mbps: 753.858 Avg Mbps: 719.355 4000 93193640 745.549 100.00% Conn: 1 Mbps: 745.549 Peak Mbps: 753.858 Avg Mbps: 745.549 5000 93431480 747.452 100.00% Conn: 1 Mbps: 747.452 Peak Mbps: 753.858 Avg Mbps: 747.452 --- fc00:0:0:1::11 tcpbench statistics --- 557322544 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 719.355/743.175/753.858/12.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.461 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.461/0.461/0.461/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.794 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.794/0.794/0.794/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 1000 26604104 212.833 100.00% Conn: 1 Mbps: 212.833 Peak Mbps: 212.833 Avg Mbps: 212.833 2000 27746576 222.195 100.00% Conn: 1 Mbps: 222.195 Peak Mbps: 222.195 Avg Mbps: 222.195 3002 27934816 223.032 100.00% Conn: 1 Mbps: 223.032 Peak Mbps: 223.032 Avg Mbps: 223.032 4004 28008664 223.845 100.00% Conn: 1 Mbps: 223.845 Peak Mbps: 223.845 Avg Mbps: 223.845 5004 27994184 223.953 100.00% Conn: 1 Mbps: 223.953 Peak Mbps: 223.953 Avg Mbps: 223.953 --- 169.254.1.12 tcpbench statistics --- 165154536 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 212.833/221.172/223.953/4.217 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1002 27401892 218.778 100.00% Conn: 1 Mbps: 218.778 Peak Mbps: 218.778 Avg Mbps: 218.778 2004 27366192 218.711 100.00% Conn: 1 Mbps: 218.711 Peak Mbps: 218.778 Avg Mbps: 218.711 3005 27627516 220.799 100.00% Conn: 1 Mbps: 220.799 Peak Mbps: 220.799 Avg Mbps: 220.799 4006 27427596 219.421 100.00% Conn: 1 Mbps: 219.421 Peak Mbps: 220.799 Avg Mbps: 219.421 5008 26483688 211.447 100.00% Conn: 1 Mbps: 211.447 Peak Mbps: 220.799 Avg Mbps: 211.447 --- fc00:0:0:1::12 tcpbench statistics --- 163497432 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 211.447/217.831/220.799/3.279 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.407 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.407/0.407/0.407/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.501 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.501/0.501/0.501/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 1001 50334684 402.275 100.00% Conn: 1 Mbps: 402.275 Peak Mbps: 402.275 Avg Mbps: 402.275 2001 50279048 402.232 100.00% Conn: 1 Mbps: 402.232 Peak Mbps: 402.275 Avg Mbps: 402.232 3001 47536988 380.296 100.00% Conn: 1 Mbps: 380.296 Peak Mbps: 402.275 Avg Mbps: 380.296 4001 49039160 392.313 100.00% Conn: 1 Mbps: 392.313 Peak Mbps: 402.275 Avg Mbps: 392.313 5002 48594072 388.753 100.00% Conn: 1 Mbps: 388.753 Peak Mbps: 402.275 Avg Mbps: 388.753 --- 169.254.0.13 tcpbench statistics --- 294831060 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 380.296/393.174/402.275/8.379 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 48836480 390.302 100.00% Conn: 1 Mbps: 390.302 Peak Mbps: 390.302 Avg Mbps: 390.302 2001 47520432 380.544 100.00% Conn: 1 Mbps: 380.544 Peak Mbps: 390.302 Avg Mbps: 380.544 3002 49145672 392.773 100.00% Conn: 1 Mbps: 392.773 Peak Mbps: 392.773 Avg Mbps: 392.773 4002 47219168 377.753 100.00% Conn: 1 Mbps: 377.753 Peak Mbps: 392.773 Avg Mbps: 377.753 5002 47433224 379.466 100.00% Conn: 1 Mbps: 379.466 Peak Mbps: 392.773 Avg Mbps: 379.466 --- fc00::13 tcpbench statistics --- 288087664 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 377.753/384.167/392.773/6.133 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.337 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.337/0.337/0.337/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.423 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.423/0.423/0.423/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1003 27985496 223.214 100.00% Conn: 1 Mbps: 223.214 Peak Mbps: 223.214 Avg Mbps: 223.214 2001 27749472 222.441 100.00% Conn: 1 Mbps: 222.441 Peak Mbps: 223.214 Avg Mbps: 222.441 3005 28027488 223.549 100.00% Conn: 1 Mbps: 223.549 Peak Mbps: 223.549 Avg Mbps: 223.549 4006 28008664 224.069 100.00% Conn: 1 Mbps: 224.069 Peak Mbps: 224.069 Avg Mbps: 224.069 5006 27018232 216.146 100.00% Conn: 1 Mbps: 216.146 Peak Mbps: 224.069 Avg Mbps: 216.146 --- 169.254.1.11 tcpbench statistics --- 166624256 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 216.146/221.884/224.069/2.917 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 27199116 217.376 100.00% Conn: 1 Mbps: 217.376 Peak Mbps: 217.376 Avg Mbps: 217.376 2002 27239100 217.695 100.00% Conn: 1 Mbps: 217.695 Peak Mbps: 217.695 Avg Mbps: 217.695 3004 27410460 219.065 100.00% Conn: 1 Mbps: 219.065 Peak Mbps: 219.065 Avg Mbps: 219.065 4008 26569368 211.708 100.00% Conn: 1 Mbps: 211.708 Peak Mbps: 219.065 Avg Mbps: 211.708 5008 27648936 221.413 100.00% Conn: 1 Mbps: 221.413 Peak Mbps: 221.413 Avg Mbps: 221.413 --- fc00:0:0:1::11 tcpbench statistics --- 163486008 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 211.708/217.451/221.413/3.205 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.295 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.295/0.295/0.295/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.371 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.371/0.371/0.371/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 91753968 734.032 100.00% Conn: 1 Mbps: 734.032 Peak Mbps: 734.032 Avg Mbps: 734.032 2000 86968328 695.747 100.00% Conn: 1 Mbps: 695.747 Peak Mbps: 734.032 Avg Mbps: 695.747 3000 91104040 729.562 100.00% Conn: 1 Mbps: 729.562 Peak Mbps: 734.032 Avg Mbps: 729.562 4000 90753400 726.027 100.00% Conn: 1 Mbps: 726.027 Peak Mbps: 734.032 Avg Mbps: 726.027 5000 91357216 730.858 100.00% Conn: 1 Mbps: 730.858 Peak Mbps: 734.032 Avg Mbps: 730.858 --- 169.254.1.12 tcpbench statistics --- 542849632 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 695.747/723.245/734.032/13.987 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 89762652 718.101 100.00% Conn: 1 Mbps: 718.101 Peak Mbps: 718.101 Avg Mbps: 718.101 2000 92013180 736.842 100.00% Conn: 1 Mbps: 736.842 Peak Mbps: 736.842 Avg Mbps: 736.842 3000 91944636 735.557 100.00% Conn: 1 Mbps: 735.557 Peak Mbps: 736.842 Avg Mbps: 735.557 4000 92405880 739.247 100.00% Conn: 1 Mbps: 739.247 Peak Mbps: 739.247 Avg Mbps: 739.247 5000 91080696 728.646 100.00% Conn: 1 Mbps: 728.646 Peak Mbps: 739.247 Avg Mbps: 728.646 --- fc00:0:0:1::12 tcpbench statistics --- 545844432 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 718.101/731.679/739.247/7.649 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.333 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.333/0.333/0.333/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.405 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.405/0.405/0.405/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 132483722 1059.870 100.00% Conn: 1 Mbps: 1059.870 Peak Mbps: 1059.870 Avg Mbps: 1059.870 2000 131616396 1053.985 100.00% Conn: 1 Mbps: 1053.985 Peak Mbps: 1059.870 Avg Mbps: 1053.985 3006 130700336 1040.401 100.00% Conn: 1 Mbps: 1040.401 Peak Mbps: 1059.870 Avg Mbps: 1040.401 4006 127821340 1022.571 100.00% Conn: 1 Mbps: 1022.571 Peak Mbps: 1059.870 Avg Mbps: 1022.571 5006 131747260 1053.978 100.00% Conn: 1 Mbps: 1053.978 Peak Mbps: 1059.870 Avg Mbps: 1053.978 --- 169.254.0.13 tcpbench statistics --- 785003958 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1022.571/1046.161/1059.870/13.416 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 131616804 1052.934 100.00% Conn: 1 Mbps: 1052.934 Peak Mbps: 1052.934 Avg Mbps: 1052.934 2000 125454552 1003.636 100.00% Conn: 1 Mbps: 1003.636 Peak Mbps: 1052.934 Avg Mbps: 1003.636 3000 130751304 1046.010 100.00% Conn: 1 Mbps: 1046.010 Peak Mbps: 1052.934 Avg Mbps: 1046.010 4000 131012872 1048.103 100.00% Conn: 1 Mbps: 1048.103 Peak Mbps: 1052.934 Avg Mbps: 1048.103 5000 131503312 1052.026 100.00% Conn: 1 Mbps: 1052.026 Peak Mbps: 1052.934 Avg Mbps: 1052.026 --- fc00::13 tcpbench statistics --- 781580588 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1003.636/1040.542/1052.934/18.626 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.353 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.353/0.353/0.353/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.443 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.443/0.443/0.443/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 27368648 218.949 100.00% Conn: 1 Mbps: 218.949 Peak Mbps: 218.949 Avg Mbps: 218.949 2000 27716168 221.729 100.00% Conn: 1 Mbps: 221.729 Peak Mbps: 221.729 Avg Mbps: 221.729 3003 27913096 222.859 100.00% Conn: 1 Mbps: 222.859 Peak Mbps: 222.859 Avg Mbps: 222.859 4004 27989840 223.695 100.00% Conn: 1 Mbps: 223.695 Peak Mbps: 223.695 Avg Mbps: 223.695 5005 26772072 213.963 100.00% Conn: 1 Mbps: 213.963 Peak Mbps: 223.695 Avg Mbps: 213.963 --- 169.254.1.11 tcpbench statistics --- 165580248 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 213.963/220.239/223.695/3.524 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 47172472 377.003 100.00% Conn: 1 Mbps: 377.003 Peak Mbps: 377.003 Avg Mbps: 377.003 2001 47336936 378.695 100.00% Conn: 1 Mbps: 378.695 Peak Mbps: 378.695 Avg Mbps: 378.695 3003 47307200 378.080 100.00% Conn: 1 Mbps: 378.080 Peak Mbps: 378.695 Avg Mbps: 378.080 4003 45329768 362.638 100.00% Conn: 1 Mbps: 362.638 Peak Mbps: 378.695 Avg Mbps: 362.638 5004 47319104 378.175 100.00% Conn: 1 Mbps: 378.175 Peak Mbps: 378.695 Avg Mbps: 378.175 --- fc00:0:0:1::11 tcpbench statistics --- 281390184 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 362.638/374.918/378.695/6.165 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.316 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.316/0.316/0.316/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.376 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.376/0.376/0.376/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 132746334 1061.971 100.00% Conn: 1 Mbps: 1061.971 Peak Mbps: 1061.971 Avg Mbps: 1061.971 2000 126708996 1014.687 100.00% Conn: 1 Mbps: 1014.687 Peak Mbps: 1061.971 Avg Mbps: 1014.687 3000 132238000 1057.904 100.00% Conn: 1 Mbps: 1057.904 Peak Mbps: 1061.971 Avg Mbps: 1057.904 4000 132139852 1057.119 100.00% Conn: 1 Mbps: 1057.119 Peak Mbps: 1061.971 Avg Mbps: 1057.119 5000 132630580 1061.045 100.00% Conn: 1 Mbps: 1061.045 Peak Mbps: 1061.971 Avg Mbps: 1061.045 --- 169.254.1.12 tcpbench statistics --- 788996206 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1014.687/1050.545/1061.971/18.022 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 124457900 995.663 100.00% Conn: 1 Mbps: 995.663 Peak Mbps: 995.663 Avg Mbps: 995.663 2000 129083808 1033.704 100.00% Conn: 1 Mbps: 1033.704 Peak Mbps: 1033.704 Avg Mbps: 1033.704 3000 129279984 1034.240 100.00% Conn: 1 Mbps: 1034.240 Peak Mbps: 1034.240 Avg Mbps: 1034.240 4000 129345376 1034.763 100.00% Conn: 1 Mbps: 1034.763 Peak Mbps: 1034.763 Avg Mbps: 1034.763 5000 129214592 1033.717 100.00% Conn: 1 Mbps: 1033.717 Peak Mbps: 1034.763 Avg Mbps: 1033.717 --- fc00:0:0:1::12 tcpbench statistics --- 765037932 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 995.663/1026.417/1034.763/15.382 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.300 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.300/0.300/0.300/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.355 ms --- fc00::13 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-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 135820806 1086.566 100.00% Conn: 1 Mbps: 1086.566 Peak Mbps: 1086.566 Avg Mbps: 1086.566 2000 134462676 1076.778 100.00% Conn: 1 Mbps: 1076.778 Peak Mbps: 1086.566 Avg Mbps: 1076.778 3000 134691700 1077.534 100.00% Conn: 1 Mbps: 1077.534 Peak Mbps: 1086.566 Avg Mbps: 1077.534 4000 129031832 1032.255 100.00% Conn: 1 Mbps: 1032.255 Peak Mbps: 1086.566 Avg Mbps: 1032.255 5000 134708058 1077.664 100.00% Conn: 1 Mbps: 1077.664 Peak Mbps: 1086.566 Avg Mbps: 1077.664 --- 169.254.0.13 tcpbench statistics --- 803325054 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1032.255/1070.159/1086.566/19.290 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 133515104 1068.121 100.00% Conn: 1 Mbps: 1068.121 Peak Mbps: 1068.121 Avg Mbps: 1068.121 2000 132255320 1059.102 100.00% Conn: 1 Mbps: 1059.102 Peak Mbps: 1068.121 Avg Mbps: 1059.102 3000 126991264 1015.930 100.00% Conn: 1 Mbps: 1015.930 Peak Mbps: 1068.121 Avg Mbps: 1015.930 4000 132353408 1058.827 100.00% Conn: 1 Mbps: 1058.827 Peak Mbps: 1068.121 Avg Mbps: 1058.827 5000 132386104 1059.089 100.00% Conn: 1 Mbps: 1059.089 Peak Mbps: 1068.121 Avg Mbps: 1059.089 --- fc00::13 tcpbench statistics --- 789821912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1015.930/1052.214/1068.121/18.482 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.03s