START sys/net/pair 2024-04-16T06:05:45Z ==== 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.290 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.290/0.290/0.290/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.353 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.353/0.353/0.353/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 88214852 705.719 100.00% Conn: 1 Mbps: 705.719 Peak Mbps: 705.719 Avg Mbps: 705.719 2000 92093476 737.485 100.00% Conn: 1 Mbps: 737.485 Peak Mbps: 737.485 Avg Mbps: 737.485 3000 92435240 739.482 100.00% Conn: 1 Mbps: 739.482 Peak Mbps: 739.482 Avg Mbps: 739.482 4000 92721368 741.771 100.00% Conn: 1 Mbps: 741.771 Peak Mbps: 741.771 Avg Mbps: 741.771 5000 92697524 741.580 100.00% Conn: 1 Mbps: 741.580 Peak Mbps: 741.771 Avg Mbps: 741.580 --- 169.254.1.11 tcpbench statistics --- 546766764 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 705.719/733.207/741.771/13.833 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 93280848 746.247 100.00% Conn: 1 Mbps: 746.247 Peak Mbps: 746.247 Avg Mbps: 746.247 2000 92765528 742.124 100.00% Conn: 1 Mbps: 742.124 Peak Mbps: 746.247 Avg Mbps: 742.124 3000 92979584 743.837 100.00% Conn: 1 Mbps: 743.837 Peak Mbps: 746.247 Avg Mbps: 743.837 4000 88730176 709.841 100.00% Conn: 1 Mbps: 709.841 Peak Mbps: 746.247 Avg Mbps: 709.841 5000 92392912 739.143 100.00% Conn: 1 Mbps: 739.143 Peak Mbps: 746.247 Avg Mbps: 739.143 --- fc00:0:0:1::11 tcpbench statistics --- 552946288 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 709.841/736.238/746.247/13.400 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.452 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.452/0.452/0.452/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.905 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.905/0.905/0.905/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 1004 28134640 224.180 100.00% Conn: 1 Mbps: 224.180 Peak Mbps: 224.180 Avg Mbps: 224.180 2002 28098440 225.464 100.00% Conn: 1 Mbps: 225.464 Peak Mbps: 225.464 Avg Mbps: 225.464 3004 27148552 216.755 100.00% Conn: 1 Mbps: 216.755 Peak Mbps: 225.464 Avg Mbps: 216.755 4006 28222968 225.558 100.00% Conn: 1 Mbps: 225.558 Peak Mbps: 225.558 Avg Mbps: 225.558 5008 28325776 226.154 100.00% Conn: 1 Mbps: 226.154 Peak Mbps: 226.154 Avg Mbps: 226.154 --- 169.254.1.12 tcpbench statistics --- 168021576 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 216.755/223.622/226.154/3.493 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 1004 26516532 211.287 100.00% Conn: 1 Mbps: 211.287 Peak Mbps: 211.287 Avg Mbps: 211.287 2004 27846000 222.768 100.00% Conn: 1 Mbps: 222.768 Peak Mbps: 222.768 Avg Mbps: 222.768 3004 27925968 223.408 100.00% Conn: 1 Mbps: 223.408 Peak Mbps: 223.408 Avg Mbps: 223.408 4004 27978804 223.830 100.00% Conn: 1 Mbps: 223.830 Peak Mbps: 223.830 Avg Mbps: 223.830 5005 27927396 223.419 100.00% Conn: 1 Mbps: 223.419 Peak Mbps: 223.830 Avg Mbps: 223.419 --- fc00:0:0:1::12 tcpbench statistics --- 165022536 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 211.287/220.942/223.830/4.840 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.402 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.402/0.402/0.402/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.500 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.500/0.500/0.500/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 48737136 389.897 100.00% Conn: 1 Mbps: 389.897 Peak Mbps: 389.897 Avg Mbps: 389.897 2001 47656208 381.250 100.00% Conn: 1 Mbps: 381.250 Peak Mbps: 389.897 Avg Mbps: 381.250 3001 47362132 378.897 100.00% Conn: 1 Mbps: 378.897 Peak Mbps: 389.897 Avg Mbps: 378.897 4001 45589728 364.718 100.00% Conn: 1 Mbps: 364.718 Peak Mbps: 389.897 Avg Mbps: 364.718 5002 47219068 377.753 100.00% Conn: 1 Mbps: 377.753 Peak Mbps: 389.897 Avg Mbps: 377.753 --- 169.254.0.13 tcpbench statistics --- 284101260 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 364.718/378.503/389.897/8.101 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 44880408 359.043 100.00% Conn: 1 Mbps: 359.043 Peak Mbps: 359.043 Avg Mbps: 359.043 2001 44753560 358.028 100.00% Conn: 1 Mbps: 358.028 Peak Mbps: 359.043 Avg Mbps: 358.028 3000 42620928 341.309 100.00% Conn: 1 Mbps: 341.309 Peak Mbps: 359.043 Avg Mbps: 341.309 4001 45197528 361.580 100.00% Conn: 1 Mbps: 361.580 Peak Mbps: 361.580 Avg Mbps: 361.580 5001 44373016 354.984 100.00% Conn: 1 Mbps: 354.984 Peak Mbps: 361.580 Avg Mbps: 354.984 --- fc00::13 tcpbench statistics --- 265080608 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 341.309/354.989/361.580/7.159 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.331 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.331/0.331/0.331/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.407 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.407/0.407/0.407/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 27108008 216.215 100.00% Conn: 1 Mbps: 216.215 Peak Mbps: 216.215 Avg Mbps: 216.215 2005 28341704 226.281 100.00% Conn: 1 Mbps: 226.281 Peak Mbps: 226.281 Avg Mbps: 226.281 3005 28366320 226.931 100.00% Conn: 1 Mbps: 226.931 Peak Mbps: 226.931 Avg Mbps: 226.931 4008 28186768 225.044 100.00% Conn: 1 Mbps: 225.044 Peak Mbps: 226.931 Avg Mbps: 225.044 5008 28073824 224.591 100.00% Conn: 1 Mbps: 224.591 Peak Mbps: 226.931 Avg Mbps: 224.591 --- 169.254.1.11 tcpbench statistics --- 166931232 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 216.215/223.812/226.931/3.890 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 27678924 220.989 100.00% Conn: 1 Mbps: 220.989 Peak Mbps: 220.989 Avg Mbps: 220.989 2004 27714624 221.495 100.00% Conn: 1 Mbps: 221.495 Peak Mbps: 221.495 Avg Mbps: 221.495 3006 27607524 220.419 100.00% Conn: 1 Mbps: 220.419 Peak Mbps: 221.495 Avg Mbps: 220.419 4004 27704628 222.304 100.00% Conn: 1 Mbps: 222.304 Peak Mbps: 222.304 Avg Mbps: 222.304 5005 26907804 215.047 100.00% Conn: 1 Mbps: 215.047 Peak Mbps: 222.304 Avg Mbps: 215.047 --- fc00:0:0:1::11 tcpbench statistics --- 165422376 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 215.047/220.051/222.304/2.577 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.300 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.300/0.300/0.300/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.352 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.352/0.352/0.352/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 91254408 730.035 100.00% Conn: 1 Mbps: 730.035 Peak Mbps: 730.035 Avg Mbps: 730.035 2000 89553008 716.424 100.00% Conn: 1 Mbps: 716.424 Peak Mbps: 730.035 Avg Mbps: 716.424 3000 86441256 691.530 100.00% Conn: 1 Mbps: 691.530 Peak Mbps: 730.035 Avg Mbps: 691.530 4000 89883152 719.065 100.00% Conn: 1 Mbps: 719.065 Peak Mbps: 730.035 Avg Mbps: 719.065 5000 89652920 717.223 100.00% Conn: 1 Mbps: 717.223 Peak Mbps: 730.035 Avg Mbps: 717.223 --- 169.254.1.12 tcpbench statistics --- 536372504 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 691.530/714.856/730.035/12.651 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 92108856 736.871 100.00% Conn: 1 Mbps: 736.871 Peak Mbps: 736.871 Avg Mbps: 736.871 2000 87736320 702.593 100.00% Conn: 1 Mbps: 702.593 Peak Mbps: 736.871 Avg Mbps: 702.593 3000 91670460 733.364 100.00% Conn: 1 Mbps: 733.364 Peak Mbps: 736.871 Avg Mbps: 733.364 4000 91603344 732.827 100.00% Conn: 1 Mbps: 732.827 Peak Mbps: 736.871 Avg Mbps: 732.827 5000 91567644 732.541 100.00% Conn: 1 Mbps: 732.541 Peak Mbps: 736.871 Avg Mbps: 732.541 --- fc00:0:0:1::12 tcpbench statistics --- 546586992 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 702.593/727.639/736.871/12.619 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.325 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.325/0.325/0.325/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.373 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.373/0.373/0.373/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 128885638 1031.085 100.00% Conn: 1 Mbps: 1031.085 Peak Mbps: 1031.085 Avg Mbps: 1031.085 2000 128115784 1024.926 100.00% Conn: 1 Mbps: 1024.926 Peak Mbps: 1031.085 Avg Mbps: 1024.926 3000 128115784 1024.926 100.00% Conn: 1 Mbps: 1024.926 Peak Mbps: 1031.085 Avg Mbps: 1024.926 4000 128115784 1024.926 100.00% Conn: 1 Mbps: 1024.926 Peak Mbps: 1031.085 Avg Mbps: 1024.926 5000 123142952 985.144 100.00% Conn: 1 Mbps: 985.144 Peak Mbps: 1031.085 Avg Mbps: 985.144 --- 169.254.0.13 tcpbench statistics --- 764426282 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 985.144/1018.202/1031.085/16.700 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 128381636 1027.053 100.00% Conn: 1 Mbps: 1027.053 Peak Mbps: 1027.053 Avg Mbps: 1027.053 2000 127988492 1024.933 100.00% Conn: 1 Mbps: 1024.933 Peak Mbps: 1027.053 Avg Mbps: 1024.933 3000 128168320 1025.347 100.00% Conn: 1 Mbps: 1025.347 Peak Mbps: 1027.053 Avg Mbps: 1025.347 4000 122610000 980.880 100.00% Conn: 1 Mbps: 980.880 Peak Mbps: 1027.053 Avg Mbps: 980.880 5000 128004840 1024.039 100.00% Conn: 1 Mbps: 1024.039 Peak Mbps: 1027.053 Avg Mbps: 1024.039 --- fc00::13 tcpbench statistics --- 763092736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 980.880/1016.450/1027.053/17.812 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.346 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.346/0.346/0.346/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.416 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.416/0.416/0.416/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 27103664 216.613 100.00% Conn: 1 Mbps: 216.613 Peak Mbps: 216.613 Avg Mbps: 216.613 2002 26667816 213.343 100.00% Conn: 1 Mbps: 213.343 Peak Mbps: 216.613 Avg Mbps: 213.343 3003 27785672 222.063 100.00% Conn: 1 Mbps: 222.063 Peak Mbps: 222.063 Avg Mbps: 222.063 4004 28176632 225.188 100.00% Conn: 1 Mbps: 225.188 Peak Mbps: 225.188 Avg Mbps: 225.188 5005 28160704 225.286 100.00% Conn: 1 Mbps: 225.286 Peak Mbps: 225.286 Avg Mbps: 225.286 --- 169.254.1.11 tcpbench statistics --- 166292664 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 213.343/220.498/225.286/4.768 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 1002 44670104 356.648 100.00% Conn: 1 Mbps: 356.648 Peak Mbps: 356.648 Avg Mbps: 356.648 2005 45123384 359.907 100.00% Conn: 1 Mbps: 359.907 Peak Mbps: 359.907 Avg Mbps: 359.907 3006 44761408 357.734 100.00% Conn: 1 Mbps: 357.734 Peak Mbps: 359.907 Avg Mbps: 357.734 4006 44665848 357.327 100.00% Conn: 1 Mbps: 357.327 Peak Mbps: 359.907 Avg Mbps: 357.327 5009 42854240 342.150 100.00% Conn: 1 Mbps: 342.150 Peak Mbps: 359.907 Avg Mbps: 342.150 --- fc00:0:0:1::11 tcpbench statistics --- 265945984 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 342.150/354.753/359.907/6.395 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.315 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.315/0.315/0.315/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.374 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.374/0.374/0.374/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 130504208 1044.034 100.00% Conn: 1 Mbps: 1044.034 Peak Mbps: 1044.034 Avg Mbps: 1044.034 2000 129522572 1036.181 100.00% Conn: 1 Mbps: 1036.181 Peak Mbps: 1044.034 Avg Mbps: 1036.181 3000 128083068 1024.665 100.00% Conn: 1 Mbps: 1024.665 Peak Mbps: 1044.034 Avg Mbps: 1024.665 4000 125923812 1007.390 100.00% Conn: 1 Mbps: 1007.390 Peak Mbps: 1044.034 Avg Mbps: 1007.390 5000 129489844 1035.919 100.00% Conn: 1 Mbps: 1035.919 Peak Mbps: 1044.034 Avg Mbps: 1035.919 --- 169.254.1.12 tcpbench statistics --- 772686200 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1007.390/1029.638/1044.034/12.721 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 128021404 1024.171 100.00% Conn: 1 Mbps: 1024.171 Peak Mbps: 1024.171 Avg Mbps: 1024.171 2000 121661816 973.295 100.00% Conn: 1 Mbps: 973.295 Peak Mbps: 1024.171 Avg Mbps: 973.295 3000 126827784 1014.622 100.00% Conn: 1 Mbps: 1014.622 Peak Mbps: 1024.171 Avg Mbps: 1014.622 4000 126795088 1014.361 100.00% Conn: 1 Mbps: 1014.361 Peak Mbps: 1024.171 Avg Mbps: 1014.361 5000 126664304 1013.314 100.00% Conn: 1 Mbps: 1013.314 Peak Mbps: 1024.171 Avg Mbps: 1013.314 --- fc00:0:0:1::12 tcpbench statistics --- 756471220 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 973.295/1007.953/1024.171/17.768 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.311 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.311/0.311/0.311/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.358 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.358/0.358/0.358/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 134022154 1072.177 100.00% Conn: 1 Mbps: 1072.177 Peak Mbps: 1072.177 Avg Mbps: 1072.177 2000 132892320 1063.139 100.00% Conn: 1 Mbps: 1063.139 Peak Mbps: 1072.177 Avg Mbps: 1063.139 3000 132859592 1062.877 100.00% Conn: 1 Mbps: 1062.877 Peak Mbps: 1072.177 Avg Mbps: 1062.877 4000 132892320 1063.139 100.00% Conn: 1 Mbps: 1063.139 Peak Mbps: 1072.177 Avg Mbps: 1063.139 5000 127690512 1021.524 100.00% Conn: 1 Mbps: 1021.524 Peak Mbps: 1072.177 Avg Mbps: 1021.524 --- 169.254.0.13 tcpbench statistics --- 793134784 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1021.524/1056.571/1072.177/17.877 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 132239260 1057.914 100.00% Conn: 1 Mbps: 1057.914 Peak Mbps: 1057.914 Avg Mbps: 1057.914 2000 131372528 1050.980 100.00% Conn: 1 Mbps: 1050.980 Peak Mbps: 1057.914 Avg Mbps: 1050.980 3000 131110960 1048.888 100.00% Conn: 1 Mbps: 1048.888 Peak Mbps: 1057.914 Avg Mbps: 1048.888 4000 125748816 1005.991 100.00% Conn: 1 Mbps: 1005.991 Peak Mbps: 1057.914 Avg Mbps: 1005.991 5000 131437920 1051.503 100.00% Conn: 1 Mbps: 1051.503 Peak Mbps: 1057.914 Avg Mbps: 1051.503 --- fc00::13 tcpbench statistics --- 782693484 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1005.991/1043.055/1057.914/18.776 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 2m02.80s