START sys/net/pair 2025-02-08T06:06:29Z ==== 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.161 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.161/0.161/0.161/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.186 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.186/0.186/0.186/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 286875112 2295.001 100.00% Conn: 1 Mbps: 2295.001 Peak Mbps: 2295.001 Avg Mbps: 2295.001 2000 325071660 2603.176 100.00% Conn: 1 Mbps: 2603.176 Peak Mbps: 2603.176 Avg Mbps: 2603.176 3000 325534184 2604.273 100.00% Conn: 1 Mbps: 2604.273 Peak Mbps: 2604.273 Avg Mbps: 2604.273 4000 334722072 2677.777 100.00% Conn: 1 Mbps: 2677.777 Peak Mbps: 2677.777 Avg Mbps: 2677.777 5000 332790708 2662.326 100.00% Conn: 1 Mbps: 2662.326 Peak Mbps: 2677.777 Avg Mbps: 2662.326 --- 169.254.1.11 tcpbench statistics --- 1937282320 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2295.001/2568.511/2677.777/140.020 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 324944936 2599.559 100.00% Conn: 1 Mbps: 2599.559 Peak Mbps: 2599.559 Avg Mbps: 2599.559 2000 325520952 2606.774 100.00% Conn: 1 Mbps: 2606.774 Peak Mbps: 2606.774 Avg Mbps: 2606.774 3000 324974960 2599.800 100.00% Conn: 1 Mbps: 2599.800 Peak Mbps: 2606.774 Avg Mbps: 2599.800 4000 322796448 2582.372 100.00% Conn: 1 Mbps: 2582.372 Peak Mbps: 2606.774 Avg Mbps: 2582.372 5000 325539536 2604.316 100.00% Conn: 1 Mbps: 2604.316 Peak Mbps: 2606.774 Avg Mbps: 2604.316 --- fc00:0:0:1::11 tcpbench statistics --- 1948158880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2582.372/2598.564/2606.774/8.546 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.227 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.227/0.227/0.227/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.208 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.208/0.208/0.208/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 1002 237379624 1895.246 100.00% Conn: 1 Mbps: 1895.246 Peak Mbps: 1895.246 Avg Mbps: 1895.246 2002 249149408 1993.195 100.00% Conn: 1 Mbps: 1993.195 Peak Mbps: 1993.195 Avg Mbps: 1993.195 3003 241713136 1931.773 100.00% Conn: 1 Mbps: 1931.773 Peak Mbps: 1993.195 Avg Mbps: 1931.773 4003 258490664 2067.925 100.00% Conn: 1 Mbps: 2067.925 Peak Mbps: 2067.925 Avg Mbps: 2067.925 5004 240929040 1925.507 100.00% Conn: 1 Mbps: 1925.507 Peak Mbps: 2067.925 Avg Mbps: 1925.507 --- 169.254.1.12 tcpbench statistics --- 1478047216 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1895.246/1962.729/2067.925/61.469 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 240810532 1924.560 100.00% Conn: 1 Mbps: 1924.560 Peak Mbps: 1924.560 Avg Mbps: 1924.560 2002 216539976 1730.589 100.00% Conn: 1 Mbps: 1730.589 Peak Mbps: 1924.560 Avg Mbps: 1730.589 3002 239549672 1918.316 100.00% Conn: 1 Mbps: 1918.316 Peak Mbps: 1924.560 Avg Mbps: 1918.316 4003 229373136 1833.152 100.00% Conn: 1 Mbps: 1833.152 Peak Mbps: 1924.560 Avg Mbps: 1833.152 5004 247604208 1980.834 100.00% Conn: 1 Mbps: 1980.834 Peak Mbps: 1980.834 Avg Mbps: 1980.834 --- fc00:0:0:1::12 tcpbench statistics --- 1411913184 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1730.589/1877.490/1980.834/87.302 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.183 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.183/0.183/0.183/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.165 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.165/0.165/0.165/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 574032852 4592.263 100.00% Conn: 1 Mbps: 4592.263 Peak Mbps: 4592.263 Avg Mbps: 4592.263 2000 608452592 4872.493 100.00% Conn: 1 Mbps: 4872.493 Peak Mbps: 4872.493 Avg Mbps: 4872.493 3000 633152412 5070.290 100.00% Conn: 1 Mbps: 5070.290 Peak Mbps: 5070.290 Avg Mbps: 5070.290 4001 624815984 4998.528 100.00% Conn: 1 Mbps: 4998.528 Peak Mbps: 5070.290 Avg Mbps: 4998.528 5001 620100860 4960.807 100.00% Conn: 1 Mbps: 4960.807 Peak Mbps: 5070.290 Avg Mbps: 4960.807 --- 169.254.0.13 tcpbench statistics --- 3698546508 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4592.263/4898.876/5070.290/166.046 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 432964456 3463.716 100.00% Conn: 1 Mbps: 3463.716 Peak Mbps: 3463.716 Avg Mbps: 3463.716 2001 443080584 3544.645 100.00% Conn: 1 Mbps: 3544.645 Peak Mbps: 3544.645 Avg Mbps: 3544.645 3001 448088624 3584.709 100.00% Conn: 1 Mbps: 3584.709 Peak Mbps: 3584.709 Avg Mbps: 3584.709 4001 508437976 4067.504 100.00% Conn: 1 Mbps: 4067.504 Peak Mbps: 4067.504 Avg Mbps: 4067.504 5001 545378560 4367.396 100.00% Conn: 1 Mbps: 4367.396 Peak Mbps: 4367.396 Avg Mbps: 4367.396 --- fc00::13 tcpbench statistics --- 2844804648 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 3463.716/3805.594/4367.396/351.563 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.103 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.103/0.103/0.103/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.121 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.121/0.121/0.121/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 1001 222861032 1781.107 100.00% Conn: 1 Mbps: 1781.107 Peak Mbps: 1781.107 Avg Mbps: 1781.107 2002 262788728 2100.210 100.00% Conn: 1 Mbps: 2100.210 Peak Mbps: 2100.210 Avg Mbps: 2100.210 3002 260563768 2084.510 100.00% Conn: 1 Mbps: 2084.510 Peak Mbps: 2100.210 Avg Mbps: 2084.510 4003 254017536 2032.140 100.00% Conn: 1 Mbps: 2032.140 Peak Mbps: 2100.210 Avg Mbps: 2032.140 5003 232956104 1863.649 100.00% Conn: 1 Mbps: 1863.649 Peak Mbps: 2100.210 Avg Mbps: 1863.649 --- 169.254.1.11 tcpbench statistics --- 1473841416 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1781.107/1972.323/2100.210/127.195 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 1002 223124024 1781.429 100.00% Conn: 1 Mbps: 1781.429 Peak Mbps: 1781.429 Avg Mbps: 1781.429 2002 234322348 1876.455 100.00% Conn: 1 Mbps: 1876.455 Peak Mbps: 1876.455 Avg Mbps: 1876.455 3002 242815728 1942.526 100.00% Conn: 1 Mbps: 1942.526 Peak Mbps: 1942.526 Avg Mbps: 1942.526 4003 222424220 1779.394 100.00% Conn: 1 Mbps: 1779.394 Peak Mbps: 1942.526 Avg Mbps: 1779.394 5004 226353652 1809.020 100.00% Conn: 1 Mbps: 1809.020 Peak Mbps: 1942.526 Avg Mbps: 1809.020 --- fc00:0:0:1::11 tcpbench statistics --- 1377105832 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1779.394/1837.765/1942.526/63.054 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.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-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.084 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.084/0.084/0.084/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 343814568 2750.517 100.00% Conn: 1 Mbps: 2750.517 Peak Mbps: 2750.517 Avg Mbps: 2750.517 2000 334464832 2678.397 100.00% Conn: 1 Mbps: 2678.397 Peak Mbps: 2750.517 Avg Mbps: 2678.397 3000 338640864 2711.839 100.00% Conn: 1 Mbps: 2711.839 Peak Mbps: 2750.517 Avg Mbps: 2711.839 4000 339761064 2718.089 100.00% Conn: 1 Mbps: 2718.089 Peak Mbps: 2750.517 Avg Mbps: 2718.089 5000 331661504 2653.292 100.00% Conn: 1 Mbps: 2653.292 Peak Mbps: 2750.517 Avg Mbps: 2653.292 --- 169.254.1.12 tcpbench statistics --- 2024162992 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2653.292/2702.427/2750.517/33.580 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 334319076 2674.553 100.00% Conn: 1 Mbps: 2674.553 Peak Mbps: 2674.553 Avg Mbps: 2674.553 2000 329587956 2639.343 100.00% Conn: 1 Mbps: 2639.343 Peak Mbps: 2674.553 Avg Mbps: 2639.343 3000 328384308 2627.074 100.00% Conn: 1 Mbps: 2627.074 Peak Mbps: 2674.553 Avg Mbps: 2627.074 4000 332695440 2661.564 100.00% Conn: 1 Mbps: 2661.564 Peak Mbps: 2674.553 Avg Mbps: 2661.564 5000 327186428 2617.491 100.00% Conn: 1 Mbps: 2617.491 Peak Mbps: 2674.553 Avg Mbps: 2617.491 --- fc00:0:0:1::12 tcpbench statistics --- 1981491428 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2617.491/2644.005/2674.553/21.226 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.135 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.135/0.135/0.135/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.096 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.096/0.096/0.096/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 518732928 4149.863 100.00% Conn: 1 Mbps: 4149.863 Peak Mbps: 4149.863 Avg Mbps: 4149.863 2000 516569282 4136.691 100.00% Conn: 1 Mbps: 4136.691 Peak Mbps: 4149.863 Avg Mbps: 4136.691 3000 520200758 4161.606 100.00% Conn: 1 Mbps: 4161.606 Peak Mbps: 4161.606 Avg Mbps: 4161.606 4000 519546438 4156.372 100.00% Conn: 1 Mbps: 4156.372 Peak Mbps: 4161.606 Avg Mbps: 4156.372 5000 522458162 4179.665 100.00% Conn: 1 Mbps: 4179.665 Peak Mbps: 4179.665 Avg Mbps: 4179.665 --- 169.254.0.13 tcpbench statistics --- 3116808636 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4136.691/4156.839/4179.665/14.132 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 501448268 4011.586 100.00% Conn: 1 Mbps: 4011.586 Peak Mbps: 4011.586 Avg Mbps: 4011.586 2000 500237060 4005.902 100.00% Conn: 1 Mbps: 4005.902 Peak Mbps: 4011.586 Avg Mbps: 4005.902 3000 502439432 4019.515 100.00% Conn: 1 Mbps: 4019.515 Peak Mbps: 4019.515 Avg Mbps: 4019.515 4000 501654728 4013.238 100.00% Conn: 1 Mbps: 4013.238 Peak Mbps: 4019.515 Avg Mbps: 4013.238 5000 499039048 3992.312 100.00% Conn: 1 Mbps: 3992.312 Peak Mbps: 4019.515 Avg Mbps: 3992.312 --- fc00::13 tcpbench statistics --- 3007552232 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3992.312/4008.511/4019.515/9.188 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.156 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.156/0.156/0.156/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.106 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.106/0.106/0.106/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 248295712 1984.381 100.00% Conn: 1 Mbps: 1984.381 Peak Mbps: 1984.381 Avg Mbps: 1984.381 2001 229371816 1834.975 100.00% Conn: 1 Mbps: 1834.975 Peak Mbps: 1984.381 Avg Mbps: 1834.975 3001 249823232 1998.586 100.00% Conn: 1 Mbps: 1998.586 Peak Mbps: 1998.586 Avg Mbps: 1998.586 4002 241588136 1932.705 100.00% Conn: 1 Mbps: 1932.705 Peak Mbps: 1998.586 Avg Mbps: 1932.705 5002 248658960 1989.272 100.00% Conn: 1 Mbps: 1989.272 Peak Mbps: 1998.586 Avg Mbps: 1989.272 --- 169.254.1.11 tcpbench statistics --- 1463131592 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1834.975/1947.984/1998.586/60.983 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 414608848 3316.871 100.00% Conn: 1 Mbps: 3316.871 Peak Mbps: 3316.871 Avg Mbps: 3316.871 2000 477711896 3821.695 100.00% Conn: 1 Mbps: 3821.695 Peak Mbps: 3821.695 Avg Mbps: 3821.695 3000 467081688 3740.394 100.00% Conn: 1 Mbps: 3740.394 Peak Mbps: 3821.695 Avg Mbps: 3740.394 4001 467058840 3736.471 100.00% Conn: 1 Mbps: 3736.471 Peak Mbps: 3821.695 Avg Mbps: 3736.471 5001 387908808 3103.270 100.00% Conn: 1 Mbps: 3103.270 Peak Mbps: 3821.695 Avg Mbps: 3103.270 --- fc00:0:0:1::11 tcpbench statistics --- 2617749256 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3103.270/3543.740/3821.695/282.333 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.138 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.138/0.138/0.138/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.109 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.109/0.109/0.109/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 514821896 4118.575 100.00% Conn: 1 Mbps: 4118.575 Peak Mbps: 4118.575 Avg Mbps: 4118.575 2000 519840882 4162.890 100.00% Conn: 1 Mbps: 4162.890 Peak Mbps: 4162.890 Avg Mbps: 4162.890 3000 518730986 4149.848 100.00% Conn: 1 Mbps: 4149.848 Peak Mbps: 4162.890 Avg Mbps: 4149.848 4000 507310654 4058.485 100.00% Conn: 1 Mbps: 4058.485 Peak Mbps: 4162.890 Avg Mbps: 4058.485 5000 499409740 3995.278 100.00% Conn: 1 Mbps: 3995.278 Peak Mbps: 4162.890 Avg Mbps: 3995.278 --- 169.254.1.12 tcpbench statistics --- 3063989632 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3995.278/4097.015/4162.890/62.339 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 490814700 3926.518 100.00% Conn: 1 Mbps: 3926.518 Peak Mbps: 3926.518 Avg Mbps: 3926.518 2000 496063712 3972.482 100.00% Conn: 1 Mbps: 3972.482 Peak Mbps: 3972.482 Avg Mbps: 3972.482 3000 498734772 3989.878 100.00% Conn: 1 Mbps: 3989.878 Peak Mbps: 3989.878 Avg Mbps: 3989.878 4000 493742296 3949.938 100.00% Conn: 1 Mbps: 3949.938 Peak Mbps: 3989.878 Avg Mbps: 3949.938 5000 497502336 3980.019 100.00% Conn: 1 Mbps: 3980.019 Peak Mbps: 3989.878 Avg Mbps: 3980.019 --- fc00:0:0:1::12 tcpbench statistics --- 2974360152 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3926.518/3963.767/3989.878/22.806 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.132 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.132/0.132/0.132/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.128 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.128/0.128/0.128/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 509095420 4072.763 100.00% Conn: 1 Mbps: 4072.763 Peak Mbps: 4072.763 Avg Mbps: 4072.763 2000 533254442 4266.036 100.00% Conn: 1 Mbps: 4266.036 Peak Mbps: 4266.036 Avg Mbps: 4266.036 3000 531263342 4250.107 100.00% Conn: 1 Mbps: 4250.107 Peak Mbps: 4266.036 Avg Mbps: 4250.107 4000 522638076 4181.105 100.00% Conn: 1 Mbps: 4181.105 Peak Mbps: 4266.036 Avg Mbps: 4181.105 5000 527091196 4216.730 100.00% Conn: 1 Mbps: 4216.730 Peak Mbps: 4266.036 Avg Mbps: 4216.730 --- 169.254.0.13 tcpbench statistics --- 3140487592 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4072.763/4197.348/4266.036/68.793 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 515097516 4120.780 100.00% Conn: 1 Mbps: 4120.780 Peak Mbps: 4120.780 Avg Mbps: 4120.780 2000 516629496 4137.173 100.00% Conn: 1 Mbps: 4137.173 Peak Mbps: 4137.173 Avg Mbps: 4137.173 3000 513065632 4104.525 100.00% Conn: 1 Mbps: 4104.525 Peak Mbps: 4137.173 Avg Mbps: 4104.525 4000 504041536 4032.332 100.00% Conn: 1 Mbps: 4032.332 Peak Mbps: 4137.173 Avg Mbps: 4032.332 5000 501295072 4010.361 100.00% Conn: 1 Mbps: 4010.361 Peak Mbps: 4137.173 Avg Mbps: 4010.361 --- fc00::13 tcpbench statistics --- 3052113244 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4010.361/4081.034/4137.173/50.299 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 1m54.09s