START sys/net/pair 2024-05-15T22:35:37Z ==== 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.198 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.198/0.198/0.198/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.248 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.248/0.248/0.248/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 62153360 497.227 100.00% Conn: 1 Mbps: 497.227 Peak Mbps: 497.227 Avg Mbps: 497.227 2000 61342664 491.233 100.00% Conn: 1 Mbps: 491.233 Peak Mbps: 497.227 Avg Mbps: 491.233 3000 62352060 498.816 100.00% Conn: 1 Mbps: 498.816 Peak Mbps: 498.816 Avg Mbps: 498.816 4001 62097724 496.782 100.00% Conn: 1 Mbps: 496.782 Peak Mbps: 498.816 Avg Mbps: 496.782 5000 62264632 498.616 100.00% Conn: 1 Mbps: 498.616 Peak Mbps: 498.816 Avg Mbps: 498.616 --- 169.254.1.11 tcpbench statistics --- 372753252 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 491.233/496.535/498.816/2.764 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 1001 58849544 470.326 100.00% Conn: 1 Mbps: 470.326 Peak Mbps: 470.326 Avg Mbps: 470.326 2001 59150808 473.206 100.00% Conn: 1 Mbps: 473.206 Peak Mbps: 473.206 Avg Mbps: 473.206 3001 58469000 467.752 100.00% Conn: 1 Mbps: 467.752 Peak Mbps: 473.206 Avg Mbps: 467.752 4002 58500712 468.006 100.00% Conn: 1 Mbps: 468.006 Peak Mbps: 473.206 Avg Mbps: 468.006 5002 58825760 470.606 100.00% Conn: 1 Mbps: 470.606 Peak Mbps: 473.206 Avg Mbps: 470.606 --- fc00:0:0:1::11 tcpbench statistics --- 351892208 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 467.752/469.979/473.206/1.989 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.259 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.259/0.259/0.259/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.668 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.668/0.668/0.668/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 35319616 282.557 100.00% Conn: 1 Mbps: 282.557 Peak Mbps: 282.557 Avg Mbps: 282.557 2001 36014656 287.829 100.00% Conn: 1 Mbps: 287.829 Peak Mbps: 287.829 Avg Mbps: 287.829 3002 35796008 286.082 100.00% Conn: 1 Mbps: 286.082 Peak Mbps: 287.829 Avg Mbps: 286.082 4002 35803248 286.713 100.00% Conn: 1 Mbps: 286.713 Peak Mbps: 287.829 Avg Mbps: 286.713 5006 36029136 287.371 100.00% Conn: 1 Mbps: 287.371 Peak Mbps: 287.829 Avg Mbps: 287.371 --- 169.254.1.12 tcpbench statistics --- 214596496 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 282.557/286.110/287.829/1.873 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 33953556 271.628 100.00% Conn: 1 Mbps: 271.628 Peak Mbps: 271.628 Avg Mbps: 271.628 2002 34456212 275.374 100.00% Conn: 1 Mbps: 275.374 Peak Mbps: 275.374 Avg Mbps: 275.374 3002 34440504 275.524 100.00% Conn: 1 Mbps: 275.524 Peak Mbps: 275.524 Avg Mbps: 275.524 4002 34741812 278.213 100.00% Conn: 1 Mbps: 278.213 Peak Mbps: 278.213 Avg Mbps: 278.213 5004 34958868 279.392 100.00% Conn: 1 Mbps: 279.392 Peak Mbps: 279.392 Avg Mbps: 279.392 --- fc00:0:0:1::12 tcpbench statistics --- 207656904 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 271.628/276.026/279.392/2.688 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.255 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.255/0.255/0.255/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.338 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.338/0.338/0.338/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 36552852 292.423 100.00% Conn: 1 Mbps: 292.423 Peak Mbps: 292.423 Avg Mbps: 292.423 2002 36536956 292.004 100.00% Conn: 1 Mbps: 292.004 Peak Mbps: 292.423 Avg Mbps: 292.004 3002 36680020 293.440 100.00% Conn: 1 Mbps: 293.440 Peak Mbps: 293.440 Avg Mbps: 293.440 4002 36529008 292.232 100.00% Conn: 1 Mbps: 292.232 Peak Mbps: 293.440 Avg Mbps: 292.232 5003 36695916 293.274 100.00% Conn: 1 Mbps: 293.274 Peak Mbps: 293.440 Avg Mbps: 293.274 --- 169.254.0.13 tcpbench statistics --- 219269424 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 292.004/292.675/293.440/0.575 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 36151680 289.213 100.00% Conn: 1 Mbps: 289.213 Peak Mbps: 289.213 Avg Mbps: 289.213 2001 35882128 286.770 100.00% Conn: 1 Mbps: 286.770 Peak Mbps: 289.213 Avg Mbps: 286.770 3002 35794920 286.359 100.00% Conn: 1 Mbps: 286.359 Peak Mbps: 289.213 Avg Mbps: 286.359 4002 36603576 292.829 100.00% Conn: 1 Mbps: 292.829 Peak Mbps: 292.829 Avg Mbps: 292.829 5002 35779064 286.233 100.00% Conn: 1 Mbps: 286.233 Peak Mbps: 292.829 Avg Mbps: 286.233 --- fc00::13 tcpbench statistics --- 215934936 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 286.233/288.281/292.829/2.519 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.195 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.195/0.195/0.195/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.267 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.267/0.267/0.267/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 1001 35851032 286.522 100.00% Conn: 1 Mbps: 286.522 Peak Mbps: 286.522 Avg Mbps: 286.522 2003 36451952 291.034 100.00% Conn: 1 Mbps: 291.034 Peak Mbps: 291.034 Avg Mbps: 291.034 3004 36333216 290.375 100.00% Conn: 1 Mbps: 290.375 Peak Mbps: 291.034 Avg Mbps: 290.375 4006 36389688 290.827 100.00% Conn: 1 Mbps: 290.827 Peak Mbps: 291.034 Avg Mbps: 290.827 5008 36291224 290.040 100.00% Conn: 1 Mbps: 290.040 Peak Mbps: 291.034 Avg Mbps: 290.040 --- 169.254.1.11 tcpbench statistics --- 217270952 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 286.522/289.759/291.034/1.655 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 34130628 273.045 100.00% Conn: 1 Mbps: 273.045 Peak Mbps: 273.045 Avg Mbps: 273.045 2004 34380528 274.222 100.00% Conn: 1 Mbps: 274.222 Peak Mbps: 274.222 Avg Mbps: 274.222 3002 34383384 275.895 100.00% Conn: 1 Mbps: 275.895 Peak Mbps: 275.895 Avg Mbps: 275.895 4003 34836060 278.410 100.00% Conn: 1 Mbps: 278.410 Peak Mbps: 278.410 Avg Mbps: 278.410 5004 34866048 278.650 100.00% Conn: 1 Mbps: 278.650 Peak Mbps: 278.650 Avg Mbps: 278.650 --- fc00:0:0:1::11 tcpbench statistics --- 207137112 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 273.045/276.044/278.650/2.224 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.190 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.190/0.190/0.190/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.245 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.245/0.245/0.245/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 1001 57061336 456.035 100.00% Conn: 1 Mbps: 456.035 Peak Mbps: 456.035 Avg Mbps: 456.035 2000 57733208 462.328 100.00% Conn: 1 Mbps: 462.328 Peak Mbps: 462.328 Avg Mbps: 462.328 3001 57740448 461.924 100.00% Conn: 1 Mbps: 461.924 Peak Mbps: 462.328 Avg Mbps: 461.924 4001 56949840 455.599 100.00% Conn: 1 Mbps: 455.599 Peak Mbps: 462.328 Avg Mbps: 455.599 5001 57343696 458.750 100.00% Conn: 1 Mbps: 458.750 Peak Mbps: 462.328 Avg Mbps: 458.750 --- 169.254.1.12 tcpbench statistics --- 344405352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 455.599/458.927/462.328/2.829 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 58369500 466.956 100.00% Conn: 1 Mbps: 466.956 Peak Mbps: 466.956 Avg Mbps: 466.956 2000 59509044 476.072 100.00% Conn: 1 Mbps: 476.072 Peak Mbps: 476.072 Avg Mbps: 476.072 3000 58655100 469.241 100.00% Conn: 1 Mbps: 469.241 Peak Mbps: 476.072 Avg Mbps: 469.241 4000 58098180 464.785 100.00% Conn: 1 Mbps: 464.785 Peak Mbps: 476.072 Avg Mbps: 464.785 5001 58342368 466.273 100.00% Conn: 1 Mbps: 466.273 Peak Mbps: 476.072 Avg Mbps: 466.273 --- fc00:0:0:1::12 tcpbench statistics --- 351250872 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 464.785/468.665/476.072/3.972 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.203 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.203/0.203/0.203/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.262 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.262/0.262/0.262/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 139828358 1118.627 100.00% Conn: 1 Mbps: 1118.627 Peak Mbps: 1118.627 Avg Mbps: 1118.627 2000 139337384 1114.699 100.00% Conn: 1 Mbps: 1114.699 Peak Mbps: 1118.627 Avg Mbps: 1114.699 3000 139795396 1118.363 100.00% Conn: 1 Mbps: 1118.363 Peak Mbps: 1118.627 Avg Mbps: 1118.363 4000 139173864 1113.391 100.00% Conn: 1 Mbps: 1113.391 Peak Mbps: 1118.627 Avg Mbps: 1113.391 5001 139631888 1117.055 100.00% Conn: 1 Mbps: 1117.055 Peak Mbps: 1118.627 Avg Mbps: 1117.055 --- 169.254.0.13 tcpbench statistics --- 837267914 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1113.391/1116.427/1118.627/2.058 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 129280596 1034.245 100.00% Conn: 1 Mbps: 1034.245 Peak Mbps: 1034.245 Avg Mbps: 1034.245 2000 129018416 1032.147 100.00% Conn: 1 Mbps: 1032.147 Peak Mbps: 1034.245 Avg Mbps: 1032.147 3000 129018416 1032.147 100.00% Conn: 1 Mbps: 1032.147 Peak Mbps: 1034.245 Avg Mbps: 1032.147 4000 129051112 1032.409 100.00% Conn: 1 Mbps: 1032.409 Peak Mbps: 1034.245 Avg Mbps: 1032.409 5000 129051112 1032.409 100.00% Conn: 1 Mbps: 1032.409 Peak Mbps: 1034.245 Avg Mbps: 1032.409 --- fc00::13 tcpbench statistics --- 774732332 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1032.147/1032.671/1034.245/0.795 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.217 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.217/0.217/0.217/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.280 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.280/0.280/0.280/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 35846688 286.774 100.00% Conn: 1 Mbps: 286.774 Peak Mbps: 286.774 Avg Mbps: 286.774 2002 36273848 289.612 100.00% Conn: 1 Mbps: 289.612 Peak Mbps: 289.612 Avg Mbps: 289.612 3002 36089952 288.720 100.00% Conn: 1 Mbps: 288.720 Peak Mbps: 289.612 Avg Mbps: 288.720 4003 36344800 290.468 100.00% Conn: 1 Mbps: 290.468 Peak Mbps: 290.468 Avg Mbps: 290.468 5004 35936464 287.492 100.00% Conn: 1 Mbps: 287.492 Peak Mbps: 290.468 Avg Mbps: 287.492 --- 169.254.1.11 tcpbench statistics --- 216266040 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 286.774/288.613/290.468/1.348 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 59729224 477.834 100.00% Conn: 1 Mbps: 477.834 Peak Mbps: 477.834 Avg Mbps: 477.834 2001 60136200 480.609 100.00% Conn: 1 Mbps: 480.609 Peak Mbps: 480.609 Avg Mbps: 480.609 3005 59142672 471.726 100.00% Conn: 1 Mbps: 471.726 Peak Mbps: 480.609 Avg Mbps: 471.726 4002 59566080 477.963 100.00% Conn: 1 Mbps: 477.963 Peak Mbps: 480.609 Avg Mbps: 477.963 5005 59235952 472.942 100.00% Conn: 1 Mbps: 472.942 Peak Mbps: 480.609 Avg Mbps: 472.942 --- fc00:0:0:1::11 tcpbench statistics --- 356949576 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 471.726/476.215/480.609/3.342 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.232 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.232/0.232/0.232/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.256 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.256/0.256/0.256/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 140973442 1127.788 100.00% Conn: 1 Mbps: 1127.788 Peak Mbps: 1127.788 Avg Mbps: 1127.788 2000 139926332 1119.411 100.00% Conn: 1 Mbps: 1119.411 Peak Mbps: 1127.788 Avg Mbps: 1119.411 3000 138519544 1108.156 100.00% Conn: 1 Mbps: 1108.156 Peak Mbps: 1127.788 Avg Mbps: 1108.156 4000 140776948 1126.216 100.00% Conn: 1 Mbps: 1126.216 Peak Mbps: 1127.788 Avg Mbps: 1126.216 5000 140220776 1121.766 100.00% Conn: 1 Mbps: 1121.766 Peak Mbps: 1127.788 Avg Mbps: 1121.766 --- 169.254.1.12 tcpbench statistics --- 840964978 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1108.156/1120.667/1127.788/6.940 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 129803588 1038.429 100.00% Conn: 1 Mbps: 1038.429 Peak Mbps: 1038.429 Avg Mbps: 1038.429 2000 130293560 1042.348 100.00% Conn: 1 Mbps: 1042.348 Peak Mbps: 1042.348 Avg Mbps: 1042.348 3000 129574248 1036.594 100.00% Conn: 1 Mbps: 1036.594 Peak Mbps: 1042.348 Avg Mbps: 1036.594 4000 130358952 1042.872 100.00% Conn: 1 Mbps: 1042.872 Peak Mbps: 1042.872 Avg Mbps: 1042.872 5000 131143656 1049.149 100.00% Conn: 1 Mbps: 1049.149 Peak Mbps: 1049.149 Avg Mbps: 1049.149 --- fc00:0:0:1::12 tcpbench statistics --- 781827220 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1036.594/1041.878/1049.149/4.334 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.188 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.188/0.188/0.188/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.250 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.250/0.250/0.250/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 138601832 1108.815 100.00% Conn: 1 Mbps: 1108.815 Peak Mbps: 1108.815 Avg Mbps: 1108.815 2000 137210904 1097.687 100.00% Conn: 1 Mbps: 1097.687 Peak Mbps: 1108.815 Avg Mbps: 1097.687 3000 136294856 1090.359 100.00% Conn: 1 Mbps: 1090.359 Peak Mbps: 1108.815 Avg Mbps: 1090.359 4000 137799792 1102.398 100.00% Conn: 1 Mbps: 1102.398 Peak Mbps: 1108.815 Avg Mbps: 1102.398 5000 137783434 1102.267 100.00% Conn: 1 Mbps: 1102.267 Peak Mbps: 1108.815 Avg Mbps: 1102.267 --- 169.254.0.13 tcpbench statistics --- 824934438 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1090.359/1100.305/1108.815/6.106 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 139286148 1114.289 100.00% Conn: 1 Mbps: 1114.289 Peak Mbps: 1114.289 Avg Mbps: 1114.289 2000 138892608 1111.141 100.00% Conn: 1 Mbps: 1111.141 Peak Mbps: 1114.289 Avg Mbps: 1111.141 3000 138631040 1109.048 100.00% Conn: 1 Mbps: 1109.048 Peak Mbps: 1114.289 Avg Mbps: 1109.048 4000 138467560 1107.740 100.00% Conn: 1 Mbps: 1107.740 Peak Mbps: 1114.289 Avg Mbps: 1107.740 5000 138663736 1109.310 100.00% Conn: 1 Mbps: 1109.310 Peak Mbps: 1114.289 Avg Mbps: 1109.310 --- fc00::13 tcpbench statistics --- 832441348 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1107.740/1110.306/1114.289/2.268 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 1m59.48s