START sys/net/pair 2024-06-15T22:04:16Z ==== 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.189 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.189/0.189/0.189/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.227 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.227/0.227/0.227/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 52250152 418.001 100.00% Conn: 1 Mbps: 418.001 Peak Mbps: 418.001 Avg Mbps: 418.001 2001 52115036 416.920 100.00% Conn: 1 Mbps: 416.920 Peak Mbps: 418.001 Avg Mbps: 416.920 3000 53243652 426.376 100.00% Conn: 1 Mbps: 426.376 Peak Mbps: 426.376 Avg Mbps: 426.376 4001 52949576 423.597 100.00% Conn: 1 Mbps: 423.597 Peak Mbps: 426.376 Avg Mbps: 423.597 5001 52838304 423.130 100.00% Conn: 1 Mbps: 423.130 Peak Mbps: 426.376 Avg Mbps: 423.130 --- 169.254.1.11 tcpbench statistics --- 316576788 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 416.920/421.605/426.376/3.577 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 47290520 378.324 100.00% Conn: 1 Mbps: 378.324 Peak Mbps: 378.324 Avg Mbps: 378.324 2001 46925832 375.407 100.00% Conn: 1 Mbps: 375.407 Peak Mbps: 378.324 Avg Mbps: 375.407 3001 47068536 376.548 100.00% Conn: 1 Mbps: 376.548 Peak Mbps: 378.324 Avg Mbps: 376.548 4002 47139888 377.119 100.00% Conn: 1 Mbps: 377.119 Peak Mbps: 378.324 Avg Mbps: 377.119 5002 46838624 374.709 100.00% Conn: 1 Mbps: 374.709 Peak Mbps: 378.324 Avg Mbps: 374.709 --- fc00:0:0:1::11 tcpbench statistics --- 281650128 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 374.709/376.421/378.324/1.272 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.259 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.259/0.259/0.259/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.646 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.646/0.646/0.646/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 1003 32105056 256.072 100.00% Conn: 1 Mbps: 256.072 Peak Mbps: 256.072 Avg Mbps: 256.072 2006 32218000 256.973 100.00% Conn: 1 Mbps: 256.973 Peak Mbps: 256.973 Avg Mbps: 256.973 3007 31814008 254.512 100.00% Conn: 1 Mbps: 254.512 Peak Mbps: 256.973 Avg Mbps: 254.512 4007 31770568 254.419 100.00% Conn: 1 Mbps: 254.419 Peak Mbps: 256.973 Avg Mbps: 254.419 5010 31938536 254.744 100.00% Conn: 1 Mbps: 254.744 Peak Mbps: 256.973 Avg Mbps: 254.744 --- 169.254.1.12 tcpbench statistics --- 191374920 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 254.419/255.344/256.973/1.009 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 1002 30670584 244.875 100.00% Conn: 1 Mbps: 244.875 Peak Mbps: 244.875 Avg Mbps: 244.875 2006 31146108 248.424 100.00% Conn: 1 Mbps: 248.424 Peak Mbps: 248.424 Avg Mbps: 248.424 3003 31284624 251.030 100.00% Conn: 1 Mbps: 251.030 Peak Mbps: 251.030 Avg Mbps: 251.030 4006 31261776 249.595 100.00% Conn: 1 Mbps: 249.595 Peak Mbps: 251.030 Avg Mbps: 249.595 5006 31186092 249.738 100.00% Conn: 1 Mbps: 249.738 Peak Mbps: 251.030 Avg Mbps: 249.738 --- fc00:0:0:1::12 tcpbench statistics --- 186501084 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 244.875/248.732/251.030/2.098 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.240 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.240/0.240/0.240/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.337 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.337/0.337/0.337/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 32729864 261.839 100.00% Conn: 1 Mbps: 261.839 Peak Mbps: 261.839 Avg Mbps: 261.839 2000 32793448 262.348 100.00% Conn: 1 Mbps: 262.348 Peak Mbps: 262.348 Avg Mbps: 262.348 3000 33111368 265.156 100.00% Conn: 1 Mbps: 265.156 Peak Mbps: 265.156 Avg Mbps: 265.156 4000 33620040 268.960 100.00% Conn: 1 Mbps: 268.960 Peak Mbps: 268.960 Avg Mbps: 268.960 5001 34081024 272.648 100.00% Conn: 1 Mbps: 272.648 Peak Mbps: 272.648 Avg Mbps: 272.648 --- 169.254.0.13 tcpbench statistics --- 199304048 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 261.839/266.190/272.648/4.102 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 1001 33186608 265.228 100.00% Conn: 1 Mbps: 265.228 Peak Mbps: 265.228 Avg Mbps: 265.228 2001 32758496 262.068 100.00% Conn: 1 Mbps: 262.068 Peak Mbps: 265.228 Avg Mbps: 262.068 3002 32330384 258.643 100.00% Conn: 1 Mbps: 258.643 Peak Mbps: 265.228 Avg Mbps: 258.643 4003 33123184 264.985 100.00% Conn: 1 Mbps: 264.985 Peak Mbps: 265.228 Avg Mbps: 264.985 5003 32615792 260.926 100.00% Conn: 1 Mbps: 260.926 Peak Mbps: 265.228 Avg Mbps: 260.926 --- fc00::13 tcpbench statistics --- 196606472 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 258.643/262.370/265.228/2.493 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.203 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.203/0.203/0.203/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.252 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.252/0.252/0.252/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 31789392 254.061 100.00% Conn: 1 Mbps: 254.061 Peak Mbps: 254.061 Avg Mbps: 254.061 2004 32200624 256.834 100.00% Conn: 1 Mbps: 256.834 Peak Mbps: 256.834 Avg Mbps: 256.834 3006 32161528 256.779 100.00% Conn: 1 Mbps: 256.779 Peak Mbps: 256.834 Avg Mbps: 256.779 4008 32047136 256.121 100.00% Conn: 1 Mbps: 256.121 Peak Mbps: 256.834 Avg Mbps: 256.121 5011 32183248 256.696 100.00% Conn: 1 Mbps: 256.696 Peak Mbps: 256.834 Avg Mbps: 256.696 --- 169.254.1.11 tcpbench statistics --- 191868688 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 254.061/256.098/256.834/1.050 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 1000 30354996 242.840 100.00% Conn: 1 Mbps: 242.840 Peak Mbps: 242.840 Avg Mbps: 242.840 2003 30717708 245.251 100.00% Conn: 1 Mbps: 245.251 Peak Mbps: 245.251 Avg Mbps: 245.251 3003 30900492 247.204 100.00% Conn: 1 Mbps: 247.204 Peak Mbps: 247.204 Avg Mbps: 247.204 4006 30830520 246.152 100.00% Conn: 1 Mbps: 246.152 Peak Mbps: 247.204 Avg Mbps: 246.152 5005 30773400 246.434 100.00% Conn: 1 Mbps: 246.434 Peak Mbps: 247.204 Avg Mbps: 246.434 --- fc00:0:0:1::11 tcpbench statistics --- 184099188 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 242.840/245.576/247.204/1.504 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.198 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.198/0.198/0.198/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.245 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.245/0.245/0.245/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 1001 44455048 355.285 100.00% Conn: 1 Mbps: 355.285 Peak Mbps: 355.285 Avg Mbps: 355.285 2001 45187736 361.502 100.00% Conn: 1 Mbps: 361.502 Peak Mbps: 361.502 Avg Mbps: 361.502 3002 44744648 357.957 100.00% Conn: 1 Mbps: 357.957 Peak Mbps: 361.502 Avg Mbps: 357.957 4002 44827184 358.617 100.00% Conn: 1 Mbps: 358.617 Peak Mbps: 361.502 Avg Mbps: 358.617 5003 44859040 358.872 100.00% Conn: 1 Mbps: 358.872 Peak Mbps: 361.502 Avg Mbps: 358.872 --- 169.254.1.12 tcpbench statistics --- 268327432 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 355.285/358.447/361.502/1.989 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 48350652 386.805 100.00% Conn: 1 Mbps: 386.805 Peak Mbps: 386.805 Avg Mbps: 386.805 2001 50211336 401.289 100.00% Conn: 1 Mbps: 401.289 Peak Mbps: 401.289 Avg Mbps: 401.289 3001 50184204 401.474 100.00% Conn: 1 Mbps: 401.474 Peak Mbps: 401.474 Avg Mbps: 401.474 4002 51443700 411.550 100.00% Conn: 1 Mbps: 411.550 Peak Mbps: 411.550 Avg Mbps: 411.550 5001 50971032 408.176 100.00% Conn: 1 Mbps: 408.176 Peak Mbps: 411.550 Avg Mbps: 408.176 --- fc00:0:0:1::12 tcpbench statistics --- 302803116 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 386.805/401.859/411.550/8.496 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.203 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.203/0.203/0.203/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.254 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.254/0.254/0.254/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 135870050 1086.960 100.00% Conn: 1 Mbps: 1086.960 Peak Mbps: 1086.960 Avg Mbps: 1086.960 2000 136785524 1094.284 100.00% Conn: 1 Mbps: 1094.284 Peak Mbps: 1094.284 Avg Mbps: 1094.284 3000 137636140 1101.089 100.00% Conn: 1 Mbps: 1101.089 Peak Mbps: 1101.089 Avg Mbps: 1101.089 4000 135934896 1087.479 100.00% Conn: 1 Mbps: 1087.479 Peak Mbps: 1101.089 Avg Mbps: 1087.479 5001 136932746 1095.462 100.00% Conn: 1 Mbps: 1095.462 Peak Mbps: 1101.089 Avg Mbps: 1095.462 --- 169.254.0.13 tcpbench statistics --- 820173892 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1086.960/1093.055/1101.089/5.293 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 127138504 1017.108 100.00% Conn: 1 Mbps: 1017.108 Peak Mbps: 1017.108 Avg Mbps: 1017.108 2000 125683424 1005.467 100.00% Conn: 1 Mbps: 1005.467 Peak Mbps: 1017.108 Avg Mbps: 1005.467 3000 127154744 1017.238 100.00% Conn: 1 Mbps: 1017.238 Peak Mbps: 1017.238 Avg Mbps: 1017.238 4000 126108472 1008.868 100.00% Conn: 1 Mbps: 1008.868 Peak Mbps: 1017.238 Avg Mbps: 1008.868 5000 126566216 1012.530 100.00% Conn: 1 Mbps: 1012.530 Peak Mbps: 1017.238 Avg Mbps: 1012.530 --- fc00::13 tcpbench statistics --- 759806104 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1005.467/1012.242/1017.238/4.604 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.202 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.202/0.202/0.202/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.282 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.282/0.282/0.282/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 1002 31787944 253.796 100.00% Conn: 1 Mbps: 253.796 Peak Mbps: 253.796 Avg Mbps: 253.796 2002 31845864 254.767 100.00% Conn: 1 Mbps: 254.767 Peak Mbps: 254.767 Avg Mbps: 254.767 3005 32173112 256.871 100.00% Conn: 1 Mbps: 256.871 Peak Mbps: 256.871 Avg Mbps: 256.871 4006 32315016 258.262 100.00% Conn: 1 Mbps: 258.262 Peak Mbps: 258.262 Avg Mbps: 258.262 5009 32403344 258.709 100.00% Conn: 1 Mbps: 258.709 Peak Mbps: 258.709 Avg Mbps: 258.709 --- 169.254.1.11 tcpbench statistics --- 192760656 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 253.796/256.481/258.709/1.920 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 1005 57241416 455.653 100.00% Conn: 1 Mbps: 455.653 Peak Mbps: 455.653 Avg Mbps: 455.653 2004 57021464 456.628 100.00% Conn: 1 Mbps: 456.628 Peak Mbps: 456.628 Avg Mbps: 456.628 3006 56927864 454.968 100.00% Conn: 1 Mbps: 454.968 Peak Mbps: 456.628 Avg Mbps: 454.968 4008 57094768 455.846 100.00% Conn: 1 Mbps: 455.846 Peak Mbps: 456.628 Avg Mbps: 455.846 5008 57087384 456.699 100.00% Conn: 1 Mbps: 456.699 Peak Mbps: 456.699 Avg Mbps: 456.699 --- fc00:0:0:1::11 tcpbench statistics --- 342543096 bytes sent over 6.004 seconds bandwidth min/avg/max/std-dev = 454.968/455.959/456.699/0.646 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.206 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.206/0.206/0.206/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.263 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.263/0.263/0.263/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 141955120 1135.641 100.00% Conn: 1 Mbps: 1135.641 Peak Mbps: 1135.641 Avg Mbps: 1135.641 2000 142674392 1141.395 100.00% Conn: 1 Mbps: 1141.395 Peak Mbps: 1141.395 Avg Mbps: 1141.395 3000 144441056 1155.528 100.00% Conn: 1 Mbps: 1155.528 Peak Mbps: 1155.528 Avg Mbps: 1155.528 4000 147254632 1178.037 100.00% Conn: 1 Mbps: 1178.037 Peak Mbps: 1178.037 Avg Mbps: 1178.037 5000 143328712 1146.630 100.00% Conn: 1 Mbps: 1146.630 Peak Mbps: 1178.037 Avg Mbps: 1146.630 --- 169.254.1.12 tcpbench statistics --- 862262872 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1135.641/1151.446/1178.037/14.817 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 128070412 1024.563 100.00% Conn: 1 Mbps: 1024.563 Peak Mbps: 1024.563 Avg Mbps: 1024.563 2000 128331800 1026.654 100.00% Conn: 1 Mbps: 1026.654 Peak Mbps: 1026.654 Avg Mbps: 1026.654 3000 128331800 1026.654 100.00% Conn: 1 Mbps: 1026.654 Peak Mbps: 1026.654 Avg Mbps: 1026.654 4000 128397192 1027.178 100.00% Conn: 1 Mbps: 1027.178 Peak Mbps: 1027.178 Avg Mbps: 1027.178 5000 128691456 1029.532 100.00% Conn: 1 Mbps: 1029.532 Peak Mbps: 1029.532 Avg Mbps: 1029.532 --- fc00:0:0:1::12 tcpbench statistics --- 770056372 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1024.563/1026.916/1029.532/1.586 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.188 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.188/0.188/0.188/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.233 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.233/0.233/0.233/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 140728102 1125.825 100.00% Conn: 1 Mbps: 1125.825 Peak Mbps: 1125.825 Avg Mbps: 1125.825 2000 141202232 1129.618 100.00% Conn: 1 Mbps: 1129.618 Peak Mbps: 1129.618 Avg Mbps: 1129.618 3000 141987440 1135.900 100.00% Conn: 1 Mbps: 1135.900 Peak Mbps: 1135.900 Avg Mbps: 1135.900 4000 140449788 1123.598 100.00% Conn: 1 Mbps: 1123.598 Peak Mbps: 1135.900 Avg Mbps: 1123.598 5000 140253492 1122.028 100.00% Conn: 1 Mbps: 1122.028 Peak Mbps: 1135.900 Avg Mbps: 1122.028 --- 169.254.0.13 tcpbench statistics --- 847459110 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1122.028/1127.394/1135.900/4.959 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 142261196 1138.090 100.00% Conn: 1 Mbps: 1138.090 Peak Mbps: 1138.090 Avg Mbps: 1138.090 2000 141900640 1135.205 100.00% Conn: 1 Mbps: 1135.205 Peak Mbps: 1138.090 Avg Mbps: 1135.205 3000 142881520 1143.052 100.00% Conn: 1 Mbps: 1143.052 Peak Mbps: 1143.052 Avg Mbps: 1143.052 4000 142881520 1143.052 100.00% Conn: 1 Mbps: 1143.052 Peak Mbps: 1143.052 Avg Mbps: 1143.052 5000 143077696 1144.622 100.00% Conn: 1 Mbps: 1144.622 Peak Mbps: 1144.622 Avg Mbps: 1144.622 --- fc00::13 tcpbench statistics --- 857911244 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1135.205/1140.804/1144.622/3.561 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m59.44s