START sys/net/pair 2024-08-16T01:50:58Z ==== 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.041 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.041/0.041/0.041/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 935638560 7485.108 100.00% Conn: 1 Mbps: 7485.108 Peak Mbps: 7485.108 Avg Mbps: 7485.108 2000 931314848 7457.977 100.00% Conn: 1 Mbps: 7457.977 Peak Mbps: 7485.108 Avg Mbps: 7457.977 3000 934724540 7477.796 100.00% Conn: 1 Mbps: 7477.796 Peak Mbps: 7485.108 Avg Mbps: 7477.796 4000 934708644 7477.669 100.00% Conn: 1 Mbps: 7477.669 Peak Mbps: 7485.108 Avg Mbps: 7477.669 5000 934168180 7473.345 100.00% Conn: 1 Mbps: 7473.345 Peak Mbps: 7485.108 Avg Mbps: 7473.345 --- 169.254.1.11 tcpbench statistics --- 5603832776 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7457.977/7474.379/7485.108/9.030 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 948363216 7586.906 100.00% Conn: 1 Mbps: 7586.906 Peak Mbps: 7586.906 Avg Mbps: 7586.906 2000 947110592 7584.469 100.00% Conn: 1 Mbps: 7584.469 Peak Mbps: 7586.906 Avg Mbps: 7584.469 3000 948434568 7587.477 100.00% Conn: 1 Mbps: 7587.477 Peak Mbps: 7587.477 Avg Mbps: 7587.477 4000 947879608 7583.037 100.00% Conn: 1 Mbps: 7583.037 Peak Mbps: 7587.477 Avg Mbps: 7583.037 5000 946785544 7574.284 100.00% Conn: 1 Mbps: 7574.284 Peak Mbps: 7587.477 Avg Mbps: 7574.284 --- fc00:0:0:1::11 tcpbench statistics --- 5684225368 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7574.284/7583.235/7587.477/4.757 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.063 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.063/0.063/0.063/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 275614280 2204.914 100.00% Conn: 1 Mbps: 2204.914 Peak Mbps: 2204.914 Avg Mbps: 2204.914 2001 276335424 2210.683 100.00% Conn: 1 Mbps: 2210.683 Peak Mbps: 2210.683 Avg Mbps: 2210.683 3000 276136600 2211.304 100.00% Conn: 1 Mbps: 2211.304 Peak Mbps: 2211.304 Avg Mbps: 2211.304 4000 276198808 2209.590 100.00% Conn: 1 Mbps: 2209.590 Peak Mbps: 2211.304 Avg Mbps: 2209.590 5001 276443512 2211.548 100.00% Conn: 1 Mbps: 2211.548 Peak Mbps: 2211.548 Avg Mbps: 2211.548 --- 169.254.1.12 tcpbench statistics --- 1656261688 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2204.914/2209.608/2211.548/2.442 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 267569924 2140.559 100.00% Conn: 1 Mbps: 2140.559 Peak Mbps: 2140.559 Avg Mbps: 2140.559 2000 268513204 2148.106 100.00% Conn: 1 Mbps: 2148.106 Peak Mbps: 2148.106 Avg Mbps: 2148.106 3000 268216068 2147.876 100.00% Conn: 1 Mbps: 2147.876 Peak Mbps: 2148.106 Avg Mbps: 2147.876 4001 268492760 2147.942 100.00% Conn: 1 Mbps: 2147.942 Peak Mbps: 2148.106 Avg Mbps: 2147.942 5001 268284852 2148.427 100.00% Conn: 1 Mbps: 2148.427 Peak Mbps: 2148.427 Avg Mbps: 2148.427 --- fc00:0:0:1::12 tcpbench statistics --- 1609269972 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2140.559/2146.582/2148.427/3.017 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.054 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.054/0.054/0.054/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.063 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.063/0.063/0.063/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 429811944 3438.496 100.00% Conn: 1 Mbps: 3438.496 Peak Mbps: 3438.496 Avg Mbps: 3438.496 2000 427713672 3425.135 100.00% Conn: 1 Mbps: 3425.135 Peak Mbps: 3438.496 Avg Mbps: 3425.135 3000 427928268 3423.426 100.00% Conn: 1 Mbps: 3423.426 Peak Mbps: 3438.496 Avg Mbps: 3423.426 4000 428397200 3430.608 100.00% Conn: 1 Mbps: 3430.608 Peak Mbps: 3438.496 Avg Mbps: 3430.608 5000 427610348 3420.883 100.00% Conn: 1 Mbps: 3420.883 Peak Mbps: 3438.496 Avg Mbps: 3420.883 --- 169.254.0.13 tcpbench statistics --- 2571503868 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3420.883/3427.709/3438.496/6.266 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 419843096 3358.745 100.00% Conn: 1 Mbps: 3358.745 Peak Mbps: 3358.745 Avg Mbps: 3358.745 2000 419327776 3357.980 100.00% Conn: 1 Mbps: 3357.980 Peak Mbps: 3358.745 Avg Mbps: 3357.980 3000 419525976 3356.208 100.00% Conn: 1 Mbps: 3356.208 Peak Mbps: 3358.745 Avg Mbps: 3356.208 4000 418336776 3346.694 100.00% Conn: 1 Mbps: 3346.694 Peak Mbps: 3358.745 Avg Mbps: 3346.694 5000 419050296 3352.402 100.00% Conn: 1 Mbps: 3352.402 Peak Mbps: 3358.745 Avg Mbps: 3352.402 --- fc00::13 tcpbench statistics --- 2514880520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3346.694/3354.406/3358.745/4.435 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.048 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.048/0.048/0.048/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 278094712 2224.758 100.00% Conn: 1 Mbps: 2224.758 Peak Mbps: 2224.758 Avg Mbps: 2224.758 2000 278637184 2229.097 100.00% Conn: 1 Mbps: 2229.097 Peak Mbps: 2229.097 Avg Mbps: 2229.097 3000 278445384 2229.793 100.00% Conn: 1 Mbps: 2229.793 Peak Mbps: 2229.793 Avg Mbps: 2229.793 4000 278640080 2229.121 100.00% Conn: 1 Mbps: 2229.121 Peak Mbps: 2229.793 Avg Mbps: 2229.121 5000 278416920 2227.335 100.00% Conn: 1 Mbps: 2227.335 Peak Mbps: 2229.793 Avg Mbps: 2227.335 --- 169.254.1.11 tcpbench statistics --- 1670738136 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2224.758/2228.021/2229.793/1.824 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 269550940 2156.408 100.00% Conn: 1 Mbps: 2156.408 Peak Mbps: 2156.408 Avg Mbps: 2156.408 2000 270092996 2160.744 100.00% Conn: 1 Mbps: 2160.744 Peak Mbps: 2160.744 Avg Mbps: 2160.744 3001 270429000 2163.432 100.00% Conn: 1 Mbps: 2163.432 Peak Mbps: 2163.432 Avg Mbps: 2163.432 4001 270239656 2161.917 100.00% Conn: 1 Mbps: 2161.917 Peak Mbps: 2163.432 Avg Mbps: 2161.917 5001 269847988 2158.784 100.00% Conn: 1 Mbps: 2158.784 Peak Mbps: 2163.432 Avg Mbps: 2158.784 --- fc00:0:0:1::11 tcpbench statistics --- 1620052568 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2156.408/2160.257/2163.432/2.452 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.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-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.042 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.042/0.042/0.042/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 954711288 7637.690 100.00% Conn: 1 Mbps: 7637.690 Peak Mbps: 7637.690 Avg Mbps: 7637.690 2000 955664072 7652.966 100.00% Conn: 1 Mbps: 7652.966 Peak Mbps: 7652.966 Avg Mbps: 7652.966 3000 956367800 7650.942 100.00% Conn: 1 Mbps: 7650.942 Peak Mbps: 7652.966 Avg Mbps: 7650.942 4000 955284696 7642.278 100.00% Conn: 1 Mbps: 7642.278 Peak Mbps: 7652.966 Avg Mbps: 7642.278 5000 955613392 7644.907 100.00% Conn: 1 Mbps: 7644.907 Peak Mbps: 7652.966 Avg Mbps: 7644.907 --- 169.254.1.12 tcpbench statistics --- 5732746392 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7637.690/7645.757/7652.966/5.599 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 958417908 7667.343 100.00% Conn: 1 Mbps: 7667.343 Peak Mbps: 7667.343 Avg Mbps: 7667.343 2000 961772280 7701.880 100.00% Conn: 1 Mbps: 7701.880 Peak Mbps: 7701.880 Avg Mbps: 7701.880 3000 962052168 7696.417 100.00% Conn: 1 Mbps: 7696.417 Peak Mbps: 7701.880 Avg Mbps: 7696.417 4000 961183944 7697.169 100.00% Conn: 1 Mbps: 7697.169 Peak Mbps: 7701.880 Avg Mbps: 7697.169 5000 960085812 7680.686 100.00% Conn: 1 Mbps: 7680.686 Peak Mbps: 7701.880 Avg Mbps: 7680.686 --- fc00:0:0:1::12 tcpbench statistics --- 5764220532 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7667.343/7688.699/7701.880/12.848 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.045 ms --- fc00::13 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-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 1414830282 11318.642 100.00% Conn: 1 Mbps: 11318.642 Peak Mbps: 11318.642 Avg Mbps: 11318.642 2000 1419089216 11364.078 100.00% Conn: 1 Mbps: 11364.078 Peak Mbps: 11364.078 Avg Mbps: 11364.078 3000 1423047852 11384.383 100.00% Conn: 1 Mbps: 11384.383 Peak Mbps: 11384.383 Avg Mbps: 11384.383 4000 1418369464 11346.956 100.00% Conn: 1 Mbps: 11346.956 Peak Mbps: 11384.383 Avg Mbps: 11346.956 5000 1421313904 11370.511 100.00% Conn: 1 Mbps: 11370.511 Peak Mbps: 11384.383 Avg Mbps: 11370.511 --- 169.254.0.13 tcpbench statistics --- 8512435618 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11318.642/11356.914/11384.383/22.604 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 1381872276 11054.978 100.00% Conn: 1 Mbps: 11054.978 Peak Mbps: 11054.978 Avg Mbps: 11054.978 2000 1376697776 11024.607 100.00% Conn: 1 Mbps: 11024.607 Peak Mbps: 11054.978 Avg Mbps: 11024.607 3000 1407301232 11258.410 100.00% Conn: 1 Mbps: 11258.410 Peak Mbps: 11258.410 Avg Mbps: 11258.410 4000 1390560880 11124.487 100.00% Conn: 1 Mbps: 11124.487 Peak Mbps: 11258.410 Avg Mbps: 11124.487 5000 1397786696 11182.294 100.00% Conn: 1 Mbps: 11182.294 Peak Mbps: 11258.410 Avg Mbps: 11182.294 --- fc00::13 tcpbench statistics --- 8359067892 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11024.607/11128.955/11258.410/84.835 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 271368976 2170.952 100.00% Conn: 1 Mbps: 2170.952 Peak Mbps: 2170.952 Avg Mbps: 2170.952 2000 271739072 2173.913 100.00% Conn: 1 Mbps: 2173.913 Peak Mbps: 2173.913 Avg Mbps: 2173.913 3000 271843056 2174.744 100.00% Conn: 1 Mbps: 2174.744 Peak Mbps: 2174.744 Avg Mbps: 2174.744 4001 271959952 2175.680 100.00% Conn: 1 Mbps: 2175.680 Peak Mbps: 2175.680 Avg Mbps: 2175.680 5001 271715072 2175.896 100.00% Conn: 1 Mbps: 2175.896 Peak Mbps: 2175.896 Avg Mbps: 2175.896 --- 169.254.1.11 tcpbench statistics --- 1630080168 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2170.952/2174.237/2175.896/1.788 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 418803536 3350.428 100.00% Conn: 1 Mbps: 3350.428 Peak Mbps: 3350.428 Avg Mbps: 3350.428 2000 417684920 3344.824 100.00% Conn: 1 Mbps: 3344.824 Peak Mbps: 3350.428 Avg Mbps: 3344.824 3001 418026736 3344.214 100.00% Conn: 1 Mbps: 3344.214 Peak Mbps: 3350.428 Avg Mbps: 3344.214 4000 418054840 3347.787 100.00% Conn: 1 Mbps: 3347.787 Peak Mbps: 3350.428 Avg Mbps: 3347.787 5001 417969472 3343.756 100.00% Conn: 1 Mbps: 3343.756 Peak Mbps: 3350.428 Avg Mbps: 3343.756 --- fc00:0:0:1::11 tcpbench statistics --- 2508383768 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3343.756/3346.202/3350.428/2.538 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.042 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.042/0.042/0.042/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 1416869638 11334.957 100.00% Conn: 1 Mbps: 11334.957 Peak Mbps: 11334.957 Avg Mbps: 11334.957 2000 1418336748 11358.052 100.00% Conn: 1 Mbps: 11358.052 Peak Mbps: 11358.052 Avg Mbps: 11358.052 3000 1424062048 11392.496 100.00% Conn: 1 Mbps: 11392.496 Peak Mbps: 11392.496 Avg Mbps: 11392.496 4000 1420512362 11364.099 100.00% Conn: 1 Mbps: 11364.099 Peak Mbps: 11392.496 Avg Mbps: 11364.099 5000 1422491680 11379.933 100.00% Conn: 1 Mbps: 11379.933 Peak Mbps: 11392.496 Avg Mbps: 11379.933 --- 169.254.1.12 tcpbench statistics --- 8519104288 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11334.957/11365.908/11392.496/19.630 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 1412706908 11301.655 100.00% Conn: 1 Mbps: 11301.655 Peak Mbps: 11301.655 Avg Mbps: 11301.655 2000 1425284032 11413.686 100.00% Conn: 1 Mbps: 11413.686 Peak Mbps: 11413.686 Avg Mbps: 11413.686 3000 1414592440 11316.740 100.00% Conn: 1 Mbps: 11316.740 Peak Mbps: 11413.686 Avg Mbps: 11316.740 4000 1414919400 11319.355 100.00% Conn: 1 Mbps: 11319.355 Peak Mbps: 11413.686 Avg Mbps: 11319.355 5000 1429469120 11435.753 100.00% Conn: 1 Mbps: 11435.753 Peak Mbps: 11435.753 Avg Mbps: 11435.753 --- fc00:0:0:1::12 tcpbench statistics --- 8523400292 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11301.655/11357.438/11435.753/55.705 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 1422161106 11377.289 100.00% Conn: 1 Mbps: 11377.289 Peak Mbps: 11377.289 Avg Mbps: 11377.289 2000 1422557112 11391.849 100.00% Conn: 1 Mbps: 11391.849 Peak Mbps: 11391.849 Avg Mbps: 11391.849 3000 1423015136 11384.121 100.00% Conn: 1 Mbps: 11384.121 Peak Mbps: 11391.849 Avg Mbps: 11384.121 4000 1427726240 11421.810 100.00% Conn: 1 Mbps: 11421.810 Peak Mbps: 11421.810 Avg Mbps: 11421.810 5000 1428740436 11429.923 100.00% Conn: 1 Mbps: 11429.923 Peak Mbps: 11429.923 Avg Mbps: 11429.923 --- 169.254.0.13 tcpbench statistics --- 8552973182 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11377.289/11400.998/11429.923/20.978 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 1442338236 11538.706 100.00% Conn: 1 Mbps: 11538.706 Peak Mbps: 11538.706 Avg Mbps: 11538.706 2000 1451113872 11620.532 100.00% Conn: 1 Mbps: 11620.532 Peak Mbps: 11620.532 Avg Mbps: 11620.532 3000 1451081176 11608.649 100.00% Conn: 1 Mbps: 11608.649 Peak Mbps: 11620.532 Avg Mbps: 11608.649 4000 1448694368 11589.555 100.00% Conn: 1 Mbps: 11589.555 Peak Mbps: 11620.532 Avg Mbps: 11589.555 5000 1443986144 11551.889 100.00% Conn: 1 Mbps: 11551.889 Peak Mbps: 11620.532 Avg Mbps: 11551.889 --- fc00::13 tcpbench statistics --- 8687869924 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11538.706/11581.866/11620.532/31.727 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.82s