START sys/net/pair 2024-08-06T01:51:43Z ==== ifconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 fc00::13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair11 destroy ifconfig: pair11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair12 destroy ifconfig: pair12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/route -n -T 11 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 11 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo12 rdomain 12 /sbin/ifconfig lo12 inet 127.0.0.1/8 /sbin/ifconfig lo12 inet6 ::1/128 /sbin/route -n -T 12 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 12 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 127.0.0.1/8 /sbin/ifconfig lo13 inet6 ::1/128 /sbin/route -n -T 13 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 13 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig pair11 rdomain 11 /sbin/ifconfig pair11 inet 169.254.1.11/24 /sbin/ifconfig pair11 inet6 fc00:0:0:1::11/64 /sbin/ifconfig pair12 rdomain 12 /sbin/ifconfig pair12 inet 169.254.1.12/24 /sbin/ifconfig pair12 inet6 fc00:0:0:1::12/64 /sbin/ifconfig pair11 patch pair12 /sbin/ifconfig lo13 inet 169.254.0.13/24 alias /sbin/ifconfig lo13 inet6 fc00::13/64 /sbin/ifconfig pair11 mtu 8000 /sbin/route -n -T 11 add -inet 169.254.0.13 169.254.1.12 add host 169.254.0.13: gateway 169.254.1.12 /sbin/route -n -T 11 add -inet6 fc00::13 fc00:0:0:1::12 add host fc00::13: gateway fc00:0:0:1::12 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'LO_N1="lo11"' >>addr.py.tmp echo 'PAIR_N1="pair11"' >>addr.py.tmp echo 'IP_N1="169.254.1.11"' >>addr.py.tmp echo 'IP6_N1="fc00:0:0:1::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'LO_N2="lo12"' >>addr.py.tmp echo 'PAIR_N2="pair12"' >>addr.py.tmp echo 'IP_N2="169.254.1.12"' >>addr.py.tmp echo 'IP6_N2="fc00:0:0:1::12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'LO_N3="lo13"' >>addr.py.tmp echo 'PAIR_N3="pair13"' >>addr.py.tmp echo 'IP_N3="169.254.0.13"' >>addr.py.tmp echo 'IP6_N3="fc00::13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1-1 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.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 927340848 7418.727 100.00% Conn: 1 Mbps: 7418.727 Peak Mbps: 7418.727 Avg Mbps: 7418.727 2000 926251972 7417.433 100.00% Conn: 1 Mbps: 7417.433 Peak Mbps: 7418.727 Avg Mbps: 7417.433 3000 928072064 7424.577 100.00% Conn: 1 Mbps: 7424.577 Peak Mbps: 7424.577 Avg Mbps: 7424.577 4000 928223076 7433.218 100.00% Conn: 1 Mbps: 7433.218 Peak Mbps: 7433.218 Avg Mbps: 7433.218 5000 925759196 7406.074 100.00% Conn: 1 Mbps: 7406.074 Peak Mbps: 7433.218 Avg Mbps: 7406.074 --- 169.254.1.11 tcpbench statistics --- 5562868784 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7406.074/7420.006/7433.218/8.920 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 941806760 7534.454 100.00% Conn: 1 Mbps: 7534.454 Peak Mbps: 7534.454 Avg Mbps: 7534.454 2000 941029816 7535.774 100.00% Conn: 1 Mbps: 7535.774 Peak Mbps: 7535.774 Avg Mbps: 7535.774 3000 940419360 7523.355 100.00% Conn: 1 Mbps: 7523.355 Peak Mbps: 7535.774 Avg Mbps: 7523.355 4000 942266584 7538.133 100.00% Conn: 1 Mbps: 7538.133 Peak Mbps: 7538.133 Avg Mbps: 7538.133 5000 942948392 7543.587 100.00% Conn: 1 Mbps: 7543.587 Peak Mbps: 7543.587 Avg Mbps: 7543.587 --- fc00:0:0:1::11 tcpbench statistics --- 5649191536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7523.355/7535.061/7543.587/6.634 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.066 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.066/0.066/0.066/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.123 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.123/0.123/0.123/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 275238688 2201.910 100.00% Conn: 1 Mbps: 2201.910 Peak Mbps: 2201.910 Avg Mbps: 2201.910 2000 275564136 2204.513 100.00% Conn: 1 Mbps: 2204.513 Peak Mbps: 2204.513 Avg Mbps: 2204.513 3001 275765968 2206.128 100.00% Conn: 1 Mbps: 2206.128 Peak Mbps: 2206.128 Avg Mbps: 2206.128 4001 275507384 2204.059 100.00% Conn: 1 Mbps: 2204.059 Peak Mbps: 2206.128 Avg Mbps: 2204.059 5001 275663928 2205.311 100.00% Conn: 1 Mbps: 2205.311 Peak Mbps: 2206.128 Avg Mbps: 2205.311 --- 169.254.1.12 tcpbench statistics --- 1652892496 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2201.910/2204.384/2206.128/1.425 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 266957324 2135.659 100.00% Conn: 1 Mbps: 2135.659 Peak Mbps: 2135.659 Avg Mbps: 2135.659 2000 266991508 2138.070 100.00% Conn: 1 Mbps: 2138.070 Peak Mbps: 2138.070 Avg Mbps: 2138.070 3001 267443364 2139.547 100.00% Conn: 1 Mbps: 2139.547 Peak Mbps: 2139.547 Avg Mbps: 2139.547 4001 267169952 2137.360 100.00% Conn: 1 Mbps: 2137.360 Peak Mbps: 2139.547 Avg Mbps: 2137.360 5001 267232092 2139.997 100.00% Conn: 1 Mbps: 2139.997 Peak Mbps: 2139.997 Avg Mbps: 2139.997 --- fc00:0:0:1::12 tcpbench statistics --- 1602815752 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2135.659/2138.126/2139.997/1.562 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.058 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.058/0.058/0.058/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.068 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.068/0.068/0.068/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 430376252 3443.010 100.00% Conn: 1 Mbps: 3443.010 Peak Mbps: 3443.010 Avg Mbps: 3443.010 2000 429462232 3439.137 100.00% Conn: 1 Mbps: 3439.137 Peak Mbps: 3443.010 Avg Mbps: 3439.137 3000 429986800 3443.338 100.00% Conn: 1 Mbps: 3443.338 Peak Mbps: 3443.338 Avg Mbps: 3443.338 4000 430304720 3442.438 100.00% Conn: 1 Mbps: 3442.438 Peak Mbps: 3443.338 Avg Mbps: 3442.438 5000 430916716 3447.334 100.00% Conn: 1 Mbps: 3447.334 Peak Mbps: 3447.334 Avg Mbps: 3447.334 --- 169.254.0.13 tcpbench statistics --- 2582646964 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3439.137/3443.051/3447.334/2.612 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 420096792 3360.774 100.00% Conn: 1 Mbps: 3360.774 Peak Mbps: 3360.774 Avg Mbps: 3360.774 2000 418249568 3349.346 100.00% Conn: 1 Mbps: 3349.346 Peak Mbps: 3360.774 Avg Mbps: 3349.346 3000 419454624 3355.637 100.00% Conn: 1 Mbps: 3355.637 Peak Mbps: 3360.774 Avg Mbps: 3355.637 4000 419470480 3355.764 100.00% Conn: 1 Mbps: 3355.764 Peak Mbps: 3360.774 Avg Mbps: 3355.764 5000 419597328 3356.779 100.00% Conn: 1 Mbps: 3356.779 Peak Mbps: 3360.774 Avg Mbps: 3356.779 --- fc00::13 tcpbench statistics --- 2515705032 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3349.346/3355.660/3360.774/3.668 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.047 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.047/0.047/0.047/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 277312328 2218.499 100.00% Conn: 1 Mbps: 2218.499 Peak Mbps: 2218.499 Avg Mbps: 2218.499 2001 278787112 2230.297 100.00% Conn: 1 Mbps: 2230.297 Peak Mbps: 2230.297 Avg Mbps: 2230.297 3000 278566608 2230.764 100.00% Conn: 1 Mbps: 2230.764 Peak Mbps: 2230.764 Avg Mbps: 2230.764 4001 278475896 2227.807 100.00% Conn: 1 Mbps: 2227.807 Peak Mbps: 2230.764 Avg Mbps: 2227.807 5001 278341384 2226.731 100.00% Conn: 1 Mbps: 2226.731 Peak Mbps: 2230.764 Avg Mbps: 2226.731 --- 169.254.1.11 tcpbench statistics --- 1669294696 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2218.499/2226.819/2230.764/4.424 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 268577624 2148.621 100.00% Conn: 1 Mbps: 2148.621 Peak Mbps: 2148.621 Avg Mbps: 2148.621 2001 269028288 2152.226 100.00% Conn: 1 Mbps: 2152.226 Peak Mbps: 2152.226 Avg Mbps: 2152.226 3001 269087344 2152.699 100.00% Conn: 1 Mbps: 2152.699 Peak Mbps: 2152.699 Avg Mbps: 2152.699 4001 269309180 2154.473 100.00% Conn: 1 Mbps: 2154.473 Peak Mbps: 2154.473 Avg Mbps: 2154.473 5002 270343364 2162.747 100.00% Conn: 1 Mbps: 2162.747 Peak Mbps: 2162.747 Avg Mbps: 2162.747 --- fc00:0:0:1::11 tcpbench statistics --- 1616164184 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2148.621/2154.153/2162.747/4.699 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.038 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.038/0.038/0.038/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.040 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.040/0.040/0.040/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 943279328 7546.235 100.00% Conn: 1 Mbps: 7546.235 Peak Mbps: 7546.235 Avg Mbps: 7546.235 2000 942000744 7543.550 100.00% Conn: 1 Mbps: 7543.550 Peak Mbps: 7546.235 Avg Mbps: 7543.550 3000 943063576 7544.509 100.00% Conn: 1 Mbps: 7544.509 Peak Mbps: 7546.235 Avg Mbps: 7544.509 4000 943062128 7552.049 100.00% Conn: 1 Mbps: 7552.049 Peak Mbps: 7552.049 Avg Mbps: 7552.049 5000 942653792 7541.230 100.00% Conn: 1 Mbps: 7541.230 Peak Mbps: 7552.049 Avg Mbps: 7541.230 --- 169.254.1.12 tcpbench statistics --- 5656597520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7541.230/7545.514/7552.049/3.645 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 960181488 7681.452 100.00% Conn: 1 Mbps: 7681.452 Peak Mbps: 7681.452 Avg Mbps: 7681.452 2000 960362844 7690.593 100.00% Conn: 1 Mbps: 7690.593 Peak Mbps: 7690.593 Avg Mbps: 7690.593 3000 960577044 7684.616 100.00% Conn: 1 Mbps: 7684.616 Peak Mbps: 7690.593 Avg Mbps: 7684.616 4000 959120484 7672.964 100.00% Conn: 1 Mbps: 7672.964 Peak Mbps: 7690.593 Avg Mbps: 7672.964 5000 960365700 7682.926 100.00% Conn: 1 Mbps: 7682.926 Peak Mbps: 7690.593 Avg Mbps: 7682.926 --- fc00:0:0:1::12 tcpbench statistics --- 5761003248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7672.964/7682.510/7690.593/5.696 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.041 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.041/0.041/0.041/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.044 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/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 1408363182 11266.905 100.00% Conn: 1 Mbps: 11266.905 Peak Mbps: 11266.905 Avg Mbps: 11266.905 2000 1411171164 11300.670 100.00% Conn: 1 Mbps: 11300.670 Peak Mbps: 11300.670 Avg Mbps: 11300.670 3000 1412513300 11300.106 100.00% Conn: 1 Mbps: 11300.106 Peak Mbps: 11300.670 Avg Mbps: 11300.106 4000 1411858980 11294.872 100.00% Conn: 1 Mbps: 11294.872 Peak Mbps: 11300.670 Avg Mbps: 11294.872 5000 1408292936 11266.343 100.00% Conn: 1 Mbps: 11266.343 Peak Mbps: 11300.670 Avg Mbps: 11266.343 --- 169.254.0.13 tcpbench statistics --- 8461964718 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11266.343/11285.779/11300.670/15.771 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 1381874724 11054.998 100.00% Conn: 1 Mbps: 11054.998 Peak Mbps: 11054.998 Avg Mbps: 11054.998 2000 1380915560 11058.383 100.00% Conn: 1 Mbps: 11058.383 Peak Mbps: 11058.383 Avg Mbps: 11058.383 3000 1385231432 11081.851 100.00% Conn: 1 Mbps: 11081.851 Peak Mbps: 11081.851 Avg Mbps: 11081.851 4000 1388304856 11106.439 100.00% Conn: 1 Mbps: 11106.439 Peak Mbps: 11106.439 Avg Mbps: 11106.439 5000 1371858768 10974.870 100.00% Conn: 1 Mbps: 10974.870 Peak Mbps: 11106.439 Avg Mbps: 10974.870 --- fc00::13 tcpbench statistics --- 8290637612 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10974.870/11055.308/11106.439/44.269 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.045 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.045/0.045/0.045/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.053 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.053/0.053/0.053/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 271572584 2172.581 100.00% Conn: 1 Mbps: 2172.581 Peak Mbps: 2172.581 Avg Mbps: 2172.581 2001 271974320 2175.795 100.00% Conn: 1 Mbps: 2175.795 Peak Mbps: 2175.795 Avg Mbps: 2175.795 3001 271629696 2175.213 100.00% Conn: 1 Mbps: 2175.213 Peak Mbps: 2175.795 Avg Mbps: 2175.213 4002 271997200 2175.978 100.00% Conn: 1 Mbps: 2175.978 Peak Mbps: 2175.978 Avg Mbps: 2175.978 5001 271848440 2176.964 100.00% Conn: 1 Mbps: 2176.964 Peak Mbps: 2176.964 Avg Mbps: 2176.964 --- 169.254.1.11 tcpbench statistics --- 1630601800 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2172.581/2175.306/2176.964/1.475 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 416533408 3332.267 100.00% Conn: 1 Mbps: 3332.267 Peak Mbps: 3332.267 Avg Mbps: 3332.267 2001 415591240 3324.730 100.00% Conn: 1 Mbps: 3324.730 Peak Mbps: 3332.267 Avg Mbps: 3324.730 3001 415324552 3322.596 100.00% Conn: 1 Mbps: 3322.596 Peak Mbps: 3332.267 Avg Mbps: 3322.596 4001 415812568 3329.830 100.00% Conn: 1 Mbps: 3329.830 Peak Mbps: 3332.267 Avg Mbps: 3329.830 5001 415725392 3325.803 100.00% Conn: 1 Mbps: 3325.803 Peak Mbps: 3332.267 Avg Mbps: 3325.803 --- fc00:0:0:1::11 tcpbench statistics --- 2494000720 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3322.596/3327.045/3332.267/3.513 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.044 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.044/0.044/0.044/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.046 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.046/0.046/0.046/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 1402813632 11222.509 100.00% Conn: 1 Mbps: 11222.509 Peak Mbps: 11222.509 Avg Mbps: 11222.509 2000 1406526272 11263.474 100.00% Conn: 1 Mbps: 11263.474 Peak Mbps: 11263.474 Avg Mbps: 11263.474 3000 1402011464 11216.092 100.00% Conn: 1 Mbps: 11216.092 Peak Mbps: 11263.474 Avg Mbps: 11216.092 4000 1406526272 11252.210 100.00% Conn: 1 Mbps: 11252.210 Peak Mbps: 11263.474 Avg Mbps: 11252.210 5000 1403418252 11227.346 100.00% Conn: 1 Mbps: 11227.346 Peak Mbps: 11263.474 Avg Mbps: 11227.346 --- 169.254.1.12 tcpbench statistics --- 8428280188 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11216.092/11236.326/11263.474/18.277 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 1378500268 11028.002 100.00% Conn: 1 Mbps: 11028.002 Peak Mbps: 11028.002 Avg Mbps: 11028.002 2000 1376926648 11026.440 100.00% Conn: 1 Mbps: 11026.440 Peak Mbps: 11028.002 Avg Mbps: 11026.440 3000 1403770064 11230.161 100.00% Conn: 1 Mbps: 11230.161 Peak Mbps: 11230.161 Avg Mbps: 11230.161 4000 1374245576 10993.965 100.00% Conn: 1 Mbps: 10993.965 Peak Mbps: 11230.161 Avg Mbps: 10993.965 5000 1369864312 10958.914 100.00% Conn: 1 Mbps: 10958.914 Peak Mbps: 11230.161 Avg Mbps: 10958.914 --- fc00:0:0:1::12 tcpbench statistics --- 8303578460 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10958.914/11047.496/11230.161/94.765 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.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-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.041 ms --- fc00::13 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-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 1417911462 11343.292 100.00% Conn: 1 Mbps: 11343.292 Peak Mbps: 11343.292 Avg Mbps: 11343.292 2000 1421165818 11380.707 100.00% Conn: 1 Mbps: 11380.707 Peak Mbps: 11380.707 Avg Mbps: 11380.707 3000 1422327248 11378.618 100.00% Conn: 1 Mbps: 11378.618 Peak Mbps: 11380.707 Avg Mbps: 11378.618 4000 1424551888 11396.415 100.00% Conn: 1 Mbps: 11396.415 Peak Mbps: 11396.415 Avg Mbps: 11396.415 5000 1419284636 11354.277 100.00% Conn: 1 Mbps: 11354.277 Peak Mbps: 11396.415 Avg Mbps: 11354.277 --- 169.254.0.13 tcpbench statistics --- 8528877792 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11343.292/11370.662/11396.415/19.210 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 1438597244 11508.778 100.00% Conn: 1 Mbps: 11508.778 Peak Mbps: 11508.778 Avg Mbps: 11508.778 2000 1437316160 11510.039 100.00% Conn: 1 Mbps: 11510.039 Peak Mbps: 11510.039 Avg Mbps: 11510.039 3000 1442187864 11537.503 100.00% Conn: 1 Mbps: 11537.503 Peak Mbps: 11537.503 Avg Mbps: 11537.503 4000 1436694936 11493.559 100.00% Conn: 1 Mbps: 11493.559 Peak Mbps: 11537.503 Avg Mbps: 11493.559 5000 1439343312 11514.746 100.00% Conn: 1 Mbps: 11514.746 Peak Mbps: 11537.503 Avg Mbps: 11514.746 --- fc00::13 tcpbench statistics --- 8627891812 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11493.559/11512.925/11537.503/14.198 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.81s