START sys/net/pair 2024-07-06T00:34:16Z ==== 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.314 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.314/0.314/0.314/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.366 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.366/0.366/0.366/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 106328344 850.627 100.00% Conn: 1 Mbps: 850.627 Peak Mbps: 850.627 Avg Mbps: 850.627 2000 103578336 829.456 100.00% Conn: 1 Mbps: 829.456 Peak Mbps: 850.627 Avg Mbps: 829.456 3000 103220676 825.765 100.00% Conn: 1 Mbps: 825.765 Peak Mbps: 850.627 Avg Mbps: 825.765 4000 103101456 824.812 100.00% Conn: 1 Mbps: 824.812 Peak Mbps: 850.627 Avg Mbps: 824.812 5000 104460564 835.685 100.00% Conn: 1 Mbps: 835.685 Peak Mbps: 850.627 Avg Mbps: 835.685 --- 169.254.1.11 tcpbench statistics --- 624537944 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 824.812/833.269/850.627/9.482 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 103761664 830.093 100.00% Conn: 1 Mbps: 830.093 Peak Mbps: 830.093 Avg Mbps: 830.093 2000 102778592 823.052 100.00% Conn: 1 Mbps: 823.052 Peak Mbps: 830.093 Avg Mbps: 823.052 3000 102548680 820.389 100.00% Conn: 1 Mbps: 820.389 Peak Mbps: 830.093 Avg Mbps: 820.389 4000 102794448 822.356 100.00% Conn: 1 Mbps: 822.356 Peak Mbps: 830.093 Avg Mbps: 822.356 5000 102580392 820.643 100.00% Conn: 1 Mbps: 820.643 Peak Mbps: 830.093 Avg Mbps: 820.643 --- fc00:0:0:1::11 tcpbench statistics --- 617107592 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 820.389/823.307/830.093/3.539 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.412 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.412/0.412/0.412/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.994 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.994/0.994/0.994/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 29821560 238.572 100.00% Conn: 1 Mbps: 238.572 Peak Mbps: 238.572 Avg Mbps: 238.572 2002 30164736 241.077 100.00% Conn: 1 Mbps: 241.077 Peak Mbps: 241.077 Avg Mbps: 241.077 3004 30160392 241.042 100.00% Conn: 1 Mbps: 241.042 Peak Mbps: 241.077 Avg Mbps: 241.042 4004 30195144 241.561 100.00% Conn: 1 Mbps: 241.561 Peak Mbps: 241.561 Avg Mbps: 241.561 5005 30196592 241.573 100.00% Conn: 1 Mbps: 241.573 Peak Mbps: 241.573 Avg Mbps: 241.573 --- 169.254.1.12 tcpbench statistics --- 180700264 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 238.572/240.765/241.573/1.120 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 1000 28021644 224.173 100.00% Conn: 1 Mbps: 224.173 Peak Mbps: 224.173 Avg Mbps: 224.173 2002 28212996 225.478 100.00% Conn: 1 Mbps: 225.478 Peak Mbps: 225.478 Avg Mbps: 225.478 3005 28211568 225.017 100.00% Conn: 1 Mbps: 225.017 Peak Mbps: 225.478 Avg Mbps: 225.017 4006 28164444 225.316 100.00% Conn: 1 Mbps: 225.316 Peak Mbps: 225.478 Avg Mbps: 225.316 5009 28305816 225.769 100.00% Conn: 1 Mbps: 225.769 Peak Mbps: 225.769 Avg Mbps: 225.769 --- fc00:0:0:1::12 tcpbench statistics --- 168869568 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 224.173/225.151/225.769/0.546 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.395 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.395/0.395/0.395/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.541 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.541/0.541/0.541/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 46281204 369.880 100.00% Conn: 1 Mbps: 369.880 Peak Mbps: 369.880 Avg Mbps: 369.880 2000 46217620 370.111 100.00% Conn: 1 Mbps: 370.111 Peak Mbps: 370.111 Avg Mbps: 370.111 3000 46082504 369.029 100.00% Conn: 1 Mbps: 369.029 Peak Mbps: 370.111 Avg Mbps: 369.029 4000 46074556 368.596 100.00% Conn: 1 Mbps: 368.596 Peak Mbps: 370.111 Avg Mbps: 368.596 5001 46233516 369.868 100.00% Conn: 1 Mbps: 369.868 Peak Mbps: 370.111 Avg Mbps: 369.868 --- 169.254.0.13 tcpbench statistics --- 276844736 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 368.596/369.497/370.111/0.582 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 42430656 339.106 100.00% Conn: 1 Mbps: 339.106 Peak Mbps: 339.106 Avg Mbps: 339.106 2001 42351376 339.150 100.00% Conn: 1 Mbps: 339.150 Peak Mbps: 339.150 Avg Mbps: 339.150 3001 42430656 339.785 100.00% Conn: 1 Mbps: 339.785 Peak Mbps: 339.785 Avg Mbps: 339.785 4001 42145248 337.162 100.00% Conn: 1 Mbps: 337.162 Peak Mbps: 339.785 Avg Mbps: 337.162 5001 42430656 339.445 100.00% Conn: 1 Mbps: 339.445 Peak Mbps: 339.785 Avg Mbps: 339.445 --- fc00::13 tcpbench statistics --- 254235104 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 337.162/338.930/339.785/0.917 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.313 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.313/0.313/0.313/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.402 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.402/0.402/0.402/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 30069168 240.313 100.00% Conn: 1 Mbps: 240.313 Peak Mbps: 240.313 Avg Mbps: 240.313 2006 30447096 242.365 100.00% Conn: 1 Mbps: 242.365 Peak Mbps: 242.365 Avg Mbps: 242.365 3005 30189352 241.999 100.00% Conn: 1 Mbps: 241.999 Peak Mbps: 242.365 Avg Mbps: 241.999 4008 30367456 242.455 100.00% Conn: 1 Mbps: 242.455 Peak Mbps: 242.455 Avg Mbps: 242.455 5013 30439856 242.307 100.00% Conn: 1 Mbps: 242.307 Peak Mbps: 242.455 Avg Mbps: 242.307 --- 169.254.1.11 tcpbench statistics --- 181421368 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 240.313/241.888/242.455/0.802 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 1000 28090188 224.722 100.00% Conn: 1 Mbps: 224.722 Peak Mbps: 224.722 Avg Mbps: 224.722 2003 28291536 225.655 100.00% Conn: 1 Mbps: 225.655 Peak Mbps: 225.655 Avg Mbps: 225.655 3003 28211568 225.693 100.00% Conn: 1 Mbps: 225.693 Peak Mbps: 225.693 Avg Mbps: 225.693 4004 28248696 225.990 100.00% Conn: 1 Mbps: 225.990 Peak Mbps: 225.990 Avg Mbps: 225.990 5003 28130172 225.267 100.00% Conn: 1 Mbps: 225.267 Peak Mbps: 225.990 Avg Mbps: 225.267 --- fc00:0:0:1::11 tcpbench statistics --- 169136604 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 224.722/225.465/225.990/0.437 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.279 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.279/0.279/0.279/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.363 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.363/0.363/0.363/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 97837016 782.696 100.00% Conn: 1 Mbps: 782.696 Peak Mbps: 782.696 Avg Mbps: 782.696 2000 94322720 755.337 100.00% Conn: 1 Mbps: 755.337 Peak Mbps: 782.696 Avg Mbps: 755.337 3000 94338648 754.709 100.00% Conn: 1 Mbps: 754.709 Peak Mbps: 782.696 Avg Mbps: 754.709 4000 94243080 753.945 100.00% Conn: 1 Mbps: 753.945 Peak Mbps: 782.696 Avg Mbps: 753.945 5000 93927416 751.419 100.00% Conn: 1 Mbps: 751.419 Peak Mbps: 782.696 Avg Mbps: 751.419 --- 169.254.1.12 tcpbench statistics --- 569026352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 751.419/759.621/782.696/11.614 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 90348132 722.785 100.00% Conn: 1 Mbps: 722.785 Peak Mbps: 722.785 Avg Mbps: 722.785 2000 89886888 719.095 100.00% Conn: 1 Mbps: 719.095 Peak Mbps: 722.785 Avg Mbps: 719.095 3000 87160836 697.287 100.00% Conn: 1 Mbps: 697.287 Peak Mbps: 722.785 Avg Mbps: 697.287 4000 87212244 697.698 100.00% Conn: 1 Mbps: 697.698 Peak Mbps: 722.785 Avg Mbps: 697.698 5000 86703876 693.631 100.00% Conn: 1 Mbps: 693.631 Peak Mbps: 722.785 Avg Mbps: 693.631 --- fc00:0:0:1::12 tcpbench statistics --- 528360000 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 693.631/706.099/722.785/12.256 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.312 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.312/0.312/0.312/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.396 ms --- fc00::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-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 104839092 838.713 100.00% Conn: 1 Mbps: 838.713 Peak Mbps: 838.713 Avg Mbps: 838.713 2000 98573260 789.375 100.00% Conn: 1 Mbps: 789.375 Peak Mbps: 838.713 Avg Mbps: 789.375 3000 99260284 794.082 100.00% Conn: 1 Mbps: 794.082 Peak Mbps: 838.713 Avg Mbps: 794.082 4000 98605964 788.848 100.00% Conn: 1 Mbps: 788.848 Peak Mbps: 838.713 Avg Mbps: 788.848 5001 98344236 786.754 100.00% Conn: 1 Mbps: 786.754 Peak Mbps: 838.713 Avg Mbps: 786.754 --- 169.254.0.13 tcpbench statistics --- 598883120 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 786.754/799.554/838.713/19.725 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 136392064 1091.137 100.00% Conn: 1 Mbps: 1091.137 Peak Mbps: 1091.137 Avg Mbps: 1091.137 2000 125192984 1002.546 100.00% Conn: 1 Mbps: 1002.546 Peak Mbps: 1091.137 Avg Mbps: 1002.546 3000 126533520 1012.268 100.00% Conn: 1 Mbps: 1012.268 Peak Mbps: 1091.137 Avg Mbps: 1012.268 4001 124866024 998.928 100.00% Conn: 1 Mbps: 998.928 Peak Mbps: 1091.137 Avg Mbps: 998.928 5001 125421856 1003.375 100.00% Conn: 1 Mbps: 1003.375 Peak Mbps: 1091.137 Avg Mbps: 1003.375 --- fc00::13 tcpbench statistics --- 763010904 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 998.928/1021.651/1091.137/35.019 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.342 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.342/0.342/0.342/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.456 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.456/0.456/0.456/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1002 29395848 234.697 100.00% Conn: 1 Mbps: 234.697 Peak Mbps: 234.697 Avg Mbps: 234.697 2006 29665176 236.612 100.00% Conn: 1 Mbps: 236.612 Peak Mbps: 236.612 Avg Mbps: 236.612 3003 29476936 236.525 100.00% Conn: 1 Mbps: 236.525 Peak Mbps: 236.612 Avg Mbps: 236.525 4007 29640560 236.415 100.00% Conn: 1 Mbps: 236.415 Peak Mbps: 236.612 Avg Mbps: 236.415 5007 29571056 236.568 100.00% Conn: 1 Mbps: 236.568 Peak Mbps: 236.612 Avg Mbps: 236.568 --- 169.254.1.11 tcpbench statistics --- 177143976 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 234.697/236.164/236.612/0.736 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 1007 48471360 385.075 100.00% Conn: 1 Mbps: 385.075 Peak Mbps: 385.075 Avg Mbps: 385.075 2005 47907728 384.415 100.00% Conn: 1 Mbps: 384.415 Peak Mbps: 385.075 Avg Mbps: 384.415 3007 48072144 383.810 100.00% Conn: 1 Mbps: 383.810 Peak Mbps: 385.075 Avg Mbps: 383.810 4011 47737240 380.756 100.00% Conn: 1 Mbps: 380.756 Peak Mbps: 385.075 Avg Mbps: 380.756 5011 47670904 381.367 100.00% Conn: 1 Mbps: 381.367 Peak Mbps: 385.075 Avg Mbps: 381.367 --- fc00:0:0:1::11 tcpbench statistics --- 287152624 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 380.756/383.085/385.075/1.711 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.303 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.303/0.303/0.303/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.395 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.395/0.395/0.395/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 111938784 895.510 100.00% Conn: 1 Mbps: 895.510 Peak Mbps: 895.510 Avg Mbps: 895.510 2000 97853556 782.828 100.00% Conn: 1 Mbps: 782.828 Peak Mbps: 895.510 Avg Mbps: 782.828 3000 99587504 796.700 100.00% Conn: 1 Mbps: 796.700 Peak Mbps: 895.510 Avg Mbps: 796.700 4000 98835036 790.680 100.00% Conn: 1 Mbps: 790.680 Peak Mbps: 895.510 Avg Mbps: 790.680 5000 98409728 787.278 100.00% Conn: 1 Mbps: 787.278 Peak Mbps: 895.510 Avg Mbps: 787.278 --- 169.254.1.12 tcpbench statistics --- 604641744 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 782.828/810.599/895.510/42.696 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 138844212 1110.754 100.00% Conn: 1 Mbps: 1110.754 Peak Mbps: 1110.754 Avg Mbps: 1110.754 2000 131928360 1055.427 100.00% Conn: 1 Mbps: 1055.427 Peak Mbps: 1110.754 Avg Mbps: 1055.427 3000 129966600 1039.733 100.00% Conn: 1 Mbps: 1039.733 Peak Mbps: 1110.754 Avg Mbps: 1039.733 4000 129705032 1037.640 100.00% Conn: 1 Mbps: 1037.640 Peak Mbps: 1110.754 Avg Mbps: 1037.640 5000 129574248 1036.594 100.00% Conn: 1 Mbps: 1036.594 Peak Mbps: 1110.754 Avg Mbps: 1036.594 --- fc00:0:0:1::12 tcpbench statistics --- 789690788 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1036.594/1056.030/1110.754/28.201 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.278 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.278/0.278/0.278/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.359 ms --- fc00::13 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-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 143068202 1144.546 100.00% Conn: 1 Mbps: 1144.546 Peak Mbps: 1144.546 Avg Mbps: 1144.546 2000 135837248 1087.786 100.00% Conn: 1 Mbps: 1087.786 Peak Mbps: 1144.546 Avg Mbps: 1087.786 3000 135280660 1082.245 100.00% Conn: 1 Mbps: 1082.245 Peak Mbps: 1144.546 Avg Mbps: 1082.245 4000 135771400 1087.258 100.00% Conn: 1 Mbps: 1087.258 Peak Mbps: 1144.546 Avg Mbps: 1087.258 5000 135182512 1081.460 100.00% Conn: 1 Mbps: 1081.460 Peak Mbps: 1144.546 Avg Mbps: 1081.460 --- 169.254.0.13 tcpbench statistics --- 820845990 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1081.460/1096.659/1144.546/24.079 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 143832476 1150.660 100.00% Conn: 1 Mbps: 1150.660 Peak Mbps: 1150.660 Avg Mbps: 1150.660 2000 138500256 1109.111 100.00% Conn: 1 Mbps: 1109.111 Peak Mbps: 1150.660 Avg Mbps: 1109.111 3000 137977120 1103.817 100.00% Conn: 1 Mbps: 1103.817 Peak Mbps: 1150.660 Avg Mbps: 1103.817 4000 138761824 1110.095 100.00% Conn: 1 Mbps: 1110.095 Peak Mbps: 1150.660 Avg Mbps: 1110.095 5000 138500256 1108.002 100.00% Conn: 1 Mbps: 1108.002 Peak Mbps: 1150.660 Avg Mbps: 1108.002 --- fc00::13 tcpbench statistics --- 836039492 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1103.817/1116.337/1150.660/17.294 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 2m11.43s