START sys/net/pair 2024-06-05T09:22:44Z ==== 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.212 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.212/0.212/0.212/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.237 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.237/0.237/0.237/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 110636160 885.089 100.00% Conn: 1 Mbps: 885.089 Peak Mbps: 885.089 Avg Mbps: 885.089 2000 110453356 883.627 100.00% Conn: 1 Mbps: 883.627 Peak Mbps: 885.089 Avg Mbps: 883.627 3001 110620264 884.962 100.00% Conn: 1 Mbps: 884.962 Peak Mbps: 885.089 Avg Mbps: 884.962 4001 110262604 882.101 100.00% Conn: 1 Mbps: 882.101 Peak Mbps: 885.089 Avg Mbps: 882.101 5001 110644108 885.153 100.00% Conn: 1 Mbps: 885.153 Peak Mbps: 885.153 Avg Mbps: 885.153 --- 169.254.1.11 tcpbench statistics --- 662704240 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 882.101/884.186/885.153/1.184 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 111784800 894.278 100.00% Conn: 1 Mbps: 894.278 Peak Mbps: 894.278 Avg Mbps: 894.278 2000 111015784 889.015 100.00% Conn: 1 Mbps: 889.015 Peak Mbps: 894.278 Avg Mbps: 889.015 3000 110992000 888.825 100.00% Conn: 1 Mbps: 888.825 Peak Mbps: 894.278 Avg Mbps: 888.825 4000 110881008 887.048 100.00% Conn: 1 Mbps: 887.048 Peak Mbps: 894.278 Avg Mbps: 887.048 5000 110904792 887.238 100.00% Conn: 1 Mbps: 887.238 Peak Mbps: 894.278 Avg Mbps: 887.238 --- fc00:0:0:1::11 tcpbench statistics --- 666316688 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 887.048/889.281/894.278/2.623 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.323 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.323/0.323/0.323/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.693 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.693/0.693/0.693/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1001 40510696 323.762 100.00% Conn: 1 Mbps: 323.762 Peak Mbps: 323.762 Avg Mbps: 323.762 2001 40572960 324.584 100.00% Conn: 1 Mbps: 324.584 Peak Mbps: 324.584 Avg Mbps: 324.584 3003 40646808 324.850 100.00% Conn: 1 Mbps: 324.850 Peak Mbps: 324.850 Avg Mbps: 324.850 4005 40742376 325.288 100.00% Conn: 1 Mbps: 325.288 Peak Mbps: 325.288 Avg Mbps: 325.288 5007 40297840 322.061 100.00% Conn: 1 Mbps: 322.061 Peak Mbps: 325.288 Avg Mbps: 322.061 --- 169.254.1.12 tcpbench statistics --- 243366808 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 322.061/324.109/325.288/1.139 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 1001 38844456 310.445 100.00% Conn: 1 Mbps: 310.445 Peak Mbps: 310.445 Avg Mbps: 310.445 2003 39294276 313.727 100.00% Conn: 1 Mbps: 313.727 Peak Mbps: 313.727 Avg Mbps: 313.727 3004 39324264 314.280 100.00% Conn: 1 Mbps: 314.280 Peak Mbps: 314.280 Avg Mbps: 314.280 4005 39078648 312.629 100.00% Conn: 1 Mbps: 312.629 Peak Mbps: 314.280 Avg Mbps: 312.629 5006 39264288 313.801 100.00% Conn: 1 Mbps: 313.801 Peak Mbps: 314.280 Avg Mbps: 313.801 --- fc00:0:0:1::12 tcpbench statistics --- 234791760 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 310.445/312.976/314.280/1.376 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.274 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.274/0.274/0.274/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.340 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.340/0.340/0.340/0.000 ms ==== run-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 62050036 496.400 100.00% Conn: 1 Mbps: 496.400 Peak Mbps: 496.400 Avg Mbps: 496.400 2000 62407696 499.262 100.00% Conn: 1 Mbps: 499.262 Peak Mbps: 499.262 Avg Mbps: 499.262 3000 61803648 494.429 100.00% Conn: 1 Mbps: 494.429 Peak Mbps: 499.262 Avg Mbps: 494.429 4000 62312320 498.499 100.00% Conn: 1 Mbps: 498.499 Peak Mbps: 499.262 Avg Mbps: 498.499 5001 61763908 494.111 100.00% Conn: 1 Mbps: 494.111 Peak Mbps: 499.262 Avg Mbps: 494.111 --- 169.254.0.13 tcpbench statistics --- 373198340 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 494.111/496.540/499.262/2.079 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 60990104 487.921 100.00% Conn: 1 Mbps: 487.921 Peak Mbps: 487.921 Avg Mbps: 487.921 2000 60062528 480.500 100.00% Conn: 1 Mbps: 480.500 Peak Mbps: 487.921 Avg Mbps: 480.500 3000 60022888 480.183 100.00% Conn: 1 Mbps: 480.183 Peak Mbps: 487.921 Avg Mbps: 480.183 4001 60340008 482.720 100.00% Conn: 1 Mbps: 482.720 Peak Mbps: 487.921 Avg Mbps: 482.720 5001 60451000 483.608 100.00% Conn: 1 Mbps: 483.608 Peak Mbps: 487.921 Avg Mbps: 483.608 --- fc00::13 tcpbench statistics --- 362341312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 480.183/482.986/487.921/2.787 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.214 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.214/0.214/0.214/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.266 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.266/0.266/0.266/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 1000 40500560 324.004 100.00% Conn: 1 Mbps: 324.004 Peak Mbps: 324.004 Avg Mbps: 324.004 2002 40826360 326.285 100.00% Conn: 1 Mbps: 326.285 Peak Mbps: 326.285 Avg Mbps: 326.285 3003 40806088 326.123 100.00% Conn: 1 Mbps: 326.123 Peak Mbps: 326.285 Avg Mbps: 326.123 4002 40619296 325.280 100.00% Conn: 1 Mbps: 325.280 Peak Mbps: 326.285 Avg Mbps: 325.280 5003 40720656 325.765 100.00% Conn: 1 Mbps: 325.765 Peak Mbps: 326.285 Avg Mbps: 325.765 --- 169.254.1.11 tcpbench statistics --- 244140040 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 324.004/325.491/326.285/0.820 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 38810184 310.171 100.00% Conn: 1 Mbps: 310.171 Peak Mbps: 310.171 Avg Mbps: 310.171 2002 38788764 310.310 100.00% Conn: 1 Mbps: 310.310 Peak Mbps: 310.310 Avg Mbps: 310.310 3002 38883012 311.064 100.00% Conn: 1 Mbps: 311.064 Peak Mbps: 311.064 Avg Mbps: 311.064 4003 38783052 310.264 100.00% Conn: 1 Mbps: 310.264 Peak Mbps: 311.064 Avg Mbps: 310.264 5003 38847312 310.778 100.00% Conn: 1 Mbps: 310.778 Peak Mbps: 311.064 Avg Mbps: 310.778 --- fc00:0:0:1::11 tcpbench statistics --- 232742580 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 310.171/310.518/311.064/0.345 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.166 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.166/0.166/0.166/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.236 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.236/0.236/0.236/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 106297680 850.381 100.00% Conn: 1 Mbps: 850.381 Peak Mbps: 850.381 Avg Mbps: 850.381 2001 107577712 860.622 100.00% Conn: 1 Mbps: 860.622 Peak Mbps: 860.622 Avg Mbps: 860.622 3001 107790568 862.325 100.00% Conn: 1 Mbps: 862.325 Peak Mbps: 862.325 Avg Mbps: 862.325 4001 108216280 865.730 100.00% Conn: 1 Mbps: 865.730 Peak Mbps: 865.730 Avg Mbps: 865.730 5001 108481264 867.850 100.00% Conn: 1 Mbps: 867.850 Peak Mbps: 867.850 Avg Mbps: 867.850 --- 169.254.1.12 tcpbench statistics --- 646070088 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 850.381/861.382/867.850/6.053 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 105536340 844.291 100.00% Conn: 1 Mbps: 844.291 Peak Mbps: 844.291 Avg Mbps: 844.291 2000 105757680 846.061 100.00% Conn: 1 Mbps: 846.061 Peak Mbps: 846.061 Avg Mbps: 846.061 3000 105463512 843.708 100.00% Conn: 1 Mbps: 843.708 Peak Mbps: 846.061 Avg Mbps: 843.708 4001 105612024 844.896 100.00% Conn: 1 Mbps: 844.896 Peak Mbps: 846.061 Avg Mbps: 844.896 5000 105480648 844.690 100.00% Conn: 1 Mbps: 844.690 Peak Mbps: 846.061 Avg Mbps: 844.690 --- fc00:0:0:1::12 tcpbench statistics --- 633053820 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 843.708/844.729/846.061/0.780 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.204 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.204/0.204/0.204/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.250 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.250/0.250/0.250/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 189377858 1515.023 100.00% Conn: 1 Mbps: 1515.023 Peak Mbps: 1515.023 Avg Mbps: 1515.023 2000 188313296 1508.014 100.00% Conn: 1 Mbps: 1508.014 Peak Mbps: 1515.023 Avg Mbps: 1508.014 3000 188346012 1506.768 100.00% Conn: 1 Mbps: 1506.768 Peak Mbps: 1515.023 Avg Mbps: 1506.768 4000 188771320 1510.171 100.00% Conn: 1 Mbps: 1510.171 Peak Mbps: 1515.023 Avg Mbps: 1510.171 5000 188771320 1510.171 100.00% Conn: 1 Mbps: 1510.171 Peak Mbps: 1515.023 Avg Mbps: 1510.171 --- 169.254.0.13 tcpbench statistics --- 1132089398 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1506.768/1510.029/1515.023/2.817 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 180482964 1443.864 100.00% Conn: 1 Mbps: 1443.864 Peak Mbps: 1443.864 Avg Mbps: 1443.864 2000 178879816 1431.039 100.00% Conn: 1 Mbps: 1431.039 Peak Mbps: 1443.864 Avg Mbps: 1431.039 3000 178977904 1431.823 100.00% Conn: 1 Mbps: 1431.823 Peak Mbps: 1443.864 Avg Mbps: 1431.823 4000 178879816 1431.039 100.00% Conn: 1 Mbps: 1431.039 Peak Mbps: 1443.864 Avg Mbps: 1431.039 5000 179239472 1433.916 100.00% Conn: 1 Mbps: 1433.916 Peak Mbps: 1443.864 Avg Mbps: 1433.916 --- fc00::13 tcpbench statistics --- 1075535964 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1431.039/1434.336/1443.864/4.879 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.238 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.238/0.238/0.238/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.288 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.288/0.288/0.288/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 39772216 317.860 100.00% Conn: 1 Mbps: 317.860 Peak Mbps: 317.860 Avg Mbps: 317.860 2000 40102360 321.140 100.00% Conn: 1 Mbps: 321.140 Peak Mbps: 321.140 Avg Mbps: 321.140 3002 40442640 323.218 100.00% Conn: 1 Mbps: 323.218 Peak Mbps: 323.218 Avg Mbps: 323.218 4002 40192136 321.537 100.00% Conn: 1 Mbps: 321.537 Peak Mbps: 323.218 Avg Mbps: 321.537 5004 40351416 322.489 100.00% Conn: 1 Mbps: 322.489 Peak Mbps: 323.218 Avg Mbps: 322.489 --- 169.254.1.11 tcpbench statistics --- 240883488 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 317.860/321.249/323.218/1.844 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 65253472 522.028 100.00% Conn: 1 Mbps: 522.028 Peak Mbps: 522.028 Avg Mbps: 522.028 2003 64440320 514.494 100.00% Conn: 1 Mbps: 514.494 Peak Mbps: 522.028 Avg Mbps: 514.494 3004 64736936 517.378 100.00% Conn: 1 Mbps: 517.378 Peak Mbps: 522.028 Avg Mbps: 517.378 4003 64577960 517.659 100.00% Conn: 1 Mbps: 517.659 Peak Mbps: 522.028 Avg Mbps: 517.659 5004 64303128 514.425 100.00% Conn: 1 Mbps: 514.425 Peak Mbps: 522.028 Avg Mbps: 514.425 --- fc00:0:0:1::11 tcpbench statistics --- 387601712 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 514.425/517.197/522.028/2.778 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.207 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.207/0.207/0.207/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.249 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.249/0.249/0.249/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 188199216 1505.594 100.00% Conn: 1 Mbps: 1505.594 Peak Mbps: 1505.594 Avg Mbps: 1505.594 2000 187298992 1499.892 100.00% Conn: 1 Mbps: 1499.892 Peak Mbps: 1505.594 Avg Mbps: 1499.892 3000 186971832 1495.775 100.00% Conn: 1 Mbps: 1495.775 Peak Mbps: 1505.594 Avg Mbps: 1495.775 4000 186611956 1492.896 100.00% Conn: 1 Mbps: 1492.896 Peak Mbps: 1505.594 Avg Mbps: 1492.896 5000 187037264 1496.298 100.00% Conn: 1 Mbps: 1496.298 Peak Mbps: 1505.594 Avg Mbps: 1496.298 --- 169.254.1.12 tcpbench statistics --- 1122894796 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1492.896/1498.091/1505.594/4.361 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 185354848 1482.839 100.00% Conn: 1 Mbps: 1482.839 Peak Mbps: 1482.839 Avg Mbps: 1482.839 2000 184111176 1474.364 100.00% Conn: 1 Mbps: 1474.364 Peak Mbps: 1482.839 Avg Mbps: 1474.364 3000 184601616 1476.813 100.00% Conn: 1 Mbps: 1476.813 Peak Mbps: 1482.839 Avg Mbps: 1476.813 4000 184111176 1472.889 100.00% Conn: 1 Mbps: 1472.889 Peak Mbps: 1482.839 Avg Mbps: 1472.889 5000 184176568 1473.413 100.00% Conn: 1 Mbps: 1473.413 Peak Mbps: 1482.839 Avg Mbps: 1473.413 --- fc00:0:0:1::12 tcpbench statistics --- 1106630040 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1472.889/1476.063/1482.839/3.646 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.182 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.182/0.182/0.182/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.215 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.215/0.215/0.215/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 191046014 1528.368 100.00% Conn: 1 Mbps: 1528.368 Peak Mbps: 1528.368 Avg Mbps: 1528.368 2000 190603308 1526.353 100.00% Conn: 1 Mbps: 1526.353 Peak Mbps: 1528.368 Avg Mbps: 1526.353 3000 191192184 1529.537 100.00% Conn: 1 Mbps: 1529.537 Peak Mbps: 1529.537 Avg Mbps: 1529.537 4000 191028616 1528.229 100.00% Conn: 1 Mbps: 1528.229 Peak Mbps: 1529.537 Avg Mbps: 1528.229 5000 191388492 1531.108 100.00% Conn: 1 Mbps: 1531.108 Peak Mbps: 1531.108 Avg Mbps: 1531.108 --- 169.254.0.13 tcpbench statistics --- 1146418082 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1526.353/1528.719/1531.108/1.571 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 187904020 1503.232 100.00% Conn: 1 Mbps: 1503.232 Peak Mbps: 1503.232 Avg Mbps: 1503.232 2000 186563376 1494.001 100.00% Conn: 1 Mbps: 1494.001 Peak Mbps: 1503.232 Avg Mbps: 1494.001 3000 186596072 1492.769 100.00% Conn: 1 Mbps: 1492.769 Peak Mbps: 1503.232 Avg Mbps: 1492.769 4000 186563376 1492.507 100.00% Conn: 1 Mbps: 1492.507 Peak Mbps: 1503.232 Avg Mbps: 1492.507 5000 186661464 1493.292 100.00% Conn: 1 Mbps: 1493.292 Peak Mbps: 1503.232 Avg Mbps: 1493.292 --- fc00::13 tcpbench statistics --- 1120949772 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1492.507/1495.160/1503.232/4.068 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 1m59.17s