START sys/net/pair 2024-12-26T04:55:22Z ==== 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.049 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.049/0.049/0.049/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.045 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.045/0.045/0.045/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 636332776 5090.662 100.00% Conn: 1 Mbps: 5090.662 Peak Mbps: 5090.662 Avg Mbps: 5090.662 2000 637437548 5099.500 100.00% Conn: 1 Mbps: 5099.500 Peak Mbps: 5099.500 Avg Mbps: 5099.500 3000 637016304 5101.232 100.00% Conn: 1 Mbps: 5101.232 Peak Mbps: 5101.232 Avg Mbps: 5101.232 4000 637699832 5106.705 100.00% Conn: 1 Mbps: 5106.705 Peak Mbps: 5106.705 Avg Mbps: 5106.705 5000 636674540 5093.396 100.00% Conn: 1 Mbps: 5093.396 Peak Mbps: 5106.705 Avg Mbps: 5093.396 --- 169.254.1.11 tcpbench statistics --- 3818560964 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5090.662/5098.299/5106.705/5.711 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 655946864 5247.575 100.00% Conn: 1 Mbps: 5247.575 Peak Mbps: 5247.575 Avg Mbps: 5247.575 2000 653869728 5236.194 100.00% Conn: 1 Mbps: 5236.194 Peak Mbps: 5247.575 Avg Mbps: 5236.194 3000 651308984 5210.472 100.00% Conn: 1 Mbps: 5210.472 Peak Mbps: 5247.575 Avg Mbps: 5210.472 4000 654733880 5237.871 100.00% Conn: 1 Mbps: 5237.871 Peak Mbps: 5247.575 Avg Mbps: 5237.871 5000 652466472 5219.732 100.00% Conn: 1 Mbps: 5219.732 Peak Mbps: 5247.575 Avg Mbps: 5219.732 --- fc00:0:0:1::11 tcpbench statistics --- 3918112736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5210.472/5230.369/5247.575/13.381 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.080 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.080/0.080/0.080/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.143 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.143/0.143/0.143/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 216121880 1728.975 100.00% Conn: 1 Mbps: 1728.975 Peak Mbps: 1728.975 Avg Mbps: 1728.975 2001 215448800 1723.590 100.00% Conn: 1 Mbps: 1723.590 Peak Mbps: 1728.975 Avg Mbps: 1723.590 3001 215001640 1721.735 100.00% Conn: 1 Mbps: 1721.735 Peak Mbps: 1728.975 Avg Mbps: 1721.735 4001 215169552 1721.356 100.00% Conn: 1 Mbps: 1721.356 Peak Mbps: 1728.975 Avg Mbps: 1721.356 5001 214266664 1714.133 100.00% Conn: 1 Mbps: 1714.133 Peak Mbps: 1728.975 Avg Mbps: 1714.133 --- 169.254.1.12 tcpbench statistics --- 1291364824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1714.133/1721.958/1728.975/4.765 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1001 204268544 1632.516 100.00% Conn: 1 Mbps: 1632.516 Peak Mbps: 1632.516 Avg Mbps: 1632.516 2000 208308284 1668.134 100.00% Conn: 1 Mbps: 1668.134 Peak Mbps: 1668.134 Avg Mbps: 1668.134 3001 207996880 1662.313 100.00% Conn: 1 Mbps: 1662.313 Peak Mbps: 1668.134 Avg Mbps: 1662.313 4001 207276264 1659.870 100.00% Conn: 1 Mbps: 1659.870 Peak Mbps: 1668.134 Avg Mbps: 1659.870 5002 205552060 1642.774 100.00% Conn: 1 Mbps: 1642.774 Peak Mbps: 1668.134 Avg Mbps: 1642.774 --- fc00:0:0:1::12 tcpbench statistics --- 1239166016 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1632.516/1653.121/1668.134/13.320 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.057 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.057/0.057/0.057/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.069 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.069/0.069/0.069/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 337835308 2702.682 100.00% Conn: 1 Mbps: 2702.682 Peak Mbps: 2702.682 Avg Mbps: 2702.682 2000 336626232 2693.010 100.00% Conn: 1 Mbps: 2693.010 Peak Mbps: 2702.682 Avg Mbps: 2693.010 3000 337287176 2700.998 100.00% Conn: 1 Mbps: 2700.998 Peak Mbps: 2702.682 Avg Mbps: 2700.998 4000 335378536 2683.028 100.00% Conn: 1 Mbps: 2683.028 Peak Mbps: 2702.682 Avg Mbps: 2683.028 5000 338874816 2713.712 100.00% Conn: 1 Mbps: 2713.712 Peak Mbps: 2713.712 Avg Mbps: 2713.712 --- 169.254.0.13 tcpbench statistics --- 2027286248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2683.028/2698.686/2713.712/10.242 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 308884368 2471.075 100.00% Conn: 1 Mbps: 2471.075 Peak Mbps: 2471.075 Avg Mbps: 2471.075 2000 310207304 2481.658 100.00% Conn: 1 Mbps: 2481.658 Peak Mbps: 2481.658 Avg Mbps: 2481.658 3000 310937720 2487.502 100.00% Conn: 1 Mbps: 2487.502 Peak Mbps: 2487.502 Avg Mbps: 2487.502 4000 311118504 2488.948 100.00% Conn: 1 Mbps: 2488.948 Peak Mbps: 2488.948 Avg Mbps: 2488.948 5000 310714696 2488.206 100.00% Conn: 1 Mbps: 2488.206 Peak Mbps: 2488.948 Avg Mbps: 2488.206 --- fc00::13 tcpbench statistics --- 1862949384 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2471.075/2483.478/2488.948/6.717 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.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-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.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-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 219408064 1755.265 100.00% Conn: 1 Mbps: 1755.265 Peak Mbps: 1755.265 Avg Mbps: 1755.265 2001 218302136 1746.417 100.00% Conn: 1 Mbps: 1746.417 Peak Mbps: 1755.265 Avg Mbps: 1746.417 3002 220243568 1761.949 100.00% Conn: 1 Mbps: 1761.949 Peak Mbps: 1761.949 Avg Mbps: 1761.949 4002 218815784 1750.526 100.00% Conn: 1 Mbps: 1750.526 Peak Mbps: 1761.949 Avg Mbps: 1750.526 5003 217941968 1743.536 100.00% Conn: 1 Mbps: 1743.536 Peak Mbps: 1761.949 Avg Mbps: 1743.536 --- 169.254.1.11 tcpbench statistics --- 1311195800 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1743.536/1751.538/1761.949/6.535 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 207173180 1657.385 100.00% Conn: 1 Mbps: 1657.385 Peak Mbps: 1657.385 Avg Mbps: 1657.385 2001 207948880 1663.591 100.00% Conn: 1 Mbps: 1663.591 Peak Mbps: 1663.591 Avg Mbps: 1663.591 3002 207012296 1654.444 100.00% Conn: 1 Mbps: 1654.444 Peak Mbps: 1663.591 Avg Mbps: 1654.444 4003 208014088 1664.113 100.00% Conn: 1 Mbps: 1664.113 Peak Mbps: 1664.113 Avg Mbps: 1664.113 5004 208347236 1666.778 100.00% Conn: 1 Mbps: 1666.778 Peak Mbps: 1666.778 Avg Mbps: 1666.778 --- fc00:0:0:1::11 tcpbench statistics --- 1247868192 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1654.444/1661.262/1666.778/4.593 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.050 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.050/0.050/0.050/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.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-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 615824264 4926.594 100.00% Conn: 1 Mbps: 4926.594 Peak Mbps: 4926.594 Avg Mbps: 4926.594 2000 609616688 4881.815 100.00% Conn: 1 Mbps: 4881.815 Peak Mbps: 4926.594 Avg Mbps: 4881.815 3000 607045040 4856.360 100.00% Conn: 1 Mbps: 4856.360 Peak Mbps: 4926.594 Avg Mbps: 4856.360 4000 609387904 4875.103 100.00% Conn: 1 Mbps: 4875.103 Peak Mbps: 4926.594 Avg Mbps: 4875.103 5000 609272064 4874.177 100.00% Conn: 1 Mbps: 4874.177 Peak Mbps: 4926.594 Avg Mbps: 4874.177 --- 169.254.1.12 tcpbench statistics --- 3660006792 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4856.360/4882.810/4926.594/23.459 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 624490924 4995.927 100.00% Conn: 1 Mbps: 4995.927 Peak Mbps: 4995.927 Avg Mbps: 4995.927 2000 623985412 4996.880 100.00% Conn: 1 Mbps: 4996.880 Peak Mbps: 4996.880 Avg Mbps: 4996.880 3000 624965628 5004.730 100.00% Conn: 1 Mbps: 5004.730 Peak Mbps: 5004.730 Avg Mbps: 5004.730 4000 621217128 4969.737 100.00% Conn: 1 Mbps: 4969.737 Peak Mbps: 5004.730 Avg Mbps: 4969.737 5000 620149804 4961.198 100.00% Conn: 1 Mbps: 4961.198 Peak Mbps: 5004.730 Avg Mbps: 4961.198 --- fc00:0:0:1::12 tcpbench statistics --- 3740055840 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4961.198/4985.695/5004.730/17.011 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.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-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.052 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.052/0.052/0.052/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 1083963132 8671.705 100.00% Conn: 1 Mbps: 8671.705 Peak Mbps: 8671.705 Avg Mbps: 8671.705 2000 1083063180 8673.179 100.00% Conn: 1 Mbps: 8673.179 Peak Mbps: 8673.179 Avg Mbps: 8673.179 3000 1073755478 8590.044 100.00% Conn: 1 Mbps: 8590.044 Peak Mbps: 8673.179 Avg Mbps: 8590.044 4000 1079317198 8634.538 100.00% Conn: 1 Mbps: 8634.538 Peak Mbps: 8673.179 Avg Mbps: 8634.538 5000 1088297740 8706.382 100.00% Conn: 1 Mbps: 8706.382 Peak Mbps: 8706.382 Avg Mbps: 8706.382 --- 169.254.0.13 tcpbench statistics --- 6484867634 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8590.044/8655.169/8706.382/39.718 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 1052773768 8422.190 100.00% Conn: 1 Mbps: 8422.190 Peak Mbps: 8422.190 Avg Mbps: 8422.190 2000 1042185000 8345.826 100.00% Conn: 1 Mbps: 8345.826 Peak Mbps: 8422.190 Avg Mbps: 8345.826 3000 1050555176 8404.441 100.00% Conn: 1 Mbps: 8404.441 Peak Mbps: 8422.190 Avg Mbps: 8404.441 4000 1046795136 8374.361 100.00% Conn: 1 Mbps: 8374.361 Peak Mbps: 8422.190 Avg Mbps: 8374.361 5000 1054282520 8434.260 100.00% Conn: 1 Mbps: 8434.260 Peak Mbps: 8434.260 Avg Mbps: 8434.260 --- fc00::13 tcpbench statistics --- 6301560736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8345.826/8396.216/8434.260/32.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.051 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.051/0.051/0.051/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.061 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.061/0.061/0.061/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 215822600 1726.581 100.00% Conn: 1 Mbps: 1726.581 Peak Mbps: 1726.581 Avg Mbps: 1726.581 2000 215895288 1728.891 100.00% Conn: 1 Mbps: 1728.891 Peak Mbps: 1728.891 Avg Mbps: 1728.891 3000 214606944 1716.856 100.00% Conn: 1 Mbps: 1716.856 Peak Mbps: 1728.891 Avg Mbps: 1716.856 4001 213801416 1710.411 100.00% Conn: 1 Mbps: 1710.411 Peak Mbps: 1728.891 Avg Mbps: 1710.411 5002 213402704 1707.222 100.00% Conn: 1 Mbps: 1707.222 Peak Mbps: 1728.891 Avg Mbps: 1707.222 --- 169.254.1.11 tcpbench statistics --- 1288337120 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1707.222/1717.992/1728.891/8.571 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 317155800 2537.246 100.00% Conn: 1 Mbps: 2537.246 Peak Mbps: 2537.246 Avg Mbps: 2537.246 2001 314736120 2517.889 100.00% Conn: 1 Mbps: 2517.889 Peak Mbps: 2537.246 Avg Mbps: 2517.889 3001 315396136 2523.169 100.00% Conn: 1 Mbps: 2523.169 Peak Mbps: 2537.246 Avg Mbps: 2523.169 4001 317010824 2538.625 100.00% Conn: 1 Mbps: 2538.625 Peak Mbps: 2538.625 Avg Mbps: 2538.625 5002 312001864 2496.015 100.00% Conn: 1 Mbps: 2496.015 Peak Mbps: 2538.625 Avg Mbps: 2496.015 --- fc00:0:0:1::11 tcpbench statistics --- 1890887704 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2496.015/2522.589/2538.625/15.496 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.050 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.050/0.050/0.050/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.049 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.049/0.049/0.049/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 1075986640 8607.893 100.00% Conn: 1 Mbps: 8607.893 Peak Mbps: 8607.893 Avg Mbps: 8607.893 2000 1069665978 8565.894 100.00% Conn: 1 Mbps: 8565.894 Peak Mbps: 8607.893 Avg Mbps: 8565.894 3000 1070811038 8566.488 100.00% Conn: 1 Mbps: 8566.488 Peak Mbps: 8607.893 Avg Mbps: 8566.488 4000 1075931092 8607.449 100.00% Conn: 1 Mbps: 8607.449 Peak Mbps: 8607.893 Avg Mbps: 8607.449 5000 1073755478 8590.044 100.00% Conn: 1 Mbps: 8590.044 Peak Mbps: 8607.893 Avg Mbps: 8590.044 --- 169.254.1.12 tcpbench statistics --- 6437615584 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8565.894/8587.554/8607.893/18.594 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 1015056212 8120.450 100.00% Conn: 1 Mbps: 8120.450 Peak Mbps: 8120.450 Avg Mbps: 8120.450 2000 1002688232 8029.535 100.00% Conn: 1 Mbps: 8029.535 Peak Mbps: 8120.450 Avg Mbps: 8029.535 3000 1004780776 8038.246 100.00% Conn: 1 Mbps: 8038.246 Peak Mbps: 8120.450 Avg Mbps: 8038.246 4000 1004028768 8032.230 100.00% Conn: 1 Mbps: 8032.230 Peak Mbps: 8120.450 Avg Mbps: 8032.230 5000 999320544 7994.564 100.00% Conn: 1 Mbps: 7994.564 Peak Mbps: 8120.450 Avg Mbps: 7994.564 --- fc00:0:0:1::12 tcpbench statistics --- 6028791636 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7994.564/8043.005/8120.450/41.628 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.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-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.046 ms --- fc00::13 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-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 1114672518 8917.380 100.00% Conn: 1 Mbps: 8917.380 Peak Mbps: 8917.380 Avg Mbps: 8917.380 2000 1109824868 8887.486 100.00% Conn: 1 Mbps: 8887.486 Peak Mbps: 8917.380 Avg Mbps: 8887.486 3000 1112834740 8902.678 100.00% Conn: 1 Mbps: 8902.678 Peak Mbps: 8917.380 Avg Mbps: 8902.678 4000 1113260048 8906.080 100.00% Conn: 1 Mbps: 8906.080 Peak Mbps: 8917.380 Avg Mbps: 8906.080 5000 1123990896 8991.927 100.00% Conn: 1 Mbps: 8991.927 Peak Mbps: 8991.927 Avg Mbps: 8991.927 --- 169.254.0.13 tcpbench statistics --- 6701632912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8887.486/8921.110/8991.927/36.675 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 1086529464 8692.236 100.00% Conn: 1 Mbps: 8692.236 Peak Mbps: 8692.236 Avg Mbps: 8692.236 2000 1079523832 8644.835 100.00% Conn: 1 Mbps: 8644.835 Peak Mbps: 8692.236 Avg Mbps: 8644.835 3000 1092406056 8739.248 100.00% Conn: 1 Mbps: 8739.248 Peak Mbps: 8739.248 Avg Mbps: 8739.248 4000 1082335688 8658.686 100.00% Conn: 1 Mbps: 8658.686 Peak Mbps: 8739.248 Avg Mbps: 8658.686 5000 1093746592 8749.973 100.00% Conn: 1 Mbps: 8749.973 Peak Mbps: 8749.973 Avg Mbps: 8749.973 --- fc00::13 tcpbench statistics --- 6524887840 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8644.835/8696.996/8749.973/41.959 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 1m52.86s