START sys/net/pair 2024-11-15T09:31:49Z ==== 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.159 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.159/0.159/0.159/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.207 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.207/0.207/0.207/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 201696396 1613.571 100.00% Conn: 1 Mbps: 1613.571 Peak Mbps: 1613.571 Avg Mbps: 1613.571 2000 199804772 1598.438 100.00% Conn: 1 Mbps: 1598.438 Peak Mbps: 1613.571 Avg Mbps: 1598.438 3000 199606072 1598.447 100.00% Conn: 1 Mbps: 1598.447 Peak Mbps: 1613.571 Avg Mbps: 1598.447 4000 199423268 1595.386 100.00% Conn: 1 Mbps: 1595.386 Peak Mbps: 1613.571 Avg Mbps: 1595.386 5000 197324996 1578.600 100.00% Conn: 1 Mbps: 1578.600 Peak Mbps: 1613.571 Avg Mbps: 1578.600 --- 169.254.1.11 tcpbench statistics --- 1196793944 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1578.600/1596.888/1613.571/11.134 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 199262352 1594.099 100.00% Conn: 1 Mbps: 1594.099 Peak Mbps: 1594.099 Avg Mbps: 1594.099 2000 195623400 1566.554 100.00% Conn: 1 Mbps: 1566.554 Peak Mbps: 1594.099 Avg Mbps: 1566.554 3000 196194216 1569.554 100.00% Conn: 1 Mbps: 1569.554 Peak Mbps: 1594.099 Avg Mbps: 1569.554 4000 194315280 1554.522 100.00% Conn: 1 Mbps: 1554.522 Peak Mbps: 1594.099 Avg Mbps: 1554.522 5000 195694752 1565.558 100.00% Conn: 1 Mbps: 1565.558 Peak Mbps: 1594.099 Avg Mbps: 1565.558 --- fc00:0:0:1::11 tcpbench statistics --- 1176023664 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1554.522/1570.057/1594.099/13.055 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.223 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.223/0.223/0.223/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.444 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.444/0.444/0.444/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 1001 87087176 696.001 100.00% Conn: 1 Mbps: 696.001 Peak Mbps: 696.001 Avg Mbps: 696.001 2001 87186976 698.194 100.00% Conn: 1 Mbps: 698.194 Peak Mbps: 698.194 Avg Mbps: 698.194 3003 87201456 696.915 100.00% Conn: 1 Mbps: 696.915 Peak Mbps: 698.194 Avg Mbps: 696.915 4004 87531600 699.553 100.00% Conn: 1 Mbps: 699.553 Peak Mbps: 699.553 Avg Mbps: 699.553 5005 87795136 701.659 100.00% Conn: 1 Mbps: 701.659 Peak Mbps: 701.659 Avg Mbps: 701.659 --- 169.254.1.12 tcpbench statistics --- 523914080 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 696.001/698.465/701.659/1.997 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 84222012 673.103 100.00% Conn: 1 Mbps: 673.103 Peak Mbps: 673.103 Avg Mbps: 673.103 2001 83929272 671.434 100.00% Conn: 1 Mbps: 671.434 Peak Mbps: 673.103 Avg Mbps: 671.434 3003 84650412 675.852 100.00% Conn: 1 Mbps: 675.852 Peak Mbps: 675.852 Avg Mbps: 675.852 4002 84331968 676.008 100.00% Conn: 1 Mbps: 676.008 Peak Mbps: 676.008 Avg Mbps: 676.008 5004 84554736 675.088 100.00% Conn: 1 Mbps: 675.088 Peak Mbps: 676.008 Avg Mbps: 675.088 --- fc00:0:0:1::12 tcpbench statistics --- 506017512 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 671.434/674.297/676.008/1.766 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.218 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.218/0.218/0.218/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.279 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.279/0.279/0.279/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 111383272 891.066 100.00% Conn: 1 Mbps: 891.066 Peak Mbps: 891.066 Avg Mbps: 891.066 2000 112416512 900.232 100.00% Conn: 1 Mbps: 900.232 Peak Mbps: 900.232 Avg Mbps: 900.232 3000 111836308 894.690 100.00% Conn: 1 Mbps: 894.690 Peak Mbps: 900.232 Avg Mbps: 894.690 4000 112154228 897.234 100.00% Conn: 1 Mbps: 897.234 Peak Mbps: 900.232 Avg Mbps: 897.234 5000 111081248 888.650 100.00% Conn: 1 Mbps: 888.650 Peak Mbps: 900.232 Avg Mbps: 888.650 --- 169.254.0.13 tcpbench statistics --- 669944868 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 888.650/894.375/900.232/4.155 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 104245272 833.962 100.00% Conn: 1 Mbps: 833.962 Peak Mbps: 833.962 Avg Mbps: 833.962 2000 103880584 831.045 100.00% Conn: 1 Mbps: 831.045 Peak Mbps: 833.962 Avg Mbps: 831.045 3000 103523824 828.191 100.00% Conn: 1 Mbps: 828.191 Peak Mbps: 833.962 Avg Mbps: 828.191 4000 103975720 831.806 100.00% Conn: 1 Mbps: 831.806 Peak Mbps: 833.962 Avg Mbps: 831.806 5000 103349408 826.795 100.00% Conn: 1 Mbps: 826.795 Peak Mbps: 833.962 Avg Mbps: 826.795 --- fc00::13 tcpbench statistics --- 622268720 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 826.795/830.360/833.962/2.567 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.220 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.220/0.220/0.220/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 88106456 703.445 100.00% Conn: 1 Mbps: 703.445 Peak Mbps: 703.445 Avg Mbps: 703.445 2001 88023920 704.896 100.00% Conn: 1 Mbps: 704.896 Peak Mbps: 704.896 Avg Mbps: 704.896 3003 87621768 699.575 100.00% Conn: 1 Mbps: 699.575 Peak Mbps: 704.896 Avg Mbps: 699.575 4004 88341424 706.731 100.00% Conn: 1 Mbps: 706.731 Peak Mbps: 706.731 Avg Mbps: 706.731 5008 88374504 704.179 100.00% Conn: 1 Mbps: 704.179 Peak Mbps: 706.731 Avg Mbps: 704.179 --- 169.254.1.11 tcpbench statistics --- 527875536 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 699.575/703.765/706.731/2.363 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 1002 85118796 679.591 100.00% Conn: 1 Mbps: 679.591 Peak Mbps: 679.591 Avg Mbps: 679.591 2001 84401940 675.891 100.00% Conn: 1 Mbps: 675.891 Peak Mbps: 679.591 Avg Mbps: 675.891 3003 85398684 682.507 100.00% Conn: 1 Mbps: 682.507 Peak Mbps: 682.507 Avg Mbps: 682.507 4002 85253028 683.391 100.00% Conn: 1 Mbps: 683.391 Peak Mbps: 683.391 Avg Mbps: 683.391 5003 85460088 682.998 100.00% Conn: 1 Mbps: 682.998 Peak Mbps: 683.391 Avg Mbps: 682.998 --- fc00:0:0:1::11 tcpbench statistics --- 510876996 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 675.891/680.876/683.391/2.828 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.186 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.186/0.186/0.186/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.221 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.221/0.221/0.221/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 194437440 1555.500 100.00% Conn: 1 Mbps: 1555.500 Peak Mbps: 1555.500 Avg Mbps: 1555.500 2000 193071976 1546.122 100.00% Conn: 1 Mbps: 1546.122 Peak Mbps: 1555.500 Avg Mbps: 1546.122 3000 191906336 1535.251 100.00% Conn: 1 Mbps: 1535.251 Peak Mbps: 1555.500 Avg Mbps: 1535.251 4000 192298744 1538.390 100.00% Conn: 1 Mbps: 1538.390 Peak Mbps: 1555.500 Avg Mbps: 1538.390 5000 191644248 1533.154 100.00% Conn: 1 Mbps: 1533.154 Peak Mbps: 1555.500 Avg Mbps: 1533.154 --- 169.254.1.12 tcpbench statistics --- 1153201680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1533.154/1541.683/1555.500/8.192 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 191861796 1534.894 100.00% Conn: 1 Mbps: 1534.894 Peak Mbps: 1534.894 Avg Mbps: 1534.894 2000 191069256 1528.554 100.00% Conn: 1 Mbps: 1528.554 Peak Mbps: 1534.894 Avg Mbps: 1528.554 3000 190185324 1521.483 100.00% Conn: 1 Mbps: 1521.483 Peak Mbps: 1534.894 Avg Mbps: 1521.483 4000 189858312 1518.866 100.00% Conn: 1 Mbps: 1518.866 Peak Mbps: 1534.894 Avg Mbps: 1518.866 5000 188251812 1506.014 100.00% Conn: 1 Mbps: 1506.014 Peak Mbps: 1534.894 Avg Mbps: 1506.014 --- fc00:0:0:1::12 tcpbench statistics --- 1141250460 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1506.014/1521.962/1534.894/9.745 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.165 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.165/0.165/0.165/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.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-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 329304776 2634.438 100.00% Conn: 1 Mbps: 2634.438 Peak Mbps: 2634.438 Avg Mbps: 2634.438 2000 327748816 2624.615 100.00% Conn: 1 Mbps: 2624.615 Peak Mbps: 2634.438 Avg Mbps: 2624.615 3000 325033460 2600.268 100.00% Conn: 1 Mbps: 2600.268 Peak Mbps: 2634.438 Avg Mbps: 2600.268 4000 325622348 2604.979 100.00% Conn: 1 Mbps: 2604.979 Peak Mbps: 2634.438 Avg Mbps: 2604.979 5000 326211236 2609.690 100.00% Conn: 1 Mbps: 2609.690 Peak Mbps: 2634.438 Avg Mbps: 2609.690 --- 169.254.0.13 tcpbench statistics --- 1960638970 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2600.268/2614.798/2634.438/12.773 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 314160848 2513.287 100.00% Conn: 1 Mbps: 2513.287 Peak Mbps: 2513.287 Avg Mbps: 2513.287 2000 308159800 2467.746 100.00% Conn: 1 Mbps: 2467.746 Peak Mbps: 2513.287 Avg Mbps: 2467.746 3000 308519456 2468.156 100.00% Conn: 1 Mbps: 2468.156 Peak Mbps: 2513.287 Avg Mbps: 2468.156 4000 311069744 2488.558 100.00% Conn: 1 Mbps: 2488.558 Peak Mbps: 2513.287 Avg Mbps: 2488.558 5000 313293072 2506.345 100.00% Conn: 1 Mbps: 2506.345 Peak Mbps: 2513.287 Avg Mbps: 2506.345 --- fc00::13 tcpbench statistics --- 1862120272 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2467.746/2488.818/2513.287/18.852 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.179 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.179/0.179/0.179/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 1001 85905496 686.557 100.00% Conn: 1 Mbps: 686.557 Peak Mbps: 686.557 Avg Mbps: 686.557 2002 86538272 691.615 100.00% Conn: 1 Mbps: 691.615 Peak Mbps: 691.615 Avg Mbps: 691.615 3003 86432568 690.770 100.00% Conn: 1 Mbps: 690.770 Peak Mbps: 691.615 Avg Mbps: 690.770 4006 86574472 690.524 100.00% Conn: 1 Mbps: 690.524 Peak Mbps: 691.615 Avg Mbps: 690.524 5006 86665696 694.020 100.00% Conn: 1 Mbps: 694.020 Peak Mbps: 694.020 Avg Mbps: 694.020 --- 169.254.1.11 tcpbench statistics --- 517593392 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 686.557/690.697/694.020/2.411 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 137579248 1099.534 100.00% Conn: 1 Mbps: 1099.534 Peak Mbps: 1099.534 Avg Mbps: 1099.534 2004 136051944 1086.243 100.00% Conn: 1 Mbps: 1086.243 Peak Mbps: 1099.534 Avg Mbps: 1086.243 3005 135859328 1086.875 100.00% Conn: 1 Mbps: 1086.875 Peak Mbps: 1099.534 Avg Mbps: 1086.875 4004 135521976 1085.261 100.00% Conn: 1 Mbps: 1085.261 Peak Mbps: 1099.534 Avg Mbps: 1085.261 5006 134814752 1076.365 100.00% Conn: 1 Mbps: 1076.365 Peak Mbps: 1099.534 Avg Mbps: 1076.365 --- fc00:0:0:1::11 tcpbench statistics --- 814744776 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1076.365/1086.856/1099.534/7.399 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.226 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.226/0.226/0.226/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 331888770 2655.110 100.00% Conn: 1 Mbps: 2655.110 Peak Mbps: 2655.110 Avg Mbps: 2655.110 2000 327519876 2622.782 100.00% Conn: 1 Mbps: 2622.782 Peak Mbps: 2655.110 Avg Mbps: 2622.782 3000 328239628 2625.917 100.00% Conn: 1 Mbps: 2625.917 Peak Mbps: 2655.110 Avg Mbps: 2625.917 4000 327372654 2618.981 100.00% Conn: 1 Mbps: 2618.981 Peak Mbps: 2655.110 Avg Mbps: 2618.981 5000 330006292 2640.050 100.00% Conn: 1 Mbps: 2640.050 Peak Mbps: 2655.110 Avg Mbps: 2640.050 --- 169.254.1.12 tcpbench statistics --- 1975540610 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2618.981/2632.568/2655.110/13.332 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 314470884 2515.767 100.00% Conn: 1 Mbps: 2515.767 Peak Mbps: 2515.767 Avg Mbps: 2515.767 2000 309958080 2482.147 100.00% Conn: 1 Mbps: 2482.147 Peak Mbps: 2515.767 Avg Mbps: 2482.147 3000 307178920 2457.431 100.00% Conn: 1 Mbps: 2457.431 Peak Mbps: 2515.767 Avg Mbps: 2457.431 4000 307146224 2457.170 100.00% Conn: 1 Mbps: 2457.170 Peak Mbps: 2515.767 Avg Mbps: 2457.170 5000 307015440 2456.124 100.00% Conn: 1 Mbps: 2456.124 Peak Mbps: 2515.767 Avg Mbps: 2456.124 --- fc00:0:0:1::12 tcpbench statistics --- 1852621508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2456.124/2473.728/2515.767/23.185 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.169 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.169/0.169/0.169/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.220 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.220/0.220/0.220/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 343748432 2749.987 100.00% Conn: 1 Mbps: 2749.987 Peak Mbps: 2749.987 Avg Mbps: 2749.987 2000 339673870 2717.391 100.00% Conn: 1 Mbps: 2717.391 Peak Mbps: 2749.987 Avg Mbps: 2717.391 3000 340884362 2727.075 100.00% Conn: 1 Mbps: 2727.075 Peak Mbps: 2749.987 Avg Mbps: 2727.075 4000 341505966 2732.048 100.00% Conn: 1 Mbps: 2732.048 Peak Mbps: 2749.987 Avg Mbps: 2732.048 5000 341195164 2729.561 100.00% Conn: 1 Mbps: 2729.561 Peak Mbps: 2749.987 Avg Mbps: 2729.561 --- 169.254.0.13 tcpbench statistics --- 2046321788 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2717.391/2731.212/2749.987/10.621 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 338323244 2706.586 100.00% Conn: 1 Mbps: 2706.586 Peak Mbps: 2706.586 Avg Mbps: 2706.586 2000 334218512 2676.425 100.00% Conn: 1 Mbps: 2676.425 Peak Mbps: 2706.586 Avg Mbps: 2676.425 3000 336638016 2693.104 100.00% Conn: 1 Mbps: 2693.104 Peak Mbps: 2706.586 Avg Mbps: 2693.104 4000 337455416 2699.643 100.00% Conn: 1 Mbps: 2699.643 Peak Mbps: 2706.586 Avg Mbps: 2699.643 5000 332452928 2659.623 100.00% Conn: 1 Mbps: 2659.623 Peak Mbps: 2706.586 Avg Mbps: 2659.623 --- fc00::13 tcpbench statistics --- 2015072212 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2659.623/2687.076/2706.586/16.982 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.08s