START sys/net/pair 2025-02-13T20:28:42Z ==== 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.040 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.040/0.040/0.040/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.040 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.040/0.040/0.040/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 924566996 7396.536 100.00% Conn: 1 Mbps: 7396.536 Peak Mbps: 7396.536 Avg Mbps: 7396.536 2000 929860364 7446.329 100.00% Conn: 1 Mbps: 7446.329 Peak Mbps: 7446.329 Avg Mbps: 7446.329 3000 928445620 7427.565 100.00% Conn: 1 Mbps: 7427.565 Peak Mbps: 7446.329 Avg Mbps: 7427.565 4000 928469464 7427.756 100.00% Conn: 1 Mbps: 7427.756 Peak Mbps: 7446.329 Avg Mbps: 7427.756 5000 927674664 7421.397 100.00% Conn: 1 Mbps: 7421.397 Peak Mbps: 7446.329 Avg Mbps: 7421.397 --- 169.254.1.11 tcpbench statistics --- 5566564604 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7396.536/7423.917/7446.329/16.040 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 943416144 7547.329 100.00% Conn: 1 Mbps: 7547.329 Peak Mbps: 7547.329 Avg Mbps: 7547.329 2000 943455784 7555.201 100.00% Conn: 1 Mbps: 7555.201 Peak Mbps: 7555.201 Avg Mbps: 7555.201 3000 944613272 7556.906 100.00% Conn: 1 Mbps: 7556.906 Peak Mbps: 7556.906 Avg Mbps: 7556.906 4000 942655056 7541.240 100.00% Conn: 1 Mbps: 7541.240 Peak Mbps: 7556.906 Avg Mbps: 7541.240 5000 945247512 7561.980 100.00% Conn: 1 Mbps: 7561.980 Peak Mbps: 7561.980 Avg Mbps: 7561.980 --- fc00:0:0:1::11 tcpbench statistics --- 5662336160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7541.240/7552.531/7561.980/7.350 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.063 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.063/0.063/0.063/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.117 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.117/0.117/0.117/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 373519264 2988.154 100.00% Conn: 1 Mbps: 2988.154 Peak Mbps: 2988.154 Avg Mbps: 2988.154 2000 382205952 3060.708 100.00% Conn: 1 Mbps: 3060.708 Peak Mbps: 3060.708 Avg Mbps: 3060.708 3001 386138112 3089.105 100.00% Conn: 1 Mbps: 3089.105 Peak Mbps: 3089.105 Avg Mbps: 3089.105 4001 384827392 3078.619 100.00% Conn: 1 Mbps: 3078.619 Peak Mbps: 3089.105 Avg Mbps: 3078.619 5002 388759552 3110.076 100.00% Conn: 1 Mbps: 3110.076 Peak Mbps: 3110.076 Avg Mbps: 3110.076 --- 169.254.1.12 tcpbench statistics --- 2305782688 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2988.154/3065.333/3110.076/41.765 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 354651760 2834.380 100.00% Conn: 1 Mbps: 2834.380 Peak Mbps: 2834.380 Avg Mbps: 2834.380 2001 370671616 2968.341 100.00% Conn: 1 Mbps: 2968.341 Peak Mbps: 2968.341 Avg Mbps: 2968.341 3001 371114620 2968.917 100.00% Conn: 1 Mbps: 2968.917 Peak Mbps: 2968.917 Avg Mbps: 2968.917 4002 369360896 2954.887 100.00% Conn: 1 Mbps: 2954.887 Peak Mbps: 2968.917 Avg Mbps: 2954.887 5002 367525888 2940.207 100.00% Conn: 1 Mbps: 2940.207 Peak Mbps: 2968.917 Avg Mbps: 2940.207 --- fc00:0:0:1::12 tcpbench statistics --- 2200850668 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2834.380/2933.346/2968.917/50.587 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.061 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.061/0.061/0.061/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.059 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.059/0.059/0.059/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 748947708 5991.582 100.00% Conn: 1 Mbps: 5991.582 Peak Mbps: 5991.582 Avg Mbps: 5991.582 2001 793432104 6347.457 100.00% Conn: 1 Mbps: 6347.457 Peak Mbps: 6347.457 Avg Mbps: 6347.457 3001 787547172 6300.377 100.00% Conn: 1 Mbps: 6300.377 Peak Mbps: 6347.457 Avg Mbps: 6300.377 4001 793417188 6353.691 100.00% Conn: 1 Mbps: 6353.691 Peak Mbps: 6353.691 Avg Mbps: 6353.691 5001 794529348 6356.235 100.00% Conn: 1 Mbps: 6356.235 Peak Mbps: 6356.235 Avg Mbps: 6356.235 --- 169.254.0.13 tcpbench statistics --- 4715392016 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5991.582/6269.868/6356.235/140.627 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 666142696 5329.142 100.00% Conn: 1 Mbps: 5329.142 Peak Mbps: 5329.142 Avg Mbps: 5329.142 2000 708351464 5672.484 100.00% Conn: 1 Mbps: 5672.484 Peak Mbps: 5672.484 Avg Mbps: 5672.484 3000 704600480 5636.804 100.00% Conn: 1 Mbps: 5636.804 Peak Mbps: 5672.484 Avg Mbps: 5636.804 4001 705418104 5643.345 100.00% Conn: 1 Mbps: 5643.345 Peak Mbps: 5672.484 Avg Mbps: 5643.345 5001 702857360 5628.487 100.00% Conn: 1 Mbps: 5628.487 Peak Mbps: 5672.484 Avg Mbps: 5628.487 --- fc00::13 tcpbench statistics --- 4191432000 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5329.142/5582.052/5672.484/127.320 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.040 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.040/0.040/0.040/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.044 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.044/0.044/0.044/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 1001 374154248 2990.244 100.00% Conn: 1 Mbps: 2990.244 Peak Mbps: 2990.244 Avg Mbps: 2990.244 2001 382205952 3057.648 100.00% Conn: 1 Mbps: 3057.648 Peak Mbps: 3057.648 Avg Mbps: 3057.648 3002 381390224 3051.122 100.00% Conn: 1 Mbps: 3051.122 Peak Mbps: 3057.648 Avg Mbps: 3051.122 4002 387321200 3098.570 100.00% Conn: 1 Mbps: 3098.570 Peak Mbps: 3098.570 Avg Mbps: 3098.570 5002 379846656 3038.773 100.00% Conn: 1 Mbps: 3038.773 Peak Mbps: 3098.570 Avg Mbps: 3038.773 --- 169.254.1.11 tcpbench statistics --- 2286862088 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2990.244/3047.271/3098.570/34.867 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 356283272 2847.419 100.00% Conn: 1 Mbps: 2847.419 Peak Mbps: 2847.419 Avg Mbps: 2847.419 2001 362231416 2897.851 100.00% Conn: 1 Mbps: 2897.851 Peak Mbps: 2897.851 Avg Mbps: 2897.851 3001 362020864 2899.066 100.00% Conn: 1 Mbps: 2899.066 Peak Mbps: 2899.066 Avg Mbps: 2899.066 4001 363593728 2908.750 100.00% Conn: 1 Mbps: 2908.750 Peak Mbps: 2908.750 Avg Mbps: 2908.750 5002 366477312 2931.818 100.00% Conn: 1 Mbps: 2931.818 Peak Mbps: 2931.818 Avg Mbps: 2931.818 --- fc00:0:0:1::11 tcpbench statistics --- 2175248896 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2847.419/2896.981/2931.818/27.618 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.035 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.035/0.035/0.035/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.038 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.038/0.038/0.038/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 918123224 7344.986 100.00% Conn: 1 Mbps: 7344.986 Peak Mbps: 7344.986 Avg Mbps: 7344.986 2000 920079472 7368.004 100.00% Conn: 1 Mbps: 7368.004 Peak Mbps: 7368.004 Avg Mbps: 7368.004 3000 920290880 7362.327 100.00% Conn: 1 Mbps: 7362.327 Peak Mbps: 7368.004 Avg Mbps: 7362.327 4000 918307120 7346.457 100.00% Conn: 1 Mbps: 7346.457 Peak Mbps: 7368.004 Avg Mbps: 7346.457 5000 918732832 7349.863 100.00% Conn: 1 Mbps: 7349.863 Peak Mbps: 7368.004 Avg Mbps: 7349.863 --- 169.254.1.12 tcpbench statistics --- 5514558856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7344.986/7354.327/7368.004/9.167 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 935220048 7481.760 100.00% Conn: 1 Mbps: 7481.760 Peak Mbps: 7481.760 Avg Mbps: 7481.760 2000 934134768 7480.559 100.00% Conn: 1 Mbps: 7480.559 Peak Mbps: 7481.760 Avg Mbps: 7480.559 3000 932773884 7462.191 100.00% Conn: 1 Mbps: 7462.191 Peak Mbps: 7481.760 Avg Mbps: 7462.191 4000 932902404 7463.219 100.00% Conn: 1 Mbps: 7463.219 Peak Mbps: 7481.760 Avg Mbps: 7463.219 5000 933019500 7464.156 100.00% Conn: 1 Mbps: 7464.156 Peak Mbps: 7481.760 Avg Mbps: 7464.156 --- fc00:0:0:1::12 tcpbench statistics --- 5599874868 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7462.191/7470.377/7481.760/8.834 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.040 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.040/0.040/0.040/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.041 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.041/0.041/0.041/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 1267212354 10137.699 100.00% Conn: 1 Mbps: 10137.699 Peak Mbps: 10137.699 Avg Mbps: 10137.699 2000 1270133268 10171.237 100.00% Conn: 1 Mbps: 10171.237 Peak Mbps: 10171.237 Avg Mbps: 10171.237 3000 1270754872 10166.039 100.00% Conn: 1 Mbps: 10166.039 Peak Mbps: 10171.237 Avg Mbps: 10166.039 4000 1269315368 10154.523 100.00% Conn: 1 Mbps: 10154.523 Peak Mbps: 10171.237 Avg Mbps: 10154.523 5000 1270460428 10163.683 100.00% Conn: 1 Mbps: 10163.683 Peak Mbps: 10171.237 Avg Mbps: 10163.683 --- 169.254.0.13 tcpbench statistics --- 7617813262 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10137.699/10158.636/10171.237/11.784 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 1270415572 10163.325 100.00% Conn: 1 Mbps: 10163.325 Peak Mbps: 10163.325 Avg Mbps: 10163.325 2000 1277563504 10230.739 100.00% Conn: 1 Mbps: 10230.739 Peak Mbps: 10230.739 Avg Mbps: 10230.739 3000 1275536352 10204.291 100.00% Conn: 1 Mbps: 10204.291 Peak Mbps: 10230.739 Avg Mbps: 10204.291 4000 1275274784 10202.198 100.00% Conn: 1 Mbps: 10202.198 Peak Mbps: 10230.739 Avg Mbps: 10202.198 5000 1275045912 10200.367 100.00% Conn: 1 Mbps: 10200.367 Peak Mbps: 10230.739 Avg Mbps: 10200.367 --- fc00::13 tcpbench statistics --- 7649961004 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10163.325/10200.184/10230.739/21.509 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.043 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.043/0.043/0.043/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.050 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.050/0.050/0.050/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 377991216 3020.909 100.00% Conn: 1 Mbps: 3020.909 Peak Mbps: 3020.909 Avg Mbps: 3020.909 2001 386138112 3089.105 100.00% Conn: 1 Mbps: 3089.105 Peak Mbps: 3089.105 Avg Mbps: 3089.105 3002 388497408 3107.979 100.00% Conn: 1 Mbps: 3107.979 Peak Mbps: 3107.979 Avg Mbps: 3107.979 4002 387448832 3099.591 100.00% Conn: 1 Mbps: 3099.591 Peak Mbps: 3107.979 Avg Mbps: 3099.591 5002 383516672 3068.133 100.00% Conn: 1 Mbps: 3068.133 Peak Mbps: 3107.979 Avg Mbps: 3068.133 --- 169.254.1.11 tcpbench statistics --- 2307108912 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3020.909/3077.143/3107.979/31.117 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 842446704 6739.574 100.00% Conn: 1 Mbps: 6739.574 Peak Mbps: 6739.574 Avg Mbps: 6739.574 2000 895814008 7173.686 100.00% Conn: 1 Mbps: 7173.686 Peak Mbps: 7173.686 Avg Mbps: 7173.686 3000 899036296 7192.290 100.00% Conn: 1 Mbps: 7192.290 Peak Mbps: 7192.290 Avg Mbps: 7192.290 4000 900202496 7201.620 100.00% Conn: 1 Mbps: 7201.620 Peak Mbps: 7201.620 Avg Mbps: 7201.620 5001 895221760 7161.774 100.00% Conn: 1 Mbps: 7161.774 Peak Mbps: 7201.620 Avg Mbps: 7161.774 --- fc00:0:0:1::11 tcpbench statistics --- 5338034752 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6739.574/7093.789/7201.620/177.654 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.040 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.040/0.040/0.040/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.041 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.041/0.041/0.041/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 1271174438 10169.396 100.00% Conn: 1 Mbps: 10169.396 Peak Mbps: 10169.396 Avg Mbps: 10169.396 2000 1272586968 10190.887 100.00% Conn: 1 Mbps: 10190.887 Peak Mbps: 10190.887 Avg Mbps: 10190.887 3000 1273208572 10185.669 100.00% Conn: 1 Mbps: 10185.669 Peak Mbps: 10190.887 Avg Mbps: 10185.669 4000 1272881412 10183.051 100.00% Conn: 1 Mbps: 10183.051 Peak Mbps: 10190.887 Avg Mbps: 10183.051 5000 1273601164 10188.809 100.00% Conn: 1 Mbps: 10188.809 Peak Mbps: 10190.887 Avg Mbps: 10188.809 --- 169.254.1.12 tcpbench statistics --- 7636464830 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10169.396/10183.562/10190.887/7.571 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 1269823228 10158.586 100.00% Conn: 1 Mbps: 10158.586 Peak Mbps: 10158.586 Avg Mbps: 10158.586 2000 1273639984 10199.319 100.00% Conn: 1 Mbps: 10199.319 Peak Mbps: 10199.319 Avg Mbps: 10199.319 3000 1275536352 10204.291 100.00% Conn: 1 Mbps: 10204.291 Peak Mbps: 10204.291 Avg Mbps: 10204.291 4000 1276778800 10214.230 100.00% Conn: 1 Mbps: 10214.230 Peak Mbps: 10214.230 Avg Mbps: 10214.230 5000 1279983008 10239.864 100.00% Conn: 1 Mbps: 10239.864 Peak Mbps: 10239.864 Avg Mbps: 10239.864 --- fc00:0:0:1::12 tcpbench statistics --- 7655809772 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10158.586/10203.258/10239.864/26.354 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.036 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.036/0.036/0.036/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.040 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.040/0.040/0.040/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 1264429456 10115.436 100.00% Conn: 1 Mbps: 10115.436 Peak Mbps: 10115.436 Avg Mbps: 10115.436 2000 1266567224 10142.680 100.00% Conn: 1 Mbps: 10142.680 Peak Mbps: 10142.680 Avg Mbps: 10142.680 3000 1271556414 10172.451 100.00% Conn: 1 Mbps: 10172.451 Peak Mbps: 10172.451 Avg Mbps: 10172.451 4000 1266256422 10130.051 100.00% Conn: 1 Mbps: 10130.051 Peak Mbps: 10172.451 Avg Mbps: 10130.051 5000 1264980498 10119.844 100.00% Conn: 1 Mbps: 10119.844 Peak Mbps: 10172.451 Avg Mbps: 10119.844 --- 169.254.0.13 tcpbench statistics --- 7601191496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10115.436/10136.093/10172.451/20.458 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 1291191972 10329.536 100.00% Conn: 1 Mbps: 10329.536 Peak Mbps: 10329.536 Avg Mbps: 10329.536 2000 1294369248 10365.319 100.00% Conn: 1 Mbps: 10365.319 Peak Mbps: 10365.319 Avg Mbps: 10365.319 3000 1295905960 10367.248 100.00% Conn: 1 Mbps: 10367.248 Peak Mbps: 10367.248 Avg Mbps: 10367.248 4000 1296527184 10372.217 100.00% Conn: 1 Mbps: 10372.217 Peak Mbps: 10372.217 Avg Mbps: 10372.217 5000 1299077472 10392.620 100.00% Conn: 1 Mbps: 10392.620 Peak Mbps: 10392.620 Avg Mbps: 10392.620 --- fc00::13 tcpbench statistics --- 7772977796 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10329.536/10365.388/10392.620/20.382 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.82s