START sys/net/pair 2024-10-15T22:03:27Z ==== 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.174 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.174/0.174/0.174/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.224 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.224/0.224/0.224/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 50914888 407.319 100.00% Conn: 1 Mbps: 407.319 Peak Mbps: 407.319 Avg Mbps: 407.319 2000 50724136 405.793 100.00% Conn: 1 Mbps: 405.793 Peak Mbps: 407.319 Avg Mbps: 405.793 3000 50342632 402.741 100.00% Conn: 1 Mbps: 402.741 Peak Mbps: 407.319 Avg Mbps: 402.741 4001 50493644 403.949 100.00% Conn: 1 Mbps: 403.949 Peak Mbps: 407.319 Avg Mbps: 403.949 5001 50676448 405.412 100.00% Conn: 1 Mbps: 405.412 Peak Mbps: 407.319 Avg Mbps: 405.412 --- 169.254.1.11 tcpbench statistics --- 303931520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 402.741/405.043/407.319/1.573 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 1001 45641496 364.767 100.00% Conn: 1 Mbps: 364.767 Peak Mbps: 364.767 Avg Mbps: 364.767 2001 45070680 360.565 100.00% Conn: 1 Mbps: 360.565 Peak Mbps: 364.767 Avg Mbps: 360.565 3001 45308520 362.468 100.00% Conn: 1 Mbps: 362.468 Peak Mbps: 364.767 Avg Mbps: 362.468 4001 45181672 361.453 100.00% Conn: 1 Mbps: 361.453 Peak Mbps: 364.767 Avg Mbps: 361.453 5002 45467080 363.737 100.00% Conn: 1 Mbps: 363.737 Peak Mbps: 364.767 Avg Mbps: 363.737 --- fc00:0:0:1::11 tcpbench statistics --- 272160312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 360.565/362.598/364.767/1.514 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.323 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.323/0.323/0.323/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.734 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.734/0.734/0.734/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 30790272 245.585 100.00% Conn: 1 Mbps: 245.585 Peak Mbps: 245.585 Avg Mbps: 245.585 2002 31162408 249.549 100.00% Conn: 1 Mbps: 249.549 Peak Mbps: 249.549 Avg Mbps: 249.549 3003 31146480 249.172 100.00% Conn: 1 Mbps: 249.172 Peak Mbps: 249.549 Avg Mbps: 249.172 4007 31224672 249.050 100.00% Conn: 1 Mbps: 249.050 Peak Mbps: 249.549 Avg Mbps: 249.050 5008 30966928 247.488 100.00% Conn: 1 Mbps: 247.488 Peak Mbps: 249.549 Avg Mbps: 247.488 --- 169.254.1.12 tcpbench statistics --- 185911616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 245.585/248.169/249.549/1.471 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 29756664 237.815 100.00% Conn: 1 Mbps: 237.815 Peak Mbps: 237.815 Avg Mbps: 237.815 2002 29769516 238.156 100.00% Conn: 1 Mbps: 238.156 Peak Mbps: 238.156 Avg Mbps: 238.156 3006 29928024 238.470 100.00% Conn: 1 Mbps: 238.470 Peak Mbps: 238.470 Avg Mbps: 238.470 4005 29596728 237.011 100.00% Conn: 1 Mbps: 237.011 Peak Mbps: 238.470 Avg Mbps: 237.011 5006 29742384 237.701 100.00% Conn: 1 Mbps: 237.701 Peak Mbps: 238.470 Avg Mbps: 237.701 --- fc00:0:0:1::12 tcpbench statistics --- 178444308 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 237.011/237.831/238.470/0.491 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.224 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.224/0.224/0.224/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.309 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.309/0.309/0.309/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 31370756 250.966 100.00% Conn: 1 Mbps: 250.966 Peak Mbps: 250.966 Avg Mbps: 250.966 2001 31331016 250.648 100.00% Conn: 1 Mbps: 250.648 Peak Mbps: 250.966 Avg Mbps: 250.648 3001 32070180 256.561 100.00% Conn: 1 Mbps: 256.561 Peak Mbps: 256.561 Avg Mbps: 256.561 4001 31402548 251.220 100.00% Conn: 1 Mbps: 251.220 Peak Mbps: 256.561 Avg Mbps: 251.220 5002 30957460 247.660 100.00% Conn: 1 Mbps: 247.660 Peak Mbps: 256.561 Avg Mbps: 247.660 --- 169.254.0.13 tcpbench statistics --- 188041732 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 247.660/251.411/256.561/2.878 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 31577224 252.618 100.00% Conn: 1 Mbps: 252.618 Peak Mbps: 252.618 Avg Mbps: 252.618 2000 31878488 255.283 100.00% Conn: 1 Mbps: 255.283 Peak Mbps: 255.283 Avg Mbps: 255.283 3001 31434520 251.476 100.00% Conn: 1 Mbps: 251.476 Peak Mbps: 255.283 Avg Mbps: 251.476 4001 31038120 248.554 100.00% Conn: 1 Mbps: 248.554 Peak Mbps: 255.283 Avg Mbps: 248.554 5001 31632720 253.062 100.00% Conn: 1 Mbps: 253.062 Peak Mbps: 255.283 Avg Mbps: 253.062 --- fc00::13 tcpbench statistics --- 189082800 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 248.554/252.198/255.283/2.202 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.192 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.192/0.192/0.192/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.233 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.233/0.233/0.233/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 1003 31024848 247.456 100.00% Conn: 1 Mbps: 247.456 Peak Mbps: 247.456 Avg Mbps: 247.456 2001 31017608 248.888 100.00% Conn: 1 Mbps: 248.888 Peak Mbps: 248.888 Avg Mbps: 248.888 3002 31048016 248.136 100.00% Conn: 1 Mbps: 248.136 Peak Mbps: 248.888 Avg Mbps: 248.136 4003 31269560 250.156 100.00% Conn: 1 Mbps: 250.156 Peak Mbps: 250.156 Avg Mbps: 250.156 5003 31101592 248.813 100.00% Conn: 1 Mbps: 248.813 Peak Mbps: 250.156 Avg Mbps: 248.813 --- 169.254.1.11 tcpbench statistics --- 186761592 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 247.456/248.690/250.156/0.898 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 1003 30584904 243.947 100.00% Conn: 1 Mbps: 243.947 Peak Mbps: 243.947 Avg Mbps: 243.947 2006 31261776 249.595 100.00% Conn: 1 Mbps: 249.595 Peak Mbps: 249.595 Avg Mbps: 249.595 3009 30997596 247.239 100.00% Conn: 1 Mbps: 247.239 Peak Mbps: 249.595 Avg Mbps: 247.239 4010 30853368 246.827 100.00% Conn: 1 Mbps: 246.827 Peak Mbps: 249.595 Avg Mbps: 246.827 5015 31366020 249.680 100.00% Conn: 1 Mbps: 249.680 Peak Mbps: 249.680 Avg Mbps: 249.680 --- fc00:0:0:1::11 tcpbench statistics --- 185842776 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 243.947/247.458/249.680/2.111 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.174 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.174/0.174/0.174/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.228 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.228/0.228/0.228/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 42995464 343.964 100.00% Conn: 1 Mbps: 343.964 Peak Mbps: 343.964 Avg Mbps: 343.964 2000 43383528 347.068 100.00% Conn: 1 Mbps: 347.068 Peak Mbps: 347.068 Avg Mbps: 347.068 3001 43548600 348.389 100.00% Conn: 1 Mbps: 348.389 Peak Mbps: 348.389 Avg Mbps: 348.389 4001 43696296 349.570 100.00% Conn: 1 Mbps: 349.570 Peak Mbps: 349.570 Avg Mbps: 349.570 5001 43613760 349.259 100.00% Conn: 1 Mbps: 349.259 Peak Mbps: 349.570 Avg Mbps: 349.259 --- 169.254.1.12 tcpbench statistics --- 260739912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 343.964/347.650/349.570/2.037 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 46818408 374.547 100.00% Conn: 1 Mbps: 374.547 Peak Mbps: 374.547 Avg Mbps: 374.547 2000 48152160 385.217 100.00% Conn: 1 Mbps: 385.217 Peak Mbps: 385.217 Avg Mbps: 385.217 3000 46876956 375.016 100.00% Conn: 1 Mbps: 375.016 Peak Mbps: 385.217 Avg Mbps: 375.016 4001 46481400 371.851 100.00% Conn: 1 Mbps: 371.851 Peak Mbps: 385.217 Avg Mbps: 371.851 5001 46774140 374.568 100.00% Conn: 1 Mbps: 374.568 Peak Mbps: 385.217 Avg Mbps: 374.568 --- fc00:0:0:1::12 tcpbench statistics --- 281635872 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 371.851/376.240/385.217/4.626 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.173 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.173/0.173/0.173/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.231 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.231/0.231/0.231/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 137243706 1097.950 100.00% Conn: 1 Mbps: 1097.950 Peak Mbps: 1097.950 Avg Mbps: 1097.950 2000 137799720 1102.398 100.00% Conn: 1 Mbps: 1102.398 Peak Mbps: 1102.398 Avg Mbps: 1102.398 3000 137865140 1102.921 100.00% Conn: 1 Mbps: 1102.921 Peak Mbps: 1102.921 Avg Mbps: 1102.921 4000 138126868 1105.015 100.00% Conn: 1 Mbps: 1105.015 Peak Mbps: 1105.015 Avg Mbps: 1105.015 5000 137865140 1102.921 100.00% Conn: 1 Mbps: 1102.921 Peak Mbps: 1105.015 Avg Mbps: 1102.921 --- 169.254.0.13 tcpbench statistics --- 826700294 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1097.950/1102.241/1105.015/2.326 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 127302164 1018.417 100.00% Conn: 1 Mbps: 1018.417 Peak Mbps: 1018.417 Avg Mbps: 1018.417 2000 128135624 1025.085 100.00% Conn: 1 Mbps: 1025.085 Peak Mbps: 1025.085 Avg Mbps: 1025.085 3000 128201016 1025.608 100.00% Conn: 1 Mbps: 1025.608 Peak Mbps: 1025.608 Avg Mbps: 1025.608 4000 128331800 1026.654 100.00% Conn: 1 Mbps: 1026.654 Peak Mbps: 1026.654 Avg Mbps: 1026.654 5000 128364496 1026.916 100.00% Conn: 1 Mbps: 1026.916 Peak Mbps: 1026.916 Avg Mbps: 1026.916 --- fc00::13 tcpbench statistics --- 768143764 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1018.417/1024.536/1026.916/3.132 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.197 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.197/0.197/0.197/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.260 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.260/0.260/0.260/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 1003 30906112 246.509 100.00% Conn: 1 Mbps: 246.509 Peak Mbps: 246.509 Avg Mbps: 246.509 2003 31045120 248.361 100.00% Conn: 1 Mbps: 248.361 Peak Mbps: 248.361 Avg Mbps: 248.361 3006 30833712 246.177 100.00% Conn: 1 Mbps: 246.177 Peak Mbps: 248.361 Avg Mbps: 246.177 4007 30900320 246.956 100.00% Conn: 1 Mbps: 246.956 Peak Mbps: 248.361 Avg Mbps: 246.956 5004 30851088 247.551 100.00% Conn: 1 Mbps: 247.551 Peak Mbps: 248.361 Avg Mbps: 247.551 --- 169.254.1.11 tcpbench statistics --- 185319384 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 246.177/247.111/248.361/0.776 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 1003 56201136 448.264 100.00% Conn: 1 Mbps: 448.264 Peak Mbps: 448.264 Avg Mbps: 448.264 2002 56470600 452.217 100.00% Conn: 1 Mbps: 452.217 Peak Mbps: 452.217 Avg Mbps: 452.217 3002 57572376 461.040 100.00% Conn: 1 Mbps: 461.040 Peak Mbps: 461.040 Avg Mbps: 461.040 4009 58056944 461.685 100.00% Conn: 1 Mbps: 461.685 Peak Mbps: 461.685 Avg Mbps: 461.685 5007 57541600 461.255 100.00% Conn: 1 Mbps: 461.255 Peak Mbps: 461.685 Avg Mbps: 461.255 --- fc00:0:0:1::11 tcpbench statistics --- 341774080 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 448.264/456.892/461.685/5.577 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.191 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.191/0.191/0.191/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.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-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 136965970 1095.728 100.00% Conn: 1 Mbps: 1095.728 Peak Mbps: 1095.728 Avg Mbps: 1095.728 2000 138159584 1105.277 100.00% Conn: 1 Mbps: 1105.277 Peak Mbps: 1105.277 Avg Mbps: 1105.277 3000 138192300 1105.538 100.00% Conn: 1 Mbps: 1105.538 Peak Mbps: 1105.538 Avg Mbps: 1105.538 4000 138061448 1104.492 100.00% Conn: 1 Mbps: 1104.492 Peak Mbps: 1105.538 Avg Mbps: 1104.492 5000 137996004 1103.968 100.00% Conn: 1 Mbps: 1103.968 Peak Mbps: 1105.538 Avg Mbps: 1103.968 --- 169.254.1.12 tcpbench statistics --- 827076866 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1095.728/1103.000/1105.538/3.679 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 127547852 1020.383 100.00% Conn: 1 Mbps: 1020.383 Peak Mbps: 1020.383 Avg Mbps: 1020.383 2000 126500824 1012.007 100.00% Conn: 1 Mbps: 1012.007 Peak Mbps: 1020.383 Avg Mbps: 1012.007 3000 128495280 1027.962 100.00% Conn: 1 Mbps: 1027.962 Peak Mbps: 1027.962 Avg Mbps: 1027.962 4000 128527976 1028.224 100.00% Conn: 1 Mbps: 1028.224 Peak Mbps: 1028.224 Avg Mbps: 1028.224 5000 128527976 1028.224 100.00% Conn: 1 Mbps: 1028.224 Peak Mbps: 1028.224 Avg Mbps: 1028.224 --- fc00:0:0:1::12 tcpbench statistics --- 767833620 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1012.007/1023.360/1028.224/6.423 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.162 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.162/0.162/0.162/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.223 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.223/0.223/0.223/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 137816794 1102.534 100.00% Conn: 1 Mbps: 1102.534 Peak Mbps: 1102.534 Avg Mbps: 1102.534 2000 139206496 1113.652 100.00% Conn: 1 Mbps: 1113.652 Peak Mbps: 1113.652 Avg Mbps: 1113.652 3000 139239212 1113.914 100.00% Conn: 1 Mbps: 1113.914 Peak Mbps: 1113.914 Avg Mbps: 1113.914 4000 138813916 1110.511 100.00% Conn: 1 Mbps: 1110.511 Peak Mbps: 1113.914 Avg Mbps: 1110.511 5000 139141064 1113.129 100.00% Conn: 1 Mbps: 1113.129 Peak Mbps: 1113.914 Avg Mbps: 1113.129 --- 169.254.0.13 tcpbench statistics --- 833260398 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1102.534/1110.748/1113.914/4.281 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 139089900 1112.719 100.00% Conn: 1 Mbps: 1112.719 Peak Mbps: 1112.719 Avg Mbps: 1112.719 2000 139252264 1114.018 100.00% Conn: 1 Mbps: 1114.018 Peak Mbps: 1114.018 Avg Mbps: 1114.018 3000 141312112 1130.497 100.00% Conn: 1 Mbps: 1130.497 Peak Mbps: 1130.497 Avg Mbps: 1130.497 4000 142194904 1137.559 100.00% Conn: 1 Mbps: 1137.559 Peak Mbps: 1137.559 Avg Mbps: 1137.559 5000 140592800 1124.742 100.00% Conn: 1 Mbps: 1124.742 Peak Mbps: 1137.559 Avg Mbps: 1124.742 --- fc00::13 tcpbench statistics --- 840942236 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1112.719/1123.907/1137.559/9.523 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.47s