START sys/net/pair 2024-03-16T00:43:21Z ==== 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.196 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.196/0.196/0.196/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.244 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.244/0.244/0.244/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 62884576 503.077 100.00% Conn: 1 Mbps: 503.077 Peak Mbps: 503.077 Avg Mbps: 503.077 2001 62741512 501.932 100.00% Conn: 1 Mbps: 501.932 Peak Mbps: 503.077 Avg Mbps: 501.932 3000 63178652 505.935 100.00% Conn: 1 Mbps: 505.935 Peak Mbps: 505.935 Avg Mbps: 505.935 4001 62876628 503.013 100.00% Conn: 1 Mbps: 503.013 Peak Mbps: 505.935 Avg Mbps: 503.013 5002 63146860 504.670 100.00% Conn: 1 Mbps: 504.670 Peak Mbps: 505.935 Avg Mbps: 504.670 --- 169.254.1.11 tcpbench statistics --- 377442572 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 501.932/503.725/505.935/1.409 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 59087384 472.699 100.00% Conn: 1 Mbps: 472.699 Peak Mbps: 472.699 Avg Mbps: 472.699 2001 58572064 468.577 100.00% Conn: 1 Mbps: 468.577 Peak Mbps: 472.699 Avg Mbps: 468.577 3000 57890256 463.586 100.00% Conn: 1 Mbps: 463.586 Peak Mbps: 472.699 Avg Mbps: 463.586 4000 58262872 466.103 100.00% Conn: 1 Mbps: 466.103 Peak Mbps: 472.699 Avg Mbps: 466.103 5000 57723768 461.790 100.00% Conn: 1 Mbps: 461.790 Peak Mbps: 472.699 Avg Mbps: 461.790 --- fc00:0:0:1::11 tcpbench statistics --- 349323536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 461.790/466.551/472.699/3.836 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.309 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.309/0.309/0.309/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.748 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.748/0.748/0.748/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 36882008 295.056 100.00% Conn: 1 Mbps: 295.056 Peak Mbps: 295.056 Avg Mbps: 295.056 2001 37112240 296.601 100.00% Conn: 1 Mbps: 296.601 Peak Mbps: 296.601 Avg Mbps: 296.601 3004 37022464 295.589 100.00% Conn: 1 Mbps: 295.589 Peak Mbps: 296.601 Avg Mbps: 295.589 4005 37158576 296.972 100.00% Conn: 1 Mbps: 296.972 Peak Mbps: 296.972 Avg Mbps: 296.972 5008 37120928 296.375 100.00% Conn: 1 Mbps: 296.375 Peak Mbps: 296.972 Avg Mbps: 296.375 --- 169.254.1.12 tcpbench statistics --- 222143472 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 295.056/296.118/296.972/0.698 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 1003 35705712 284.791 100.00% Conn: 1 Mbps: 284.791 Peak Mbps: 284.791 Avg Mbps: 284.791 2002 36780996 294.543 100.00% Conn: 1 Mbps: 294.543 Peak Mbps: 294.543 Avg Mbps: 294.543 3001 36546804 292.960 100.00% Conn: 1 Mbps: 292.960 Peak Mbps: 294.543 Avg Mbps: 292.960 4004 36872388 294.097 100.00% Conn: 1 Mbps: 294.097 Peak Mbps: 294.543 Avg Mbps: 294.097 5005 36653904 292.938 100.00% Conn: 1 Mbps: 292.938 Peak Mbps: 294.543 Avg Mbps: 292.938 --- fc00:0:0:1::12 tcpbench statistics --- 218915256 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 284.791/291.866/294.543/3.593 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.343 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.343/0.343/0.343/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 36823084 294.585 100.00% Conn: 1 Mbps: 294.585 Peak Mbps: 294.585 Avg Mbps: 294.585 2000 36441580 291.824 100.00% Conn: 1 Mbps: 291.824 Peak Mbps: 294.585 Avg Mbps: 291.824 3000 36552852 292.423 100.00% Conn: 1 Mbps: 292.423 Peak Mbps: 294.585 Avg Mbps: 292.423 4001 36584644 292.677 100.00% Conn: 1 Mbps: 292.677 Peak Mbps: 294.585 Avg Mbps: 292.677 5001 36862824 295.198 100.00% Conn: 1 Mbps: 295.198 Peak Mbps: 295.198 Avg Mbps: 295.198 --- 169.254.0.13 tcpbench statistics --- 220564948 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 291.824/293.341/295.198/1.310 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 36334024 290.672 100.00% Conn: 1 Mbps: 290.672 Peak Mbps: 290.672 Avg Mbps: 290.672 2000 35731496 285.852 100.00% Conn: 1 Mbps: 285.852 Peak Mbps: 290.672 Avg Mbps: 285.852 3001 36104112 288.833 100.00% Conn: 1 Mbps: 288.833 Peak Mbps: 290.672 Avg Mbps: 288.833 4001 35715640 285.725 100.00% Conn: 1 Mbps: 285.725 Peak Mbps: 290.672 Avg Mbps: 285.725 5001 35802848 286.709 100.00% Conn: 1 Mbps: 286.709 Peak Mbps: 290.672 Avg Mbps: 286.709 --- fc00::13 tcpbench statistics --- 215903224 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 285.725/287.558/290.672/1.914 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.202 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.202/0.202/0.202/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.269 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.269/0.269/0.269/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 1002 37078936 296.039 100.00% Conn: 1 Mbps: 296.039 Peak Mbps: 296.039 Avg Mbps: 296.039 2000 37155680 298.140 100.00% Conn: 1 Mbps: 298.140 Peak Mbps: 298.140 Avg Mbps: 298.140 3002 37123824 296.398 100.00% Conn: 1 Mbps: 296.398 Peak Mbps: 298.140 Avg Mbps: 296.398 4005 37055768 295.854 100.00% Conn: 1 Mbps: 295.854 Peak Mbps: 298.140 Avg Mbps: 295.854 5005 36971784 295.774 100.00% Conn: 1 Mbps: 295.774 Peak Mbps: 298.140 Avg Mbps: 295.774 --- 169.254.1.11 tcpbench statistics --- 222338952 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 295.774/296.441/298.140/0.876 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 34920312 279.362 100.00% Conn: 1 Mbps: 279.362 Peak Mbps: 279.362 Avg Mbps: 279.362 2003 35582904 284.095 100.00% Conn: 1 Mbps: 284.095 Peak Mbps: 284.095 Avg Mbps: 284.095 3002 35467236 284.022 100.00% Conn: 1 Mbps: 284.022 Peak Mbps: 284.095 Avg Mbps: 284.022 4003 35415828 283.327 100.00% Conn: 1 Mbps: 283.327 Peak Mbps: 284.095 Avg Mbps: 283.327 5002 35674296 285.680 100.00% Conn: 1 Mbps: 285.680 Peak Mbps: 285.680 Avg Mbps: 285.680 --- fc00:0:0:1::11 tcpbench statistics --- 212596356 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 279.362/283.297/285.680/2.113 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.196 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.196/0.196/0.196/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.243 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.243/0.243/0.243/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 59089984 472.720 100.00% Conn: 1 Mbps: 472.720 Peak Mbps: 472.720 Avg Mbps: 472.720 2000 59195688 473.566 100.00% Conn: 1 Mbps: 473.566 Peak Mbps: 473.566 Avg Mbps: 473.566 3001 59328904 474.631 100.00% Conn: 1 Mbps: 474.631 Peak Mbps: 474.631 Avg Mbps: 474.631 4001 59654704 477.238 100.00% Conn: 1 Mbps: 477.238 Peak Mbps: 477.238 Avg Mbps: 477.238 5001 59405648 475.245 100.00% Conn: 1 Mbps: 475.245 Peak Mbps: 477.238 Avg Mbps: 475.245 --- 169.254.1.12 tcpbench statistics --- 356283296 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 472.720/474.680/477.238/1.546 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 58238124 465.905 100.00% Conn: 1 Mbps: 465.905 Peak Mbps: 465.905 Avg Mbps: 465.905 2000 58428048 467.424 100.00% Conn: 1 Mbps: 467.424 Peak Mbps: 467.424 Avg Mbps: 467.424 3000 58406628 467.253 100.00% Conn: 1 Mbps: 467.253 Peak Mbps: 467.424 Avg Mbps: 467.253 4002 58770768 469.696 100.00% Conn: 1 Mbps: 469.696 Peak Mbps: 469.696 Avg Mbps: 469.696 5000 58606548 469.792 100.00% Conn: 1 Mbps: 469.792 Peak Mbps: 469.792 Avg Mbps: 469.792 --- fc00:0:0:1::12 tcpbench statistics --- 350823900 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 465.905/468.014/469.792/1.508 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.206 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.206/0.206/0.206/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.264 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.264/0.264/0.264/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 139811912 1118.495 100.00% Conn: 1 Mbps: 1118.495 Peak Mbps: 1118.495 Avg Mbps: 1118.495 2000 139599088 1116.793 100.00% Conn: 1 Mbps: 1116.793 Peak Mbps: 1118.495 Avg Mbps: 1116.793 3000 139304656 1114.437 100.00% Conn: 1 Mbps: 1114.437 Peak Mbps: 1118.495 Avg Mbps: 1114.437 4000 138748472 1109.988 100.00% Conn: 1 Mbps: 1109.988 Peak Mbps: 1118.495 Avg Mbps: 1109.988 5000 139075644 1112.605 100.00% Conn: 1 Mbps: 1112.605 Peak Mbps: 1118.495 Avg Mbps: 1112.605 --- 169.254.0.13 tcpbench statistics --- 835909848 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1109.988/1114.464/1118.495/3.006 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 131945932 1055.567 100.00% Conn: 1 Mbps: 1055.567 Peak Mbps: 1055.567 Avg Mbps: 1055.567 2000 130358952 1042.872 100.00% Conn: 1 Mbps: 1042.872 Peak Mbps: 1055.567 Avg Mbps: 1042.872 3000 132157232 1057.258 100.00% Conn: 1 Mbps: 1057.258 Peak Mbps: 1057.258 Avg Mbps: 1057.258 4000 131372528 1050.980 100.00% Conn: 1 Mbps: 1050.980 Peak Mbps: 1057.258 Avg Mbps: 1050.980 5000 129312680 1034.501 100.00% Conn: 1 Mbps: 1034.501 Peak Mbps: 1057.258 Avg Mbps: 1034.501 --- fc00::13 tcpbench statistics --- 785310100 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1034.501/1048.236/1057.258/8.486 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.207 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.207/0.207/0.207/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.294 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.294/0.294/0.294/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 1003 36887800 294.220 100.00% Conn: 1 Mbps: 294.220 Peak Mbps: 294.220 Avg Mbps: 294.220 2001 36844360 295.642 100.00% Conn: 1 Mbps: 295.642 Peak Mbps: 295.642 Avg Mbps: 295.642 3001 36866080 294.929 100.00% Conn: 1 Mbps: 294.929 Peak Mbps: 295.642 Avg Mbps: 294.929 4004 37068800 295.958 100.00% Conn: 1 Mbps: 295.958 Peak Mbps: 295.958 Avg Mbps: 295.958 5004 36944272 295.554 100.00% Conn: 1 Mbps: 295.554 Peak Mbps: 295.958 Avg Mbps: 295.554 --- 169.254.1.11 tcpbench statistics --- 221512144 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 294.220/295.261/295.958/0.618 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 1002 60645608 484.196 100.00% Conn: 1 Mbps: 484.196 Peak Mbps: 484.196 Avg Mbps: 484.196 2003 60436936 483.495 100.00% Conn: 1 Mbps: 483.495 Peak Mbps: 484.196 Avg Mbps: 483.495 3005 60166912 480.854 100.00% Conn: 1 Mbps: 480.854 Peak Mbps: 484.196 Avg Mbps: 480.854 4008 59963752 478.753 100.00% Conn: 1 Mbps: 478.753 Peak Mbps: 484.196 Avg Mbps: 478.753 5008 60422960 483.384 100.00% Conn: 1 Mbps: 483.384 Peak Mbps: 484.196 Avg Mbps: 483.384 --- fc00:0:0:1::11 tcpbench statistics --- 361162632 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 478.753/482.137/484.196/2.037 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.210 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.210/0.210/0.210/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.268 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.268/0.268/0.268/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 139305178 1114.441 100.00% Conn: 1 Mbps: 1114.441 Peak Mbps: 1114.441 Avg Mbps: 1114.441 2000 139697320 1117.579 100.00% Conn: 1 Mbps: 1117.579 Peak Mbps: 1117.579 Avg Mbps: 1117.579 3000 139533740 1116.270 100.00% Conn: 1 Mbps: 1116.270 Peak Mbps: 1117.579 Avg Mbps: 1116.270 4000 139141148 1113.129 100.00% Conn: 1 Mbps: 1113.129 Peak Mbps: 1117.579 Avg Mbps: 1113.129 5000 138535902 1108.287 100.00% Conn: 1 Mbps: 1108.287 Peak Mbps: 1117.579 Avg Mbps: 1108.287 --- 169.254.1.12 tcpbench statistics --- 834536536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1108.287/1113.941/1117.579/3.210 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 129182364 1033.459 100.00% Conn: 1 Mbps: 1033.459 Peak Mbps: 1033.459 Avg Mbps: 1033.459 2000 129018416 1032.147 100.00% Conn: 1 Mbps: 1032.147 Peak Mbps: 1033.459 Avg Mbps: 1032.147 3000 129868512 1038.948 100.00% Conn: 1 Mbps: 1038.948 Peak Mbps: 1038.948 Avg Mbps: 1038.948 4000 128854936 1030.839 100.00% Conn: 1 Mbps: 1030.839 Peak Mbps: 1038.948 Avg Mbps: 1030.839 5000 128887632 1031.101 100.00% Conn: 1 Mbps: 1031.101 Peak Mbps: 1038.948 Avg Mbps: 1031.101 --- fc00:0:0:1::12 tcpbench statistics --- 774470620 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1030.839/1033.299/1038.948/2.971 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.199 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.199/0.199/0.199/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.248 ms --- fc00::13 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-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 138456894 1107.655 100.00% Conn: 1 Mbps: 1107.655 Peak Mbps: 1107.655 Avg Mbps: 1107.655 2000 138372250 1106.978 100.00% Conn: 1 Mbps: 1106.978 Peak Mbps: 1107.655 Avg Mbps: 1106.978 3000 138077854 1104.623 100.00% Conn: 1 Mbps: 1104.623 Peak Mbps: 1107.655 Avg Mbps: 1104.623 4000 138715840 1110.838 100.00% Conn: 1 Mbps: 1110.838 Peak Mbps: 1110.838 Avg Mbps: 1110.838 5000 138143310 1105.146 100.00% Conn: 1 Mbps: 1105.146 Peak Mbps: 1110.838 Avg Mbps: 1105.146 --- 169.254.0.13 tcpbench statistics --- 829729520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1104.623/1107.048/1110.838/2.201 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 139131164 1113.049 100.00% Conn: 1 Mbps: 1113.049 Peak Mbps: 1113.049 Avg Mbps: 1113.049 2000 138549300 1108.394 100.00% Conn: 1 Mbps: 1108.394 Peak Mbps: 1113.049 Avg Mbps: 1108.394 3000 137944424 1103.555 100.00% Conn: 1 Mbps: 1103.555 Peak Mbps: 1113.049 Avg Mbps: 1103.555 4000 137748248 1101.986 100.00% Conn: 1 Mbps: 1101.986 Peak Mbps: 1113.049 Avg Mbps: 1101.986 5000 137780944 1102.248 100.00% Conn: 1 Mbps: 1102.248 Peak Mbps: 1113.049 Avg Mbps: 1102.248 --- fc00::13 tcpbench statistics --- 829000416 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1101.986/1105.847/1113.049/4.277 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.71s