START sys/net/pair 2024-10-25T16:46:15Z ==== 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.064 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.064/0.064/0.064/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 572605712 4580.846 100.00% Conn: 1 Mbps: 4580.846 Peak Mbps: 4580.846 Avg Mbps: 4580.846 2000 572176520 4581.994 100.00% Conn: 1 Mbps: 4581.994 Peak Mbps: 4581.994 Avg Mbps: 4581.994 3000 575443148 4603.545 100.00% Conn: 1 Mbps: 4603.545 Peak Mbps: 4603.545 Avg Mbps: 4603.545 4000 573750224 4590.002 100.00% Conn: 1 Mbps: 4590.002 Peak Mbps: 4603.545 Avg Mbps: 4590.002 5000 573861496 4595.487 100.00% Conn: 1 Mbps: 4595.487 Peak Mbps: 4603.545 Avg Mbps: 4595.487 --- 169.254.1.11 tcpbench statistics --- 3440267956 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4580.846/4590.375/4603.545/8.494 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 568175976 4545.408 100.00% Conn: 1 Mbps: 4545.408 Peak Mbps: 4545.408 Avg Mbps: 4545.408 2000 565313968 4522.512 100.00% Conn: 1 Mbps: 4522.512 Peak Mbps: 4545.408 Avg Mbps: 4522.512 3000 567359392 4543.419 100.00% Conn: 1 Mbps: 4543.419 Peak Mbps: 4545.408 Avg Mbps: 4543.419 4000 567066056 4536.528 100.00% Conn: 1 Mbps: 4536.528 Peak Mbps: 4545.408 Avg Mbps: 4536.528 5000 568873640 4550.989 100.00% Conn: 1 Mbps: 4550.989 Peak Mbps: 4550.989 Avg Mbps: 4550.989 --- fc00:0:0:1::11 tcpbench statistics --- 3404679600 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4522.512/4539.771/4550.989/9.791 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.082 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.082/0.082/0.082/0.000 ms ==== run-ping6-1-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.143 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.143/0.143/0.143/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 214707208 1717.658 100.00% Conn: 1 Mbps: 1717.658 Peak Mbps: 1717.658 Avg Mbps: 1717.658 2000 216691912 1735.271 100.00% Conn: 1 Mbps: 1735.271 Peak Mbps: 1735.271 Avg Mbps: 1735.271 3000 217210800 1737.686 100.00% Conn: 1 Mbps: 1737.686 Peak Mbps: 1737.686 Avg Mbps: 1737.686 4001 218604552 1748.836 100.00% Conn: 1 Mbps: 1748.836 Peak Mbps: 1748.836 Avg Mbps: 1748.836 5001 218025800 1745.952 100.00% Conn: 1 Mbps: 1745.952 Peak Mbps: 1748.836 Avg Mbps: 1745.952 --- 169.254.1.12 tcpbench statistics --- 1303806960 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1717.658/1737.081/1748.836/10.934 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 209592988 1676.744 100.00% Conn: 1 Mbps: 1676.744 Peak Mbps: 1676.744 Avg Mbps: 1676.744 2001 209862352 1678.899 100.00% Conn: 1 Mbps: 1678.899 Peak Mbps: 1678.899 Avg Mbps: 1678.899 3001 210536508 1684.292 100.00% Conn: 1 Mbps: 1684.292 Peak Mbps: 1684.292 Avg Mbps: 1684.292 4001 209604092 1678.511 100.00% Conn: 1 Mbps: 1678.511 Peak Mbps: 1684.292 Avg Mbps: 1678.511 5002 207273048 1658.184 100.00% Conn: 1 Mbps: 1658.184 Peak Mbps: 1684.292 Avg Mbps: 1658.184 --- fc00:0:0:1::12 tcpbench statistics --- 1252764200 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1658.184/1675.326/1684.292/8.935 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.066 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.066/0.066/0.066/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.068 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.068/0.068/0.068/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 310249900 2481.999 100.00% Conn: 1 Mbps: 2481.999 Peak Mbps: 2481.999 Avg Mbps: 2481.999 2000 311728368 2496.323 100.00% Conn: 1 Mbps: 2496.323 Peak Mbps: 2496.323 Avg Mbps: 2496.323 3000 309924312 2479.394 100.00% Conn: 1 Mbps: 2479.394 Peak Mbps: 2496.323 Avg Mbps: 2479.394 4000 308795556 2472.837 100.00% Conn: 1 Mbps: 2472.837 Peak Mbps: 2496.323 Avg Mbps: 2472.837 5000 308517516 2468.140 100.00% Conn: 1 Mbps: 2468.140 Peak Mbps: 2496.323 Avg Mbps: 2468.140 --- 169.254.0.13 tcpbench statistics --- 1848513488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2468.140/2479.739/2496.323/9.617 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 290188584 2321.509 100.00% Conn: 1 Mbps: 2321.509 Peak Mbps: 2321.509 Avg Mbps: 2321.509 2000 290141016 2321.128 100.00% Conn: 1 Mbps: 2321.128 Peak Mbps: 2321.509 Avg Mbps: 2321.128 3000 290656336 2325.251 100.00% Conn: 1 Mbps: 2325.251 Peak Mbps: 2325.251 Avg Mbps: 2325.251 4000 292123016 2336.984 100.00% Conn: 1 Mbps: 2336.984 Peak Mbps: 2336.984 Avg Mbps: 2336.984 5000 290632552 2325.060 100.00% Conn: 1 Mbps: 2325.060 Peak Mbps: 2336.984 Avg Mbps: 2325.060 --- fc00::13 tcpbench statistics --- 1746522544 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2321.128/2325.986/2336.984/5.762 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.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-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.050 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.050/0.050/0.050/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 217008384 1736.067 100.00% Conn: 1 Mbps: 1736.067 Peak Mbps: 1736.067 Avg Mbps: 1736.067 2000 219062464 1752.500 100.00% Conn: 1 Mbps: 1752.500 Peak Mbps: 1752.500 Avg Mbps: 1752.500 3001 219339536 1752.963 100.00% Conn: 1 Mbps: 1752.963 Peak Mbps: 1752.963 Avg Mbps: 1752.963 4001 218494048 1749.702 100.00% Conn: 1 Mbps: 1749.702 Peak Mbps: 1752.963 Avg Mbps: 1749.702 5002 217945360 1743.563 100.00% Conn: 1 Mbps: 1743.563 Peak Mbps: 1752.963 Avg Mbps: 1743.563 --- 169.254.1.11 tcpbench statistics --- 1309852456 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1736.067/1746.959/1752.963/6.394 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 206819364 1654.555 100.00% Conn: 1 Mbps: 1654.555 Peak Mbps: 1654.555 Avg Mbps: 1654.555 2001 208877596 1671.021 100.00% Conn: 1 Mbps: 1671.021 Peak Mbps: 1671.021 Avg Mbps: 1671.021 3001 207095268 1656.762 100.00% Conn: 1 Mbps: 1656.762 Peak Mbps: 1671.021 Avg Mbps: 1656.762 4002 208727404 1669.819 100.00% Conn: 1 Mbps: 1669.819 Peak Mbps: 1671.021 Avg Mbps: 1669.819 5003 209111140 1672.889 100.00% Conn: 1 Mbps: 1672.889 Peak Mbps: 1672.889 Avg Mbps: 1672.889 --- fc00:0:0:1::11 tcpbench statistics --- 1248644360 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1654.555/1665.009/1672.889/7.729 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.051 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.051/0.051/0.051/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.047 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.047/0.047/0.047/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 575352664 4602.821 100.00% Conn: 1 Mbps: 4602.821 Peak Mbps: 4602.821 Avg Mbps: 4602.821 2000 569643200 4561.707 100.00% Conn: 1 Mbps: 4561.707 Peak Mbps: 4602.821 Avg Mbps: 4561.707 3000 567720256 4541.762 100.00% Conn: 1 Mbps: 4541.762 Peak Mbps: 4602.821 Avg Mbps: 4541.762 4000 569032144 4552.257 100.00% Conn: 1 Mbps: 4552.257 Peak Mbps: 4602.821 Avg Mbps: 4552.257 5000 568164792 4549.868 100.00% Conn: 1 Mbps: 4549.868 Peak Mbps: 4602.821 Avg Mbps: 4549.868 --- 169.254.1.12 tcpbench statistics --- 3419155160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4541.762/4561.683/4602.821/21.530 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 562691976 4501.536 100.00% Conn: 1 Mbps: 4501.536 Peak Mbps: 4501.536 Avg Mbps: 4501.536 2000 563214624 4510.227 100.00% Conn: 1 Mbps: 4510.227 Peak Mbps: 4510.227 Avg Mbps: 4510.227 3000 561088332 4488.707 100.00% Conn: 1 Mbps: 4488.707 Peak Mbps: 4510.227 Avg Mbps: 4488.707 4000 562002252 4496.018 100.00% Conn: 1 Mbps: 4496.018 Peak Mbps: 4510.227 Avg Mbps: 4496.018 5000 563087532 4504.700 100.00% Conn: 1 Mbps: 4504.700 Peak Mbps: 4510.227 Avg Mbps: 4504.700 --- fc00:0:0:1::12 tcpbench statistics --- 3374448252 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4488.707/4500.238/4510.227/7.378 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.049 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.049/0.049/0.049/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.052 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.052/0.052/0.052/0.000 ms ==== run-tcpbench-2-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 1043625604 8349.005 100.00% Conn: 1 Mbps: 8349.005 Peak Mbps: 8349.005 Avg Mbps: 8349.005 2000 1039910776 8327.614 100.00% Conn: 1 Mbps: 8327.614 Peak Mbps: 8349.005 Avg Mbps: 8327.614 3000 1039518184 8316.145 100.00% Conn: 1 Mbps: 8316.145 Peak Mbps: 8349.005 Avg Mbps: 8316.145 4000 1040041640 8328.662 100.00% Conn: 1 Mbps: 8328.662 Peak Mbps: 8349.005 Avg Mbps: 8328.662 5000 1038831148 8310.649 100.00% Conn: 1 Mbps: 8310.649 Peak Mbps: 8349.005 Avg Mbps: 8310.649 --- 169.254.0.13 tcpbench statistics --- 6240823932 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8310.649/8326.415/8349.005/13.197 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 1022782372 8182.259 100.00% Conn: 1 Mbps: 8182.259 Peak Mbps: 8182.259 Avg Mbps: 8182.259 2000 1020703728 8173.804 100.00% Conn: 1 Mbps: 8173.804 Peak Mbps: 8182.259 Avg Mbps: 8173.804 3000 1018709272 8149.674 100.00% Conn: 1 Mbps: 8149.674 Peak Mbps: 8182.259 Avg Mbps: 8149.674 4000 1019886328 8159.091 100.00% Conn: 1 Mbps: 8159.091 Peak Mbps: 8182.259 Avg Mbps: 8159.091 5000 1016780208 8134.242 100.00% Conn: 1 Mbps: 8134.242 Peak Mbps: 8182.259 Avg Mbps: 8134.242 --- fc00::13 tcpbench statistics --- 6118813628 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8134.242/8159.814/8182.259/17.069 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.053 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.053/0.053/0.053/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.060 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.060/0.060/0.060/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 215074032 1718.873 100.00% Conn: 1 Mbps: 1718.873 Peak Mbps: 1718.873 Avg Mbps: 1718.873 2000 214461568 1717.410 100.00% Conn: 1 Mbps: 1717.410 Peak Mbps: 1718.873 Avg Mbps: 1717.410 3001 217380112 1739.041 100.00% Conn: 1 Mbps: 1739.041 Peak Mbps: 1739.041 Avg Mbps: 1739.041 4001 215157824 1721.263 100.00% Conn: 1 Mbps: 1721.263 Peak Mbps: 1739.041 Avg Mbps: 1721.263 5002 216878720 1735.030 100.00% Conn: 1 Mbps: 1735.030 Peak Mbps: 1739.041 Avg Mbps: 1735.030 --- 169.254.1.11 tcpbench statistics --- 1294349784 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1717.410/1726.323/1739.041/8.923 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 308397600 2467.181 100.00% Conn: 1 Mbps: 2467.181 Peak Mbps: 2467.181 Avg Mbps: 2467.181 2000 306887496 2457.558 100.00% Conn: 1 Mbps: 2457.558 Peak Mbps: 2467.181 Avg Mbps: 2457.558 3001 308702720 2467.155 100.00% Conn: 1 Mbps: 2467.155 Peak Mbps: 2467.181 Avg Mbps: 2467.155 4001 308045448 2466.830 100.00% Conn: 1 Mbps: 2466.830 Peak Mbps: 2467.181 Avg Mbps: 2466.830 5001 306948816 2455.591 100.00% Conn: 1 Mbps: 2455.591 Peak Mbps: 2467.181 Avg Mbps: 2455.591 --- fc00:0:0:1::11 tcpbench statistics --- 1845264728 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2455.591/2462.863/2467.181/5.174 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.051 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.051/0.051/0.051/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.052 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.052/0.052/0.052/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 1047080040 8376.640 100.00% Conn: 1 Mbps: 8376.640 Peak Mbps: 8376.640 Avg Mbps: 8376.640 2000 1052473720 8428.218 100.00% Conn: 1 Mbps: 8428.218 Peak Mbps: 8428.218 Avg Mbps: 8428.218 3000 1053815076 8430.521 100.00% Conn: 1 Mbps: 8430.521 Peak Mbps: 8430.521 Avg Mbps: 8430.521 4000 1051884832 8415.079 100.00% Conn: 1 Mbps: 8415.079 Peak Mbps: 8430.521 Avg Mbps: 8415.079 5000 1054502112 8436.017 100.00% Conn: 1 Mbps: 8436.017 Peak Mbps: 8436.017 Avg Mbps: 8436.017 --- 169.254.1.12 tcpbench statistics --- 6312164068 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8376.640/8417.295/8436.017/21.459 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 1029000300 8232.002 100.00% Conn: 1 Mbps: 8232.002 Peak Mbps: 8232.002 Avg Mbps: 8232.002 2000 1026490920 8220.148 100.00% Conn: 1 Mbps: 8220.148 Peak Mbps: 8232.002 Avg Mbps: 8220.148 3000 1024365680 8194.925 100.00% Conn: 1 Mbps: 8194.925 Peak Mbps: 8232.002 Avg Mbps: 8194.925 4000 1024561856 8196.495 100.00% Conn: 1 Mbps: 8196.495 Peak Mbps: 8232.002 Avg Mbps: 8196.495 5000 1023646368 8197.368 100.00% Conn: 1 Mbps: 8197.368 Peak Mbps: 8232.002 Avg Mbps: 8197.368 --- fc00:0:0:1::12 tcpbench statistics --- 6149651644 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8194.925/8208.188/8232.002/15.099 Mbps ==== run-ping-3-3 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.050 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.050/0.050/0.050/0.000 ms ==== run-ping6-3-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.046 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/0.000 ms ==== run-tcpbench-3-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 1077013738 8616.110 100.00% Conn: 1 Mbps: 8616.110 Peak Mbps: 8616.110 Avg Mbps: 8616.110 2000 1078711952 8638.334 100.00% Conn: 1 Mbps: 8638.334 Peak Mbps: 8638.334 Avg Mbps: 8638.334 3000 1078123064 8624.985 100.00% Conn: 1 Mbps: 8624.985 Peak Mbps: 8638.334 Avg Mbps: 8624.985 4000 1078286644 8626.293 100.00% Conn: 1 Mbps: 8626.293 Peak Mbps: 8638.334 Avg Mbps: 8626.293 5000 1079268124 8634.145 100.00% Conn: 1 Mbps: 8634.145 Peak Mbps: 8638.334 Avg Mbps: 8634.145 --- 169.254.0.13 tcpbench statistics --- 6470115474 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8616.110/8627.973/8638.334/7.719 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 1064864140 8518.913 100.00% Conn: 1 Mbps: 8518.913 Peak Mbps: 8518.913 Avg Mbps: 8518.913 2000 1052222672 8426.208 100.00% Conn: 1 Mbps: 8426.208 Peak Mbps: 8518.913 Avg Mbps: 8426.208 3000 1061442944 8491.544 100.00% Conn: 1 Mbps: 8491.544 Peak Mbps: 8518.913 Avg Mbps: 8491.544 4000 1059742752 8477.942 100.00% Conn: 1 Mbps: 8477.942 Peak Mbps: 8518.913 Avg Mbps: 8477.942 5000 1060331280 8482.650 100.00% Conn: 1 Mbps: 8482.650 Peak Mbps: 8518.913 Avg Mbps: 8482.650 --- fc00::13 tcpbench statistics --- 6358608108 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8426.208/8479.451/8518.913/30.169 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.85s