START sys/net/pair 2024-11-20T05:10:09Z ==== 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.061 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.061/0.061/0.061/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.043 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 561732848 4493.863 100.00% Conn: 1 Mbps: 4493.863 Peak Mbps: 4493.863 Avg Mbps: 4493.863 2000 563282708 4510.772 100.00% Conn: 1 Mbps: 4510.772 Peak Mbps: 4510.772 Avg Mbps: 4510.772 3000 560628076 4485.025 100.00% Conn: 1 Mbps: 4485.025 Peak Mbps: 4510.772 Avg Mbps: 4485.025 4000 559578940 4476.632 100.00% Conn: 1 Mbps: 4476.632 Peak Mbps: 4510.772 Avg Mbps: 4476.632 5000 560055820 4480.447 100.00% Conn: 1 Mbps: 4480.447 Peak Mbps: 4510.772 Avg Mbps: 4480.447 --- 169.254.1.11 tcpbench statistics --- 3368735956 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4476.632/4489.348/4510.772/12.158 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 556490104 4451.921 100.00% Conn: 1 Mbps: 4451.921 Peak Mbps: 4451.921 Avg Mbps: 4451.921 2000 550964288 4412.126 100.00% Conn: 1 Mbps: 4412.126 Peak Mbps: 4451.921 Avg Mbps: 4412.126 3000 551138704 4413.523 100.00% Conn: 1 Mbps: 4413.523 Peak Mbps: 4451.921 Avg Mbps: 4413.523 4000 552462680 4419.701 100.00% Conn: 1 Mbps: 4419.701 Peak Mbps: 4451.921 Avg Mbps: 4419.701 5000 552938360 4423.507 100.00% Conn: 1 Mbps: 4423.507 Peak Mbps: 4451.921 Avg Mbps: 4423.507 --- fc00:0:0:1::11 tcpbench statistics --- 3315458408 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4412.126/4424.156/4451.921/14.484 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.078 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.078/0.078/0.078/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.145 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.145/0.145/0.145/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 217685712 1741.486 100.00% Conn: 1 Mbps: 1741.486 Peak Mbps: 1741.486 Avg Mbps: 1741.486 2000 217603928 1740.831 100.00% Conn: 1 Mbps: 1740.831 Peak Mbps: 1741.486 Avg Mbps: 1740.831 3000 218938992 1751.512 100.00% Conn: 1 Mbps: 1751.512 Peak Mbps: 1751.512 Avg Mbps: 1751.512 4001 218740840 1749.927 100.00% Conn: 1 Mbps: 1749.927 Peak Mbps: 1751.512 Avg Mbps: 1749.927 5001 218893096 1751.145 100.00% Conn: 1 Mbps: 1751.145 Peak Mbps: 1751.512 Avg Mbps: 1751.145 --- 169.254.1.12 tcpbench statistics --- 1309912376 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1740.831/1746.980/1751.512/4.787 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 208514012 1668.112 100.00% Conn: 1 Mbps: 1668.112 Peak Mbps: 1668.112 Avg Mbps: 1668.112 2000 206527724 1652.222 100.00% Conn: 1 Mbps: 1652.222 Peak Mbps: 1668.112 Avg Mbps: 1652.222 3001 207507452 1660.060 100.00% Conn: 1 Mbps: 1660.060 Peak Mbps: 1668.112 Avg Mbps: 1660.060 4001 206620636 1652.965 100.00% Conn: 1 Mbps: 1652.965 Peak Mbps: 1668.112 Avg Mbps: 1652.965 5002 206621316 1652.971 100.00% Conn: 1 Mbps: 1652.971 Peak Mbps: 1668.112 Avg Mbps: 1652.971 --- fc00:0:0:1::12 tcpbench statistics --- 1242931980 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1652.222/1657.266/1668.112/6.129 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.069 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.069/0.069/0.069/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.067 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.067/0.067/0.067/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 315122164 2520.977 100.00% Conn: 1 Mbps: 2520.977 Peak Mbps: 2520.977 Avg Mbps: 2520.977 2000 314844124 2518.753 100.00% Conn: 1 Mbps: 2518.753 Peak Mbps: 2520.977 Avg Mbps: 2518.753 3000 312459584 2499.677 100.00% Conn: 1 Mbps: 2499.677 Peak Mbps: 2520.977 Avg Mbps: 2499.677 4000 314613352 2516.907 100.00% Conn: 1 Mbps: 2516.907 Peak Mbps: 2520.977 Avg Mbps: 2516.907 5000 314414652 2515.317 100.00% Conn: 1 Mbps: 2515.317 Peak Mbps: 2520.977 Avg Mbps: 2515.317 --- 169.254.0.13 tcpbench statistics --- 1883396280 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2499.677/2514.326/2520.977/7.564 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 294311144 2354.489 100.00% Conn: 1 Mbps: 2354.489 Peak Mbps: 2354.489 Avg Mbps: 2354.489 2000 293740328 2349.923 100.00% Conn: 1 Mbps: 2349.923 Peak Mbps: 2354.489 Avg Mbps: 2349.923 3000 295421584 2365.738 100.00% Conn: 1 Mbps: 2365.738 Peak Mbps: 2365.738 Avg Mbps: 2365.738 4000 292321216 2338.570 100.00% Conn: 1 Mbps: 2338.570 Peak Mbps: 2365.738 Avg Mbps: 2338.570 5000 292899960 2343.200 100.00% Conn: 1 Mbps: 2343.200 Peak Mbps: 2365.738 Avg Mbps: 2343.200 --- fc00::13 tcpbench statistics --- 1762632760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2338.570/2350.384/2365.738/9.424 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.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-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.046 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.046/0.046/0.046/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 222106072 1776.849 100.00% Conn: 1 Mbps: 1776.849 Peak Mbps: 1776.849 Avg Mbps: 1776.849 2000 221626648 1774.788 100.00% Conn: 1 Mbps: 1774.788 Peak Mbps: 1776.849 Avg Mbps: 1774.788 3000 222066096 1776.529 100.00% Conn: 1 Mbps: 1776.529 Peak Mbps: 1776.849 Avg Mbps: 1776.529 4001 222404808 1779.238 100.00% Conn: 1 Mbps: 1779.238 Peak Mbps: 1779.238 Avg Mbps: 1779.238 5002 221609856 1772.879 100.00% Conn: 1 Mbps: 1772.879 Peak Mbps: 1779.238 Avg Mbps: 1772.879 --- 169.254.1.11 tcpbench statistics --- 1330767000 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1772.879/1776.057/1779.238/2.130 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 209785708 1678.286 100.00% Conn: 1 Mbps: 1678.286 Peak Mbps: 1678.286 Avg Mbps: 1678.286 2000 208133104 1665.065 100.00% Conn: 1 Mbps: 1665.065 Peak Mbps: 1678.286 Avg Mbps: 1665.065 3001 207907392 1663.259 100.00% Conn: 1 Mbps: 1663.259 Peak Mbps: 1678.286 Avg Mbps: 1663.259 4001 209611604 1676.893 100.00% Conn: 1 Mbps: 1676.893 Peak Mbps: 1678.286 Avg Mbps: 1676.893 5002 212805320 1702.443 100.00% Conn: 1 Mbps: 1702.443 Peak Mbps: 1702.443 Avg Mbps: 1702.443 --- fc00:0:0:1::11 tcpbench statistics --- 1260448532 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1663.259/1677.189/1702.443/14.000 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.048 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.048/0.048/0.048/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.044 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.044/0.044/0.044/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 567666680 4541.333 100.00% Conn: 1 Mbps: 4541.333 Peak Mbps: 4541.333 Avg Mbps: 4541.333 2000 558978680 4471.829 100.00% Conn: 1 Mbps: 4471.829 Peak Mbps: 4541.333 Avg Mbps: 4471.829 3000 560985608 4487.885 100.00% Conn: 1 Mbps: 4487.885 Peak Mbps: 4541.333 Avg Mbps: 4487.885 4000 561152128 4489.217 100.00% Conn: 1 Mbps: 4489.217 Peak Mbps: 4541.333 Avg Mbps: 4489.217 5000 561136200 4489.090 100.00% Conn: 1 Mbps: 4489.090 Peak Mbps: 4541.333 Avg Mbps: 4489.090 --- 169.254.1.12 tcpbench statistics --- 3369465592 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4471.829/4495.871/4541.333/23.660 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 563930052 4511.440 100.00% Conn: 1 Mbps: 4511.440 Peak Mbps: 4511.440 Avg Mbps: 4511.440 2000 560395752 4487.654 100.00% Conn: 1 Mbps: 4487.654 Peak Mbps: 4511.440 Avg Mbps: 4487.654 3000 559447560 4480.061 100.00% Conn: 1 Mbps: 4480.061 Peak Mbps: 4511.440 Avg Mbps: 4480.061 4000 559384728 4475.078 100.00% Conn: 1 Mbps: 4475.078 Peak Mbps: 4511.440 Avg Mbps: 4475.078 5000 564181380 4517.969 100.00% Conn: 1 Mbps: 4517.969 Peak Mbps: 4517.969 Avg Mbps: 4517.969 --- fc00:0:0:1::12 tcpbench statistics --- 3370197096 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4475.078/4494.440/4517.969/17.148 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.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-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 1058973432 8471.787 100.00% Conn: 1 Mbps: 8471.787 Peak Mbps: 8471.787 Avg Mbps: 8471.787 2000 1072659492 8589.866 100.00% Conn: 1 Mbps: 8589.866 Peak Mbps: 8589.866 Avg Mbps: 8589.866 3000 1064447776 8515.582 100.00% Conn: 1 Mbps: 8515.582 Peak Mbps: 8589.866 Avg Mbps: 8515.582 4000 1077534176 8628.902 100.00% Conn: 1 Mbps: 8628.902 Peak Mbps: 8628.902 Avg Mbps: 8628.902 5000 1072594060 8580.752 100.00% Conn: 1 Mbps: 8580.752 Peak Mbps: 8628.902 Avg Mbps: 8580.752 --- 169.254.0.13 tcpbench statistics --- 6413503004 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8471.787/8557.378/8628.902/56.196 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 1046986952 8375.896 100.00% Conn: 1 Mbps: 8375.896 Peak Mbps: 8375.896 Avg Mbps: 8375.896 2000 1048168368 8393.741 100.00% Conn: 1 Mbps: 8393.741 Peak Mbps: 8393.741 Avg Mbps: 8393.741 3000 1050587872 8404.703 100.00% Conn: 1 Mbps: 8404.703 Peak Mbps: 8404.703 Avg Mbps: 8404.703 4000 1049705080 8397.641 100.00% Conn: 1 Mbps: 8397.641 Peak Mbps: 8404.703 Avg Mbps: 8397.641 5000 1049083856 8392.671 100.00% Conn: 1 Mbps: 8392.671 Peak Mbps: 8404.703 Avg Mbps: 8392.671 --- fc00::13 tcpbench statistics --- 6295353480 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8375.896/8392.930/8404.703/9.505 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.048 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.048/0.048/0.048/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 1000 215229464 1721.836 100.00% Conn: 1 Mbps: 1721.836 Peak Mbps: 1721.836 Avg Mbps: 1721.836 2001 216516720 1732.134 100.00% Conn: 1 Mbps: 1732.134 Peak Mbps: 1732.134 Avg Mbps: 1732.134 3001 217479632 1739.837 100.00% Conn: 1 Mbps: 1739.837 Peak Mbps: 1739.837 Avg Mbps: 1739.837 4001 216517552 1732.140 100.00% Conn: 1 Mbps: 1732.140 Peak Mbps: 1739.837 Avg Mbps: 1732.140 5002 216748512 1733.988 100.00% Conn: 1 Mbps: 1733.988 Peak Mbps: 1739.837 Avg Mbps: 1733.988 --- 169.254.1.11 tcpbench statistics --- 1296821360 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1721.836/1731.987/1739.837/5.809 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 305407672 2443.261 100.00% Conn: 1 Mbps: 2443.261 Peak Mbps: 2443.261 Avg Mbps: 2443.261 2000 304931336 2439.451 100.00% Conn: 1 Mbps: 2439.451 Peak Mbps: 2443.261 Avg Mbps: 2439.451 3000 305631104 2445.049 100.00% Conn: 1 Mbps: 2445.049 Peak Mbps: 2445.049 Avg Mbps: 2445.049 4000 309102016 2472.816 100.00% Conn: 1 Mbps: 2472.816 Peak Mbps: 2472.816 Avg Mbps: 2472.816 5001 306245376 2449.963 100.00% Conn: 1 Mbps: 2449.963 Peak Mbps: 2472.816 Avg Mbps: 2449.963 --- fc00:0:0:1::11 tcpbench statistics --- 1836340256 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2439.451/2450.108/2472.816/11.847 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.048 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.048/0.048/0.048/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.050 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.050/0.050/0.050/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 1047099256 8376.794 100.00% Conn: 1 Mbps: 8376.794 Peak Mbps: 8376.794 Avg Mbps: 8376.794 2000 1060260128 8490.572 100.00% Conn: 1 Mbps: 8490.572 Peak Mbps: 8490.572 Avg Mbps: 8490.572 3000 1060979880 8487.839 100.00% Conn: 1 Mbps: 8487.839 Peak Mbps: 8490.572 Avg Mbps: 8487.839 4000 1059147784 8473.182 100.00% Conn: 1 Mbps: 8473.182 Peak Mbps: 8490.572 Avg Mbps: 8473.182 5000 1058624328 8468.995 100.00% Conn: 1 Mbps: 8468.995 Peak Mbps: 8490.572 Avg Mbps: 8468.995 --- 169.254.1.12 tcpbench statistics --- 6344114100 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8376.794/8459.476/8490.572/42.157 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 1048392700 8387.142 100.00% Conn: 1 Mbps: 8387.142 Peak Mbps: 8387.142 Avg Mbps: 8387.142 2000 1050685960 8413.902 100.00% Conn: 1 Mbps: 8413.902 Peak Mbps: 8413.902 Avg Mbps: 8413.902 3000 1052059192 8424.898 100.00% Conn: 1 Mbps: 8424.898 Peak Mbps: 8424.898 Avg Mbps: 8424.898 4000 1050914832 8407.319 100.00% Conn: 1 Mbps: 8407.319 Peak Mbps: 8424.898 Avg Mbps: 8407.319 5000 1049770472 8398.164 100.00% Conn: 1 Mbps: 8398.164 Peak Mbps: 8424.898 Avg Mbps: 8398.164 --- fc00:0:0:1::12 tcpbench statistics --- 6303457300 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8387.142/8406.285/8424.898/12.946 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.041 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.041/0.041/0.041/0.000 ms ==== run-ping6-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 1140860212 9126.882 100.00% Conn: 1 Mbps: 9126.882 Peak Mbps: 9126.882 Avg Mbps: 9126.882 2000 1145747036 9175.151 100.00% Conn: 1 Mbps: 9175.151 Peak Mbps: 9175.151 Avg Mbps: 9175.151 3000 1146990244 9175.922 100.00% Conn: 1 Mbps: 9175.922 Peak Mbps: 9175.922 Avg Mbps: 9175.922 4000 1145321728 9162.574 100.00% Conn: 1 Mbps: 9162.574 Peak Mbps: 9175.922 Avg Mbps: 9162.574 5000 1147022960 9176.184 100.00% Conn: 1 Mbps: 9176.184 Peak Mbps: 9176.184 Avg Mbps: 9176.184 --- 169.254.0.13 tcpbench statistics --- 6873390448 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9126.882/9163.343/9176.184/18.934 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 1082226652 8657.813 100.00% Conn: 1 Mbps: 8657.813 Peak Mbps: 8657.813 Avg Mbps: 8657.813 2000 1083480048 8676.517 100.00% Conn: 1 Mbps: 8676.517 Peak Mbps: 8676.517 Avg Mbps: 8676.517 3000 1083807008 8670.456 100.00% Conn: 1 Mbps: 8670.456 Peak Mbps: 8676.517 Avg Mbps: 8670.456 4000 1082858824 8662.871 100.00% Conn: 1 Mbps: 8662.871 Peak Mbps: 8676.517 Avg Mbps: 8662.871 5000 1085441808 8683.534 100.00% Conn: 1 Mbps: 8683.534 Peak Mbps: 8683.534 Avg Mbps: 8683.534 --- fc00::13 tcpbench statistics --- 6502471444 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8657.813/8670.238/8683.534/9.219 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