START sys/net/pair 2025-01-13T02:50:06Z ==== 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 897138448 7177.108 100.00% Conn: 1 Mbps: 7177.108 Peak Mbps: 7177.108 Avg Mbps: 7177.108 2000 888777152 7117.335 100.00% Conn: 1 Mbps: 7117.335 Peak Mbps: 7177.108 Avg Mbps: 7117.335 3000 889571952 7116.576 100.00% Conn: 1 Mbps: 7116.576 Peak Mbps: 7177.108 Avg Mbps: 7116.576 4000 891765600 7134.125 100.00% Conn: 1 Mbps: 7134.125 Peak Mbps: 7177.108 Avg Mbps: 7134.125 5000 890207792 7121.662 100.00% Conn: 1 Mbps: 7121.662 Peak Mbps: 7177.108 Avg Mbps: 7121.662 --- 169.254.1.11 tcpbench statistics --- 5347390556 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7116.576/7133.361/7177.108/22.759 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 914629576 7317.037 100.00% Conn: 1 Mbps: 7317.037 Peak Mbps: 7317.037 Avg Mbps: 7317.037 2000 915081472 7327.980 100.00% Conn: 1 Mbps: 7327.980 Peak Mbps: 7327.980 Avg Mbps: 7327.980 3000 915025976 7320.208 100.00% Conn: 1 Mbps: 7320.208 Peak Mbps: 7327.980 Avg Mbps: 7320.208 4000 912853704 7302.830 100.00% Conn: 1 Mbps: 7302.830 Peak Mbps: 7327.980 Avg Mbps: 7302.830 5000 915271744 7322.174 100.00% Conn: 1 Mbps: 7322.174 Peak Mbps: 7327.980 Avg Mbps: 7322.174 --- fc00:0:0:1::11 tcpbench statistics --- 5487943944 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7302.830/7318.046/7327.980/8.402 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.064 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.064/0.064/0.064/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.124 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.124/0.124/0.124/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 362232176 2894.962 100.00% Conn: 1 Mbps: 2894.962 Peak Mbps: 2894.962 Avg Mbps: 2894.962 2001 372244480 2980.937 100.00% Conn: 1 Mbps: 2980.937 Peak Mbps: 2980.937 Avg Mbps: 2980.937 3001 371720192 2973.762 100.00% Conn: 1 Mbps: 2973.762 Peak Mbps: 2980.937 Avg Mbps: 2973.762 4002 372506624 2980.053 100.00% Conn: 1 Mbps: 2980.053 Peak Mbps: 2980.937 Avg Mbps: 2980.053 5002 373555200 2988.442 100.00% Conn: 1 Mbps: 2988.442 Peak Mbps: 2988.442 Avg Mbps: 2988.442 --- 169.254.1.12 tcpbench statistics --- 2224363224 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2894.962/2963.631/2988.442/34.649 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 349406324 2795.251 100.00% Conn: 1 Mbps: 2795.251 Peak Mbps: 2795.251 Avg Mbps: 2795.251 2000 360185856 2884.371 100.00% Conn: 1 Mbps: 2884.371 Peak Mbps: 2884.371 Avg Mbps: 2884.371 3001 358088704 2864.710 100.00% Conn: 1 Mbps: 2864.710 Peak Mbps: 2884.371 Avg Mbps: 2864.710 4001 358350848 2866.807 100.00% Conn: 1 Mbps: 2866.807 Peak Mbps: 2884.371 Avg Mbps: 2866.807 5001 360310864 2882.487 100.00% Conn: 1 Mbps: 2882.487 Peak Mbps: 2884.371 Avg Mbps: 2882.487 --- fc00:0:0:1::12 tcpbench statistics --- 2143644868 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2795.251/2858.725/2884.371/32.718 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.054 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.054/0.054/0.054/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.061 ms --- fc00::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-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 740133516 5921.068 100.00% Conn: 1 Mbps: 5921.068 Peak Mbps: 5921.068 Avg Mbps: 5921.068 2000 769230864 6153.847 100.00% Conn: 1 Mbps: 6153.847 Peak Mbps: 6153.847 Avg Mbps: 6153.847 3000 769167840 6153.343 100.00% Conn: 1 Mbps: 6153.343 Peak Mbps: 6153.847 Avg Mbps: 6153.343 4001 767769200 6142.154 100.00% Conn: 1 Mbps: 6142.154 Peak Mbps: 6153.847 Avg Mbps: 6142.154 5001 776201680 6209.613 100.00% Conn: 1 Mbps: 6209.613 Peak Mbps: 6209.613 Avg Mbps: 6209.613 --- 169.254.0.13 tcpbench statistics --- 4598148420 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5921.068/6116.005/6209.613/100.272 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 651810920 5214.487 100.00% Conn: 1 Mbps: 5214.487 Peak Mbps: 5214.487 Avg Mbps: 5214.487 2001 682006200 5456.050 100.00% Conn: 1 Mbps: 5456.050 Peak Mbps: 5456.050 Avg Mbps: 5456.050 3002 684297392 5468.910 100.00% Conn: 1 Mbps: 5468.910 Peak Mbps: 5468.910 Avg Mbps: 5468.910 4002 684886144 5479.089 100.00% Conn: 1 Mbps: 5479.089 Peak Mbps: 5479.089 Avg Mbps: 5479.089 5002 683177984 5465.424 100.00% Conn: 1 Mbps: 5465.424 Peak Mbps: 5479.089 Avg Mbps: 5465.424 --- fc00::13 tcpbench statistics --- 4072258792 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5214.487/5416.792/5479.089/101.421 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.042 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.042/0.042/0.042/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.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-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 362353928 2895.935 100.00% Conn: 1 Mbps: 2895.935 Peak Mbps: 2895.935 Avg Mbps: 2895.935 2002 369623040 2956.984 100.00% Conn: 1 Mbps: 2956.984 Peak Mbps: 2956.984 Avg Mbps: 2956.984 3002 371108176 2968.865 100.00% Conn: 1 Mbps: 2968.865 Peak Mbps: 2968.865 Avg Mbps: 2968.865 4002 369885184 2959.081 100.00% Conn: 1 Mbps: 2959.081 Peak Mbps: 2968.865 Avg Mbps: 2959.081 5002 367525888 2940.207 100.00% Conn: 1 Mbps: 2940.207 Peak Mbps: 2968.865 Avg Mbps: 2940.207 --- 169.254.1.11 tcpbench statistics --- 2208284248 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2895.935/2944.215/2968.865/25.841 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 349588028 2793.910 100.00% Conn: 1 Mbps: 2793.910 Peak Mbps: 2793.910 Avg Mbps: 2793.910 2001 357302272 2858.418 100.00% Conn: 1 Mbps: 2858.418 Peak Mbps: 2858.418 Avg Mbps: 2858.418 3001 356515840 2852.127 100.00% Conn: 1 Mbps: 2852.127 Peak Mbps: 2858.418 Avg Mbps: 2852.127 4001 356515840 2852.127 100.00% Conn: 1 Mbps: 2852.127 Peak Mbps: 2858.418 Avg Mbps: 2852.127 5001 352583680 2820.669 100.00% Conn: 1 Mbps: 2820.669 Peak Mbps: 2858.418 Avg Mbps: 2820.669 --- fc00:0:0:1::11 tcpbench statistics --- 2127186492 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2793.910/2835.450/2858.418/24.608 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.038 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.038/0.038/0.038/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.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-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 924411888 7395.295 100.00% Conn: 1 Mbps: 7395.295 Peak Mbps: 7395.295 Avg Mbps: 7395.295 2000 926469496 7419.175 100.00% Conn: 1 Mbps: 7419.175 Peak Mbps: 7419.175 Avg Mbps: 7419.175 3000 927629344 7421.035 100.00% Conn: 1 Mbps: 7421.035 Peak Mbps: 7421.035 Avg Mbps: 7421.035 4000 927268792 7418.150 100.00% Conn: 1 Mbps: 7418.150 Peak Mbps: 7421.035 Avg Mbps: 7418.150 5000 927529432 7420.235 100.00% Conn: 1 Mbps: 7420.235 Peak Mbps: 7421.035 Avg Mbps: 7420.235 --- 169.254.1.12 tcpbench statistics --- 5559481608 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7395.295/7414.778/7421.035/9.790 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 946529808 7572.238 100.00% Conn: 1 Mbps: 7572.238 Peak Mbps: 7572.238 Avg Mbps: 7572.238 2000 946699740 7581.179 100.00% Conn: 1 Mbps: 7581.179 Peak Mbps: 7581.179 Avg Mbps: 7581.179 3000 950449668 7603.597 100.00% Conn: 1 Mbps: 7603.597 Peak Mbps: 7603.597 Avg Mbps: 7603.597 4000 949881324 7599.051 100.00% Conn: 1 Mbps: 7599.051 Peak Mbps: 7603.597 Avg Mbps: 7599.051 5000 948893148 7591.145 100.00% Conn: 1 Mbps: 7591.145 Peak Mbps: 7603.597 Avg Mbps: 7591.145 --- fc00:0:0:1::12 tcpbench statistics --- 5691546756 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7572.238/7589.442/7603.597/11.488 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.039 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.039/0.039/0.039/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.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-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 1264611780 10116.894 100.00% Conn: 1 Mbps: 10116.894 Peak Mbps: 10116.894 Avg Mbps: 10116.894 2000 1273633880 10199.270 100.00% Conn: 1 Mbps: 10199.270 Peak Mbps: 10199.270 Avg Mbps: 10199.270 3000 1270983884 10167.871 100.00% Conn: 1 Mbps: 10167.871 Peak Mbps: 10199.270 Avg Mbps: 10167.871 4000 1271850858 10174.807 100.00% Conn: 1 Mbps: 10174.807 Peak Mbps: 10199.270 Avg Mbps: 10174.807 5000 1270934810 10167.478 100.00% Conn: 1 Mbps: 10167.478 Peak Mbps: 10199.270 Avg Mbps: 10167.478 --- 169.254.0.13 tcpbench statistics --- 7622737368 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10116.894/10165.264/10199.270/26.828 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 1099768128 8798.145 100.00% Conn: 1 Mbps: 8798.145 Peak Mbps: 8798.145 Avg Mbps: 8798.145 2000 1095871832 8775.750 100.00% Conn: 1 Mbps: 8775.750 Peak Mbps: 8798.145 Avg Mbps: 8775.750 3000 1096198792 8769.590 100.00% Conn: 1 Mbps: 8769.590 Peak Mbps: 8798.145 Avg Mbps: 8769.590 4000 1099697264 8797.578 100.00% Conn: 1 Mbps: 8797.578 Peak Mbps: 8798.145 Avg Mbps: 8797.578 5000 1099795352 8798.363 100.00% Conn: 1 Mbps: 8798.363 Peak Mbps: 8798.363 Avg Mbps: 8798.363 --- fc00::13 tcpbench statistics --- 6590309320 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8769.590/8787.885/8798.363/12.577 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.046 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.046/0.046/0.046/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.049 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.049/0.049/0.049/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 363726648 2906.906 100.00% Conn: 1 Mbps: 2906.906 Peak Mbps: 2906.906 Avg Mbps: 2906.906 2001 368574464 2948.596 100.00% Conn: 1 Mbps: 2948.596 Peak Mbps: 2948.596 Avg Mbps: 2948.596 3002 369623040 2956.984 100.00% Conn: 1 Mbps: 2956.984 Peak Mbps: 2956.984 Avg Mbps: 2956.984 4002 368050176 2944.401 100.00% Conn: 1 Mbps: 2944.401 Peak Mbps: 2956.984 Avg Mbps: 2944.401 5003 368050176 2944.401 100.00% Conn: 1 Mbps: 2944.401 Peak Mbps: 2956.984 Avg Mbps: 2944.401 --- 169.254.1.11 tcpbench statistics --- 2205550392 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2906.906/2940.258/2956.984/17.297 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 806486752 6451.894 100.00% Conn: 1 Mbps: 6451.894 Peak Mbps: 6451.894 Avg Mbps: 6451.894 2000 843317248 6746.538 100.00% Conn: 1 Mbps: 6746.538 Peak Mbps: 6746.538 Avg Mbps: 6746.538 3000 818151424 6545.211 100.00% Conn: 1 Mbps: 6545.211 Peak Mbps: 6746.538 Avg Mbps: 6545.211 4000 827149816 6617.199 100.00% Conn: 1 Mbps: 6617.199 Peak Mbps: 6746.538 Avg Mbps: 6617.199 5001 838860800 6710.886 100.00% Conn: 1 Mbps: 6710.886 Peak Mbps: 6746.538 Avg Mbps: 6710.886 --- fc00:0:0:1::11 tcpbench statistics --- 4967321816 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6451.894/6614.346/6746.538/107.678 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.045 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.045/0.045/0.045/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 1265179606 10121.437 100.00% Conn: 1 Mbps: 10121.437 Peak Mbps: 10121.437 Avg Mbps: 10121.437 2000 1268562900 10158.662 100.00% Conn: 1 Mbps: 10158.662 Peak Mbps: 10158.662 Avg Mbps: 10158.662 3000 1268203024 10145.624 100.00% Conn: 1 Mbps: 10145.624 Peak Mbps: 10158.662 Avg Mbps: 10145.624 4000 1263770006 10110.160 100.00% Conn: 1 Mbps: 10110.160 Peak Mbps: 10158.662 Avg Mbps: 10110.160 5000 1268644690 10149.158 100.00% Conn: 1 Mbps: 10149.158 Peak Mbps: 10158.662 Avg Mbps: 10149.158 --- 169.254.1.12 tcpbench statistics --- 7604100902 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10110.160/10137.008/10158.662/18.188 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 1106138012 8849.104 100.00% Conn: 1 Mbps: 8849.104 Peak Mbps: 8849.104 Avg Mbps: 8849.104 2000 1108917536 8880.221 100.00% Conn: 1 Mbps: 8880.221 Peak Mbps: 8880.221 Avg Mbps: 8880.221 3000 1109440672 8875.525 100.00% Conn: 1 Mbps: 8875.525 Peak Mbps: 8880.221 Avg Mbps: 8875.525 4000 1108492488 8867.940 100.00% Conn: 1 Mbps: 8867.940 Peak Mbps: 8880.221 Avg Mbps: 8867.940 5000 1104568968 8836.552 100.00% Conn: 1 Mbps: 8836.552 Peak Mbps: 8880.221 Avg Mbps: 8836.552 --- fc00:0:0:1::12 tcpbench statistics --- 6642322820 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8836.552/8861.868/8880.221/16.517 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.039 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/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 1285143976 10281.152 100.00% Conn: 1 Mbps: 10281.152 Peak Mbps: 10281.152 Avg Mbps: 10281.152 2000 1294392182 10365.503 100.00% Conn: 1 Mbps: 10365.503 Peak Mbps: 10365.503 Avg Mbps: 10365.503 3000 1290122744 10320.982 100.00% Conn: 1 Mbps: 10320.982 Peak Mbps: 10365.503 Avg Mbps: 10320.982 4000 1291627680 10333.021 100.00% Conn: 1 Mbps: 10333.021 Peak Mbps: 10365.503 Avg Mbps: 10333.021 5000 1294277676 10354.221 100.00% Conn: 1 Mbps: 10354.221 Peak Mbps: 10365.503 Avg Mbps: 10354.221 --- 169.254.0.13 tcpbench statistics --- 7747420950 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10281.152/10330.976/10365.503/29.390 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 1289122148 10312.977 100.00% Conn: 1 Mbps: 10312.977 Peak Mbps: 10312.977 Avg Mbps: 10312.977 2000 1292865232 10353.275 100.00% Conn: 1 Mbps: 10353.275 Peak Mbps: 10353.275 Avg Mbps: 10353.275 3000 1292963320 10343.707 100.00% Conn: 1 Mbps: 10343.707 Peak Mbps: 10353.275 Avg Mbps: 10343.707 4000 1293421064 10347.369 100.00% Conn: 1 Mbps: 10347.369 Peak Mbps: 10353.275 Avg Mbps: 10347.369 5000 1294074984 10352.600 100.00% Conn: 1 Mbps: 10352.600 Peak Mbps: 10353.275 Avg Mbps: 10352.600 --- fc00::13 tcpbench statistics --- 7754756148 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10312.977/10341.985/10353.275/14.923 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