START sys/net/pair 2024-12-28T05:37:31Z ==== 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.037 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.037/0.037/0.037/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.044 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.044/0.044/0.044/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 728163968 5825.312 100.00% Conn: 1 Mbps: 5825.312 Peak Mbps: 5825.312 Avg Mbps: 5825.312 2000 721336636 5776.470 100.00% Conn: 1 Mbps: 5776.470 Peak Mbps: 5825.312 Avg Mbps: 5776.470 3000 726073644 5808.589 100.00% Conn: 1 Mbps: 5808.589 Peak Mbps: 5825.312 Avg Mbps: 5808.589 4000 724698640 5797.589 100.00% Conn: 1 Mbps: 5797.589 Peak Mbps: 5825.312 Avg Mbps: 5797.589 5000 727003560 5816.028 100.00% Conn: 1 Mbps: 5816.028 Peak Mbps: 5825.312 Avg Mbps: 5816.028 --- 169.254.1.11 tcpbench statistics --- 4353882188 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5776.470/5804.798/5825.312/16.827 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 725713264 5805.706 100.00% Conn: 1 Mbps: 5805.706 Peak Mbps: 5805.706 Avg Mbps: 5805.706 2000 728131304 5830.881 100.00% Conn: 1 Mbps: 5830.881 Peak Mbps: 5830.881 Avg Mbps: 5830.881 3000 730744816 5845.959 100.00% Conn: 1 Mbps: 5845.959 Peak Mbps: 5845.959 Avg Mbps: 5845.959 4000 721162592 5769.301 100.00% Conn: 1 Mbps: 5769.301 Peak Mbps: 5845.959 Avg Mbps: 5769.301 5000 724413072 5801.106 100.00% Conn: 1 Mbps: 5801.106 Peak Mbps: 5845.959 Avg Mbps: 5801.106 --- fc00:0:0:1::11 tcpbench statistics --- 4348826552 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5769.301/5810.590/5845.959/26.387 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.057 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.057/0.057/0.057/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.116 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.116/0.116/0.116/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 1001 269784064 2156.116 100.00% Conn: 1 Mbps: 2156.116 Peak Mbps: 2156.116 Avg Mbps: 2156.116 2001 279695384 2239.803 100.00% Conn: 1 Mbps: 2239.803 Peak Mbps: 2239.803 Avg Mbps: 2239.803 3002 282546944 2258.117 100.00% Conn: 1 Mbps: 2258.117 Peak Mbps: 2258.117 Avg Mbps: 2258.117 4002 282317768 2258.542 100.00% Conn: 1 Mbps: 2258.542 Peak Mbps: 2258.542 Avg Mbps: 2258.542 5002 279113400 2235.142 100.00% Conn: 1 Mbps: 2235.142 Peak Mbps: 2258.542 Avg Mbps: 2235.142 --- 169.254.1.12 tcpbench statistics --- 1672788664 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2156.116/2229.544/2258.542/37.909 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 239195420 1913.563 100.00% Conn: 1 Mbps: 1913.563 Peak Mbps: 1913.563 Avg Mbps: 1913.563 2000 250972744 2009.792 100.00% Conn: 1 Mbps: 2009.792 Peak Mbps: 2009.792 Avg Mbps: 2009.792 3001 253580924 2026.621 100.00% Conn: 1 Mbps: 2026.621 Peak Mbps: 2026.621 Avg Mbps: 2026.621 4002 254957304 2039.658 100.00% Conn: 1 Mbps: 2039.658 Peak Mbps: 2039.658 Avg Mbps: 2039.658 5002 259003224 2072.026 100.00% Conn: 1 Mbps: 2072.026 Peak Mbps: 2072.026 Avg Mbps: 2072.026 --- fc00:0:0:1::12 tcpbench statistics --- 1517450664 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1913.563/2012.332/2072.026/53.434 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.071 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.071/0.071/0.071/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.070 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.070/0.070/0.070/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 565627088 4525.017 100.00% Conn: 1 Mbps: 4525.017 Peak Mbps: 4525.017 Avg Mbps: 4525.017 2000 570228700 4566.396 100.00% Conn: 1 Mbps: 4566.396 Peak Mbps: 4566.396 Avg Mbps: 4566.396 3000 581022504 4652.833 100.00% Conn: 1 Mbps: 4652.833 Peak Mbps: 4652.833 Avg Mbps: 4652.833 4000 573376668 4587.013 100.00% Conn: 1 Mbps: 4587.013 Peak Mbps: 4652.833 Avg Mbps: 4587.013 5000 556447428 4456.035 100.00% Conn: 1 Mbps: 4456.035 Peak Mbps: 4652.833 Avg Mbps: 4456.035 --- 169.254.0.13 tcpbench statistics --- 3395782020 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4456.035/4557.459/4652.833/65.404 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 557658640 4461.269 100.00% Conn: 1 Mbps: 4461.269 Peak Mbps: 4461.269 Avg Mbps: 4461.269 2000 585835272 4686.682 100.00% Conn: 1 Mbps: 4686.682 Peak Mbps: 4686.682 Avg Mbps: 4686.682 3000 587533424 4700.267 100.00% Conn: 1 Mbps: 4700.267 Peak Mbps: 4700.267 Avg Mbps: 4700.267 4001 586980544 4695.844 100.00% Conn: 1 Mbps: 4695.844 Peak Mbps: 4700.267 Avg Mbps: 4695.844 5001 591724736 4733.798 100.00% Conn: 1 Mbps: 4733.798 Peak Mbps: 4733.798 Avg Mbps: 4733.798 --- fc00::13 tcpbench statistics --- 3498606912 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4461.269/4655.572/4733.798/98.448 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.057 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.057/0.057/0.057/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.053 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.053/0.053/0.053/0.000 ms ==== run-tcpbench-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 267731808 2141.854 100.00% Conn: 1 Mbps: 2141.854 Peak Mbps: 2141.854 Avg Mbps: 2141.854 2001 278366400 2226.931 100.00% Conn: 1 Mbps: 2226.931 Peak Mbps: 2226.931 Avg Mbps: 2226.931 3001 277008288 2218.285 100.00% Conn: 1 Mbps: 2218.285 Peak Mbps: 2226.931 Avg Mbps: 2218.285 4001 278852096 2233.050 100.00% Conn: 1 Mbps: 2233.050 Peak Mbps: 2233.050 Avg Mbps: 2233.050 5001 278511200 2228.090 100.00% Conn: 1 Mbps: 2228.090 Peak Mbps: 2233.050 Avg Mbps: 2228.090 --- 169.254.1.11 tcpbench statistics --- 1657752024 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2141.854/2209.642/2233.050/34.226 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 240736048 1925.888 100.00% Conn: 1 Mbps: 1925.888 Peak Mbps: 1925.888 Avg Mbps: 1925.888 2000 252703580 2021.629 100.00% Conn: 1 Mbps: 2021.629 Peak Mbps: 2021.629 Avg Mbps: 2021.629 3001 256969468 2055.756 100.00% Conn: 1 Mbps: 2055.756 Peak Mbps: 2055.756 Avg Mbps: 2055.756 4001 256185384 2051.535 100.00% Conn: 1 Mbps: 2051.535 Peak Mbps: 2055.756 Avg Mbps: 2051.535 5001 255939372 2047.515 100.00% Conn: 1 Mbps: 2047.515 Peak Mbps: 2055.756 Avg Mbps: 2047.515 --- fc00:0:0:1::11 tcpbench statistics --- 1519726824 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1925.888/2020.464/2055.756/48.762 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.052 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.052/0.052/0.052/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.045 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.045/0.045/0.045/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 696020296 5568.162 100.00% Conn: 1 Mbps: 5568.162 Peak Mbps: 5568.162 Avg Mbps: 5568.162 2000 695428064 5568.994 100.00% Conn: 1 Mbps: 5568.994 Peak Mbps: 5568.994 Avg Mbps: 5568.994 3000 688992376 5517.456 100.00% Conn: 1 Mbps: 5517.456 Peak Mbps: 5568.994 Avg Mbps: 5517.456 4000 691367872 5530.943 100.00% Conn: 1 Mbps: 5530.943 Peak Mbps: 5568.994 Avg Mbps: 5530.943 5000 692078840 5536.631 100.00% Conn: 1 Mbps: 5536.631 Peak Mbps: 5568.994 Avg Mbps: 5536.631 --- 169.254.1.12 tcpbench statistics --- 4156916176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5517.456/5544.437/5568.994/20.673 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 703344264 5626.754 100.00% Conn: 1 Mbps: 5626.754 Peak Mbps: 5626.754 Avg Mbps: 5626.754 2000 705199236 5647.241 100.00% Conn: 1 Mbps: 5647.241 Peak Mbps: 5647.241 Avg Mbps: 5647.241 3000 702727368 5621.819 100.00% Conn: 1 Mbps: 5621.819 Peak Mbps: 5647.241 Avg Mbps: 5621.819 4000 705591936 5644.735 100.00% Conn: 1 Mbps: 5644.735 Peak Mbps: 5647.241 Avg Mbps: 5644.735 5000 705577656 5650.272 100.00% Conn: 1 Mbps: 5650.272 Peak Mbps: 5650.272 Avg Mbps: 5650.272 --- fc00:0:0:1::12 tcpbench statistics --- 4225865964 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5621.819/5638.164/5650.272/11.572 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.047 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.047/0.047/0.047/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.053 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.053/0.053/0.053/0.000 ms ==== run-tcpbench-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 1178028030 9424.224 100.00% Conn: 1 Mbps: 9424.224 Peak Mbps: 9424.224 Avg Mbps: 9424.224 2000 1181374760 9460.459 100.00% Conn: 1 Mbps: 9460.459 Peak Mbps: 9460.459 Avg Mbps: 9460.459 3000 1179591738 9436.734 100.00% Conn: 1 Mbps: 9436.734 Peak Mbps: 9460.459 Avg Mbps: 9436.734 4000 1182716116 9461.729 100.00% Conn: 1 Mbps: 9461.729 Peak Mbps: 9461.729 Avg Mbps: 9461.729 5000 1179280936 9434.247 100.00% Conn: 1 Mbps: 9434.247 Peak Mbps: 9461.729 Avg Mbps: 9434.247 --- 169.254.0.13 tcpbench statistics --- 7083069734 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9424.224/9443.479/9461.729/14.986 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 1178700944 9429.608 100.00% Conn: 1 Mbps: 9429.608 Peak Mbps: 9429.608 Avg Mbps: 9429.608 2000 1184510688 9485.571 100.00% Conn: 1 Mbps: 9485.571 Peak Mbps: 9485.571 Avg Mbps: 9485.571 3000 1185066520 9490.022 100.00% Conn: 1 Mbps: 9490.022 Peak Mbps: 9490.022 Avg Mbps: 9490.022 4000 1185720440 9485.764 100.00% Conn: 1 Mbps: 9485.764 Peak Mbps: 9490.022 Avg Mbps: 9485.764 5000 1179933248 9439.466 100.00% Conn: 1 Mbps: 9439.466 Peak Mbps: 9490.022 Avg Mbps: 9439.466 --- fc00::13 tcpbench statistics --- 7095892240 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9429.608/9466.086/9490.022/25.997 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.050 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.050/0.050/0.050/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.058 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.058/0.058/0.058/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 270244032 2159.792 100.00% Conn: 1 Mbps: 2159.792 Peak Mbps: 2159.792 Avg Mbps: 2159.792 2001 280633352 2247.314 100.00% Conn: 1 Mbps: 2247.314 Peak Mbps: 2247.314 Avg Mbps: 2247.314 3001 279555712 2236.446 100.00% Conn: 1 Mbps: 2236.446 Peak Mbps: 2247.314 Avg Mbps: 2236.446 4002 278137232 2225.098 100.00% Conn: 1 Mbps: 2225.098 Peak Mbps: 2247.314 Avg Mbps: 2225.098 5003 279955136 2239.641 100.00% Conn: 1 Mbps: 2239.641 Peak Mbps: 2247.314 Avg Mbps: 2239.641 --- 169.254.1.11 tcpbench statistics --- 1665232280 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2159.792/2221.658/2247.314/31.747 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 490839104 3926.713 100.00% Conn: 1 Mbps: 3926.713 Peak Mbps: 3926.713 Avg Mbps: 3926.713 2001 548717536 4389.740 100.00% Conn: 1 Mbps: 4389.740 Peak Mbps: 4389.740 Avg Mbps: 4389.740 3001 533108552 4269.138 100.00% Conn: 1 Mbps: 4269.138 Peak Mbps: 4389.740 Avg Mbps: 4269.138 4001 545033144 4360.265 100.00% Conn: 1 Mbps: 4360.265 Peak Mbps: 4389.740 Avg Mbps: 4360.265 5001 539509232 4316.074 100.00% Conn: 1 Mbps: 4316.074 Peak Mbps: 4389.740 Avg Mbps: 4316.074 --- fc00:0:0:1::11 tcpbench statistics --- 3200014688 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3926.713/4252.386/4389.740/167.871 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.059 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.059/0.059/0.059/0.000 ms ==== run-ping6-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 1199457702 9595.662 100.00% Conn: 1 Mbps: 9595.662 Peak Mbps: 9595.662 Avg Mbps: 9595.662 2000 1200726274 9615.426 100.00% Conn: 1 Mbps: 9615.426 Peak Mbps: 9615.426 Avg Mbps: 9615.426 3000 1203981516 9631.852 100.00% Conn: 1 Mbps: 9631.852 Peak Mbps: 9631.852 Avg Mbps: 9631.852 4000 1207383980 9659.072 100.00% Conn: 1 Mbps: 9659.072 Peak Mbps: 9659.072 Avg Mbps: 9659.072 5000 1196309614 9570.477 100.00% Conn: 1 Mbps: 9570.477 Peak Mbps: 9659.072 Avg Mbps: 9570.477 --- 169.254.1.12 tcpbench statistics --- 7205395550 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9570.477/9614.498/9659.072/30.271 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 1173323756 9386.590 100.00% Conn: 1 Mbps: 9386.590 Peak Mbps: 9386.590 Avg Mbps: 9386.590 2000 1164664216 9326.640 100.00% Conn: 1 Mbps: 9326.640 Peak Mbps: 9386.590 Avg Mbps: 9326.640 3000 1179344720 9434.758 100.00% Conn: 1 Mbps: 9434.758 Peak Mbps: 9434.758 Avg Mbps: 9434.758 4000 1179344720 9434.758 100.00% Conn: 1 Mbps: 9434.758 Peak Mbps: 9434.758 Avg Mbps: 9434.758 5000 1178919672 9431.357 100.00% Conn: 1 Mbps: 9431.357 Peak Mbps: 9434.758 Avg Mbps: 9431.357 --- fc00:0:0:1::12 tcpbench statistics --- 7052685780 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9326.640/9402.821/9434.758/42.240 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.043 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.043/0.043/0.043/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.047 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-tcpbench-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 1147405084 9179.241 100.00% Conn: 1 Mbps: 9179.241 Peak Mbps: 9179.241 Avg Mbps: 9179.241 2000 1140283464 9131.399 100.00% Conn: 1 Mbps: 9131.399 Peak Mbps: 9179.241 Avg Mbps: 9131.399 3000 1138843960 9110.752 100.00% Conn: 1 Mbps: 9110.752 Peak Mbps: 9179.241 Avg Mbps: 9110.752 4000 1139191626 9113.533 100.00% Conn: 1 Mbps: 9113.533 Peak Mbps: 9179.241 Avg Mbps: 9113.533 5000 1130109168 9040.873 100.00% Conn: 1 Mbps: 9040.873 Peak Mbps: 9179.241 Avg Mbps: 9040.873 --- 169.254.0.13 tcpbench statistics --- 6837049172 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9040.873/9115.160/9179.241/44.521 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 1207326688 9658.614 100.00% Conn: 1 Mbps: 9658.614 Peak Mbps: 9658.614 Avg Mbps: 9658.614 2000 1210405920 9692.940 100.00% Conn: 1 Mbps: 9692.940 Peak Mbps: 9692.940 Avg Mbps: 9692.940 3000 1208346072 9666.769 100.00% Conn: 1 Mbps: 9666.769 Peak Mbps: 9692.940 Avg Mbps: 9666.769 4000 1212531160 9700.249 100.00% Conn: 1 Mbps: 9700.249 Peak Mbps: 9700.249 Avg Mbps: 9700.249 5000 1221882216 9775.058 100.00% Conn: 1 Mbps: 9775.058 Peak Mbps: 9775.058 Avg Mbps: 9775.058 --- fc00::13 tcpbench statistics --- 7288030680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9658.614/9698.726/9775.058/41.213 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.84s