START sys/net/pair 2025-01-12T04:59:01Z ==== 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.049 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.049/0.049/0.049/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.057 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.057/0.057/0.057/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 519616396 4156.931 100.00% Conn: 1 Mbps: 4156.931 Peak Mbps: 4156.931 Avg Mbps: 4156.931 2000 519703824 4161.792 100.00% Conn: 1 Mbps: 4161.792 Peak Mbps: 4161.792 Avg Mbps: 4161.792 3000 519783304 4158.266 100.00% Conn: 1 Mbps: 4158.266 Peak Mbps: 4161.792 Avg Mbps: 4158.266 4000 519830992 4158.648 100.00% Conn: 1 Mbps: 4158.648 Peak Mbps: 4161.792 Avg Mbps: 4158.648 5000 518781856 4150.255 100.00% Conn: 1 Mbps: 4150.255 Peak Mbps: 4161.792 Avg Mbps: 4150.255 --- 169.254.1.11 tcpbench statistics --- 3116681032 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4150.255/4157.179/4161.792/3.811 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 516754968 4134.040 100.00% Conn: 1 Mbps: 4134.040 Peak Mbps: 4134.040 Avg Mbps: 4134.040 2000 515145584 4125.290 100.00% Conn: 1 Mbps: 4125.290 Peak Mbps: 4134.040 Avg Mbps: 4125.290 3000 515026664 4120.213 100.00% Conn: 1 Mbps: 4120.213 Peak Mbps: 4134.040 Avg Mbps: 4120.213 4000 514685760 4117.486 100.00% Conn: 1 Mbps: 4117.486 Peak Mbps: 4134.040 Avg Mbps: 4117.486 5000 514130800 4113.046 100.00% Conn: 1 Mbps: 4113.046 Peak Mbps: 4134.040 Avg Mbps: 4113.046 --- fc00:0:0:1::11 tcpbench statistics --- 3089827008 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4113.046/4122.015/4134.040/7.204 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.087 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.087/0.087/0.087/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.139 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.139/0.139/0.139/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 265859144 2126.873 100.00% Conn: 1 Mbps: 2126.873 Peak Mbps: 2126.873 Avg Mbps: 2126.873 2000 276922984 2217.601 100.00% Conn: 1 Mbps: 2217.601 Peak Mbps: 2217.601 Avg Mbps: 2217.601 3000 281666680 2253.333 100.00% Conn: 1 Mbps: 2253.333 Peak Mbps: 2253.333 Avg Mbps: 2253.333 4001 278603264 2226.600 100.00% Conn: 1 Mbps: 2226.600 Peak Mbps: 2253.333 Avg Mbps: 2226.600 5002 284028424 2272.227 100.00% Conn: 1 Mbps: 2272.227 Peak Mbps: 2272.227 Avg Mbps: 2272.227 --- 169.254.1.12 tcpbench statistics --- 1669061336 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2126.873/2219.327/2272.227/50.117 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 256639628 2051.066 100.00% Conn: 1 Mbps: 2051.066 Peak Mbps: 2051.066 Avg Mbps: 2051.066 2002 268369560 2144.812 100.00% Conn: 1 Mbps: 2144.812 Peak Mbps: 2144.812 Avg Mbps: 2144.812 3002 274560944 2198.686 100.00% Conn: 1 Mbps: 2198.686 Peak Mbps: 2198.686 Avg Mbps: 2198.686 4002 277065348 2216.523 100.00% Conn: 1 Mbps: 2216.523 Peak Mbps: 2216.523 Avg Mbps: 2216.523 5004 277973724 2221.568 100.00% Conn: 1 Mbps: 2221.568 Peak Mbps: 2221.568 Avg Mbps: 2221.568 --- fc00:0:0:1::12 tcpbench statistics --- 1629796816 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2051.066/2166.531/2221.568/63.822 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.074 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.074/0.074/0.074/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.072 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.072/0.072/0.072/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 585922920 4687.383 100.00% Conn: 1 Mbps: 4687.383 Peak Mbps: 4687.383 Avg Mbps: 4687.383 2000 577792676 4622.341 100.00% Conn: 1 Mbps: 4622.341 Peak Mbps: 4687.383 Avg Mbps: 4622.341 3000 564385660 4519.605 100.00% Conn: 1 Mbps: 4519.605 Peak Mbps: 4687.383 Avg Mbps: 4519.605 4000 566393144 4531.145 100.00% Conn: 1 Mbps: 4531.145 Peak Mbps: 4687.383 Avg Mbps: 4531.145 5000 535438904 4287.799 100.00% Conn: 1 Mbps: 4287.799 Peak Mbps: 4687.383 Avg Mbps: 4287.799 --- 169.254.0.13 tcpbench statistics --- 3341712132 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4287.799/4529.655/4687.383/135.696 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 550879560 4407.036 100.00% Conn: 1 Mbps: 4407.036 Peak Mbps: 4407.036 Avg Mbps: 4407.036 2000 581404184 4651.233 100.00% Conn: 1 Mbps: 4651.233 Peak Mbps: 4651.233 Avg Mbps: 4651.233 3001 580049928 4640.399 100.00% Conn: 1 Mbps: 4640.399 Peak Mbps: 4651.233 Avg Mbps: 4640.399 4001 584217192 4673.738 100.00% Conn: 1 Mbps: 4673.738 Peak Mbps: 4673.738 Avg Mbps: 4673.738 5002 584794896 4678.359 100.00% Conn: 1 Mbps: 4678.359 Peak Mbps: 4678.359 Avg Mbps: 4678.359 --- fc00::13 tcpbench statistics --- 3466186928 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4407.036/4610.153/4678.359/102.522 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.057 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.057/0.057/0.057/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.051 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.051/0.051/0.051/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 266337208 2128.569 100.00% Conn: 1 Mbps: 2128.569 Peak Mbps: 2128.569 Avg Mbps: 2128.569 2001 277457512 2219.660 100.00% Conn: 1 Mbps: 2219.660 Peak Mbps: 2219.660 Avg Mbps: 2219.660 3001 277260312 2220.303 100.00% Conn: 1 Mbps: 2220.303 Peak Mbps: 2220.303 Avg Mbps: 2220.303 4001 280022080 2240.177 100.00% Conn: 1 Mbps: 2240.177 Peak Mbps: 2240.177 Avg Mbps: 2240.177 5002 283287224 2264.034 100.00% Conn: 1 Mbps: 2264.034 Peak Mbps: 2264.034 Avg Mbps: 2264.034 --- 169.254.1.11 tcpbench statistics --- 1664030792 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2128.569/2214.548/2264.034/45.951 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 254481468 2033.818 100.00% Conn: 1 Mbps: 2033.818 Peak Mbps: 2033.818 Avg Mbps: 2033.818 2001 267720144 2141.761 100.00% Conn: 1 Mbps: 2141.761 Peak Mbps: 2141.761 Avg Mbps: 2141.761 3002 271104704 2168.838 100.00% Conn: 1 Mbps: 2168.838 Peak Mbps: 2168.838 Avg Mbps: 2168.838 4001 272294752 2180.539 100.00% Conn: 1 Mbps: 2180.539 Peak Mbps: 2180.539 Avg Mbps: 2180.539 5002 275562836 2204.503 100.00% Conn: 1 Mbps: 2204.503 Peak Mbps: 2204.503 Avg Mbps: 2204.503 --- fc00:0:0:1::11 tcpbench statistics --- 1616664192 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2033.818/2145.892/2204.503/59.565 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.044 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.044/0.044/0.044/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.046 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/0.000 ms ==== run-tcpbench-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 525424176 4203.393 100.00% Conn: 1 Mbps: 4203.393 Peak Mbps: 4203.393 Avg Mbps: 4203.393 2000 525634136 4209.282 100.00% Conn: 1 Mbps: 4209.282 Peak Mbps: 4209.282 Avg Mbps: 4209.282 3000 525680472 4205.444 100.00% Conn: 1 Mbps: 4205.444 Peak Mbps: 4209.282 Avg Mbps: 4205.444 4000 525907808 4207.262 100.00% Conn: 1 Mbps: 4207.262 Peak Mbps: 4209.282 Avg Mbps: 4207.262 5000 526287184 4210.297 100.00% Conn: 1 Mbps: 4210.297 Peak Mbps: 4210.297 Avg Mbps: 4210.297 --- 169.254.1.12 tcpbench statistics --- 3155435264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4203.393/4207.136/4210.297/2.510 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 527593164 4220.745 100.00% Conn: 1 Mbps: 4220.745 Peak Mbps: 4220.745 Avg Mbps: 4220.745 2000 526696380 4217.789 100.00% Conn: 1 Mbps: 4217.789 Peak Mbps: 4220.745 Avg Mbps: 4217.789 3000 526073772 4208.590 100.00% Conn: 1 Mbps: 4208.590 Peak Mbps: 4220.745 Avg Mbps: 4208.590 4000 524664336 4197.315 100.00% Conn: 1 Mbps: 4197.315 Peak Mbps: 4220.745 Avg Mbps: 4197.315 5000 526502172 4212.017 100.00% Conn: 1 Mbps: 4212.017 Peak Mbps: 4220.745 Avg Mbps: 4212.017 --- fc00:0:0:1::12 tcpbench statistics --- 3157767816 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4197.315/4211.291/4220.745/8.182 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.059 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.059/0.059/0.059/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.051 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/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 794777406 6358.219 100.00% Conn: 1 Mbps: 6358.219 Peak Mbps: 6358.219 Avg Mbps: 6358.219 2000 795587688 6371.073 100.00% Conn: 1 Mbps: 6371.073 Peak Mbps: 6371.073 Avg Mbps: 6371.073 3000 795980280 6367.842 100.00% Conn: 1 Mbps: 6367.842 Peak Mbps: 6371.073 Avg Mbps: 6367.842 4000 795685836 6365.487 100.00% Conn: 1 Mbps: 6365.487 Peak Mbps: 6371.073 Avg Mbps: 6365.487 5000 795456824 6363.655 100.00% Conn: 1 Mbps: 6363.655 Peak Mbps: 6371.073 Avg Mbps: 6363.655 --- 169.254.0.13 tcpbench statistics --- 4772781278 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6358.219/6365.255/6371.073/4.305 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 775942156 6207.537 100.00% Conn: 1 Mbps: 6207.537 Peak Mbps: 6207.537 Avg Mbps: 6207.537 2000 774568240 6202.749 100.00% Conn: 1 Mbps: 6202.749 Peak Mbps: 6207.537 Avg Mbps: 6202.749 3000 774699024 6197.592 100.00% Conn: 1 Mbps: 6197.592 Peak Mbps: 6207.537 Avg Mbps: 6197.592 4000 775189464 6201.516 100.00% Conn: 1 Mbps: 6201.516 Peak Mbps: 6207.537 Avg Mbps: 6201.516 5000 774666328 6197.331 100.00% Conn: 1 Mbps: 6197.331 Peak Mbps: 6207.537 Avg Mbps: 6197.331 --- fc00::13 tcpbench statistics --- 4649437276 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6197.331/6201.345/6207.537/3.756 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.060 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.060/0.060/0.060/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.057 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.057/0.057/0.057/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 265055280 2120.442 100.00% Conn: 1 Mbps: 2120.442 Peak Mbps: 2120.442 Avg Mbps: 2120.442 2002 276252784 2207.814 100.00% Conn: 1 Mbps: 2207.814 Peak Mbps: 2207.814 Avg Mbps: 2207.814 3002 275533456 2204.268 100.00% Conn: 1 Mbps: 2204.268 Peak Mbps: 2207.814 Avg Mbps: 2204.268 4003 277600912 2218.589 100.00% Conn: 1 Mbps: 2218.589 Peak Mbps: 2218.589 Avg Mbps: 2218.589 5003 276060256 2210.693 100.00% Conn: 1 Mbps: 2210.693 Peak Mbps: 2218.589 Avg Mbps: 2210.693 --- 169.254.1.11 tcpbench statistics --- 1647868976 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2120.442/2192.361/2218.589/36.268 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 522717912 4181.743 100.00% Conn: 1 Mbps: 4181.743 Peak Mbps: 4181.743 Avg Mbps: 4181.743 2001 569283720 4554.270 100.00% Conn: 1 Mbps: 4554.270 Peak Mbps: 4554.270 Avg Mbps: 4554.270 3001 577695376 4621.563 100.00% Conn: 1 Mbps: 4621.563 Peak Mbps: 4621.563 Avg Mbps: 4621.563 4001 572975520 4583.804 100.00% Conn: 1 Mbps: 4583.804 Peak Mbps: 4621.563 Avg Mbps: 4583.804 5002 576092104 4608.737 100.00% Conn: 1 Mbps: 4608.737 Peak Mbps: 4621.563 Avg Mbps: 4608.737 --- fc00:0:0:1::11 tcpbench statistics --- 3391628376 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4181.743/4510.023/4621.563/165.744 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.058 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.058/0.058/0.058/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.055 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.055/0.055/0.055/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 795801350 6366.411 100.00% Conn: 1 Mbps: 6366.411 Peak Mbps: 6366.411 Avg Mbps: 6366.411 2000 795031516 6366.619 100.00% Conn: 1 Mbps: 6366.619 Peak Mbps: 6366.619 Avg Mbps: 6366.619 3000 794442628 6355.541 100.00% Conn: 1 Mbps: 6355.541 Peak Mbps: 6366.619 Avg Mbps: 6355.541 4000 793199420 6345.595 100.00% Conn: 1 Mbps: 6345.595 Peak Mbps: 6366.619 Avg Mbps: 6345.595 5000 793493864 6347.951 100.00% Conn: 1 Mbps: 6347.951 Peak Mbps: 6366.619 Avg Mbps: 6347.951 --- 169.254.1.12 tcpbench statistics --- 4765429926 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6345.595/6356.423/6366.619/8.871 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 775255972 6202.048 100.00% Conn: 1 Mbps: 6202.048 Peak Mbps: 6202.048 Avg Mbps: 6202.048 2000 775025984 6206.414 100.00% Conn: 1 Mbps: 6206.414 Peak Mbps: 6206.414 Avg Mbps: 6206.414 3000 775124072 6200.993 100.00% Conn: 1 Mbps: 6200.993 Peak Mbps: 6206.414 Avg Mbps: 6200.993 4000 774273976 6194.192 100.00% Conn: 1 Mbps: 6194.192 Peak Mbps: 6206.414 Avg Mbps: 6194.192 5000 774960592 6199.685 100.00% Conn: 1 Mbps: 6199.685 Peak Mbps: 6206.414 Avg Mbps: 6199.685 --- fc00:0:0:1::12 tcpbench statistics --- 4649666580 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6194.192/6200.666/6206.414/3.948 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.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-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.045 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-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 790012438 6320.100 100.00% Conn: 1 Mbps: 6320.100 Peak Mbps: 6320.100 Avg Mbps: 6320.100 2000 789666092 6323.652 100.00% Conn: 1 Mbps: 6323.652 Peak Mbps: 6323.652 Avg Mbps: 6323.652 3000 789306216 6314.450 100.00% Conn: 1 Mbps: 6314.450 Peak Mbps: 6323.652 Avg Mbps: 6314.450 4000 790549424 6324.395 100.00% Conn: 1 Mbps: 6324.395 Peak Mbps: 6324.395 Avg Mbps: 6324.395 5000 791269176 6330.153 100.00% Conn: 1 Mbps: 6330.153 Peak Mbps: 6330.153 Avg Mbps: 6330.153 --- 169.254.0.13 tcpbench statistics --- 4741974374 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6314.450/6322.550/6330.153/5.178 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 788206612 6305.653 100.00% Conn: 1 Mbps: 6305.653 Peak Mbps: 6305.653 Avg Mbps: 6305.653 2000 786960024 6301.982 100.00% Conn: 1 Mbps: 6301.982 Peak Mbps: 6305.653 Avg Mbps: 6301.982 3000 787385072 6299.081 100.00% Conn: 1 Mbps: 6299.081 Peak Mbps: 6305.653 Avg Mbps: 6299.081 4000 787254288 6298.034 100.00% Conn: 1 Mbps: 6298.034 Peak Mbps: 6305.653 Avg Mbps: 6298.034 5000 786763848 6294.111 100.00% Conn: 1 Mbps: 6294.111 Peak Mbps: 6305.653 Avg Mbps: 6294.111 --- fc00::13 tcpbench statistics --- 4723954916 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6294.111/6299.772/6305.653/3.873 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 1m52.85s