START sys/net/pair 2024-07-15T12:14:03Z ==== 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.096 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.096/0.096/0.096/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.111 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.111/0.111/0.111/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 228679856 1829.439 100.00% Conn: 1 Mbps: 1829.439 Peak Mbps: 1829.439 Avg Mbps: 1829.439 2000 221788940 1774.312 100.00% Conn: 1 Mbps: 1774.312 Peak Mbps: 1829.439 Avg Mbps: 1774.312 3000 220533156 1764.265 100.00% Conn: 1 Mbps: 1764.265 Peak Mbps: 1829.439 Avg Mbps: 1764.265 4000 222265820 1778.127 100.00% Conn: 1 Mbps: 1778.127 Peak Mbps: 1829.439 Avg Mbps: 1778.127 5000 220541104 1764.329 100.00% Conn: 1 Mbps: 1764.329 Peak Mbps: 1829.439 Avg Mbps: 1764.329 --- 169.254.1.11 tcpbench statistics --- 1333404168 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1764.265/1782.094/1829.439/24.295 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 228326400 1826.611 100.00% Conn: 1 Mbps: 1826.611 Peak Mbps: 1826.611 Avg Mbps: 1826.611 2000 224394112 1796.950 100.00% Conn: 1 Mbps: 1796.950 Peak Mbps: 1826.611 Avg Mbps: 1796.950 3000 227771440 1822.172 100.00% Conn: 1 Mbps: 1822.172 Peak Mbps: 1826.611 Avg Mbps: 1822.172 4000 222935360 1783.483 100.00% Conn: 1 Mbps: 1783.483 Peak Mbps: 1826.611 Avg Mbps: 1783.483 5000 223228696 1785.830 100.00% Conn: 1 Mbps: 1785.830 Peak Mbps: 1826.611 Avg Mbps: 1785.830 --- fc00:0:0:1::11 tcpbench statistics --- 1357376664 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1783.483/1803.009/1826.611/18.096 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.147 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.147/0.147/0.147/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.299 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.299/0.299/0.299/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 79157816 633.263 100.00% Conn: 1 Mbps: 633.263 Peak Mbps: 633.263 Avg Mbps: 633.263 2001 79445968 635.568 100.00% Conn: 1 Mbps: 635.568 Peak Mbps: 635.568 Avg Mbps: 635.568 3001 79789144 638.313 100.00% Conn: 1 Mbps: 638.313 Peak Mbps: 638.313 Avg Mbps: 638.313 4003 79825344 637.965 100.00% Conn: 1 Mbps: 637.965 Peak Mbps: 638.313 Avg Mbps: 637.965 5004 79864440 638.277 100.00% Conn: 1 Mbps: 638.277 Peak Mbps: 638.313 Avg Mbps: 638.277 --- 169.254.1.12 tcpbench statistics --- 477521440 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 633.263/636.677/638.313/1.989 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 77636076 621.089 100.00% Conn: 1 Mbps: 621.089 Peak Mbps: 621.089 Avg Mbps: 621.089 2002 78372924 626.357 100.00% Conn: 1 Mbps: 626.357 Peak Mbps: 626.357 Avg Mbps: 626.357 3001 78197280 626.204 100.00% Conn: 1 Mbps: 626.204 Peak Mbps: 626.357 Avg Mbps: 626.204 4002 78208704 625.670 100.00% Conn: 1 Mbps: 625.670 Peak Mbps: 626.357 Avg Mbps: 625.670 5003 78181572 624.828 100.00% Conn: 1 Mbps: 624.828 Peak Mbps: 626.357 Avg Mbps: 624.828 --- fc00:0:0:1::12 tcpbench statistics --- 468423984 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 621.089/624.829/626.357/1.945 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.130 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.130/0.130/0.130/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.157 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.157/0.157/0.157/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 134504004 1076.032 100.00% Conn: 1 Mbps: 1076.032 Peak Mbps: 1076.032 Avg Mbps: 1076.032 2000 131626828 1053.015 100.00% Conn: 1 Mbps: 1053.015 Peak Mbps: 1076.032 Avg Mbps: 1053.015 3000 134798080 1078.385 100.00% Conn: 1 Mbps: 1078.385 Peak Mbps: 1078.385 Avg Mbps: 1078.385 4000 135704152 1085.633 100.00% Conn: 1 Mbps: 1085.633 Peak Mbps: 1085.633 Avg Mbps: 1085.633 5000 131563244 1052.506 100.00% Conn: 1 Mbps: 1052.506 Peak Mbps: 1085.633 Avg Mbps: 1052.506 --- 169.254.0.13 tcpbench statistics --- 802445976 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1052.506/1069.114/1085.633/13.724 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 124802576 998.421 100.00% Conn: 1 Mbps: 998.421 Peak Mbps: 998.421 Avg Mbps: 998.421 2000 124318968 994.552 100.00% Conn: 1 Mbps: 994.552 Peak Mbps: 998.421 Avg Mbps: 994.552 3000 126840072 1015.736 100.00% Conn: 1 Mbps: 1015.736 Peak Mbps: 1015.736 Avg Mbps: 1015.736 4000 123248688 985.990 100.00% Conn: 1 Mbps: 985.990 Peak Mbps: 1015.736 Avg Mbps: 985.990 5000 126530880 1012.247 100.00% Conn: 1 Mbps: 1012.247 Peak Mbps: 1015.736 Avg Mbps: 1012.247 --- fc00::13 tcpbench statistics --- 749798528 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 985.990/1001.389/1015.736/11.104 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.099 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.099/0.099/0.099/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.122 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.122/0.122/0.122/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 78904416 630.605 100.00% Conn: 1 Mbps: 630.605 Peak Mbps: 630.605 Avg Mbps: 630.605 2002 79574840 636.599 100.00% Conn: 1 Mbps: 636.599 Peak Mbps: 636.599 Avg Mbps: 636.599 3003 79596560 636.136 100.00% Conn: 1 Mbps: 636.136 Peak Mbps: 636.599 Avg Mbps: 636.136 4003 79839824 638.719 100.00% Conn: 1 Mbps: 638.719 Peak Mbps: 638.719 Avg Mbps: 638.719 5004 79983176 639.865 100.00% Conn: 1 Mbps: 639.865 Peak Mbps: 639.865 Avg Mbps: 639.865 --- 169.254.1.11 tcpbench statistics --- 477240528 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 630.605/636.385/639.865/3.196 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 77510412 620.083 100.00% Conn: 1 Mbps: 620.083 Peak Mbps: 620.083 Avg Mbps: 620.083 2001 78497160 627.350 100.00% Conn: 1 Mbps: 627.350 Peak Mbps: 627.350 Avg Mbps: 627.350 3002 78458604 627.669 100.00% Conn: 1 Mbps: 627.669 Peak Mbps: 627.669 Avg Mbps: 627.669 4002 77973084 624.409 100.00% Conn: 1 Mbps: 624.409 Peak Mbps: 627.669 Avg Mbps: 624.409 5002 78378636 627.029 100.00% Conn: 1 Mbps: 627.029 Peak Mbps: 627.669 Avg Mbps: 627.029 --- fc00:0:0:1::11 tcpbench statistics --- 469109424 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 620.083/625.308/627.669/2.857 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.089 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.089/0.089/0.089/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.108 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.108/0.108/0.108/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 212459248 1699.674 100.00% Conn: 1 Mbps: 1699.674 Peak Mbps: 1699.674 Avg Mbps: 1699.674 2000 210724544 1687.484 100.00% Conn: 1 Mbps: 1687.484 Peak Mbps: 1699.674 Avg Mbps: 1687.484 3000 208598880 1668.791 100.00% Conn: 1 Mbps: 1668.791 Peak Mbps: 1699.674 Avg Mbps: 1668.791 4000 211665744 1693.326 100.00% Conn: 1 Mbps: 1693.326 Peak Mbps: 1699.674 Avg Mbps: 1693.326 5000 232176664 1859.273 100.00% Conn: 1 Mbps: 1859.273 Peak Mbps: 1859.273 Avg Mbps: 1859.273 --- 169.254.1.12 tcpbench statistics --- 1288355104 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1668.791/1721.709/1859.273/69.551 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 212964780 1703.718 100.00% Conn: 1 Mbps: 1703.718 Peak Mbps: 1703.718 Avg Mbps: 1703.718 2000 219450756 1755.606 100.00% Conn: 1 Mbps: 1755.606 Peak Mbps: 1755.606 Avg Mbps: 1755.606 3000 218565396 1750.273 100.00% Conn: 1 Mbps: 1750.273 Peak Mbps: 1755.606 Avg Mbps: 1750.273 4000 214478460 1715.828 100.00% Conn: 1 Mbps: 1715.828 Peak Mbps: 1755.606 Avg Mbps: 1715.828 5000 221971176 1775.769 100.00% Conn: 1 Mbps: 1775.769 Peak Mbps: 1775.769 Avg Mbps: 1775.769 --- fc00:0:0:1::12 tcpbench statistics --- 1301404944 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1703.718/1740.239/1775.769/26.567 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.097 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.097/0.097/0.097/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.117 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.117/0.117/0.117/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 312705154 2501.641 100.00% Conn: 1 Mbps: 2501.641 Peak Mbps: 2501.641 Avg Mbps: 2501.641 2000 306728858 2453.831 100.00% Conn: 1 Mbps: 2453.831 Peak Mbps: 2501.641 Avg Mbps: 2453.831 3000 309035336 2472.283 100.00% Conn: 1 Mbps: 2472.283 Peak Mbps: 2501.641 Avg Mbps: 2472.283 4000 305043984 2440.352 100.00% Conn: 1 Mbps: 2440.352 Peak Mbps: 2501.641 Avg Mbps: 2440.352 5000 303669912 2429.359 100.00% Conn: 1 Mbps: 2429.359 Peak Mbps: 2501.641 Avg Mbps: 2429.359 --- 169.254.0.13 tcpbench statistics --- 1845302532 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2429.359/2459.493/2501.641/25.481 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 314699828 2517.599 100.00% Conn: 1 Mbps: 2517.599 Peak Mbps: 2517.599 Avg Mbps: 2517.599 2000 313914296 2511.314 100.00% Conn: 1 Mbps: 2511.314 Peak Mbps: 2517.599 Avg Mbps: 2511.314 3000 308682936 2469.463 100.00% Conn: 1 Mbps: 2469.463 Peak Mbps: 2517.599 Avg Mbps: 2469.463 4000 311690968 2493.528 100.00% Conn: 1 Mbps: 2493.528 Peak Mbps: 2517.599 Avg Mbps: 2493.528 5000 312541064 2500.329 100.00% Conn: 1 Mbps: 2500.329 Peak Mbps: 2517.599 Avg Mbps: 2500.329 --- fc00::13 tcpbench statistics --- 1869133060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2469.463/2498.447/2517.599/16.734 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.105 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.105/0.105/0.105/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.132 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.132/0.132/0.132/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 79173744 633.390 100.00% Conn: 1 Mbps: 633.390 Peak Mbps: 633.390 Avg Mbps: 633.390 2001 79370672 634.965 100.00% Conn: 1 Mbps: 634.965 Peak Mbps: 634.965 Avg Mbps: 634.965 3002 79558912 636.471 100.00% Conn: 1 Mbps: 636.471 Peak Mbps: 636.471 Avg Mbps: 636.471 4002 79977384 639.819 100.00% Conn: 1 Mbps: 639.819 Peak Mbps: 639.819 Avg Mbps: 639.819 5002 79587928 636.703 100.00% Conn: 1 Mbps: 636.703 Peak Mbps: 639.819 Avg Mbps: 636.703 --- 169.254.1.11 tcpbench statistics --- 477278288 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 633.390/636.270/639.819/2.136 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 125943192 1007.546 100.00% Conn: 1 Mbps: 1007.546 Peak Mbps: 1007.546 Avg Mbps: 1007.546 2001 126195624 1008.556 100.00% Conn: 1 Mbps: 1008.556 Peak Mbps: 1008.556 Avg Mbps: 1008.556 3001 125702376 1006.626 100.00% Conn: 1 Mbps: 1006.626 Peak Mbps: 1008.556 Avg Mbps: 1006.626 4002 125723680 1004.785 100.00% Conn: 1 Mbps: 1004.785 Peak Mbps: 1008.556 Avg Mbps: 1004.785 5002 125205224 1002.644 100.00% Conn: 1 Mbps: 1002.644 Peak Mbps: 1008.556 Avg Mbps: 1002.644 --- fc00:0:0:1::11 tcpbench statistics --- 754048912 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1002.644/1006.031/1008.556/2.100 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.096 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.096/0.096/0.096/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.115 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.115/0.115/0.115/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 308203834 2465.631 100.00% Conn: 1 Mbps: 2465.631 Peak Mbps: 2465.631 Avg Mbps: 2465.631 2000 305730840 2448.295 100.00% Conn: 1 Mbps: 2448.295 Peak Mbps: 2465.631 Avg Mbps: 2448.295 3000 313353848 2506.831 100.00% Conn: 1 Mbps: 2506.831 Peak Mbps: 2506.831 Avg Mbps: 2506.831 4000 313877304 2511.018 100.00% Conn: 1 Mbps: 2511.018 Peak Mbps: 2511.018 Avg Mbps: 2511.018 5000 305403860 2443.231 100.00% Conn: 1 Mbps: 2443.231 Peak Mbps: 2511.018 Avg Mbps: 2443.231 --- 169.254.1.12 tcpbench statistics --- 1852595150 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2443.231/2475.001/2511.018/28.708 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 309118892 2472.951 100.00% Conn: 1 Mbps: 2472.951 Peak Mbps: 2472.951 Avg Mbps: 2472.951 2000 306099952 2448.800 100.00% Conn: 1 Mbps: 2448.800 Peak Mbps: 2472.951 Avg Mbps: 2448.800 3000 314927872 2519.423 100.00% Conn: 1 Mbps: 2519.423 Peak Mbps: 2519.423 Avg Mbps: 2519.423 4000 313227680 2505.821 100.00% Conn: 1 Mbps: 2505.821 Peak Mbps: 2519.423 Avg Mbps: 2505.821 5000 311658272 2493.266 100.00% Conn: 1 Mbps: 2493.266 Peak Mbps: 2519.423 Avg Mbps: 2493.266 --- fc00:0:0:1::12 tcpbench statistics --- 1865252316 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2448.800/2488.052/2519.423/24.883 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.090 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.090/0.090/0.090/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.113 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.113/0.113/0.113/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 308613126 2468.905 100.00% Conn: 1 Mbps: 2468.905 Peak Mbps: 2468.905 Avg Mbps: 2468.905 2000 312404892 2501.741 100.00% Conn: 1 Mbps: 2501.741 Peak Mbps: 2501.741 Avg Mbps: 2501.741 3000 303604396 2428.835 100.00% Conn: 1 Mbps: 2428.835 Peak Mbps: 2501.741 Avg Mbps: 2428.835 4000 305338428 2442.707 100.00% Conn: 1 Mbps: 2442.707 Peak Mbps: 2501.741 Avg Mbps: 2442.707 5000 298893376 2391.147 100.00% Conn: 1 Mbps: 2391.147 Peak Mbps: 2501.741 Avg Mbps: 2391.147 --- 169.254.0.13 tcpbench statistics --- 1834061782 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2391.147/2446.667/2501.741/37.266 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 317842460 2542.740 100.00% Conn: 1 Mbps: 2542.740 Peak Mbps: 2542.740 Avg Mbps: 2542.740 2000 321042024 2568.336 100.00% Conn: 1 Mbps: 2568.336 Peak Mbps: 2568.336 Avg Mbps: 2568.336 3000 319930360 2559.443 100.00% Conn: 1 Mbps: 2559.443 Peak Mbps: 2568.336 Avg Mbps: 2559.443 4000 317281984 2538.256 100.00% Conn: 1 Mbps: 2538.256 Peak Mbps: 2568.336 Avg Mbps: 2538.256 5000 312312192 2498.498 100.00% Conn: 1 Mbps: 2498.498 Peak Mbps: 2568.336 Avg Mbps: 2498.498 --- fc00::13 tcpbench statistics --- 1899740332 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2498.498/2541.454/2568.336/24.097 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 1m55.40s