START sys/net/pair 2024-04-15T08:21: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.182 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.182/0.182/0.182/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.262 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.262/0.262/0.262/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 109467804 875.742 100.00% Conn: 1 Mbps: 875.742 Peak Mbps: 875.742 Avg Mbps: 875.742 2000 109022716 872.182 100.00% Conn: 1 Mbps: 872.182 Peak Mbps: 875.742 Avg Mbps: 872.182 3000 108982976 872.737 100.00% Conn: 1 Mbps: 872.737 Peak Mbps: 875.742 Avg Mbps: 872.737 4000 108824016 870.592 100.00% Conn: 1 Mbps: 870.592 Peak Mbps: 875.742 Avg Mbps: 870.592 5001 108776328 870.211 100.00% Conn: 1 Mbps: 870.211 Peak Mbps: 875.742 Avg Mbps: 870.211 --- 169.254.1.11 tcpbench statistics --- 653929648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 870.211/872.293/875.742/1.967 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 109279552 874.236 100.00% Conn: 1 Mbps: 874.236 Peak Mbps: 874.236 Avg Mbps: 874.236 2000 108891080 872.001 100.00% Conn: 1 Mbps: 872.001 Peak Mbps: 874.236 Avg Mbps: 872.001 3000 108645312 869.162 100.00% Conn: 1 Mbps: 869.162 Peak Mbps: 874.236 Avg Mbps: 869.162 4000 108653240 869.226 100.00% Conn: 1 Mbps: 869.226 Peak Mbps: 874.236 Avg Mbps: 869.226 5000 108827656 870.621 100.00% Conn: 1 Mbps: 870.621 Peak Mbps: 874.236 Avg Mbps: 870.621 --- fc00:0:0:1::11 tcpbench statistics --- 652902512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 869.162/871.049/874.236/1.904 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.333 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.333/0.333/0.333/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.709 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.709/0.709/0.709/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 39863440 318.908 100.00% Conn: 1 Mbps: 318.908 Peak Mbps: 318.908 Avg Mbps: 318.908 2000 40144352 321.155 100.00% Conn: 1 Mbps: 321.155 Peak Mbps: 321.155 Avg Mbps: 321.155 3002 40318112 322.223 100.00% Conn: 1 Mbps: 322.223 Peak Mbps: 322.223 Avg Mbps: 322.223 4004 40264536 321.794 100.00% Conn: 1 Mbps: 321.794 Peak Mbps: 322.223 Avg Mbps: 321.794 5005 40229784 321.517 100.00% Conn: 1 Mbps: 321.517 Peak Mbps: 322.223 Avg Mbps: 321.517 --- 169.254.1.12 tcpbench statistics --- 240449088 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 318.908/321.119/322.223/1.160 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 38750208 309.692 100.00% Conn: 1 Mbps: 309.692 Peak Mbps: 309.692 Avg Mbps: 309.692 2000 38707368 309.969 100.00% Conn: 1 Mbps: 309.969 Peak Mbps: 309.969 Avg Mbps: 309.969 3001 38790192 310.322 100.00% Conn: 1 Mbps: 310.322 Peak Mbps: 310.322 Avg Mbps: 310.322 4002 38908716 310.959 100.00% Conn: 1 Mbps: 310.959 Peak Mbps: 310.959 Avg Mbps: 310.959 5002 38744496 310.266 100.00% Conn: 1 Mbps: 310.266 Peak Mbps: 310.959 Avg Mbps: 310.266 --- fc00:0:0:1::12 tcpbench statistics --- 232624056 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 309.692/310.241/310.959/0.424 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.297 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.297/0.297/0.297/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.371 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.371/0.371/0.371/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 60563760 484.510 100.00% Conn: 1 Mbps: 484.510 Peak Mbps: 484.510 Avg Mbps: 484.510 2000 59689480 477.516 100.00% Conn: 1 Mbps: 477.516 Peak Mbps: 484.510 Avg Mbps: 477.516 3000 59554364 476.435 100.00% Conn: 1 Mbps: 476.435 Peak Mbps: 484.510 Avg Mbps: 476.435 4000 59292080 474.337 100.00% Conn: 1 Mbps: 474.337 Peak Mbps: 484.510 Avg Mbps: 474.337 5000 59411300 475.290 100.00% Conn: 1 Mbps: 475.290 Peak Mbps: 484.510 Avg Mbps: 475.290 --- 169.254.0.13 tcpbench statistics --- 357739480 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 474.337/477.618/484.510/3.608 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 58310440 466.484 100.00% Conn: 1 Mbps: 466.484 Peak Mbps: 466.484 Avg Mbps: 466.484 2000 58009176 464.538 100.00% Conn: 1 Mbps: 464.538 Peak Mbps: 466.484 Avg Mbps: 464.538 3001 58159808 465.278 100.00% Conn: 1 Mbps: 465.278 Peak Mbps: 466.484 Avg Mbps: 465.278 4001 57826832 463.078 100.00% Conn: 1 Mbps: 463.078 Peak Mbps: 466.484 Avg Mbps: 463.078 5001 58413504 467.308 100.00% Conn: 1 Mbps: 467.308 Peak Mbps: 467.308 Avg Mbps: 467.308 --- fc00::13 tcpbench statistics --- 349077768 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 463.078/465.337/467.308/1.480 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.210 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.210/0.210/0.210/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.308 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.308/0.308/0.308/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 40168968 320.710 100.00% Conn: 1 Mbps: 320.710 Peak Mbps: 320.710 Avg Mbps: 320.710 2002 40242816 322.265 100.00% Conn: 1 Mbps: 322.265 Peak Mbps: 322.265 Avg Mbps: 322.265 3004 40404992 322.917 100.00% Conn: 1 Mbps: 322.917 Peak Mbps: 322.917 Avg Mbps: 322.917 4006 40393408 322.502 100.00% Conn: 1 Mbps: 322.502 Peak Mbps: 322.917 Avg Mbps: 322.502 5007 40309424 322.475 100.00% Conn: 1 Mbps: 322.475 Peak Mbps: 322.917 Avg Mbps: 322.475 --- 169.254.1.11 tcpbench statistics --- 241484408 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 320.710/322.174/322.917/0.762 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 38717364 309.121 100.00% Conn: 1 Mbps: 309.121 Peak Mbps: 309.121 Avg Mbps: 309.121 2004 38897292 310.867 100.00% Conn: 1 Mbps: 310.867 Peak Mbps: 310.867 Avg Mbps: 310.867 3005 38878728 310.719 100.00% Conn: 1 Mbps: 310.719 Peak Mbps: 310.867 Avg Mbps: 310.719 4006 38708796 309.361 100.00% Conn: 1 Mbps: 309.361 Peak Mbps: 310.867 Avg Mbps: 309.361 5008 38915856 310.705 100.00% Conn: 1 Mbps: 310.705 Peak Mbps: 310.867 Avg Mbps: 310.705 --- fc00:0:0:1::11 tcpbench statistics --- 232442700 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 309.121/310.155/310.867/0.752 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.184 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.184/0.184/0.184/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.264 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.264/0.264/0.264/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 105065432 840.523 100.00% Conn: 1 Mbps: 840.523 Peak Mbps: 840.523 Avg Mbps: 840.523 2000 105153760 842.072 100.00% Conn: 1 Mbps: 842.072 Peak Mbps: 842.072 Avg Mbps: 842.072 3000 104907600 839.261 100.00% Conn: 1 Mbps: 839.261 Peak Mbps: 842.072 Avg Mbps: 839.261 4000 104659992 837.280 100.00% Conn: 1 Mbps: 837.280 Peak Mbps: 842.072 Avg Mbps: 837.280 5000 105023440 840.188 100.00% Conn: 1 Mbps: 840.188 Peak Mbps: 842.072 Avg Mbps: 840.188 --- 169.254.1.12 tcpbench statistics --- 629586056 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 837.280/839.865/842.072/1.578 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 102870264 822.962 100.00% Conn: 1 Mbps: 822.962 Peak Mbps: 822.962 Avg Mbps: 822.962 2000 103268676 826.149 100.00% Conn: 1 Mbps: 826.149 Peak Mbps: 826.149 Avg Mbps: 826.149 3000 103432896 827.463 100.00% Conn: 1 Mbps: 827.463 Peak Mbps: 827.463 Avg Mbps: 827.463 4000 102990216 824.746 100.00% Conn: 1 Mbps: 824.746 Peak Mbps: 827.463 Avg Mbps: 824.746 5001 103401480 827.212 100.00% Conn: 1 Mbps: 827.212 Peak Mbps: 827.463 Avg Mbps: 827.212 --- fc00:0:0:1::12 tcpbench statistics --- 619180800 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 822.962/825.707/827.463/1.673 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.215 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.215/0.215/0.215/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.282 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.282/0.282/0.282/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 173902478 1391.220 100.00% Conn: 1 Mbps: 1391.220 Peak Mbps: 1391.220 Avg Mbps: 1391.220 2000 172527730 1381.603 100.00% Conn: 1 Mbps: 1381.603 Peak Mbps: 1391.220 Avg Mbps: 1381.603 3000 172069706 1376.558 100.00% Conn: 1 Mbps: 1376.558 Peak Mbps: 1391.220 Avg Mbps: 1376.558 4000 172364162 1378.913 100.00% Conn: 1 Mbps: 1378.913 Peak Mbps: 1391.220 Avg Mbps: 1378.913 5000 172151496 1377.212 100.00% Conn: 1 Mbps: 1377.212 Peak Mbps: 1391.220 Avg Mbps: 1377.212 --- 169.254.0.13 tcpbench statistics --- 1034938044 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1376.558/1381.101/1391.220/5.352 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 172504452 1380.036 100.00% Conn: 1 Mbps: 1380.036 Peak Mbps: 1380.036 Avg Mbps: 1380.036 2000 170542336 1365.704 100.00% Conn: 1 Mbps: 1365.704 Peak Mbps: 1380.036 Avg Mbps: 1365.704 3000 170509640 1364.077 100.00% Conn: 1 Mbps: 1364.077 Peak Mbps: 1380.036 Avg Mbps: 1364.077 4000 170542336 1364.339 100.00% Conn: 1 Mbps: 1364.339 Peak Mbps: 1380.036 Avg Mbps: 1364.339 5000 170640424 1365.123 100.00% Conn: 1 Mbps: 1365.123 Peak Mbps: 1380.036 Avg Mbps: 1365.123 --- fc00::13 tcpbench statistics --- 1025412308 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1364.077/1367.856/1380.036/6.117 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.244 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.244/0.244/0.244/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.323 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.323/0.323/0.323/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 1000 39295824 314.367 100.00% Conn: 1 Mbps: 314.367 Peak Mbps: 314.367 Avg Mbps: 314.367 2000 39866336 318.931 100.00% Conn: 1 Mbps: 318.931 Peak Mbps: 318.931 Avg Mbps: 318.931 3001 39908328 318.948 100.00% Conn: 1 Mbps: 318.948 Peak Mbps: 318.948 Avg Mbps: 318.948 4003 39993760 319.311 100.00% Conn: 1 Mbps: 319.311 Peak Mbps: 319.311 Avg Mbps: 319.311 5003 39973488 319.788 100.00% Conn: 1 Mbps: 319.788 Peak Mbps: 319.788 Avg Mbps: 319.788 --- 169.254.1.11 tcpbench statistics --- 238834568 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 314.367/318.269/319.788/1.976 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 64812936 517.469 100.00% Conn: 1 Mbps: 517.469 Peak Mbps: 517.469 Avg Mbps: 517.469 2001 64040160 513.348 100.00% Conn: 1 Mbps: 513.348 Peak Mbps: 517.469 Avg Mbps: 513.348 3001 63851048 510.808 100.00% Conn: 1 Mbps: 510.808 Peak Mbps: 517.469 Avg Mbps: 510.808 4003 63590504 508.216 100.00% Conn: 1 Mbps: 508.216 Peak Mbps: 517.469 Avg Mbps: 508.216 5005 64382840 514.548 100.00% Conn: 1 Mbps: 514.548 Peak Mbps: 517.469 Avg Mbps: 514.548 --- fc00:0:0:1::11 tcpbench statistics --- 383670920 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 508.216/512.878/517.469/3.166 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.219 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.219/0.219/0.219/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.281 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.281/0.281/0.281/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 174131776 1393.054 100.00% Conn: 1 Mbps: 1393.054 Peak Mbps: 1393.054 Avg Mbps: 1393.054 2000 172674976 1382.783 100.00% Conn: 1 Mbps: 1382.783 Peak Mbps: 1393.054 Avg Mbps: 1382.783 3000 172625878 1381.007 100.00% Conn: 1 Mbps: 1381.007 Peak Mbps: 1393.054 Avg Mbps: 1381.007 4000 172642236 1381.138 100.00% Conn: 1 Mbps: 1381.138 Peak Mbps: 1393.054 Avg Mbps: 1381.138 5000 172773124 1382.185 100.00% Conn: 1 Mbps: 1382.185 Peak Mbps: 1393.054 Avg Mbps: 1382.185 --- 169.254.1.12 tcpbench statistics --- 1037261202 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1381.007/1384.033/1393.054/4.558 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 173108972 1384.872 100.00% Conn: 1 Mbps: 1384.872 Peak Mbps: 1384.872 Avg Mbps: 1384.872 2000 170967384 1369.108 100.00% Conn: 1 Mbps: 1369.108 Peak Mbps: 1384.872 Avg Mbps: 1369.108 3000 170934688 1367.478 100.00% Conn: 1 Mbps: 1367.478 Peak Mbps: 1384.872 Avg Mbps: 1367.478 4000 170901992 1367.216 100.00% Conn: 1 Mbps: 1367.216 Peak Mbps: 1384.872 Avg Mbps: 1367.216 5000 170934688 1367.478 100.00% Conn: 1 Mbps: 1367.478 Peak Mbps: 1384.872 Avg Mbps: 1367.478 --- fc00:0:0:1::12 tcpbench statistics --- 1027586236 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1367.216/1371.230/1384.872/6.854 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.182 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.182/0.182/0.182/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.256 ms --- fc00::13 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-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 176340250 1410.722 100.00% Conn: 1 Mbps: 1410.722 Peak Mbps: 1410.722 Avg Mbps: 1410.722 2000 175063208 1401.908 100.00% Conn: 1 Mbps: 1401.908 Peak Mbps: 1410.722 Avg Mbps: 1401.908 3000 175030504 1400.244 100.00% Conn: 1 Mbps: 1400.244 Peak Mbps: 1410.722 Avg Mbps: 1400.244 4000 174637900 1397.103 100.00% Conn: 1 Mbps: 1397.103 Peak Mbps: 1410.722 Avg Mbps: 1397.103 5000 174965072 1399.721 100.00% Conn: 1 Mbps: 1399.721 Peak Mbps: 1410.722 Avg Mbps: 1399.721 --- 169.254.0.13 tcpbench statistics --- 1050871130 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1397.103/1401.939/1410.722/4.654 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 175333308 1402.666 100.00% Conn: 1 Mbps: 1402.666 Peak Mbps: 1402.666 Avg Mbps: 1402.666 2000 173746544 1391.364 100.00% Conn: 1 Mbps: 1391.364 Peak Mbps: 1402.666 Avg Mbps: 1391.364 3000 173713848 1389.711 100.00% Conn: 1 Mbps: 1389.711 Peak Mbps: 1402.666 Avg Mbps: 1389.711 4000 173550368 1388.403 100.00% Conn: 1 Mbps: 1388.403 Peak Mbps: 1402.666 Avg Mbps: 1388.403 5000 172863752 1382.910 100.00% Conn: 1 Mbps: 1382.910 Peak Mbps: 1402.666 Avg Mbps: 1382.910 --- fc00::13 tcpbench statistics --- 1042921668 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1382.910/1391.011/1402.666/6.482 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 1m59.61s