START sys/net/pair 2025-04-02T01:37:37Z ==== 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.035 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.035/0.035/0.035/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.045 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.045/0.045/0.045/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 923780144 7390.241 100.00% Conn: 1 Mbps: 7390.241 Peak Mbps: 7390.241 Avg Mbps: 7390.241 2000 923072772 7391.974 100.00% Conn: 1 Mbps: 7391.974 Peak Mbps: 7391.974 Avg Mbps: 7391.974 3000 924320608 7394.565 100.00% Conn: 1 Mbps: 7394.565 Peak Mbps: 7394.565 Avg Mbps: 7394.565 4000 927547496 7420.380 100.00% Conn: 1 Mbps: 7420.380 Peak Mbps: 7420.380 Avg Mbps: 7420.380 5000 926625528 7413.004 100.00% Conn: 1 Mbps: 7413.004 Peak Mbps: 7420.380 Avg Mbps: 7413.004 --- 169.254.1.11 tcpbench statistics --- 5551701844 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7390.241/7402.033/7420.380/12.272 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 936701128 7493.609 100.00% Conn: 1 Mbps: 7493.609 Peak Mbps: 7493.609 Avg Mbps: 7493.609 2000 933981824 7479.334 100.00% Conn: 1 Mbps: 7479.334 Peak Mbps: 7493.609 Avg Mbps: 7479.334 3000 935496072 7483.969 100.00% Conn: 1 Mbps: 7483.969 Peak Mbps: 7493.609 Avg Mbps: 7483.969 4000 937295728 7498.366 100.00% Conn: 1 Mbps: 7498.366 Peak Mbps: 7498.366 Avg Mbps: 7498.366 5000 935924184 7487.393 100.00% Conn: 1 Mbps: 7487.393 Peak Mbps: 7498.366 Avg Mbps: 7487.393 --- fc00:0:0:1::11 tcpbench statistics --- 5615624384 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7479.334/7488.534/7498.366/6.771 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.067 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.067/0.067/0.067/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.129 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.129/0.129/0.129/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 370078736 2957.672 100.00% Conn: 1 Mbps: 2957.672 Peak Mbps: 2957.672 Avg Mbps: 2957.672 2001 383254528 3069.105 100.00% Conn: 1 Mbps: 3069.105 Peak Mbps: 3069.105 Avg Mbps: 3069.105 3001 386400256 3091.202 100.00% Conn: 1 Mbps: 3091.202 Peak Mbps: 3091.202 Avg Mbps: 3091.202 4001 381755768 3054.046 100.00% Conn: 1 Mbps: 3054.046 Peak Mbps: 3091.202 Avg Mbps: 3054.046 5001 386662400 3093.299 100.00% Conn: 1 Mbps: 3093.299 Peak Mbps: 3093.299 Avg Mbps: 3093.299 --- 169.254.1.12 tcpbench statistics --- 2290860248 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2957.672/3053.065/3093.299/49.862 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 1000 353867680 2830.941 100.00% Conn: 1 Mbps: 2830.941 Peak Mbps: 2830.941 Avg Mbps: 2830.941 2001 365690880 2925.527 100.00% Conn: 1 Mbps: 2925.527 Peak Mbps: 2925.527 Avg Mbps: 2925.527 3001 362807296 2905.364 100.00% Conn: 1 Mbps: 2905.364 Peak Mbps: 2925.527 Avg Mbps: 2905.364 4001 362545152 2900.361 100.00% Conn: 1 Mbps: 2900.361 Peak Mbps: 2925.527 Avg Mbps: 2900.361 5001 360448000 2883.584 100.00% Conn: 1 Mbps: 2883.584 Peak Mbps: 2925.527 Avg Mbps: 2883.584 --- fc00:0:0:1::12 tcpbench statistics --- 2165544864 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2830.941/2889.155/2925.527/32.035 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.058 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.058/0.058/0.058/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.065 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.065/0.065/0.065/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 754550628 6036.405 100.00% Conn: 1 Mbps: 6036.405 Peak Mbps: 6036.405 Avg Mbps: 6036.405 2000 793855376 6350.843 100.00% Conn: 1 Mbps: 6350.843 Peak Mbps: 6350.843 Avg Mbps: 6350.843 3000 794267204 6360.498 100.00% Conn: 1 Mbps: 6360.498 Peak Mbps: 6360.498 Avg Mbps: 6360.498 4000 799449020 6395.592 100.00% Conn: 1 Mbps: 6395.592 Peak Mbps: 6395.592 Avg Mbps: 6395.592 5001 808358728 6466.870 100.00% Conn: 1 Mbps: 6466.870 Peak Mbps: 6466.870 Avg Mbps: 6466.870 --- 169.254.0.13 tcpbench statistics --- 4772399532 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6036.405/6322.042/6466.870/148.514 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 711740600 5693.925 100.00% Conn: 1 Mbps: 5693.925 Peak Mbps: 5693.925 Avg Mbps: 5693.925 2001 746413272 5971.306 100.00% Conn: 1 Mbps: 5971.306 Peak Mbps: 5971.306 Avg Mbps: 5971.306 3001 747602472 5986.807 100.00% Conn: 1 Mbps: 5986.807 Peak Mbps: 5986.807 Avg Mbps: 5986.807 4001 745406416 5963.251 100.00% Conn: 1 Mbps: 5963.251 Peak Mbps: 5986.807 Avg Mbps: 5963.251 5001 748934896 5991.479 100.00% Conn: 1 Mbps: 5991.479 Peak Mbps: 5991.479 Avg Mbps: 5991.479 --- fc00::13 tcpbench statistics --- 4450371864 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5693.925/5921.354/5991.479/114.172 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.044 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.044/0.044/0.044/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.047 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.047/0.047/0.047/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 1000 371574352 2972.595 100.00% Conn: 1 Mbps: 2972.595 Peak Mbps: 2972.595 Avg Mbps: 2972.595 2000 380208128 3041.665 100.00% Conn: 1 Mbps: 3041.665 Peak Mbps: 3041.665 Avg Mbps: 3041.665 3001 382205952 3057.648 100.00% Conn: 1 Mbps: 3057.648 Peak Mbps: 3057.648 Avg Mbps: 3057.648 4001 382375784 3059.006 100.00% Conn: 1 Mbps: 3059.006 Peak Mbps: 3059.006 Avg Mbps: 3059.006 5001 383254528 3069.105 100.00% Conn: 1 Mbps: 3069.105 Peak Mbps: 3069.105 Avg Mbps: 3069.105 --- 169.254.1.11 tcpbench statistics --- 2279727544 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2972.595/3040.004/3069.105/34.831 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 1001 350196640 2798.774 100.00% Conn: 1 Mbps: 2798.774 Peak Mbps: 2798.774 Avg Mbps: 2798.774 2001 354156544 2833.252 100.00% Conn: 1 Mbps: 2833.252 Peak Mbps: 2833.252 Avg Mbps: 2833.252 3001 353632256 2829.058 100.00% Conn: 1 Mbps: 2829.058 Peak Mbps: 2833.252 Avg Mbps: 2829.058 4002 354418688 2835.350 100.00% Conn: 1 Mbps: 2835.350 Peak Mbps: 2835.350 Avg Mbps: 2835.350 5002 357302272 2861.279 100.00% Conn: 1 Mbps: 2861.279 Peak Mbps: 2861.279 Avg Mbps: 2861.279 --- fc00:0:0:1::11 tcpbench statistics --- 2125227444 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2798.774/2831.543/2861.279/19.908 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.037 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.037/0.037/0.037/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.043 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.043/0.043/0.043/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 908100168 7264.801 100.00% Conn: 1 Mbps: 7264.801 Peak Mbps: 7264.801 Avg Mbps: 7264.801 2000 908019080 7271.424 100.00% Conn: 1 Mbps: 7271.424 Peak Mbps: 7271.424 Avg Mbps: 7271.424 3000 909787088 7278.297 100.00% Conn: 1 Mbps: 7278.297 Peak Mbps: 7278.297 Avg Mbps: 7278.297 4000 907657080 7261.257 100.00% Conn: 1 Mbps: 7261.257 Peak Mbps: 7278.297 Avg Mbps: 7261.257 5000 907542688 7260.342 100.00% Conn: 1 Mbps: 7260.342 Peak Mbps: 7278.297 Avg Mbps: 7260.342 --- 169.254.1.12 tcpbench statistics --- 5448372224 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7260.342/7267.224/7278.297/6.769 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 926503536 7412.028 100.00% Conn: 1 Mbps: 7412.028 Peak Mbps: 7412.028 Avg Mbps: 7412.028 2000 924564312 7403.918 100.00% Conn: 1 Mbps: 7403.918 Peak Mbps: 7412.028 Avg Mbps: 7403.918 3000 922812156 7382.497 100.00% Conn: 1 Mbps: 7382.497 Peak Mbps: 7412.028 Avg Mbps: 7382.497 4000 922353768 7378.830 100.00% Conn: 1 Mbps: 7378.830 Peak Mbps: 7412.028 Avg Mbps: 7378.830 5000 923764632 7390.117 100.00% Conn: 1 Mbps: 7390.117 Peak Mbps: 7412.028 Avg Mbps: 7390.117 --- fc00:0:0:1::12 tcpbench statistics --- 5543267520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7378.830/7393.478/7412.028/12.646 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.042 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.042/0.042/0.042/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.045 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/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 1257930242 10063.442 100.00% Conn: 1 Mbps: 10063.442 Peak Mbps: 10063.442 Avg Mbps: 10063.442 2000 1257537608 10070.371 100.00% Conn: 1 Mbps: 10070.371 Peak Mbps: 10070.371 Avg Mbps: 10070.371 3000 1257308596 10058.469 100.00% Conn: 1 Mbps: 10058.469 Peak Mbps: 10070.371 Avg Mbps: 10058.469 4000 1256392548 10051.140 100.00% Conn: 1 Mbps: 10051.140 Peak Mbps: 10070.371 Avg Mbps: 10051.140 5000 1256719708 10053.758 100.00% Conn: 1 Mbps: 10053.758 Peak Mbps: 10070.371 Avg Mbps: 10053.758 --- 169.254.0.13 tcpbench statistics --- 7543099150 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10051.140/10059.436/10070.371/6.894 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 1249870204 9998.962 100.00% Conn: 1 Mbps: 9998.962 Peak Mbps: 9998.962 Avg Mbps: 9998.962 2000 1258599824 10078.877 100.00% Conn: 1 Mbps: 10078.877 Peak Mbps: 10078.877 Avg Mbps: 10078.877 3000 1258207472 10065.660 100.00% Conn: 1 Mbps: 10065.660 Peak Mbps: 10078.877 Avg Mbps: 10065.660 4000 1260463496 10083.708 100.00% Conn: 1 Mbps: 10083.708 Peak Mbps: 10083.708 Avg Mbps: 10083.708 5000 1259417224 10075.338 100.00% Conn: 1 Mbps: 10075.338 Peak Mbps: 10083.708 Avg Mbps: 10075.338 --- fc00::13 tcpbench statistics --- 7543490548 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9998.962/10060.509/10083.708/31.337 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.047 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.047/0.047/0.047/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.053 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.053/0.053/0.053/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 377281184 3015.234 100.00% Conn: 1 Mbps: 3015.234 Peak Mbps: 3015.234 Avg Mbps: 3015.234 2001 381874808 3058.057 100.00% Conn: 1 Mbps: 3058.057 Peak Mbps: 3058.057 Avg Mbps: 3058.057 3001 380204368 3041.635 100.00% Conn: 1 Mbps: 3041.635 Peak Mbps: 3058.057 Avg Mbps: 3041.635 4002 379322368 3034.579 100.00% Conn: 1 Mbps: 3034.579 Peak Mbps: 3058.057 Avg Mbps: 3034.579 5002 376176640 3009.413 100.00% Conn: 1 Mbps: 3009.413 Peak Mbps: 3058.057 Avg Mbps: 3009.413 --- 169.254.1.11 tcpbench statistics --- 2275754600 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 3009.413/3031.784/3058.057/17.717 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: <UP,GATEWAY,HOST,DYNAMIC,DONE> ==== 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 860011712 6880.094 100.00% Conn: 1 Mbps: 6880.094 Peak Mbps: 6880.094 Avg Mbps: 6880.094 2000 920854152 7374.207 100.00% Conn: 1 Mbps: 7374.207 Peak Mbps: 7374.207 Avg Mbps: 7374.207 3000 891016488 7128.132 100.00% Conn: 1 Mbps: 7128.132 Peak Mbps: 7374.207 Avg Mbps: 7128.132 4000 898422616 7187.381 100.00% Conn: 1 Mbps: 7187.381 Peak Mbps: 7374.207 Avg Mbps: 7187.381 5000 910246512 7281.972 100.00% Conn: 1 Mbps: 7281.972 Peak Mbps: 7374.207 Avg Mbps: 7281.972 --- fc00:0:0:1::11 tcpbench statistics --- 5396867488 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6880.094/7170.357/7374.207/167.534 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: <UP,GATEWAY,DONE,STATIC> 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.042 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.042/0.042/0.042/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.046 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.046/0.046/0.046/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 1259113114 10072.905 100.00% Conn: 1 Mbps: 10072.905 Peak Mbps: 10072.905 Avg Mbps: 10072.905 2000 1262641304 10111.242 100.00% Conn: 1 Mbps: 10111.242 Peak Mbps: 10111.242 Avg Mbps: 10111.242 3000 1262150564 10097.205 100.00% Conn: 1 Mbps: 10097.205 Peak Mbps: 10111.242 Avg Mbps: 10097.205 4000 1261234516 10089.876 100.00% Conn: 1 Mbps: 10089.876 Peak Mbps: 10111.242 Avg Mbps: 10089.876 5000 1262445008 10099.560 100.00% Conn: 1 Mbps: 10099.560 Peak Mbps: 10111.242 Avg Mbps: 10099.560 --- 169.254.1.12 tcpbench statistics --- 7567935690 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10072.905/10094.157/10111.242/12.652 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 1255794628 10046.357 100.00% Conn: 1 Mbps: 10046.357 Peak Mbps: 10046.357 Avg Mbps: 10046.357 2000 1258240168 10075.997 100.00% Conn: 1 Mbps: 10075.997 Peak Mbps: 10075.997 Avg Mbps: 10075.997 3000 1261084720 10088.678 100.00% Conn: 1 Mbps: 10088.678 Peak Mbps: 10088.678 Avg Mbps: 10088.678 4000 1261804032 10094.432 100.00% Conn: 1 Mbps: 10094.432 Peak Mbps: 10094.432 Avg Mbps: 10094.432 5000 1262523344 10100.187 100.00% Conn: 1 Mbps: 10100.187 Peak Mbps: 10100.187 Avg Mbps: 10100.187 --- fc00:0:0:1::12 tcpbench statistics --- 7558340980 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10046.357/10081.130/10100.187/19.145 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.038 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.038/0.038/0.038/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.044 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/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 1268196696 10145.574 100.00% Conn: 1 Mbps: 10145.574 Peak Mbps: 10145.574 Avg Mbps: 10145.574 2000 1272537894 10190.494 100.00% Conn: 1 Mbps: 10190.494 Peak Mbps: 10190.494 Avg Mbps: 10190.494 3000 1274909804 10199.278 100.00% Conn: 1 Mbps: 10199.278 Peak Mbps: 10199.278 Avg Mbps: 10199.278 4000 1276545604 10212.365 100.00% Conn: 1 Mbps: 10212.365 Peak Mbps: 10212.365 Avg Mbps: 10212.365 5000 1273241288 10185.930 100.00% Conn: 1 Mbps: 10185.930 Peak Mbps: 10212.365 Avg Mbps: 10185.930 --- 169.254.0.13 tcpbench statistics --- 7639130598 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10145.574/10186.728/10212.365/22.464 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 1283569124 10268.553 100.00% Conn: 1 Mbps: 10268.553 Peak Mbps: 10268.553 Avg Mbps: 10268.553 2000 1285933680 10297.767 100.00% Conn: 1 Mbps: 10297.767 Peak Mbps: 10297.767 Avg Mbps: 10297.767 3000 1288287792 10306.302 100.00% Conn: 1 Mbps: 10306.302 Peak Mbps: 10306.302 Avg Mbps: 10306.302 4000 1288614752 10308.918 100.00% Conn: 1 Mbps: 10308.918 Peak Mbps: 10308.918 Avg Mbps: 10308.918 5000 1284364272 10274.914 100.00% Conn: 1 Mbps: 10274.914 Peak Mbps: 10308.918 Avg Mbps: 10274.914 --- fc00::13 tcpbench statistics --- 7718697756 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10268.553/10291.291/10308.918/16.512 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 1m51.89s