START sys/net/pair 2024-11-24T09:29:56Z ==== 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.158 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.158/0.158/0.158/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.191 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.191/0.191/0.191/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 203413164 1627.305 100.00% Conn: 1 Mbps: 1627.305 Peak Mbps: 1627.305 Avg Mbps: 1627.305 2000 200742636 1607.549 100.00% Conn: 1 Mbps: 1607.549 Peak Mbps: 1627.305 Avg Mbps: 1607.549 3000 201577176 1612.617 100.00% Conn: 1 Mbps: 1612.617 Peak Mbps: 1627.305 Avg Mbps: 1612.617 4000 199470956 1595.768 100.00% Conn: 1 Mbps: 1595.768 Peak Mbps: 1627.305 Avg Mbps: 1595.768 5000 200917492 1607.340 100.00% Conn: 1 Mbps: 1607.340 Peak Mbps: 1627.305 Avg Mbps: 1607.340 --- 169.254.1.11 tcpbench statistics --- 1205902352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1595.768/1610.116/1627.305/10.217 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 206009080 1648.073 100.00% Conn: 1 Mbps: 1648.073 Peak Mbps: 1648.073 Avg Mbps: 1648.073 2000 204951928 1641.257 100.00% Conn: 1 Mbps: 1641.257 Peak Mbps: 1648.073 Avg Mbps: 1641.257 3000 202457336 1619.659 100.00% Conn: 1 Mbps: 1619.659 Peak Mbps: 1648.073 Avg Mbps: 1619.659 4000 203456264 1627.650 100.00% Conn: 1 Mbps: 1627.650 Peak Mbps: 1648.073 Avg Mbps: 1627.650 5000 204209424 1633.675 100.00% Conn: 1 Mbps: 1633.675 Peak Mbps: 1648.073 Avg Mbps: 1633.675 --- fc00:0:0:1::11 tcpbench statistics --- 1225444088 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1619.659/1634.063/1648.073/9.968 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.258 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.258/0.258/0.258/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.442 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.442/0.442/0.442/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 85416072 683.329 100.00% Conn: 1 Mbps: 683.329 Peak Mbps: 683.329 Avg Mbps: 683.329 2002 85083032 679.984 100.00% Conn: 1 Mbps: 679.984 Peak Mbps: 683.329 Avg Mbps: 679.984 3001 85906944 687.943 100.00% Conn: 1 Mbps: 687.943 Peak Mbps: 687.943 Avg Mbps: 687.943 4003 85753456 684.658 100.00% Conn: 1 Mbps: 684.658 Peak Mbps: 687.943 Avg Mbps: 684.658 5005 86151656 687.838 100.00% Conn: 1 Mbps: 687.838 Peak Mbps: 687.943 Avg Mbps: 687.838 --- 169.254.1.12 tcpbench statistics --- 513841680 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 679.984/684.750/687.943/2.982 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 1002 81608772 651.567 100.00% Conn: 1 Mbps: 651.567 Peak Mbps: 651.567 Avg Mbps: 651.567 2000 82484136 661.859 100.00% Conn: 1 Mbps: 661.859 Peak Mbps: 661.859 Avg Mbps: 661.859 3003 83148156 663.196 100.00% Conn: 1 Mbps: 663.196 Peak Mbps: 663.196 Avg Mbps: 663.196 4002 82474140 661.115 100.00% Conn: 1 Mbps: 661.115 Peak Mbps: 663.196 Avg Mbps: 661.115 5004 82514124 659.454 100.00% Conn: 1 Mbps: 659.454 Peak Mbps: 663.196 Avg Mbps: 659.454 --- fc00:0:0:1::12 tcpbench statistics --- 493883796 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 651.567/659.438/663.196/4.117 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.204 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.204/0.204/0.204/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.276 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.276/0.276/0.276/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 117415804 939.326 100.00% Conn: 1 Mbps: 939.326 Peak Mbps: 939.326 Avg Mbps: 939.326 2000 116628952 933.966 100.00% Conn: 1 Mbps: 933.966 Peak Mbps: 939.326 Avg Mbps: 933.966 3000 116740224 933.922 100.00% Conn: 1 Mbps: 933.922 Peak Mbps: 939.326 Avg Mbps: 933.922 4000 117940372 943.523 100.00% Conn: 1 Mbps: 943.523 Peak Mbps: 943.523 Avg Mbps: 943.523 5000 117487336 940.840 100.00% Conn: 1 Mbps: 940.840 Peak Mbps: 943.523 Avg Mbps: 940.840 --- 169.254.0.13 tcpbench statistics --- 703851036 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 933.922/938.315/943.523/3.814 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 106147992 849.184 100.00% Conn: 1 Mbps: 849.184 Peak Mbps: 849.184 Avg Mbps: 849.184 2000 105378976 843.876 100.00% Conn: 1 Mbps: 843.876 Peak Mbps: 849.184 Avg Mbps: 843.876 3000 104839872 838.719 100.00% Conn: 1 Mbps: 838.719 Peak Mbps: 849.184 Avg Mbps: 838.719 4000 105458256 843.666 100.00% Conn: 1 Mbps: 843.666 Peak Mbps: 849.184 Avg Mbps: 843.666 5000 105402760 843.222 100.00% Conn: 1 Mbps: 843.222 Peak Mbps: 849.184 Avg Mbps: 843.222 --- fc00::13 tcpbench statistics --- 632947736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 838.719/843.733/849.184/3.321 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.194 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.194/0.194/0.194/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.204 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.204/0.204/0.204/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 1003 87201456 695.525 100.00% Conn: 1 Mbps: 695.525 Peak Mbps: 695.525 Avg Mbps: 695.525 2004 87021904 696.175 100.00% Conn: 1 Mbps: 696.175 Peak Mbps: 696.175 Avg Mbps: 696.175 3002 87509936 701.482 100.00% Conn: 1 Mbps: 701.482 Peak Mbps: 701.482 Avg Mbps: 701.482 4004 87696728 700.173 100.00% Conn: 1 Mbps: 700.173 Peak Mbps: 701.482 Avg Mbps: 700.173 5003 87269568 699.556 100.00% Conn: 1 Mbps: 699.556 Peak Mbps: 701.482 Avg Mbps: 699.556 --- 169.254.1.11 tcpbench statistics --- 524128384 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 695.525/698.582/701.482/2.325 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 1004 82903968 660.589 100.00% Conn: 1 Mbps: 660.589 Peak Mbps: 660.589 Avg Mbps: 660.589 2003 83376636 667.681 100.00% Conn: 1 Mbps: 667.681 Peak Mbps: 667.681 Avg Mbps: 667.681 3005 83769336 669.485 100.00% Conn: 1 Mbps: 669.485 Peak Mbps: 669.485 Avg Mbps: 669.485 4009 84112056 670.216 100.00% Conn: 1 Mbps: 670.216 Peak Mbps: 670.216 Avg Mbps: 670.216 5008 83630820 669.716 100.00% Conn: 1 Mbps: 669.716 Peak Mbps: 670.216 Avg Mbps: 669.716 --- fc00:0:0:1::11 tcpbench statistics --- 500067036 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 660.589/667.537/670.216/3.578 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.168 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.168/0.168/0.168/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.199 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.199/0.199/0.199/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 204156416 1633.251 100.00% Conn: 1 Mbps: 1633.251 Peak Mbps: 1633.251 Avg Mbps: 1633.251 2000 200119392 1602.558 100.00% Conn: 1 Mbps: 1602.558 Peak Mbps: 1633.251 Avg Mbps: 1602.558 3000 199441728 1595.534 100.00% Conn: 1 Mbps: 1595.534 Peak Mbps: 1633.251 Avg Mbps: 1595.534 4000 199212944 1593.704 100.00% Conn: 1 Mbps: 1593.704 Peak Mbps: 1633.251 Avg Mbps: 1593.704 5000 197675168 1581.401 100.00% Conn: 1 Mbps: 1581.401 Peak Mbps: 1633.251 Avg Mbps: 1581.401 --- 169.254.1.12 tcpbench statistics --- 1200406480 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1581.401/1601.290/1633.251/17.375 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 202945932 1623.567 100.00% Conn: 1 Mbps: 1623.567 Peak Mbps: 1623.567 Avg Mbps: 1623.567 2000 200221308 1601.770 100.00% Conn: 1 Mbps: 1601.770 Peak Mbps: 1623.567 Avg Mbps: 1601.770 3000 200645424 1605.163 100.00% Conn: 1 Mbps: 1605.163 Peak Mbps: 1623.567 Avg Mbps: 1605.163 4000 199638684 1597.109 100.00% Conn: 1 Mbps: 1597.109 Peak Mbps: 1623.567 Avg Mbps: 1597.109 5000 200378388 1603.027 100.00% Conn: 1 Mbps: 1603.027 Peak Mbps: 1623.567 Avg Mbps: 1603.027 --- fc00:0:0:1::12 tcpbench statistics --- 1205301972 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1597.109/1606.128/1623.567/9.110 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.194 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.194/0.194/0.194/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.246 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.246/0.246/0.246/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 329466544 2635.732 100.00% Conn: 1 Mbps: 2635.732 Peak Mbps: 2635.732 Avg Mbps: 2635.732 2000 321860008 2577.458 100.00% Conn: 1 Mbps: 2577.458 Peak Mbps: 2635.732 Avg Mbps: 2577.458 3000 325066176 2600.529 100.00% Conn: 1 Mbps: 2600.529 Peak Mbps: 2635.732 Avg Mbps: 2600.529 4000 325933150 2610.075 100.00% Conn: 1 Mbps: 2610.075 Peak Mbps: 2635.732 Avg Mbps: 2610.075 5000 324035622 2592.285 100.00% Conn: 1 Mbps: 2592.285 Peak Mbps: 2635.732 Avg Mbps: 2592.285 --- 169.254.0.13 tcpbench statistics --- 1953685068 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2577.458/2603.216/2635.732/19.466 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 321895120 2575.161 100.00% Conn: 1 Mbps: 2575.161 Peak Mbps: 2575.161 Avg Mbps: 2575.161 2000 323984664 2594.472 100.00% Conn: 1 Mbps: 2594.472 Peak Mbps: 2594.472 Avg Mbps: 2594.472 3000 325129024 2601.032 100.00% Conn: 1 Mbps: 2601.032 Peak Mbps: 2601.032 Avg Mbps: 2601.032 4000 323298048 2586.384 100.00% Conn: 1 Mbps: 2586.384 Peak Mbps: 2601.032 Avg Mbps: 2586.384 5000 324377016 2595.016 100.00% Conn: 1 Mbps: 2595.016 Peak Mbps: 2601.032 Avg Mbps: 2595.016 --- fc00::13 tcpbench statistics --- 1940772168 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2575.161/2590.413/2601.032/8.936 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.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-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.254 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.254/0.254/0.254/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 85465304 683.039 100.00% Conn: 1 Mbps: 683.039 Peak Mbps: 683.039 Avg Mbps: 683.039 2003 85472544 683.097 100.00% Conn: 1 Mbps: 683.097 Peak Mbps: 683.097 Avg Mbps: 683.097 3004 85566664 683.849 100.00% Conn: 1 Mbps: 683.849 Peak Mbps: 683.849 Avg Mbps: 683.849 4003 85213352 682.389 100.00% Conn: 1 Mbps: 682.389 Peak Mbps: 683.849 Avg Mbps: 682.389 5005 84933888 678.792 100.00% Conn: 1 Mbps: 678.792 Peak Mbps: 683.849 Avg Mbps: 678.792 --- 169.254.1.11 tcpbench statistics --- 511937504 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 678.792/682.234/683.849/1.782 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 1001 136243624 1088.860 100.00% Conn: 1 Mbps: 1088.860 Peak Mbps: 1088.860 Avg Mbps: 1088.860 2002 135202744 1081.622 100.00% Conn: 1 Mbps: 1081.622 Peak Mbps: 1088.860 Avg Mbps: 1081.622 3002 134512952 1076.104 100.00% Conn: 1 Mbps: 1076.104 Peak Mbps: 1088.860 Avg Mbps: 1076.104 4002 133971408 1071.771 100.00% Conn: 1 Mbps: 1071.771 Peak Mbps: 1088.860 Avg Mbps: 1071.771 5002 135039840 1080.319 100.00% Conn: 1 Mbps: 1080.319 Peak Mbps: 1088.860 Avg Mbps: 1080.319 --- fc00:0:0:1::11 tcpbench statistics --- 809925304 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1071.771/1079.735/1088.860/5.723 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.180 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.180/0.180/0.180/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.244 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.244/0.244/0.244/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 329877058 2639.016 100.00% Conn: 1 Mbps: 2639.016 Peak Mbps: 2639.016 Avg Mbps: 2639.016 2000 326538396 2612.307 100.00% Conn: 1 Mbps: 2612.307 Peak Mbps: 2639.016 Avg Mbps: 2612.307 3000 324117412 2592.939 100.00% Conn: 1 Mbps: 2592.939 Peak Mbps: 2639.016 Avg Mbps: 2592.939 4000 326243952 2612.564 100.00% Conn: 1 Mbps: 2612.564 Peak Mbps: 2639.016 Avg Mbps: 2612.564 5000 326440236 2611.522 100.00% Conn: 1 Mbps: 2611.522 Peak Mbps: 2639.016 Avg Mbps: 2611.522 --- 169.254.1.12 tcpbench statistics --- 1959853598 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2592.939/2613.670/2639.016/14.696 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 321207124 2569.657 100.00% Conn: 1 Mbps: 2569.657 Peak Mbps: 2569.657 Avg Mbps: 2569.657 2000 315058656 2522.992 100.00% Conn: 1 Mbps: 2522.992 Peak Mbps: 2569.657 Avg Mbps: 2522.992 3000 320747760 2565.982 100.00% Conn: 1 Mbps: 2565.982 Peak Mbps: 2569.657 Avg Mbps: 2565.982 4000 317281984 2538.256 100.00% Conn: 1 Mbps: 2538.256 Peak Mbps: 2569.657 Avg Mbps: 2538.256 5000 319570704 2556.566 100.00% Conn: 1 Mbps: 2556.566 Peak Mbps: 2569.657 Avg Mbps: 2556.566 --- fc00:0:0:1::12 tcpbench statistics --- 1914385116 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2522.992/2550.691/2569.657/17.606 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.184 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.184/0.184/0.184/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.221 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.221/0.221/0.221/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 347101198 2776.810 100.00% Conn: 1 Mbps: 2776.810 Peak Mbps: 2776.810 Avg Mbps: 2776.810 2000 346511514 2774.867 100.00% Conn: 1 Mbps: 2774.867 Peak Mbps: 2776.810 Avg Mbps: 2774.867 3000 346167996 2769.344 100.00% Conn: 1 Mbps: 2769.344 Peak Mbps: 2776.810 Avg Mbps: 2769.344 4000 345382812 2763.062 100.00% Conn: 1 Mbps: 2763.062 Peak Mbps: 2776.810 Avg Mbps: 2763.062 5000 344483122 2755.865 100.00% Conn: 1 Mbps: 2755.865 Peak Mbps: 2776.810 Avg Mbps: 2755.865 --- 169.254.0.13 tcpbench statistics --- 2075552910 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2755.865/2767.990/2776.810/7.723 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 364217776 2913.742 100.00% Conn: 1 Mbps: 2913.742 Peak Mbps: 2913.742 Avg Mbps: 2913.742 2000 358119288 2867.822 100.00% Conn: 1 Mbps: 2867.822 Peak Mbps: 2913.742 Avg Mbps: 2867.822 3000 358838600 2870.709 100.00% Conn: 1 Mbps: 2870.709 Peak Mbps: 2913.742 Avg Mbps: 2870.709 4000 357171104 2857.369 100.00% Conn: 1 Mbps: 2857.369 Peak Mbps: 2913.742 Avg Mbps: 2857.369 5000 359132864 2873.063 100.00% Conn: 1 Mbps: 2873.063 Peak Mbps: 2913.742 Avg Mbps: 2873.063 --- fc00::13 tcpbench statistics --- 2155598920 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2857.369/2876.541/2913.742/19.358 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 1m54.01s