START sys/net/pair 2024-12-26T02:44:58Z ==== 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.042 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.042/0.042/0.042/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 951685572 7613.485 100.00% Conn: 1 Mbps: 7613.485 Peak Mbps: 7613.485 Avg Mbps: 7613.485 2000 951645832 7620.787 100.00% Conn: 1 Mbps: 7620.787 Peak Mbps: 7620.787 Avg Mbps: 7620.787 3000 949158108 7593.265 100.00% Conn: 1 Mbps: 7593.265 Peak Mbps: 7620.787 Avg Mbps: 7593.265 4000 949611144 7596.889 100.00% Conn: 1 Mbps: 7596.889 Peak Mbps: 7620.787 Avg Mbps: 7596.889 5000 949460132 7603.284 100.00% Conn: 1 Mbps: 7603.284 Peak Mbps: 7620.787 Avg Mbps: 7603.284 --- 169.254.1.11 tcpbench statistics --- 5701259360 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7593.265/7605.542/7620.787/10.259 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 961380992 7691.048 100.00% Conn: 1 Mbps: 7691.048 Peak Mbps: 7691.048 Avg Mbps: 7691.048 2000 958986736 7679.573 100.00% Conn: 1 Mbps: 7679.573 Peak Mbps: 7691.048 Avg Mbps: 7679.573 3000 958431776 7667.454 100.00% Conn: 1 Mbps: 7667.454 Peak Mbps: 7691.048 Avg Mbps: 7667.454 4000 960643688 7685.150 100.00% Conn: 1 Mbps: 7685.150 Peak Mbps: 7691.048 Avg Mbps: 7685.150 5000 959081872 7672.655 100.00% Conn: 1 Mbps: 7672.655 Peak Mbps: 7691.048 Avg Mbps: 7672.655 --- fc00:0:0:1::11 tcpbench statistics --- 5758621720 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7667.454/7679.176/7691.048/8.446 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.059 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.059/0.059/0.059/0.000 ms ==== run-ping6-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.109 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.109/0.109/0.109/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1001 268437344 2145.353 100.00% Conn: 1 Mbps: 2145.353 Peak Mbps: 2145.353 Avg Mbps: 2145.353 2001 267392632 2141.282 100.00% Conn: 1 Mbps: 2141.282 Peak Mbps: 2145.353 Avg Mbps: 2141.282 3001 267284312 2138.274 100.00% Conn: 1 Mbps: 2138.274 Peak Mbps: 2145.353 Avg Mbps: 2138.274 4001 267238184 2140.046 100.00% Conn: 1 Mbps: 2140.046 Peak Mbps: 2145.353 Avg Mbps: 2140.046 5001 267475552 2139.804 100.00% Conn: 1 Mbps: 2139.804 Peak Mbps: 2145.353 Avg Mbps: 2139.804 --- 169.254.1.12 tcpbench statistics --- 1605109592 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2138.274/2140.952/2145.353/2.400 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 258856060 2070.848 100.00% Conn: 1 Mbps: 2070.848 Peak Mbps: 2070.848 Avg Mbps: 2070.848 2000 258378668 2067.029 100.00% Conn: 1 Mbps: 2067.029 Peak Mbps: 2070.848 Avg Mbps: 2067.029 3001 258670588 2069.365 100.00% Conn: 1 Mbps: 2069.365 Peak Mbps: 2070.848 Avg Mbps: 2069.365 4001 258458240 2067.666 100.00% Conn: 1 Mbps: 2067.666 Peak Mbps: 2070.848 Avg Mbps: 2067.666 5002 258689972 2069.520 100.00% Conn: 1 Mbps: 2069.520 Peak Mbps: 2070.848 Avg Mbps: 2069.520 --- fc00:0:0:1::12 tcpbench statistics --- 1551046000 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2067.029/2068.886/2070.848/1.372 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.062 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.062/0.062/0.062/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 503259412 4026.075 100.00% Conn: 1 Mbps: 4026.075 Peak Mbps: 4026.075 Avg Mbps: 4026.075 2000 503855512 4034.879 100.00% Conn: 1 Mbps: 4034.879 Peak Mbps: 4034.879 Avg Mbps: 4034.879 3000 503593228 4028.746 100.00% Conn: 1 Mbps: 4028.746 Peak Mbps: 4034.879 Avg Mbps: 4028.746 4000 503370684 4030.996 100.00% Conn: 1 Mbps: 4030.996 Peak Mbps: 4034.879 Avg Mbps: 4030.996 5000 503863460 4030.908 100.00% Conn: 1 Mbps: 4030.908 Peak Mbps: 4034.879 Avg Mbps: 4030.908 --- 169.254.0.13 tcpbench statistics --- 3022417752 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4026.075/4030.321/4034.879/2.901 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 464239896 3713.919 100.00% Conn: 1 Mbps: 3713.919 Peak Mbps: 3713.919 Avg Mbps: 3713.919 2000 465563872 3728.239 100.00% Conn: 1 Mbps: 3728.239 Peak Mbps: 3728.239 Avg Mbps: 3728.239 3000 464961344 3719.691 100.00% Conn: 1 Mbps: 3719.691 Peak Mbps: 3728.239 Avg Mbps: 3719.691 4000 465016840 3723.859 100.00% Conn: 1 Mbps: 3723.859 Peak Mbps: 3728.239 Avg Mbps: 3723.859 5000 467141544 3737.132 100.00% Conn: 1 Mbps: 3737.132 Peak Mbps: 3737.132 Avg Mbps: 3737.132 --- fc00::13 tcpbench statistics --- 2793795488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3713.919/3724.568/3737.132/7.862 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.042 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.042/0.042/0.042/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.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-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 268410728 2147.286 100.00% Conn: 1 Mbps: 2147.286 Peak Mbps: 2147.286 Avg Mbps: 2147.286 2001 268706136 2147.502 100.00% Conn: 1 Mbps: 2147.502 Peak Mbps: 2147.502 Avg Mbps: 2147.502 3000 268409616 2149.426 100.00% Conn: 1 Mbps: 2149.426 Peak Mbps: 2149.426 Avg Mbps: 2149.426 4001 268805536 2150.444 100.00% Conn: 1 Mbps: 2150.444 Peak Mbps: 2150.444 Avg Mbps: 2150.444 5001 268812664 2150.501 100.00% Conn: 1 Mbps: 2150.501 Peak Mbps: 2150.501 Avg Mbps: 2150.501 --- 169.254.1.11 tcpbench statistics --- 1610824344 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2147.286/2149.032/2150.501/1.393 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 1001 260348984 2080.711 100.00% Conn: 1 Mbps: 2080.711 Peak Mbps: 2080.711 Avg Mbps: 2080.711 2001 259589612 2076.717 100.00% Conn: 1 Mbps: 2076.717 Peak Mbps: 2080.711 Avg Mbps: 2076.717 3001 259460272 2075.682 100.00% Conn: 1 Mbps: 2075.682 Peak Mbps: 2080.711 Avg Mbps: 2075.682 4001 258975148 2073.875 100.00% Conn: 1 Mbps: 2073.875 Peak Mbps: 2080.711 Avg Mbps: 2073.875 5002 259379300 2075.034 100.00% Conn: 1 Mbps: 2075.034 Peak Mbps: 2080.711 Avg Mbps: 2075.034 --- fc00:0:0:1::11 tcpbench statistics --- 1556541608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2073.875/2076.404/2080.711/2.343 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.037 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.037/0.037/0.037/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.039 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.039/0.039/0.039/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 941763272 7534.106 100.00% Conn: 1 Mbps: 7534.106 Peak Mbps: 7534.106 Avg Mbps: 7534.106 2000 933596552 7476.249 100.00% Conn: 1 Mbps: 7476.249 Peak Mbps: 7534.106 Avg Mbps: 7476.249 3000 935050344 7480.403 100.00% Conn: 1 Mbps: 7480.403 Peak Mbps: 7534.106 Avg Mbps: 7480.403 4000 933903528 7471.228 100.00% Conn: 1 Mbps: 7471.228 Peak Mbps: 7534.106 Avg Mbps: 7471.228 5000 933479264 7467.834 100.00% Conn: 1 Mbps: 7467.834 Peak Mbps: 7534.106 Avg Mbps: 7467.834 --- 169.254.1.12 tcpbench statistics --- 5611089776 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7467.834/7485.964/7534.106/24.449 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 949912740 7599.302 100.00% Conn: 1 Mbps: 7599.302 Peak Mbps: 7599.302 Avg Mbps: 7599.302 2000 948356220 7594.444 100.00% Conn: 1 Mbps: 7594.444 Peak Mbps: 7599.302 Avg Mbps: 7594.444 3000 948517584 7588.141 100.00% Conn: 1 Mbps: 7588.141 Peak Mbps: 7599.302 Avg Mbps: 7588.141 4000 950009844 7607.686 100.00% Conn: 1 Mbps: 7607.686 Peak Mbps: 7607.686 Avg Mbps: 7607.686 5000 952009044 7616.072 100.00% Conn: 1 Mbps: 7616.072 Peak Mbps: 7616.072 Avg Mbps: 7616.072 --- fc00:0:0:1::12 tcpbench statistics --- 5699035188 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7588.141/7601.129/7616.072/9.829 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.039 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.039/0.039/0.039/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 1384744096 11077.953 100.00% Conn: 1 Mbps: 11077.953 Peak Mbps: 11077.953 Avg Mbps: 11077.953 2000 1388483398 11118.986 100.00% Conn: 1 Mbps: 11118.986 Peak Mbps: 11118.986 Avg Mbps: 11118.986 3000 1391673208 11133.386 100.00% Conn: 1 Mbps: 11133.386 Peak Mbps: 11133.386 Avg Mbps: 11133.386 4000 1389170434 11113.363 100.00% Conn: 1 Mbps: 11113.363 Peak Mbps: 11133.386 Avg Mbps: 11113.363 5000 1391378764 11131.030 100.00% Conn: 1 Mbps: 11131.030 Peak Mbps: 11133.386 Avg Mbps: 11131.030 --- 169.254.0.13 tcpbench statistics --- 8336517862 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11077.953/11114.944/11133.386/19.930 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 1413607156 11308.857 100.00% Conn: 1 Mbps: 11308.857 Peak Mbps: 11308.857 Avg Mbps: 11308.857 2000 1384904472 11090.326 100.00% Conn: 1 Mbps: 11090.326 Peak Mbps: 11308.857 Avg Mbps: 11090.326 3000 1416227240 11329.818 100.00% Conn: 1 Mbps: 11329.818 Peak Mbps: 11329.818 Avg Mbps: 11329.818 4000 1408837944 11270.704 100.00% Conn: 1 Mbps: 11270.704 Peak Mbps: 11329.818 Avg Mbps: 11270.704 5000 1382321488 11058.572 100.00% Conn: 1 Mbps: 11058.572 Peak Mbps: 11329.818 Avg Mbps: 11058.572 --- fc00::13 tcpbench statistics --- 8401723236 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11058.572/11211.655/11329.818/114.064 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.045 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.045/0.045/0.045/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 264590184 2116.721 100.00% Conn: 1 Mbps: 2116.721 Peak Mbps: 2116.721 Avg Mbps: 2116.721 2000 264993952 2119.952 100.00% Conn: 1 Mbps: 2119.952 Peak Mbps: 2119.952 Avg Mbps: 2119.952 3001 265612632 2122.778 100.00% Conn: 1 Mbps: 2122.778 Peak Mbps: 2122.778 Avg Mbps: 2122.778 4002 265352552 2122.820 100.00% Conn: 1 Mbps: 2122.820 Peak Mbps: 2122.820 Avg Mbps: 2122.820 5002 265406960 2123.256 100.00% Conn: 1 Mbps: 2123.256 Peak Mbps: 2123.256 Avg Mbps: 2123.256 --- 169.254.1.11 tcpbench statistics --- 1591505600 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2116.721/2121.105/2123.256/2.487 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 436785240 3494.282 100.00% Conn: 1 Mbps: 3494.282 Peak Mbps: 3494.282 Avg Mbps: 3494.282 2000 433704344 3473.108 100.00% Conn: 1 Mbps: 3473.108 Peak Mbps: 3494.282 Avg Mbps: 3473.108 3000 433944896 3471.559 100.00% Conn: 1 Mbps: 3471.559 Peak Mbps: 3494.282 Avg Mbps: 3471.559 4000 433969616 3471.757 100.00% Conn: 1 Mbps: 3471.757 Peak Mbps: 3494.282 Avg Mbps: 3471.757 5000 434287208 3477.775 100.00% Conn: 1 Mbps: 3477.775 Peak Mbps: 3494.282 Avg Mbps: 3477.775 --- fc00:0:0:1::11 tcpbench statistics --- 2606559776 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3471.559/3477.696/3494.282/8.592 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.042 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.042/0.042/0.042/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.043 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.043/0.043/0.043/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 1409210778 11273.686 100.00% Conn: 1 Mbps: 11273.686 Peak Mbps: 11273.686 Avg Mbps: 11273.686 2000 1390544506 11135.492 100.00% Conn: 1 Mbps: 11135.492 Peak Mbps: 11273.686 Avg Mbps: 11135.492 3000 1401406218 11211.250 100.00% Conn: 1 Mbps: 11211.250 Peak Mbps: 11273.686 Avg Mbps: 11211.250 4000 1413756508 11310.052 100.00% Conn: 1 Mbps: 11310.052 Peak Mbps: 11310.052 Avg Mbps: 11310.052 5000 1416357430 11330.859 100.00% Conn: 1 Mbps: 11330.859 Peak Mbps: 11330.859 Avg Mbps: 11330.859 --- 169.254.1.12 tcpbench statistics --- 8426563766 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11135.492/11252.268/11330.859/71.125 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 1429457588 11435.661 100.00% Conn: 1 Mbps: 11435.661 Peak Mbps: 11435.661 Avg Mbps: 11435.661 2000 1409524560 11287.484 100.00% Conn: 1 Mbps: 11287.484 Peak Mbps: 11435.661 Avg Mbps: 11287.484 3000 1437937384 11503.499 100.00% Conn: 1 Mbps: 11503.499 Peak Mbps: 11503.499 Avg Mbps: 11503.499 4000 1436923808 11506.897 100.00% Conn: 1 Mbps: 11506.897 Peak Mbps: 11506.897 Avg Mbps: 11506.897 5000 1403573888 11228.591 100.00% Conn: 1 Mbps: 11228.591 Peak Mbps: 11506.897 Avg Mbps: 11228.591 --- fc00:0:0:1::12 tcpbench statistics --- 8537600684 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11228.591/11392.426/11506.897/114.162 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.040 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.040/0.040/0.040/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 1387230818 11097.847 100.00% Conn: 1 Mbps: 11097.847 Peak Mbps: 11097.847 Avg Mbps: 11097.847 2000 1380026312 11051.262 100.00% Conn: 1 Mbps: 11051.262 Peak Mbps: 11097.847 Avg Mbps: 11051.262 3000 1393014564 11144.117 100.00% Conn: 1 Mbps: 11144.117 Peak Mbps: 11144.117 Avg Mbps: 11144.117 4000 1402829364 11222.635 100.00% Conn: 1 Mbps: 11222.635 Peak Mbps: 11222.635 Avg Mbps: 11222.635 5000 1412676880 11301.415 100.00% Conn: 1 Mbps: 11301.415 Peak Mbps: 11301.415 Avg Mbps: 11301.415 --- 169.254.0.13 tcpbench statistics --- 8360057330 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11051.262/11163.455/11301.415/89.220 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 1407313508 11258.508 100.00% Conn: 1 Mbps: 11258.508 Peak Mbps: 11258.508 Avg Mbps: 11258.508 2000 1417371600 11350.323 100.00% Conn: 1 Mbps: 11350.323 Peak Mbps: 11350.323 Avg Mbps: 11350.323 3000 1414003912 11312.031 100.00% Conn: 1 Mbps: 11312.031 Peak Mbps: 11350.323 Avg Mbps: 11312.031 4000 1419398752 11355.190 100.00% Conn: 1 Mbps: 11355.190 Peak Mbps: 11355.190 Avg Mbps: 11355.190 5000 1419889192 11359.114 100.00% Conn: 1 Mbps: 11359.114 Peak Mbps: 11359.114 Avg Mbps: 11359.114 --- fc00::13 tcpbench statistics --- 8502508988 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11258.508/11327.033/11359.114/38.171 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.84s