START sys/net/pair 2024-10-06T02:47:26Z ==== 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.038 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.038/0.038/0.038/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 944707228 7557.658 100.00% Conn: 1 Mbps: 7557.658 Peak Mbps: 7557.658 Avg Mbps: 7557.658 2000 944778760 7565.796 100.00% Conn: 1 Mbps: 7565.796 Peak Mbps: 7565.796 Avg Mbps: 7565.796 3000 943554768 7548.438 100.00% Conn: 1 Mbps: 7548.438 Peak Mbps: 7565.796 Avg Mbps: 7548.438 4000 943292484 7546.340 100.00% Conn: 1 Mbps: 7546.340 Peak Mbps: 7565.796 Avg Mbps: 7546.340 5000 944850292 7558.802 100.00% Conn: 1 Mbps: 7558.802 Peak Mbps: 7565.796 Avg Mbps: 7558.802 --- 169.254.1.11 tcpbench statistics --- 5665262868 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7546.340/7555.407/7565.796/7.146 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 951756400 7614.051 100.00% Conn: 1 Mbps: 7614.051 Peak Mbps: 7614.051 Avg Mbps: 7614.051 2000 951938744 7623.133 100.00% Conn: 1 Mbps: 7623.133 Peak Mbps: 7623.133 Avg Mbps: 7623.133 3000 951669192 7613.354 100.00% Conn: 1 Mbps: 7613.354 Peak Mbps: 7623.133 Avg Mbps: 7613.354 4000 952057664 7624.085 100.00% Conn: 1 Mbps: 7624.085 Peak Mbps: 7624.085 Avg Mbps: 7624.085 5000 951629552 7613.036 100.00% Conn: 1 Mbps: 7613.036 Peak Mbps: 7624.085 Avg Mbps: 7613.036 --- fc00:0:0:1::11 tcpbench statistics --- 5711236064 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7613.036/7617.532/7624.085/4.982 Mbps ==== run-ping-1-2 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.063 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.063/0.063/0.063/0.000 ms ==== run-ping6-1-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.119 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.119/0.119/0.119/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 277387968 2219.104 100.00% Conn: 1 Mbps: 2219.104 Peak Mbps: 2219.104 Avg Mbps: 2219.104 2000 277931392 2223.451 100.00% Conn: 1 Mbps: 2223.451 Peak Mbps: 2223.451 Avg Mbps: 2223.451 3000 277827976 2222.624 100.00% Conn: 1 Mbps: 2222.624 Peak Mbps: 2223.451 Avg Mbps: 2222.624 4001 277649984 2221.200 100.00% Conn: 1 Mbps: 2221.200 Peak Mbps: 2223.451 Avg Mbps: 2221.200 5001 277626808 2223.238 100.00% Conn: 1 Mbps: 2223.238 Peak Mbps: 2223.451 Avg Mbps: 2223.238 --- 169.254.1.12 tcpbench statistics --- 1666046012 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2219.104/2221.923/2223.451/1.614 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 268987460 2151.900 100.00% Conn: 1 Mbps: 2151.900 Peak Mbps: 2151.900 Avg Mbps: 2151.900 2001 269422840 2155.383 100.00% Conn: 1 Mbps: 2155.383 Peak Mbps: 2155.383 Avg Mbps: 2155.383 3000 269349220 2156.951 100.00% Conn: 1 Mbps: 2156.951 Peak Mbps: 2156.951 Avg Mbps: 2156.951 4001 269563604 2156.509 100.00% Conn: 1 Mbps: 2156.509 Peak Mbps: 2156.951 Avg Mbps: 2156.509 5002 269443440 2155.548 100.00% Conn: 1 Mbps: 2155.548 Peak Mbps: 2156.951 Avg Mbps: 2155.548 --- fc00:0:0:1::12 tcpbench statistics --- 1615681220 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2151.900/2155.258/2156.951/1.778 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.056 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.056/0.056/0.056/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.059 ms --- fc00::13 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-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 434501264 3476.010 100.00% Conn: 1 Mbps: 3476.010 Peak Mbps: 3476.010 Avg Mbps: 3476.010 2000 432935508 3466.951 100.00% Conn: 1 Mbps: 3466.951 Peak Mbps: 3476.010 Avg Mbps: 3466.951 3000 431552556 3452.420 100.00% Conn: 1 Mbps: 3452.420 Peak Mbps: 3476.010 Avg Mbps: 3452.420 4000 433126260 3465.010 100.00% Conn: 1 Mbps: 3465.010 Peak Mbps: 3476.010 Avg Mbps: 3465.010 5000 433094468 3464.756 100.00% Conn: 1 Mbps: 3464.756 Peak Mbps: 3476.010 Avg Mbps: 3464.756 --- 169.254.0.13 tcpbench statistics --- 2598733716 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3452.420/3465.029/3476.010/7.528 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 419906520 3359.252 100.00% Conn: 1 Mbps: 3359.252 Peak Mbps: 3359.252 Avg Mbps: 3359.252 2000 420437696 3366.868 100.00% Conn: 1 Mbps: 3366.868 Peak Mbps: 3366.868 Avg Mbps: 3366.868 3000 420088864 3360.711 100.00% Conn: 1 Mbps: 3360.711 Peak Mbps: 3366.868 Avg Mbps: 3360.711 4000 420921304 3367.370 100.00% Conn: 1 Mbps: 3367.370 Peak Mbps: 3367.370 Avg Mbps: 3367.370 5000 419843096 3362.107 100.00% Conn: 1 Mbps: 3362.107 Peak Mbps: 3367.370 Avg Mbps: 3362.107 --- fc00::13 tcpbench statistics --- 2522562752 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3359.252/3363.262/3367.370/3.280 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.040 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.040/0.040/0.040/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 279411272 2235.290 100.00% Conn: 1 Mbps: 2235.290 Peak Mbps: 2235.290 Avg Mbps: 2235.290 2000 279734832 2237.879 100.00% Conn: 1 Mbps: 2237.879 Peak Mbps: 2237.879 Avg Mbps: 2237.879 3000 279624616 2239.236 100.00% Conn: 1 Mbps: 2239.236 Peak Mbps: 2239.236 Avg Mbps: 2239.236 4001 281338992 2250.712 100.00% Conn: 1 Mbps: 2250.712 Peak Mbps: 2250.712 Avg Mbps: 2250.712 5000 281550336 2254.657 100.00% Conn: 1 Mbps: 2254.657 Peak Mbps: 2254.657 Avg Mbps: 2254.657 --- 169.254.1.11 tcpbench statistics --- 1682545536 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2235.290/2243.555/2254.657/7.664 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 271606072 2172.849 100.00% Conn: 1 Mbps: 2172.849 Peak Mbps: 2172.849 Avg Mbps: 2172.849 2000 271890268 2177.299 100.00% Conn: 1 Mbps: 2177.299 Peak Mbps: 2177.299 Avg Mbps: 2177.299 3001 272039416 2176.315 100.00% Conn: 1 Mbps: 2176.315 Peak Mbps: 2177.299 Avg Mbps: 2176.315 4002 271895344 2175.163 100.00% Conn: 1 Mbps: 2175.163 Peak Mbps: 2177.299 Avg Mbps: 2175.163 5002 271585892 2172.687 100.00% Conn: 1 Mbps: 2172.687 Peak Mbps: 2177.299 Avg Mbps: 2172.687 --- fc00:0:0:1::11 tcpbench statistics --- 1630132436 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2172.687/2174.863/2177.299/1.840 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.036 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.036/0.036/0.036/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.041 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.041/0.041/0.041/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 963690336 7709.523 100.00% Conn: 1 Mbps: 7709.523 Peak Mbps: 7709.523 Avg Mbps: 7709.523 2000 960122464 7688.668 100.00% Conn: 1 Mbps: 7688.668 Peak Mbps: 7709.523 Avg Mbps: 7688.668 3000 960280296 7682.242 100.00% Conn: 1 Mbps: 7682.242 Peak Mbps: 7709.523 Avg Mbps: 7682.242 4000 959824176 7678.593 100.00% Conn: 1 Mbps: 7678.593 Peak Mbps: 7709.523 Avg Mbps: 7678.593 5000 960186176 7681.489 100.00% Conn: 1 Mbps: 7681.489 Peak Mbps: 7709.523 Avg Mbps: 7681.489 --- 169.254.1.12 tcpbench statistics --- 5764220120 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7678.593/7688.103/7709.523/11.204 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 952513128 7620.105 100.00% Conn: 1 Mbps: 7620.105 Peak Mbps: 7620.105 Avg Mbps: 7620.105 2000 951223644 7617.407 100.00% Conn: 1 Mbps: 7617.407 Peak Mbps: 7620.105 Avg Mbps: 7617.407 3000 951369300 7610.954 100.00% Conn: 1 Mbps: 7610.954 Peak Mbps: 7620.105 Avg Mbps: 7610.954 4000 952286076 7618.289 100.00% Conn: 1 Mbps: 7618.289 Peak Mbps: 7620.105 Avg Mbps: 7618.289 5000 952256088 7625.674 100.00% Conn: 1 Mbps: 7625.674 Peak Mbps: 7625.674 Avg Mbps: 7625.674 --- fc00:0:0:1::12 tcpbench statistics --- 5712342720 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7610.954/7618.486/7625.674/4.738 Mbps ==== run-ping-2-3 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.041 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.041/0.041/0.041/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.042 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/0.000 ms ==== run-tcpbench-2-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 1420784442 11366.276 100.00% Conn: 1 Mbps: 11366.276 Peak Mbps: 11366.276 Avg Mbps: 11366.276 2000 1424715540 11409.133 100.00% Conn: 1 Mbps: 11409.133 Peak Mbps: 11409.133 Avg Mbps: 11409.133 3000 1426792994 11414.344 100.00% Conn: 1 Mbps: 11414.344 Peak Mbps: 11414.344 Avg Mbps: 11414.344 4000 1424470182 11395.761 100.00% Conn: 1 Mbps: 11395.761 Peak Mbps: 11414.344 Avg Mbps: 11395.761 5000 1422425396 11379.403 100.00% Conn: 1 Mbps: 11379.403 Peak Mbps: 11414.344 Avg Mbps: 11379.403 --- 169.254.0.13 tcpbench statistics --- 8542792050 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11366.276/11392.984/11414.344/18.014 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 1391607620 11132.861 100.00% Conn: 1 Mbps: 11132.861 Peak Mbps: 11132.861 Avg Mbps: 11132.861 2000 1424106976 11404.260 100.00% Conn: 1 Mbps: 11404.260 Peak Mbps: 11404.260 Avg Mbps: 11404.260 3000 1391378280 11131.026 100.00% Conn: 1 Mbps: 11131.026 Peak Mbps: 11404.260 Avg Mbps: 11131.026 4000 1406156872 11249.255 100.00% Conn: 1 Mbps: 11249.255 Peak Mbps: 11404.260 Avg Mbps: 11249.255 5000 1393765088 11150.121 100.00% Conn: 1 Mbps: 11150.121 Peak Mbps: 11404.260 Avg Mbps: 11150.121 --- fc00::13 tcpbench statistics --- 8408921228 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11131.026/11213.505/11404.260/104.871 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.044 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.044/0.044/0.044/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.049 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.049/0.049/0.049/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 275280248 2202.242 100.00% Conn: 1 Mbps: 2202.242 Peak Mbps: 2202.242 Avg Mbps: 2202.242 2000 275232328 2204.063 100.00% Conn: 1 Mbps: 2204.063 Peak Mbps: 2204.063 Avg Mbps: 2204.063 3000 275679248 2205.434 100.00% Conn: 1 Mbps: 2205.434 Peak Mbps: 2205.434 Avg Mbps: 2205.434 4000 275761224 2206.090 100.00% Conn: 1 Mbps: 2206.090 Peak Mbps: 2206.090 Avg Mbps: 2206.090 5000 275432088 2205.662 100.00% Conn: 1 Mbps: 2205.662 Peak Mbps: 2206.090 Avg Mbps: 2205.662 --- 169.254.1.11 tcpbench statistics --- 1652880320 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2202.242/2204.698/2206.090/1.403 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 425238040 3401.904 100.00% Conn: 1 Mbps: 3401.904 Peak Mbps: 3401.904 Avg Mbps: 3401.904 2000 423213304 3389.096 100.00% Conn: 1 Mbps: 3389.096 Peak Mbps: 3401.904 Avg Mbps: 3389.096 3001 423055344 3384.443 100.00% Conn: 1 Mbps: 3384.443 Peak Mbps: 3401.904 Avg Mbps: 3384.443 4001 423176536 3385.412 100.00% Conn: 1 Mbps: 3385.412 Peak Mbps: 3401.904 Avg Mbps: 3385.412 5001 423189096 3385.513 100.00% Conn: 1 Mbps: 3385.513 Peak Mbps: 3401.904 Avg Mbps: 3385.513 --- fc00:0:0:1::11 tcpbench statistics --- 2541471240 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3384.443/3389.274/3401.904/6.511 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.040 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.040/0.040/0.040/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.042 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/0.000 ms ==== run-tcpbench-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 1425667902 11405.343 100.00% Conn: 1 Mbps: 11405.343 Peak Mbps: 11405.343 Avg Mbps: 11405.343 2000 1429001228 11443.453 100.00% Conn: 1 Mbps: 11443.453 Peak Mbps: 11443.453 Avg Mbps: 11443.453 3000 1430278088 11442.225 100.00% Conn: 1 Mbps: 11442.225 Peak Mbps: 11443.453 Avg Mbps: 11442.225 4000 1431259568 11450.077 100.00% Conn: 1 Mbps: 11450.077 Peak Mbps: 11450.077 Avg Mbps: 11450.077 5000 1431750308 11454.002 100.00% Conn: 1 Mbps: 11454.002 Peak Mbps: 11454.002 Avg Mbps: 11454.002 --- 169.254.1.12 tcpbench statistics --- 8578071602 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11405.343/11439.020/11454.002/17.383 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 1379176116 11033.409 100.00% Conn: 1 Mbps: 11033.409 Peak Mbps: 11033.409 Avg Mbps: 11033.409 2000 1367640984 10952.080 100.00% Conn: 1 Mbps: 10952.080 Peak Mbps: 11033.409 Avg Mbps: 10952.080 3000 1391901416 11135.211 100.00% Conn: 1 Mbps: 11135.211 Peak Mbps: 11135.211 Avg Mbps: 11135.211 4000 1385166040 11081.328 100.00% Conn: 1 Mbps: 11081.328 Peak Mbps: 11135.211 Avg Mbps: 11081.328 5000 1369962400 10959.699 100.00% Conn: 1 Mbps: 10959.699 Peak Mbps: 11135.211 Avg Mbps: 10959.699 --- fc00:0:0:1::12 tcpbench statistics --- 8256420060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10952.080/11032.346/11135.211/70.288 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.036 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.036/0.036/0.036/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.039 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-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 1435208598 11481.669 100.00% Conn: 1 Mbps: 11481.669 Peak Mbps: 11481.669 Avg Mbps: 11481.669 2000 1438097212 11516.294 100.00% Conn: 1 Mbps: 11516.294 Peak Mbps: 11516.294 Avg Mbps: 11516.294 3000 1434334872 11474.679 100.00% Conn: 1 Mbps: 11474.679 Peak Mbps: 11516.294 Avg Mbps: 11474.679 4000 1439634864 11517.079 100.00% Conn: 1 Mbps: 11517.079 Peak Mbps: 11517.079 Avg Mbps: 11517.079 5000 1431423148 11451.385 100.00% Conn: 1 Mbps: 11451.385 Peak Mbps: 11517.079 Avg Mbps: 11451.385 --- 169.254.0.13 tcpbench statistics --- 8609434806 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11451.385/11488.221/11517.079/25.314 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 1444770268 11558.162 100.00% Conn: 1 Mbps: 11558.162 Peak Mbps: 11558.162 Avg Mbps: 11558.162 2000 1450754216 11617.651 100.00% Conn: 1 Mbps: 11617.651 Peak Mbps: 11617.651 Avg Mbps: 11617.651 3000 1454187296 11633.498 100.00% Conn: 1 Mbps: 11633.498 Peak Mbps: 11633.498 Avg Mbps: 11633.498 4000 1444018840 11552.151 100.00% Conn: 1 Mbps: 11552.151 Peak Mbps: 11633.498 Avg Mbps: 11552.151 5000 1452160144 11617.281 100.00% Conn: 1 Mbps: 11617.281 Peak Mbps: 11633.498 Avg Mbps: 11617.281 --- fc00::13 tcpbench statistics --- 8696971940 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11552.151/11595.749/11633.498/33.710 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m51.79s