START sys/net/pair 2024-05-15T08:10:32Z ==== 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.209 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.209/0.209/0.209/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.249 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.249/0.249/0.249/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 110739484 885.916 100.00% Conn: 1 Mbps: 885.916 Peak Mbps: 885.916 Avg Mbps: 885.916 2000 110477200 884.702 100.00% Conn: 1 Mbps: 884.702 Peak Mbps: 885.916 Avg Mbps: 884.702 3000 110493096 883.945 100.00% Conn: 1 Mbps: 883.945 Peak Mbps: 885.916 Avg Mbps: 883.945 4000 110302344 883.302 100.00% Conn: 1 Mbps: 883.302 Peak Mbps: 885.916 Avg Mbps: 883.302 5000 110302344 882.419 100.00% Conn: 1 Mbps: 882.419 Peak Mbps: 885.916 Avg Mbps: 882.419 --- 169.254.1.11 tcpbench statistics --- 662267100 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 882.419/884.057/885.916/1.195 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 110714520 885.716 100.00% Conn: 1 Mbps: 885.716 Peak Mbps: 885.716 Avg Mbps: 885.716 2000 110215056 882.603 100.00% Conn: 1 Mbps: 882.603 Peak Mbps: 885.716 Avg Mbps: 882.603 3000 110318120 882.545 100.00% Conn: 1 Mbps: 882.545 Peak Mbps: 885.716 Avg Mbps: 882.545 4000 109985144 879.881 100.00% Conn: 1 Mbps: 879.881 Peak Mbps: 885.716 Avg Mbps: 879.881 5000 109858296 878.866 100.00% Conn: 1 Mbps: 878.866 Peak Mbps: 885.716 Avg Mbps: 878.866 --- fc00:0:0:1::11 tcpbench statistics --- 660957360 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 878.866/881.922/885.716/2.398 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.296 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.296/0.296/0.296/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.707 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.707/0.707/0.707/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1001 40400648 322.882 100.00% Conn: 1 Mbps: 322.882 Peak Mbps: 322.882 Avg Mbps: 322.882 2001 40567168 324.537 100.00% Conn: 1 Mbps: 324.537 Peak Mbps: 324.537 Avg Mbps: 324.537 3003 40520832 323.520 100.00% Conn: 1 Mbps: 323.520 Peak Mbps: 324.537 Avg Mbps: 323.520 4004 40517936 324.143 100.00% Conn: 1 Mbps: 324.143 Peak Mbps: 324.537 Avg Mbps: 324.143 5004 40493320 323.947 100.00% Conn: 1 Mbps: 323.947 Peak Mbps: 324.537 Avg Mbps: 323.947 --- 169.254.1.12 tcpbench statistics --- 242861456 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 322.882/323.806/324.537/0.566 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 38056200 304.450 100.00% Conn: 1 Mbps: 304.450 Peak Mbps: 304.450 Avg Mbps: 304.450 2002 38237556 305.290 100.00% Conn: 1 Mbps: 305.290 Peak Mbps: 305.290 Avg Mbps: 305.290 3004 38220420 305.458 100.00% Conn: 1 Mbps: 305.458 Peak Mbps: 305.458 Avg Mbps: 305.458 4005 38617404 308.631 100.00% Conn: 1 Mbps: 308.631 Peak Mbps: 308.631 Avg Mbps: 308.631 5006 38650248 308.893 100.00% Conn: 1 Mbps: 308.893 Peak Mbps: 308.893 Avg Mbps: 308.893 --- fc00:0:0:1::12 tcpbench statistics --- 230023668 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 304.450/306.544/308.893/1.845 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.252 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.252/0.252/0.252/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.358 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.358/0.358/0.358/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 61247288 489.978 100.00% Conn: 1 Mbps: 489.978 Peak Mbps: 489.978 Avg Mbps: 489.978 2000 60508124 484.550 100.00% Conn: 1 Mbps: 484.550 Peak Mbps: 489.978 Avg Mbps: 484.550 3000 60937316 487.499 100.00% Conn: 1 Mbps: 487.499 Peak Mbps: 489.978 Avg Mbps: 487.499 4000 60063036 480.504 100.00% Conn: 1 Mbps: 480.504 Peak Mbps: 489.978 Avg Mbps: 480.504 5001 60500176 484.001 100.00% Conn: 1 Mbps: 484.001 Peak Mbps: 489.978 Avg Mbps: 484.001 --- 169.254.0.13 tcpbench statistics --- 363390508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 480.504/485.306/489.978/3.224 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 59182520 473.460 100.00% Conn: 1 Mbps: 473.460 Peak Mbps: 473.460 Avg Mbps: 473.460 2000 58365936 467.395 100.00% Conn: 1 Mbps: 467.395 Peak Mbps: 473.460 Avg Mbps: 467.395 3001 58231160 465.849 100.00% Conn: 1 Mbps: 465.849 Peak Mbps: 473.460 Avg Mbps: 465.849 4001 58532424 468.259 100.00% Conn: 1 Mbps: 468.259 Peak Mbps: 473.460 Avg Mbps: 468.259 5001 58572064 468.577 100.00% Conn: 1 Mbps: 468.577 Peak Mbps: 473.460 Avg Mbps: 468.577 --- fc00::13 tcpbench statistics --- 351392744 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 465.849/468.708/473.460/2.557 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.229 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.229/0.229/0.229/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.281 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.281/0.281/0.281/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 1002 40283360 321.624 100.00% Conn: 1 Mbps: 321.624 Peak Mbps: 321.624 Avg Mbps: 321.624 2002 40444088 323.877 100.00% Conn: 1 Mbps: 323.877 Peak Mbps: 323.877 Avg Mbps: 323.877 3002 40612056 324.896 100.00% Conn: 1 Mbps: 324.896 Peak Mbps: 324.896 Avg Mbps: 324.896 4002 40526624 324.538 100.00% Conn: 1 Mbps: 324.538 Peak Mbps: 324.896 Avg Mbps: 324.538 5003 40808984 326.146 100.00% Conn: 1 Mbps: 326.146 Peak Mbps: 326.146 Avg Mbps: 326.146 --- 169.254.1.11 tcpbench statistics --- 243181464 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 321.624/324.216/326.146/1.492 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 38057628 304.157 100.00% Conn: 1 Mbps: 304.157 Peak Mbps: 304.157 Avg Mbps: 304.157 2002 38164728 305.318 100.00% Conn: 1 Mbps: 305.318 Peak Mbps: 305.318 Avg Mbps: 305.318 3001 38041920 304.640 100.00% Conn: 1 Mbps: 304.640 Peak Mbps: 305.318 Avg Mbps: 304.640 4003 38177580 305.116 100.00% Conn: 1 Mbps: 305.116 Peak Mbps: 305.318 Avg Mbps: 305.116 5004 38300388 306.403 100.00% Conn: 1 Mbps: 306.403 Peak Mbps: 306.403 Avg Mbps: 306.403 --- fc00:0:0:1::11 tcpbench statistics --- 229213992 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 304.157/305.127/306.403/0.754 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.193 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.193/0.193/0.193/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.241 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.241/0.241/0.241/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 105625808 845.006 100.00% Conn: 1 Mbps: 845.006 Peak Mbps: 845.006 Avg Mbps: 845.006 2000 105547616 844.381 100.00% Conn: 1 Mbps: 844.381 Peak Mbps: 845.006 Avg Mbps: 844.381 3000 106315056 850.520 100.00% Conn: 1 Mbps: 850.520 Peak Mbps: 850.520 Avg Mbps: 850.520 4000 106564112 852.513 100.00% Conn: 1 Mbps: 852.513 Peak Mbps: 852.513 Avg Mbps: 852.513 5000 106096408 848.771 100.00% Conn: 1 Mbps: 848.771 Peak Mbps: 852.513 Avg Mbps: 848.771 --- 169.254.1.12 tcpbench statistics --- 635928296 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 844.381/848.238/852.513/3.133 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 105413532 843.308 100.00% Conn: 1 Mbps: 843.308 Peak Mbps: 843.308 Avg Mbps: 843.308 2000 105250740 842.006 100.00% Conn: 1 Mbps: 842.006 Peak Mbps: 843.308 Avg Mbps: 842.006 3000 104958000 839.664 100.00% Conn: 1 Mbps: 839.664 Peak Mbps: 843.308 Avg Mbps: 839.664 4000 104806632 838.453 100.00% Conn: 1 Mbps: 838.453 Peak Mbps: 843.308 Avg Mbps: 838.453 5000 105482076 843.857 100.00% Conn: 1 Mbps: 843.857 Peak Mbps: 843.857 Avg Mbps: 843.857 --- fc00:0:0:1::12 tcpbench statistics --- 630897540 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 838.453/841.458/843.857/2.084 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.187 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.187/0.187/0.187/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.257 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.257/0.257/0.257/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 175571242 1404.570 100.00% Conn: 1 Mbps: 1404.570 Peak Mbps: 1404.570 Avg Mbps: 1404.570 2000 174212604 1395.096 100.00% Conn: 1 Mbps: 1395.096 Peak Mbps: 1404.570 Avg Mbps: 1395.096 3000 174278024 1394.224 100.00% Conn: 1 Mbps: 1394.224 Peak Mbps: 1404.570 Avg Mbps: 1394.224 4000 174212604 1393.701 100.00% Conn: 1 Mbps: 1393.701 Peak Mbps: 1404.570 Avg Mbps: 1393.701 5000 174310740 1394.486 100.00% Conn: 1 Mbps: 1394.486 Peak Mbps: 1404.570 Avg Mbps: 1394.486 --- 169.254.0.13 tcpbench statistics --- 1046699670 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1393.701/1396.415/1404.570/4.102 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 176068284 1408.546 100.00% Conn: 1 Mbps: 1408.546 Peak Mbps: 1408.546 Avg Mbps: 1408.546 2000 174171592 1394.768 100.00% Conn: 1 Mbps: 1394.768 Peak Mbps: 1408.546 Avg Mbps: 1394.768 3000 173877328 1391.019 100.00% Conn: 1 Mbps: 1391.019 Peak Mbps: 1408.546 Avg Mbps: 1391.019 4000 173942720 1391.542 100.00% Conn: 1 Mbps: 1391.542 Peak Mbps: 1408.546 Avg Mbps: 1391.542 5000 173550368 1388.403 100.00% Conn: 1 Mbps: 1388.403 Peak Mbps: 1408.546 Avg Mbps: 1388.403 --- fc00::13 tcpbench statistics --- 1045356836 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1388.403/1394.855/1408.546/7.138 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.235 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.235/0.235/0.235/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.295 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.295/0.295/0.295/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 40093672 320.429 100.00% Conn: 1 Mbps: 320.429 Peak Mbps: 320.429 Avg Mbps: 320.429 2002 40283360 322.267 100.00% Conn: 1 Mbps: 322.267 Peak Mbps: 322.267 Avg Mbps: 322.267 3002 40241368 321.931 100.00% Conn: 1 Mbps: 321.931 Peak Mbps: 322.267 Avg Mbps: 321.931 4004 40399200 322.871 100.00% Conn: 1 Mbps: 322.871 Peak Mbps: 322.871 Avg Mbps: 322.871 5003 40113944 321.233 100.00% Conn: 1 Mbps: 321.233 Peak Mbps: 322.871 Avg Mbps: 321.233 --- 169.254.1.11 tcpbench statistics --- 241299064 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 320.429/321.746/322.871/0.845 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 1004 63934984 509.442 100.00% Conn: 1 Mbps: 509.442 Peak Mbps: 509.442 Avg Mbps: 509.442 2002 63379872 508.055 100.00% Conn: 1 Mbps: 508.055 Peak Mbps: 509.442 Avg Mbps: 508.055 3003 63488232 507.398 100.00% Conn: 1 Mbps: 507.398 Peak Mbps: 509.442 Avg Mbps: 507.398 4004 63464376 507.715 100.00% Conn: 1 Mbps: 507.715 Peak Mbps: 509.442 Avg Mbps: 507.715 5005 63051360 503.907 100.00% Conn: 1 Mbps: 503.907 Peak Mbps: 509.442 Avg Mbps: 503.907 --- fc00:0:0:1::11 tcpbench statistics --- 379905984 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 503.907/507.304/509.442/1.836 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 8 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.205 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.205/0.205/0.205/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.264 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.264/0.264/0.264/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 176094164 1408.753 100.00% Conn: 1 Mbps: 1408.753 Peak Mbps: 1408.753 Avg Mbps: 1408.753 2000 172642284 1382.521 100.00% Conn: 1 Mbps: 1382.521 Peak Mbps: 1408.753 Avg Mbps: 1382.521 3000 174441712 1395.534 100.00% Conn: 1 Mbps: 1395.534 Peak Mbps: 1408.753 Avg Mbps: 1395.534 4000 174376280 1395.010 100.00% Conn: 1 Mbps: 1395.010 Peak Mbps: 1408.753 Avg Mbps: 1395.010 5000 174474428 1395.795 100.00% Conn: 1 Mbps: 1395.795 Peak Mbps: 1408.753 Avg Mbps: 1395.795 --- 169.254.1.12 tcpbench statistics --- 1046208852 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1382.521/1395.523/1408.753/8.300 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 179992884 1439.943 100.00% Conn: 1 Mbps: 1439.943 Peak Mbps: 1439.943 Avg Mbps: 1439.943 2000 179239472 1435.351 100.00% Conn: 1 Mbps: 1435.351 Peak Mbps: 1439.943 Avg Mbps: 1435.351 3000 179304864 1434.439 100.00% Conn: 1 Mbps: 1434.439 Peak Mbps: 1439.943 Avg Mbps: 1434.439 4000 179141384 1433.131 100.00% Conn: 1 Mbps: 1433.131 Peak Mbps: 1439.943 Avg Mbps: 1433.131 5000 179075992 1432.608 100.00% Conn: 1 Mbps: 1432.608 Peak Mbps: 1439.943 Avg Mbps: 1432.608 --- fc00:0:0:1::12 tcpbench statistics --- 1076386420 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1432.608/1435.094/1439.943/2.609 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.180 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.180/0.180/0.180/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.242 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.242/0.242/0.242/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 177583446 1420.668 100.00% Conn: 1 Mbps: 1420.668 Peak Mbps: 1420.668 Avg Mbps: 1420.668 2000 176306416 1411.863 100.00% Conn: 1 Mbps: 1411.863 Peak Mbps: 1420.668 Avg Mbps: 1411.863 3000 176535428 1412.283 100.00% Conn: 1 Mbps: 1412.283 Peak Mbps: 1420.668 Avg Mbps: 1412.283 4000 176339144 1410.713 100.00% Conn: 1 Mbps: 1410.713 Peak Mbps: 1420.668 Avg Mbps: 1410.713 5000 176502712 1412.022 100.00% Conn: 1 Mbps: 1412.022 Peak Mbps: 1420.668 Avg Mbps: 1412.022 --- 169.254.0.13 tcpbench statistics --- 1059246414 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1410.713/1413.510/1420.668/3.619 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 177754108 1422.033 100.00% Conn: 1 Mbps: 1422.033 Peak Mbps: 1422.033 Avg Mbps: 1422.033 2000 176296832 1411.786 100.00% Conn: 1 Mbps: 1411.786 Peak Mbps: 1422.033 Avg Mbps: 1411.786 3000 176198744 1409.590 100.00% Conn: 1 Mbps: 1409.590 Peak Mbps: 1422.033 Avg Mbps: 1409.590 4000 176754576 1414.037 100.00% Conn: 1 Mbps: 1414.037 Peak Mbps: 1422.033 Avg Mbps: 1414.037 5000 176100656 1408.805 100.00% Conn: 1 Mbps: 1408.805 Peak Mbps: 1422.033 Avg Mbps: 1408.805 --- fc00::13 tcpbench statistics --- 1059205572 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1408.805/1413.250/1422.033/4.755 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.12s