START sys/net/pair 2024-04-15T08:31:57Z ==== 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.171 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.171/0.171/0.171/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.198 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.198/0.198/0.198/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 196244068 1569.953 100.00% Conn: 1 Mbps: 1569.953 Peak Mbps: 1569.953 Avg Mbps: 1569.953 2000 192786688 1542.294 100.00% Conn: 1 Mbps: 1542.294 Peak Mbps: 1569.953 Avg Mbps: 1542.294 3001 192198536 1536.052 100.00% Conn: 1 Mbps: 1536.052 Peak Mbps: 1569.953 Avg Mbps: 1536.052 4001 192460820 1541.228 100.00% Conn: 1 Mbps: 1541.228 Peak Mbps: 1569.953 Avg Mbps: 1541.228 5001 193811980 1550.496 100.00% Conn: 1 Mbps: 1550.496 Peak Mbps: 1569.953 Avg Mbps: 1550.496 --- 169.254.1.11 tcpbench statistics --- 1159160164 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1536.052/1548.004/1569.953/11.911 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 192705896 1541.647 100.00% Conn: 1 Mbps: 1541.647 Peak Mbps: 1541.647 Avg Mbps: 1541.647 2000 187140440 1497.124 100.00% Conn: 1 Mbps: 1497.124 Peak Mbps: 1541.647 Avg Mbps: 1497.124 3000 188282072 1507.764 100.00% Conn: 1 Mbps: 1507.764 Peak Mbps: 1541.647 Avg Mbps: 1507.764 4000 188662616 1509.301 100.00% Conn: 1 Mbps: 1509.301 Peak Mbps: 1541.647 Avg Mbps: 1509.301 5000 188662616 1509.301 100.00% Conn: 1 Mbps: 1509.301 Peak Mbps: 1541.647 Avg Mbps: 1509.301 --- fc00:0:0:1::11 tcpbench statistics --- 1134607792 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1497.124/1513.027/1541.647/15.017 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.254 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.254/0.254/0.254/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.432 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.432/0.432/0.432/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 1003 84849904 676.769 100.00% Conn: 1 Mbps: 676.769 Peak Mbps: 676.769 Avg Mbps: 676.769 2004 85332200 682.658 100.00% Conn: 1 Mbps: 682.658 Peak Mbps: 682.658 Avg Mbps: 682.658 3004 85062872 680.503 100.00% Conn: 1 Mbps: 680.503 Peak Mbps: 682.658 Avg Mbps: 680.503 4008 85610160 682.153 100.00% Conn: 1 Mbps: 682.153 Peak Mbps: 682.658 Avg Mbps: 682.153 5007 85390176 683.805 100.00% Conn: 1 Mbps: 683.805 Peak Mbps: 683.805 Avg Mbps: 683.805 --- 169.254.1.12 tcpbench statistics --- 510756552 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 676.769/681.177/683.805/2.447 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 1001 82558392 659.807 100.00% Conn: 1 Mbps: 659.807 Peak Mbps: 659.807 Avg Mbps: 659.807 2003 82961088 663.026 100.00% Conn: 1 Mbps: 663.026 Peak Mbps: 663.026 Avg Mbps: 663.026 3005 83243832 664.621 100.00% Conn: 1 Mbps: 664.621 Peak Mbps: 664.621 Avg Mbps: 664.621 4004 82806256 663.113 100.00% Conn: 1 Mbps: 663.113 Peak Mbps: 664.621 Avg Mbps: 663.113 5007 82707724 660.341 100.00% Conn: 1 Mbps: 660.341 Peak Mbps: 664.621 Avg Mbps: 660.341 --- fc00:0:0:1::12 tcpbench statistics --- 496829364 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 659.807/662.182/664.621/1.820 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.221 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.221/0.221/0.221/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 112114488 896.916 100.00% Conn: 1 Mbps: 896.916 Peak Mbps: 896.916 Avg Mbps: 896.916 2000 111566076 892.529 100.00% Conn: 1 Mbps: 892.529 Peak Mbps: 896.916 Avg Mbps: 892.529 3000 111057404 889.349 100.00% Conn: 1 Mbps: 889.349 Peak Mbps: 896.916 Avg Mbps: 889.349 4000 110508992 884.072 100.00% Conn: 1 Mbps: 884.072 Peak Mbps: 896.916 Avg Mbps: 884.072 5001 111311740 890.494 100.00% Conn: 1 Mbps: 890.494 Peak Mbps: 896.916 Avg Mbps: 890.494 --- 169.254.0.13 tcpbench statistics --- 667361768 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 884.072/890.672/896.916/4.190 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 102152280 817.218 100.00% Conn: 1 Mbps: 817.218 Peak Mbps: 817.218 Avg Mbps: 817.218 2000 101391192 811.941 100.00% Conn: 1 Mbps: 811.941 Peak Mbps: 817.218 Avg Mbps: 811.941 3000 100606320 804.851 100.00% Conn: 1 Mbps: 804.851 Peak Mbps: 817.218 Avg Mbps: 804.851 4000 101914440 815.316 100.00% Conn: 1 Mbps: 815.316 Peak Mbps: 817.218 Avg Mbps: 815.316 5000 101296056 810.368 100.00% Conn: 1 Mbps: 810.368 Peak Mbps: 817.218 Avg Mbps: 810.368 --- fc00::13 tcpbench statistics --- 609211304 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 804.851/811.939/817.218/4.289 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.177 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.177/0.177/0.177/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.216 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.216/0.216/0.216/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 85277064 680.176 100.00% Conn: 1 Mbps: 680.176 Peak Mbps: 680.176 Avg Mbps: 680.176 2004 86096632 688.085 100.00% Conn: 1 Mbps: 688.085 Peak Mbps: 688.085 Avg Mbps: 688.085 3004 85956232 688.338 100.00% Conn: 1 Mbps: 688.338 Peak Mbps: 688.338 Avg Mbps: 688.338 4006 86559992 691.098 100.00% Conn: 1 Mbps: 691.098 Peak Mbps: 691.098 Avg Mbps: 691.098 5007 86239984 689.920 100.00% Conn: 1 Mbps: 689.920 Peak Mbps: 691.098 Avg Mbps: 689.920 --- 169.254.1.11 tcpbench statistics --- 515273752 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 680.176/687.523/691.098/3.834 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 1003 83880112 669.034 100.00% Conn: 1 Mbps: 669.034 Peak Mbps: 669.034 Avg Mbps: 669.034 2005 83595120 667.426 100.00% Conn: 1 Mbps: 667.426 Peak Mbps: 669.034 Avg Mbps: 667.426 3005 83599404 668.795 100.00% Conn: 1 Mbps: 668.795 Peak Mbps: 669.034 Avg Mbps: 668.795 4004 83333188 668.002 100.00% Conn: 1 Mbps: 668.002 Peak Mbps: 669.034 Avg Mbps: 668.002 5007 82563496 659.190 100.00% Conn: 1 Mbps: 659.190 Peak Mbps: 669.034 Avg Mbps: 659.190 --- fc00:0:0:1::11 tcpbench statistics --- 500105196 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 659.190/666.489/669.034/3.694 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.170 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.170/0.170/0.170/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 189641664 1517.133 100.00% Conn: 1 Mbps: 1517.133 Peak Mbps: 1517.133 Avg Mbps: 1517.133 2000 185649528 1486.683 100.00% Conn: 1 Mbps: 1486.683 Peak Mbps: 1517.133 Avg Mbps: 1486.683 3000 186072344 1490.069 100.00% Conn: 1 Mbps: 1490.069 Peak Mbps: 1517.133 Avg Mbps: 1490.069 4000 183617984 1468.944 100.00% Conn: 1 Mbps: 1468.944 Peak Mbps: 1517.133 Avg Mbps: 1468.944 5000 185448256 1483.586 100.00% Conn: 1 Mbps: 1483.586 Peak Mbps: 1517.133 Avg Mbps: 1483.586 --- 169.254.1.12 tcpbench statistics --- 1116242928 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1468.944/1489.283/1517.133/15.679 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 186704680 1493.637 100.00% Conn: 1 Mbps: 1493.637 Peak Mbps: 1493.637 Avg Mbps: 1493.637 2000 184578996 1478.110 100.00% Conn: 1 Mbps: 1478.110 Peak Mbps: 1493.637 Avg Mbps: 1478.110 3000 184287684 1474.301 100.00% Conn: 1 Mbps: 1474.301 Peak Mbps: 1493.637 Avg Mbps: 1474.301 4000 184124892 1472.999 100.00% Conn: 1 Mbps: 1472.999 Peak Mbps: 1493.637 Avg Mbps: 1472.999 5000 184533300 1476.266 100.00% Conn: 1 Mbps: 1476.266 Peak Mbps: 1493.637 Avg Mbps: 1476.266 --- fc00:0:0:1::12 tcpbench statistics --- 1107893200 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1472.999/1479.063/1493.637/7.491 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.192 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.192/0.192/0.192/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.217 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.217/0.217/0.217/0.000 ms ==== run-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 317657740 2541.262 100.00% Conn: 1 Mbps: 2541.262 Peak Mbps: 2541.262 Avg Mbps: 2541.262 2000 314040884 2512.327 100.00% Conn: 1 Mbps: 2512.327 Peak Mbps: 2541.262 Avg Mbps: 2512.327 3000 317345200 2538.762 100.00% Conn: 1 Mbps: 2538.762 Peak Mbps: 2541.262 Avg Mbps: 2538.762 4000 317116188 2536.930 100.00% Conn: 1 Mbps: 2536.930 Peak Mbps: 2541.262 Avg Mbps: 2536.930 5000 320616776 2564.934 100.00% Conn: 1 Mbps: 2564.934 Peak Mbps: 2564.934 Avg Mbps: 2564.934 --- 169.254.0.13 tcpbench statistics --- 1904252852 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2512.327/2538.843/2564.934/16.694 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 307165496 2457.324 100.00% Conn: 1 Mbps: 2457.324 Peak Mbps: 2457.324 Avg Mbps: 2457.324 2000 305446032 2446.014 100.00% Conn: 1 Mbps: 2446.014 Peak Mbps: 2457.324 Avg Mbps: 2446.014 3000 303909320 2431.275 100.00% Conn: 1 Mbps: 2431.275 Peak Mbps: 2457.324 Avg Mbps: 2431.275 4000 305772992 2446.184 100.00% Conn: 1 Mbps: 2446.184 Peak Mbps: 2457.324 Avg Mbps: 2446.184 5000 306165344 2449.323 100.00% Conn: 1 Mbps: 2449.323 Peak Mbps: 2457.324 Avg Mbps: 2449.323 --- fc00::13 tcpbench statistics --- 1831485712 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2431.275/2446.024/2457.324/8.440 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.190 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.190/0.190/0.190/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.256 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.256/0.256/0.256/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 84560304 675.132 100.00% Conn: 1 Mbps: 675.132 Peak Mbps: 675.132 Avg Mbps: 675.132 2003 84732616 677.184 100.00% Conn: 1 Mbps: 677.184 Peak Mbps: 677.184 Avg Mbps: 677.184 3004 84612432 676.899 100.00% Conn: 1 Mbps: 676.899 Peak Mbps: 677.184 Avg Mbps: 676.899 4006 84218576 672.404 100.00% Conn: 1 Mbps: 672.404 Peak Mbps: 677.184 Avg Mbps: 672.404 5005 84425640 676.081 100.00% Conn: 1 Mbps: 676.081 Peak Mbps: 677.184 Avg Mbps: 676.081 --- 169.254.1.11 tcpbench statistics --- 506633480 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 672.404/675.540/677.184/1.723 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 135086160 1080.689 100.00% Conn: 1 Mbps: 1080.689 Peak Mbps: 1080.689 Avg Mbps: 1080.689 2002 134270368 1073.090 100.00% Conn: 1 Mbps: 1073.090 Peak Mbps: 1080.689 Avg Mbps: 1073.090 3004 132907536 1061.138 100.00% Conn: 1 Mbps: 1061.138 Peak Mbps: 1080.689 Avg Mbps: 1061.138 4005 133836096 1069.619 100.00% Conn: 1 Mbps: 1069.619 Peak Mbps: 1080.689 Avg Mbps: 1069.619 5005 133649408 1070.266 100.00% Conn: 1 Mbps: 1070.266 Peak Mbps: 1080.689 Avg Mbps: 1070.266 --- fc00:0:0:1::11 tcpbench statistics --- 803016792 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 1061.138/1070.960/1080.689/6.292 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.162 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.162/0.162/0.162/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.222 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.222/0.222/0.222/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 341524124 2732.193 100.00% Conn: 1 Mbps: 2732.193 Peak Mbps: 2732.193 Avg Mbps: 2732.193 2000 337007504 2696.060 100.00% Conn: 1 Mbps: 2696.060 Peak Mbps: 2732.193 Avg Mbps: 2696.060 3000 339575722 2716.606 100.00% Conn: 1 Mbps: 2716.606 Peak Mbps: 2732.193 Avg Mbps: 2716.606 4000 337972638 2703.781 100.00% Conn: 1 Mbps: 2703.781 Peak Mbps: 2732.193 Avg Mbps: 2703.781 5000 339084970 2712.680 100.00% Conn: 1 Mbps: 2712.680 Peak Mbps: 2732.193 Avg Mbps: 2712.680 --- 169.254.1.12 tcpbench statistics --- 2034478928 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2696.060/2712.264/2732.193/12.253 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 311366708 2490.934 100.00% Conn: 1 Mbps: 2490.934 Peak Mbps: 2490.934 Avg Mbps: 2490.934 2000 311102440 2491.311 100.00% Conn: 1 Mbps: 2491.311 Peak Mbps: 2491.311 Avg Mbps: 2491.311 3000 311821752 2494.574 100.00% Conn: 1 Mbps: 2494.574 Peak Mbps: 2494.574 Avg Mbps: 2494.574 4000 311592880 2492.743 100.00% Conn: 1 Mbps: 2492.743 Peak Mbps: 2494.574 Avg Mbps: 2492.743 5000 311462096 2491.697 100.00% Conn: 1 Mbps: 2491.697 Peak Mbps: 2494.574 Avg Mbps: 2491.697 --- fc00:0:0:1::12 tcpbench statistics --- 1865832636 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2490.934/2492.252/2494.574/1.309 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.181 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.181/0.181/0.181/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.210 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.210/0.210/0.210/0.000 ms ==== run-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 341932642 2735.461 100.00% Conn: 1 Mbps: 2735.461 Peak Mbps: 2735.461 Avg Mbps: 2735.461 2000 340638980 2727.840 100.00% Conn: 1 Mbps: 2727.840 Peak Mbps: 2735.461 Avg Mbps: 2727.840 3000 341440534 2731.524 100.00% Conn: 1 Mbps: 2731.524 Peak Mbps: 2735.461 Avg Mbps: 2731.524 4000 339150390 2713.203 100.00% Conn: 1 Mbps: 2713.203 Peak Mbps: 2735.461 Avg Mbps: 2713.203 5000 338348872 2706.791 100.00% Conn: 1 Mbps: 2706.791 Peak Mbps: 2735.461 Avg Mbps: 2706.791 --- 169.254.0.13 tcpbench statistics --- 2042330348 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2706.791/2722.964/2735.461/11.046 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 334563944 2676.512 100.00% Conn: 1 Mbps: 2676.512 Peak Mbps: 2676.512 Avg Mbps: 2676.512 2000 330131512 2643.696 100.00% Conn: 1 Mbps: 2643.696 Peak Mbps: 2676.512 Avg Mbps: 2643.696 3000 327352352 2618.819 100.00% Conn: 1 Mbps: 2618.819 Peak Mbps: 2676.512 Avg Mbps: 2618.819 4000 330850824 2646.807 100.00% Conn: 1 Mbps: 2646.807 Peak Mbps: 2676.512 Avg Mbps: 2646.807 5000 330098816 2640.791 100.00% Conn: 1 Mbps: 2640.791 Peak Mbps: 2676.512 Avg Mbps: 2640.791 --- fc00::13 tcpbench statistics --- 1981592248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2618.819/2645.325/2676.512/18.442 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.97s