START sys/net/pair 2024-11-10T09:42:19Z ==== 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.172 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.172/0.172/0.172/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.231 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.231/0.231/0.231/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 205495540 1643.964 100.00% Conn: 1 Mbps: 1643.964 Peak Mbps: 1643.964 Avg Mbps: 1643.964 2000 203635708 1630.716 100.00% Conn: 1 Mbps: 1630.716 Peak Mbps: 1643.964 Avg Mbps: 1630.716 3000 203882096 1631.057 100.00% Conn: 1 Mbps: 1631.057 Peak Mbps: 1643.964 Avg Mbps: 1631.057 4000 201966628 1615.733 100.00% Conn: 1 Mbps: 1615.733 Peak Mbps: 1643.964 Avg Mbps: 1615.733 5000 204049004 1632.392 100.00% Conn: 1 Mbps: 1632.392 Peak Mbps: 1643.964 Avg Mbps: 1632.392 --- 169.254.1.11 tcpbench statistics --- 1223173356 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1615.733/1630.773/1643.964/8.977 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 206135928 1649.087 100.00% Conn: 1 Mbps: 1649.087 Peak Mbps: 1649.087 Avg Mbps: 1649.087 2000 205033936 1641.913 100.00% Conn: 1 Mbps: 1641.913 Peak Mbps: 1649.087 Avg Mbps: 1641.913 3000 203931944 1633.089 100.00% Conn: 1 Mbps: 1633.089 Peak Mbps: 1649.087 Avg Mbps: 1633.089 4000 205240064 1641.921 100.00% Conn: 1 Mbps: 1641.921 Peak Mbps: 1649.087 Avg Mbps: 1641.921 5000 205208352 1641.667 100.00% Conn: 1 Mbps: 1641.667 Peak Mbps: 1649.087 Avg Mbps: 1641.667 --- fc00:0:0:1::11 tcpbench statistics --- 1229878568 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1633.089/1641.535/1649.087/5.073 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.243 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.243/0.243/0.243/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.453 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.453/0.453/0.453/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 85915632 687.325 100.00% Conn: 1 Mbps: 687.325 Peak Mbps: 687.325 Avg Mbps: 687.325 2003 87410024 697.884 100.00% Conn: 1 Mbps: 697.884 Peak Mbps: 697.884 Avg Mbps: 697.884 3002 86916200 696.723 100.00% Conn: 1 Mbps: 696.723 Peak Mbps: 697.884 Avg Mbps: 696.723 4004 86964096 695.018 100.00% Conn: 1 Mbps: 695.018 Peak Mbps: 697.884 Avg Mbps: 695.018 5006 86985704 695.190 100.00% Conn: 1 Mbps: 695.190 Peak Mbps: 697.884 Avg Mbps: 695.190 --- 169.254.1.12 tcpbench statistics --- 519929184 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 687.325/694.428/697.884/3.704 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 83573092 667.250 100.00% Conn: 1 Mbps: 667.250 Peak Mbps: 667.250 Avg Mbps: 667.250 2002 83503728 668.699 100.00% Conn: 1 Mbps: 668.699 Peak Mbps: 668.699 Avg Mbps: 668.699 3003 83657952 669.264 100.00% Conn: 1 Mbps: 669.264 Peak Mbps: 669.264 Avg Mbps: 669.264 4002 83165292 665.988 100.00% Conn: 1 Mbps: 665.988 Peak Mbps: 669.264 Avg Mbps: 665.988 5005 83103888 662.843 100.00% Conn: 1 Mbps: 662.843 Peak Mbps: 669.264 Avg Mbps: 662.843 --- fc00:0:0:1::12 tcpbench statistics --- 500342032 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 662.843/666.809/669.264/2.289 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.242 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.242/0.242/0.242/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.290 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.290/0.290/0.290/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 111248156 889.985 100.00% Conn: 1 Mbps: 889.985 Peak Mbps: 889.985 Avg Mbps: 889.985 2000 110437460 883.500 100.00% Conn: 1 Mbps: 883.500 Peak Mbps: 889.985 Avg Mbps: 883.500 3000 110318240 882.546 100.00% Conn: 1 Mbps: 882.546 Peak Mbps: 889.985 Avg Mbps: 882.546 4000 109889048 879.112 100.00% Conn: 1 Mbps: 879.112 Peak Mbps: 889.985 Avg Mbps: 879.112 5000 111383272 891.066 100.00% Conn: 1 Mbps: 891.066 Peak Mbps: 891.066 Avg Mbps: 891.066 --- 169.254.0.13 tcpbench statistics --- 664325632 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 879.112/885.242/891.066/4.567 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 102104712 816.838 100.00% Conn: 1 Mbps: 816.838 Peak Mbps: 816.838 Avg Mbps: 816.838 2000 101510112 812.894 100.00% Conn: 1 Mbps: 812.894 Peak Mbps: 816.838 Avg Mbps: 812.894 3000 100400192 803.202 100.00% Conn: 1 Mbps: 803.202 Peak Mbps: 816.838 Avg Mbps: 803.202 4000 101525968 812.208 100.00% Conn: 1 Mbps: 812.208 Peak Mbps: 816.838 Avg Mbps: 812.208 5000 101969936 815.759 100.00% Conn: 1 Mbps: 815.759 Peak Mbps: 816.838 Avg Mbps: 815.759 --- fc00::13 tcpbench statistics --- 609702840 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 803.202/812.180/816.838/4.809 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.186 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.186/0.186/0.186/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.229 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.229/0.229/0.229/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 87669160 699.953 100.00% Conn: 1 Mbps: 699.953 Peak Mbps: 699.953 Avg Mbps: 699.953 2002 87178344 697.427 100.00% Conn: 1 Mbps: 697.427 Peak Mbps: 699.953 Avg Mbps: 697.427 3002 87783664 702.972 100.00% Conn: 1 Mbps: 702.972 Peak Mbps: 702.972 Avg Mbps: 702.972 4002 87630120 701.743 100.00% Conn: 1 Mbps: 701.743 Peak Mbps: 702.972 Avg Mbps: 701.743 5003 88125392 704.299 100.00% Conn: 1 Mbps: 704.299 Peak Mbps: 704.299 Avg Mbps: 704.299 --- 169.254.1.11 tcpbench statistics --- 526267248 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 697.427/701.279/704.299/2.400 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 83089608 664.717 100.00% Conn: 1 Mbps: 664.717 Peak Mbps: 664.717 Avg Mbps: 664.717 2001 84244860 673.286 100.00% Conn: 1 Mbps: 673.286 Peak Mbps: 673.286 Avg Mbps: 673.286 3001 84294840 674.359 100.00% Conn: 1 Mbps: 674.359 Peak Mbps: 674.359 Avg Mbps: 674.359 4005 84713244 675.679 100.00% Conn: 1 Mbps: 675.679 Peak Mbps: 675.679 Avg Mbps: 675.679 5004 84295660 675.040 100.00% Conn: 1 Mbps: 675.040 Peak Mbps: 675.679 Avg Mbps: 675.040 --- fc00:0:0:1::11 tcpbench statistics --- 503984860 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 664.717/672.616/675.679/4.028 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.219 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.219/0.219/0.219/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 200479944 1603.840 100.00% Conn: 1 Mbps: 1603.840 Peak Mbps: 1603.840 Avg Mbps: 1603.840 2000 196217032 1569.736 100.00% Conn: 1 Mbps: 1569.736 Peak Mbps: 1603.840 Avg Mbps: 1569.736 3000 196280744 1570.246 100.00% Conn: 1 Mbps: 1570.246 Peak Mbps: 1603.840 Avg Mbps: 1570.246 4000 194428752 1555.430 100.00% Conn: 1 Mbps: 1555.430 Peak Mbps: 1603.840 Avg Mbps: 1555.430 5000 196280744 1570.246 100.00% Conn: 1 Mbps: 1570.246 Peak Mbps: 1603.840 Avg Mbps: 1570.246 --- 169.254.1.12 tcpbench statistics --- 1179574104 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1555.430/1573.900/1603.840/16.010 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 198246384 1585.971 100.00% Conn: 1 Mbps: 1585.971 Peak Mbps: 1585.971 Avg Mbps: 1585.971 2000 196964040 1577.290 100.00% Conn: 1 Mbps: 1577.290 Peak Mbps: 1585.971 Avg Mbps: 1577.290 3000 195123348 1560.987 100.00% Conn: 1 Mbps: 1560.987 Peak Mbps: 1585.971 Avg Mbps: 1560.987 4000 196804104 1574.433 100.00% Conn: 1 Mbps: 1574.433 Peak Mbps: 1585.971 Avg Mbps: 1574.433 5000 196655592 1573.245 100.00% Conn: 1 Mbps: 1573.245 Peak Mbps: 1585.971 Avg Mbps: 1573.245 --- fc00:0:0:1::12 tcpbench statistics --- 1179747912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1560.987/1574.385/1585.971/8.043 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.179 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.179/0.179/0.179/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.218 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.218/0.218/0.218/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 333181404 2665.451 100.00% Conn: 1 Mbps: 2665.451 Peak Mbps: 2665.451 Avg Mbps: 2665.451 2000 327029136 2618.852 100.00% Conn: 1 Mbps: 2618.852 Peak Mbps: 2665.451 Avg Mbps: 2618.852 3000 329777280 2638.218 100.00% Conn: 1 Mbps: 2638.218 Peak Mbps: 2665.451 Avg Mbps: 2638.218 4000 330169872 2641.359 100.00% Conn: 1 Mbps: 2641.359 Peak Mbps: 2665.451 Avg Mbps: 2641.359 5000 330320838 2642.567 100.00% Conn: 1 Mbps: 2642.567 Peak Mbps: 2665.451 Avg Mbps: 2642.567 --- 169.254.0.13 tcpbench statistics --- 1980681118 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2618.852/2641.289/2665.451/14.821 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 311987716 2495.902 100.00% Conn: 1 Mbps: 2495.902 Peak Mbps: 2495.902 Avg Mbps: 2495.902 2000 303974712 2434.232 100.00% Conn: 1 Mbps: 2434.232 Peak Mbps: 2495.902 Avg Mbps: 2434.232 3000 304072800 2432.582 100.00% Conn: 1 Mbps: 2432.582 Peak Mbps: 2495.902 Avg Mbps: 2432.582 4000 306655784 2453.246 100.00% Conn: 1 Mbps: 2453.246 Peak Mbps: 2495.902 Avg Mbps: 2453.246 5000 307767448 2462.140 100.00% Conn: 1 Mbps: 2462.140 Peak Mbps: 2495.902 Avg Mbps: 2462.140 --- fc00::13 tcpbench statistics --- 1840689196 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2432.582/2455.620/2495.902/23.061 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.195 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.195/0.195/0.195/0.000 ms ==== run-ping6-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.241 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.241/0.241/0.241/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 1002 86533928 690.890 100.00% Conn: 1 Mbps: 690.890 Peak Mbps: 690.890 Avg Mbps: 690.890 2002 86405056 691.932 100.00% Conn: 1 Mbps: 691.932 Peak Mbps: 691.932 Avg Mbps: 691.932 3004 86827872 693.237 100.00% Conn: 1 Mbps: 693.237 Peak Mbps: 693.237 Avg Mbps: 693.237 4004 86176272 690.100 100.00% Conn: 1 Mbps: 690.100 Peak Mbps: 693.237 Avg Mbps: 690.100 5004 85870744 686.966 100.00% Conn: 1 Mbps: 686.966 Peak Mbps: 693.237 Avg Mbps: 686.966 --- 169.254.1.11 tcpbench statistics --- 518108880 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 686.966/690.625/693.237/2.110 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 136032032 1088.256 100.00% Conn: 1 Mbps: 1088.256 Peak Mbps: 1088.256 Avg Mbps: 1088.256 2002 134815568 1077.447 100.00% Conn: 1 Mbps: 1077.447 Peak Mbps: 1088.256 Avg Mbps: 1077.447 3002 134153768 1074.304 100.00% Conn: 1 Mbps: 1074.304 Peak Mbps: 1088.256 Avg Mbps: 1074.304 4002 134774000 1079.271 100.00% Conn: 1 Mbps: 1079.271 Peak Mbps: 1088.256 Avg Mbps: 1079.271 5003 135548184 1083.302 100.00% Conn: 1 Mbps: 1083.302 Peak Mbps: 1088.256 Avg Mbps: 1083.302 --- fc00:0:0:1::11 tcpbench statistics --- 809992224 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1074.304/1080.516/1088.256/4.842 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.182 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.182/0.182/0.182/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.236 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.236/0.236/0.236/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 333396996 2667.176 100.00% Conn: 1 Mbps: 2667.176 Peak Mbps: 2667.176 Avg Mbps: 2667.176 2000 326472964 2614.398 100.00% Conn: 1 Mbps: 2614.398 Peak Mbps: 2667.176 Avg Mbps: 2614.398 3000 329940860 2639.527 100.00% Conn: 1 Mbps: 2639.527 Peak Mbps: 2667.176 Avg Mbps: 2639.527 4000 330006292 2642.693 100.00% Conn: 1 Mbps: 2642.693 Peak Mbps: 2667.176 Avg Mbps: 2642.693 5000 331020488 2648.164 100.00% Conn: 1 Mbps: 2648.164 Peak Mbps: 2667.176 Avg Mbps: 2648.164 --- 169.254.1.12 tcpbench statistics --- 1980811176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2614.398/2642.392/2667.176/16.968 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 306526044 2452.208 100.00% Conn: 1 Mbps: 2452.208 Peak Mbps: 2452.208 Avg Mbps: 2452.208 2000 307113528 2459.368 100.00% Conn: 1 Mbps: 2459.368 Peak Mbps: 2459.368 Avg Mbps: 2459.368 3000 308290584 2466.325 100.00% Conn: 1 Mbps: 2466.325 Peak Mbps: 2466.325 Avg Mbps: 2466.325 4000 310023472 2480.188 100.00% Conn: 1 Mbps: 2480.188 Peak Mbps: 2480.188 Avg Mbps: 2480.188 5000 309696512 2477.572 100.00% Conn: 1 Mbps: 2477.572 Peak Mbps: 2480.188 Avg Mbps: 2477.572 --- fc00:0:0:1::12 tcpbench statistics --- 1846213380 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2452.208/2467.132/2480.188/10.612 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.175 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.175/0.175/0.175/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.222 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.222/0.222/0.222/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 343422102 2747.377 100.00% Conn: 1 Mbps: 2747.377 Peak Mbps: 2747.377 Avg Mbps: 2747.377 2000 342111212 2739.629 100.00% Conn: 1 Mbps: 2739.629 Peak Mbps: 2747.377 Avg Mbps: 2739.629 3000 341031584 2728.253 100.00% Conn: 1 Mbps: 2728.253 Peak Mbps: 2747.377 Avg Mbps: 2728.253 4000 339837450 2718.700 100.00% Conn: 1 Mbps: 2718.700 Peak Mbps: 2747.377 Avg Mbps: 2718.700 5000 339248562 2713.988 100.00% Conn: 1 Mbps: 2713.988 Peak Mbps: 2747.377 Avg Mbps: 2713.988 --- 169.254.0.13 tcpbench statistics --- 2047418604 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2713.988/2729.589/2747.377/12.498 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 355408040 2843.264 100.00% Conn: 1 Mbps: 2843.264 Peak Mbps: 2843.264 Avg Mbps: 2843.264 2000 352757144 2822.057 100.00% Conn: 1 Mbps: 2822.057 Peak Mbps: 2843.264 Avg Mbps: 2822.057 3000 352430184 2819.441 100.00% Conn: 1 Mbps: 2819.441 Peak Mbps: 2843.264 Avg Mbps: 2819.441 4000 349291368 2794.331 100.00% Conn: 1 Mbps: 2794.331 Peak Mbps: 2843.264 Avg Mbps: 2794.331 5000 353247584 2825.981 100.00% Conn: 1 Mbps: 2825.981 Peak Mbps: 2843.264 Avg Mbps: 2825.981 --- fc00::13 tcpbench statistics --- 2115455252 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2794.331/2821.015/2843.264/15.718 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 1m53.99s