START sys/net/pair 2024-01-25T20:16:18Z ==== 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.039 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.039/0.039/0.039/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.043 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.043/0.043/0.043/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 829270476 6634.164 100.00% Conn: 1 Mbps: 6634.164 Peak Mbps: 6634.164 Avg Mbps: 6634.164 2000 830224236 6648.442 100.00% Conn: 1 Mbps: 6648.442 Peak Mbps: 6648.442 Avg Mbps: 6648.442 3000 832409936 6665.945 100.00% Conn: 1 Mbps: 6665.945 Peak Mbps: 6665.945 Avg Mbps: 6665.945 4000 832910660 6663.285 100.00% Conn: 1 Mbps: 6663.285 Peak Mbps: 6665.945 Avg Mbps: 6663.285 5000 833848524 6670.788 100.00% Conn: 1 Mbps: 6670.788 Peak Mbps: 6670.788 Avg Mbps: 6670.788 --- 169.254.1.11 tcpbench statistics --- 4994674212 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6634.164/6656.525/6670.788/13.441 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 823481360 6587.851 100.00% Conn: 1 Mbps: 6587.851 Peak Mbps: 6587.851 Avg Mbps: 6587.851 2000 824297944 6600.985 100.00% Conn: 1 Mbps: 6600.985 Peak Mbps: 6600.985 Avg Mbps: 6600.985 3000 824194880 6593.559 100.00% Conn: 1 Mbps: 6593.559 Peak Mbps: 6600.985 Avg Mbps: 6593.559 4000 829379792 6635.038 100.00% Conn: 1 Mbps: 6635.038 Peak Mbps: 6635.038 Avg Mbps: 6635.038 5000 826549496 6612.396 100.00% Conn: 1 Mbps: 6612.396 Peak Mbps: 6635.038 Avg Mbps: 6612.396 --- fc00:0:0:1::11 tcpbench statistics --- 4955935504 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6587.851/6605.966/6635.038/16.694 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.059 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.059/0.059/0.059/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.111 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.111/0.111/0.111/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 298539456 2388.316 100.00% Conn: 1 Mbps: 2388.316 Peak Mbps: 2388.316 Avg Mbps: 2388.316 2001 299286832 2394.295 100.00% Conn: 1 Mbps: 2394.295 Peak Mbps: 2394.295 Avg Mbps: 2394.295 3001 299189920 2395.915 100.00% Conn: 1 Mbps: 2395.915 Peak Mbps: 2395.915 Avg Mbps: 2395.915 4001 299558824 2396.471 100.00% Conn: 1 Mbps: 2396.471 Peak Mbps: 2396.471 Avg Mbps: 2396.471 5001 299323304 2394.586 100.00% Conn: 1 Mbps: 2394.586 Peak Mbps: 2396.471 Avg Mbps: 2394.586 --- 169.254.1.12 tcpbench statistics --- 1794414880 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2388.316/2393.917/2396.471/2.915 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 287676884 2301.415 100.00% Conn: 1 Mbps: 2301.415 Peak Mbps: 2301.415 Avg Mbps: 2301.415 2001 288237688 2305.902 100.00% Conn: 1 Mbps: 2305.902 Peak Mbps: 2305.902 Avg Mbps: 2305.902 3001 288498220 2307.986 100.00% Conn: 1 Mbps: 2307.986 Peak Mbps: 2307.986 Avg Mbps: 2307.986 4001 288240204 2305.922 100.00% Conn: 1 Mbps: 2305.922 Peak Mbps: 2307.986 Avg Mbps: 2305.922 5001 288462392 2307.699 100.00% Conn: 1 Mbps: 2307.699 Peak Mbps: 2307.986 Avg Mbps: 2307.699 --- fc00:0:0:1::12 tcpbench statistics --- 1728519944 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2301.415/2305.785/2307.986/2.351 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.050 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.050/0.050/0.050/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.056 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.056/0.056/0.056/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 401079924 3208.639 100.00% Conn: 1 Mbps: 3208.639 Peak Mbps: 3208.639 Avg Mbps: 3208.639 2000 400920964 3210.578 100.00% Conn: 1 Mbps: 3210.578 Peak Mbps: 3210.578 Avg Mbps: 3210.578 3000 401167352 3209.339 100.00% Conn: 1 Mbps: 3209.339 Peak Mbps: 3210.578 Avg Mbps: 3209.339 4000 401453480 3211.628 100.00% Conn: 1 Mbps: 3211.628 Peak Mbps: 3211.628 Avg Mbps: 3211.628 5000 404012736 3232.102 100.00% Conn: 1 Mbps: 3232.102 Peak Mbps: 3232.102 Avg Mbps: 3232.102 --- 169.254.0.13 tcpbench statistics --- 2414952112 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3208.639/3214.457/3232.102/8.882 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 368350736 2946.806 100.00% Conn: 1 Mbps: 2946.806 Peak Mbps: 2946.806 Avg Mbps: 2946.806 2000 367573792 2943.534 100.00% Conn: 1 Mbps: 2943.534 Peak Mbps: 2946.806 Avg Mbps: 2943.534 3000 368374520 2946.996 100.00% Conn: 1 Mbps: 2946.996 Peak Mbps: 2946.996 Avg Mbps: 2946.996 4000 369769848 2958.159 100.00% Conn: 1 Mbps: 2958.159 Peak Mbps: 2958.159 Avg Mbps: 2958.159 5000 371387160 2971.097 100.00% Conn: 1 Mbps: 2971.097 Peak Mbps: 2971.097 Avg Mbps: 2971.097 --- fc00::13 tcpbench statistics --- 2214417248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2943.534/2953.318/2971.097/10.175 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.041 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.041/0.041/0.041/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.046 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.046/0.046/0.046/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 298982944 2391.864 100.00% Conn: 1 Mbps: 2391.864 Peak Mbps: 2391.864 Avg Mbps: 2391.864 2000 299732656 2400.262 100.00% Conn: 1 Mbps: 2400.262 Peak Mbps: 2400.262 Avg Mbps: 2400.262 3000 299557672 2398.860 100.00% Conn: 1 Mbps: 2398.860 Peak Mbps: 2400.262 Avg Mbps: 2398.860 4001 299879728 2399.038 100.00% Conn: 1 Mbps: 2399.038 Peak Mbps: 2400.262 Avg Mbps: 2399.038 5001 299695888 2397.567 100.00% Conn: 1 Mbps: 2397.567 Peak Mbps: 2400.262 Avg Mbps: 2397.567 --- 169.254.1.11 tcpbench statistics --- 1799154056 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2391.864/2397.518/2400.262/2.953 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 288520012 2308.160 100.00% Conn: 1 Mbps: 2308.160 Peak Mbps: 2308.160 Avg Mbps: 2308.160 2000 289191916 2313.535 100.00% Conn: 1 Mbps: 2313.535 Peak Mbps: 2313.535 Avg Mbps: 2313.535 3000 289327704 2314.622 100.00% Conn: 1 Mbps: 2314.622 Peak Mbps: 2314.622 Avg Mbps: 2314.622 4001 289326940 2314.616 100.00% Conn: 1 Mbps: 2314.616 Peak Mbps: 2314.622 Avg Mbps: 2314.616 5001 289161900 2313.295 100.00% Conn: 1 Mbps: 2313.295 Peak Mbps: 2314.622 Avg Mbps: 2313.295 --- fc00:0:0:1::11 tcpbench statistics --- 1734183036 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2308.160/2312.846/2314.622/2.405 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.036 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.036/0.036/0.036/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.039 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.039/0.039/0.039/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 834013248 6672.106 100.00% Conn: 1 Mbps: 6672.106 Peak Mbps: 6672.106 Avg Mbps: 6672.106 2000 832505880 6666.714 100.00% Conn: 1 Mbps: 6666.714 Peak Mbps: 6672.106 Avg Mbps: 6666.714 3000 827754992 6622.040 100.00% Conn: 1 Mbps: 6622.040 Peak Mbps: 6672.106 Avg Mbps: 6622.040 4000 832190216 6657.522 100.00% Conn: 1 Mbps: 6657.522 Peak Mbps: 6672.106 Avg Mbps: 6657.522 5000 828867056 6630.936 100.00% Conn: 1 Mbps: 6630.936 Peak Mbps: 6672.106 Avg Mbps: 6630.936 --- 169.254.1.12 tcpbench statistics --- 4992258016 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6622.040/6649.864/6672.106/19.848 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 834037680 6672.301 100.00% Conn: 1 Mbps: 6672.301 Peak Mbps: 6672.301 Avg Mbps: 6672.301 2000 835584204 6691.365 100.00% Conn: 1 Mbps: 6691.365 Peak Mbps: 6691.365 Avg Mbps: 6691.365 3000 837716208 6701.730 100.00% Conn: 1 Mbps: 6701.730 Peak Mbps: 6701.730 Avg Mbps: 6701.730 4000 835598484 6684.788 100.00% Conn: 1 Mbps: 6684.788 Peak Mbps: 6701.730 Avg Mbps: 6684.788 5000 834830220 6678.642 100.00% Conn: 1 Mbps: 6678.642 Peak Mbps: 6701.730 Avg Mbps: 6678.642 --- fc00:0:0:1::12 tcpbench statistics --- 5011974408 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6672.301/6685.765/6701.730/10.190 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.039 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.039/0.039/0.039/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.043 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/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 1241382906 9931.063 100.00% Conn: 1 Mbps: 9931.063 Peak Mbps: 9931.063 Avg Mbps: 9931.063 2000 1265258308 10132.199 100.00% Conn: 1 Mbps: 10132.199 Peak Mbps: 10132.199 Avg Mbps: 10132.199 3000 1248213548 9985.708 100.00% Conn: 1 Mbps: 9985.708 Peak Mbps: 10132.199 Avg Mbps: 9985.708 4000 1246577748 9972.622 100.00% Conn: 1 Mbps: 9972.622 Peak Mbps: 10132.199 Avg Mbps: 9972.622 5000 1258715384 10069.723 100.00% Conn: 1 Mbps: 10069.723 Peak Mbps: 10132.199 Avg Mbps: 10069.723 --- 169.254.0.13 tcpbench statistics --- 7506823790 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9931.063/10018.263/10132.199/72.631 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 1263728988 10109.832 100.00% Conn: 1 Mbps: 10109.832 Peak Mbps: 10109.832 Avg Mbps: 10109.832 2000 1265400592 10133.338 100.00% Conn: 1 Mbps: 10133.338 Peak Mbps: 10133.338 Avg Mbps: 10133.338 3000 1264779368 10118.235 100.00% Conn: 1 Mbps: 10118.235 Peak Mbps: 10133.338 Avg Mbps: 10118.235 4000 1257618944 10060.952 100.00% Conn: 1 Mbps: 10060.952 Peak Mbps: 10133.338 Avg Mbps: 10060.952 5000 1260757760 10086.062 100.00% Conn: 1 Mbps: 10086.062 Peak Mbps: 10133.338 Avg Mbps: 10086.062 --- fc00::13 tcpbench statistics --- 7575724484 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10060.952/10101.684/10133.338/25.477 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.043 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.043/0.043/0.043/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.050 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.050/0.050/0.050/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 295459968 2363.680 100.00% Conn: 1 Mbps: 2363.680 Peak Mbps: 2363.680 Avg Mbps: 2363.680 2000 296140664 2369.125 100.00% Conn: 1 Mbps: 2369.125 Peak Mbps: 2369.125 Avg Mbps: 2369.125 3000 296571336 2372.571 100.00% Conn: 1 Mbps: 2372.571 Peak Mbps: 2372.571 Avg Mbps: 2372.571 4000 296402752 2373.596 100.00% Conn: 1 Mbps: 2373.596 Peak Mbps: 2373.596 Avg Mbps: 2373.596 5000 296254944 2370.040 100.00% Conn: 1 Mbps: 2370.040 Peak Mbps: 2373.596 Avg Mbps: 2370.040 --- 169.254.1.11 tcpbench statistics --- 1777179728 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2363.680/2369.802/2373.596/3.466 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 446062544 3568.500 100.00% Conn: 1 Mbps: 3568.500 Peak Mbps: 3568.500 Avg Mbps: 3568.500 2000 444390672 3555.125 100.00% Conn: 1 Mbps: 3555.125 Peak Mbps: 3568.500 Avg Mbps: 3555.125 3000 443752376 3553.573 100.00% Conn: 1 Mbps: 3553.573 Peak Mbps: 3568.500 Avg Mbps: 3553.573 4000 443546648 3548.373 100.00% Conn: 1 Mbps: 3548.373 Peak Mbps: 3568.500 Avg Mbps: 3548.373 5000 442800288 3545.948 100.00% Conn: 1 Mbps: 3545.948 Peak Mbps: 3568.500 Avg Mbps: 3545.948 --- fc00:0:0:1::11 tcpbench statistics --- 2663988440 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3545.948/3554.304/3568.500/7.845 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.039 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.039/0.039/0.039/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.043 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.043/0.043/0.043/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 1247518522 9980.148 100.00% Conn: 1 Mbps: 9980.148 Peak Mbps: 9980.148 Avg Mbps: 9980.148 2000 1247951820 9993.608 100.00% Conn: 1 Mbps: 9993.608 Peak Mbps: 9993.608 Avg Mbps: 9993.608 3000 1248671572 9989.373 100.00% Conn: 1 Mbps: 9989.373 Peak Mbps: 9993.608 Avg Mbps: 9989.373 4000 1248638856 9989.111 100.00% Conn: 1 Mbps: 9989.111 Peak Mbps: 9993.608 Avg Mbps: 9989.111 5000 1253513540 10028.108 100.00% Conn: 1 Mbps: 10028.108 Peak Mbps: 10028.108 Avg Mbps: 10028.108 --- 169.254.1.12 tcpbench statistics --- 7497910322 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9980.148/9996.070/10028.108/16.609 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 1253865348 10030.923 100.00% Conn: 1 Mbps: 10030.923 Peak Mbps: 10030.923 Avg Mbps: 10030.923 2000 1264027360 10122.341 100.00% Conn: 1 Mbps: 10122.341 Peak Mbps: 10122.341 Avg Mbps: 10122.341 3000 1278184728 10225.478 100.00% Conn: 1 Mbps: 10225.478 Peak Mbps: 10225.478 Avg Mbps: 10225.478 4000 1254512824 10036.103 100.00% Conn: 1 Mbps: 10036.103 Peak Mbps: 10225.478 Avg Mbps: 10036.103 5000 1248660240 9989.282 100.00% Conn: 1 Mbps: 9989.282 Peak Mbps: 10225.478 Avg Mbps: 9989.282 --- fc00:0:0:1::12 tcpbench statistics --- 7554809596 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9989.282/10080.825/10225.478/84.283 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.037 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.037/0.037/0.037/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.050 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.050/0.050/0.050/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 1268503926 10148.031 100.00% Conn: 1 Mbps: 10148.031 Peak Mbps: 10148.031 Avg Mbps: 10148.031 2000 1272488088 10190.095 100.00% Conn: 1 Mbps: 10190.095 Peak Mbps: 10190.095 Avg Mbps: 10190.095 3000 1264668952 10117.352 100.00% Conn: 1 Mbps: 10117.352 Peak Mbps: 10190.095 Avg Mbps: 10117.352 4000 1276544860 10212.359 100.00% Conn: 1 Mbps: 10212.359 Peak Mbps: 10212.359 Avg Mbps: 10212.359 5000 1273927580 10191.421 100.00% Conn: 1 Mbps: 10191.421 Peak Mbps: 10212.359 Avg Mbps: 10191.421 --- 169.254.0.13 tcpbench statistics --- 7619657310 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10117.352/10171.851/10212.359/34.334 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 1297160828 10377.287 100.00% Conn: 1 Mbps: 10377.287 Peak Mbps: 10377.287 Avg Mbps: 10377.287 2000 1290282248 10332.591 100.00% Conn: 1 Mbps: 10332.591 Peak Mbps: 10377.287 Avg Mbps: 10332.591 3000 1297083016 10376.664 100.00% Conn: 1 Mbps: 10376.664 Peak Mbps: 10377.287 Avg Mbps: 10376.664 4000 1298652424 10389.219 100.00% Conn: 1 Mbps: 10389.219 Peak Mbps: 10389.219 Avg Mbps: 10389.219 5000 1290086072 10320.689 100.00% Conn: 1 Mbps: 10320.689 Peak Mbps: 10389.219 Avg Mbps: 10320.689 --- fc00::13 tcpbench statistics --- 7771165004 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10320.689/10359.290/10389.219/27.293 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 1m51.84s