START sys/net/pair 2024-11-22T01:28:55Z ==== 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.368 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.368/0.368/0.368/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.367 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.367/0.367/0.367/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 104802328 838.419 100.00% Conn: 1 Mbps: 838.419 Peak Mbps: 838.419 Avg Mbps: 838.419 2000 102274864 818.199 100.00% Conn: 1 Mbps: 818.199 Peak Mbps: 838.419 Avg Mbps: 818.199 3000 102147696 818.000 100.00% Conn: 1 Mbps: 818.000 Peak Mbps: 838.419 Avg Mbps: 818.000 4000 99620232 796.962 100.00% Conn: 1 Mbps: 796.962 Peak Mbps: 838.419 Avg Mbps: 796.962 5000 101575440 812.604 100.00% Conn: 1 Mbps: 812.604 Peak Mbps: 838.419 Avg Mbps: 812.604 --- 169.254.1.11 tcpbench statistics --- 612170856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 796.962/816.836/838.419/13.281 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 103024360 824.195 100.00% Conn: 1 Mbps: 824.195 Peak Mbps: 824.195 Avg Mbps: 824.195 2000 101732096 814.671 100.00% Conn: 1 Mbps: 814.671 Peak Mbps: 824.195 Avg Mbps: 814.671 3000 101763808 814.110 100.00% Conn: 1 Mbps: 814.110 Peak Mbps: 824.195 Avg Mbps: 814.110 4000 101399120 811.193 100.00% Conn: 1 Mbps: 811.193 Peak Mbps: 824.195 Avg Mbps: 811.193 5000 101169208 809.354 100.00% Conn: 1 Mbps: 809.354 Peak Mbps: 824.195 Avg Mbps: 809.354 --- fc00:0:0:1::11 tcpbench statistics --- 610424288 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 809.354/814.705/824.195/5.126 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.457 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.457/0.457/0.457/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=1.081 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 = 1.081/1.081/1.081/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 29104800 232.606 100.00% Conn: 1 Mbps: 232.606 Peak Mbps: 232.606 Avg Mbps: 232.606 2001 29083080 232.665 100.00% Conn: 1 Mbps: 232.665 Peak Mbps: 232.665 Avg Mbps: 232.665 3002 29211952 233.696 100.00% Conn: 1 Mbps: 233.696 Peak Mbps: 233.696 Avg Mbps: 233.696 4004 29362544 234.666 100.00% Conn: 1 Mbps: 234.666 Peak Mbps: 234.666 Avg Mbps: 234.666 5007 29456664 234.948 100.00% Conn: 1 Mbps: 234.948 Peak Mbps: 234.948 Avg Mbps: 234.948 --- 169.254.1.12 tcpbench statistics --- 175417960 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 232.606/233.716/234.948/0.976 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 27313356 218.507 100.00% Conn: 1 Mbps: 218.507 Peak Mbps: 218.507 Avg Mbps: 218.507 2002 27543264 219.906 100.00% Conn: 1 Mbps: 219.906 Peak Mbps: 219.906 Avg Mbps: 219.906 3003 27568968 220.552 100.00% Conn: 1 Mbps: 220.552 Peak Mbps: 220.552 Avg Mbps: 220.552 4006 27588960 220.052 100.00% Conn: 1 Mbps: 220.052 Peak Mbps: 220.552 Avg Mbps: 220.052 5005 27447588 220.021 100.00% Conn: 1 Mbps: 220.021 Peak Mbps: 220.552 Avg Mbps: 220.021 --- fc00:0:0:1::12 tcpbench statistics --- 164888304 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 218.507/219.807/220.552/0.687 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.415 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.415/0.415/0.415/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.537 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.537/0.537/0.537/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 45033368 360.267 100.00% Conn: 1 Mbps: 360.267 Peak Mbps: 360.267 Avg Mbps: 360.267 2000 44842616 358.741 100.00% Conn: 1 Mbps: 358.741 Peak Mbps: 360.267 Avg Mbps: 358.741 3000 44707500 358.018 100.00% Conn: 1 Mbps: 358.018 Peak Mbps: 360.267 Avg Mbps: 358.018 4000 44786980 358.296 100.00% Conn: 1 Mbps: 358.296 Peak Mbps: 360.267 Avg Mbps: 358.296 5001 44739292 357.914 100.00% Conn: 1 Mbps: 357.914 Peak Mbps: 360.267 Avg Mbps: 357.914 --- 169.254.0.13 tcpbench statistics --- 268658296 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 357.914/358.647/360.267/0.859 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 40773704 325.864 100.00% Conn: 1 Mbps: 325.864 Peak Mbps: 325.864 Avg Mbps: 325.864 2000 40424872 323.723 100.00% Conn: 1 Mbps: 323.723 Peak Mbps: 325.864 Avg Mbps: 323.723 3000 40488296 323.906 100.00% Conn: 1 Mbps: 323.906 Peak Mbps: 325.864 Avg Mbps: 323.906 4001 40821272 326.570 100.00% Conn: 1 Mbps: 326.570 Peak Mbps: 326.570 Avg Mbps: 326.570 5001 40726136 325.809 100.00% Conn: 1 Mbps: 325.809 Peak Mbps: 326.570 Avg Mbps: 325.809 --- fc00::13 tcpbench statistics --- 243730504 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 323.723/325.174/326.570/1.144 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.320 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.320/0.320/0.320/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.414 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.414/0.414/0.414/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 1004 29054120 231.507 100.00% Conn: 1 Mbps: 231.507 Peak Mbps: 231.507 Avg Mbps: 231.507 2001 28964344 232.412 100.00% Conn: 1 Mbps: 232.412 Peak Mbps: 232.412 Avg Mbps: 232.412 3003 29262632 233.867 100.00% Conn: 1 Mbps: 233.867 Peak Mbps: 233.867 Avg Mbps: 233.867 4006 29343720 234.048 100.00% Conn: 1 Mbps: 234.048 Peak Mbps: 234.048 Avg Mbps: 234.048 5009 29326344 233.909 100.00% Conn: 1 Mbps: 233.909 Peak Mbps: 234.048 Avg Mbps: 233.909 --- 169.254.1.11 tcpbench statistics --- 174982112 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 231.507/233.149/234.048/1.014 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 27287652 218.083 100.00% Conn: 1 Mbps: 218.083 Peak Mbps: 218.083 Avg Mbps: 218.083 2003 27469008 219.533 100.00% Conn: 1 Mbps: 219.533 Peak Mbps: 219.533 Avg Mbps: 219.533 3005 27414744 219.099 100.00% Conn: 1 Mbps: 219.099 Peak Mbps: 219.533 Avg Mbps: 219.099 4003 27364764 219.357 100.00% Conn: 1 Mbps: 219.357 Peak Mbps: 219.533 Avg Mbps: 219.357 5007 27506136 219.391 100.00% Conn: 1 Mbps: 219.391 Peak Mbps: 219.533 Avg Mbps: 219.391 --- fc00:0:0:1::11 tcpbench statistics --- 164368512 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 218.083/219.092/219.533/0.524 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.280 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.280/0.280/0.280/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.365 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.365/0.365/0.365/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 96255800 770.046 100.00% Conn: 1 Mbps: 770.046 Peak Mbps: 770.046 Avg Mbps: 770.046 2000 95010520 760.845 100.00% Conn: 1 Mbps: 760.845 Peak Mbps: 770.046 Avg Mbps: 760.845 3000 94125792 753.006 100.00% Conn: 1 Mbps: 753.006 Peak Mbps: 770.046 Avg Mbps: 753.006 4000 94143168 753.145 100.00% Conn: 1 Mbps: 753.145 Peak Mbps: 770.046 Avg Mbps: 753.145 5000 94027328 752.972 100.00% Conn: 1 Mbps: 752.972 Peak Mbps: 770.046 Avg Mbps: 752.972 --- 169.254.1.12 tcpbench statistics --- 567410384 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 752.972/758.003/770.046/6.738 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 89511324 716.091 100.00% Conn: 1 Mbps: 716.091 Peak Mbps: 716.091 Avg Mbps: 716.091 2000 89935440 719.484 100.00% Conn: 1 Mbps: 719.484 Peak Mbps: 719.484 Avg Mbps: 719.484 3000 88850160 711.513 100.00% Conn: 1 Mbps: 711.513 Peak Mbps: 719.484 Avg Mbps: 711.513 4001 89262852 714.103 100.00% Conn: 1 Mbps: 714.103 Peak Mbps: 719.484 Avg Mbps: 714.103 5000 88864440 711.627 100.00% Conn: 1 Mbps: 711.627 Peak Mbps: 719.484 Avg Mbps: 711.627 --- fc00:0:0:1::12 tcpbench statistics --- 535504284 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 711.513/714.563/719.484/2.989 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.303 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.303/0.303/0.303/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.395 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.395/0.395/0.395/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 115293320 922.347 100.00% Conn: 1 Mbps: 922.347 Peak Mbps: 922.347 Avg Mbps: 922.347 2000 101157872 809.263 100.00% Conn: 1 Mbps: 809.263 Peak Mbps: 922.347 Avg Mbps: 809.263 3000 97395532 779.164 100.00% Conn: 1 Mbps: 779.164 Peak Mbps: 922.347 Avg Mbps: 779.164 4000 95759732 766.078 100.00% Conn: 1 Mbps: 766.078 Peak Mbps: 922.347 Avg Mbps: 766.078 5001 97493680 779.949 100.00% Conn: 1 Mbps: 779.949 Peak Mbps: 922.347 Avg Mbps: 779.949 --- 169.254.0.13 tcpbench statistics --- 603285176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 766.078/811.360/922.347/57.264 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 140823508 1126.588 100.00% Conn: 1 Mbps: 1126.588 Peak Mbps: 1126.588 Avg Mbps: 1126.588 2000 132370332 1060.023 100.00% Conn: 1 Mbps: 1060.023 Peak Mbps: 1126.588 Avg Mbps: 1060.023 3000 127416312 1019.330 100.00% Conn: 1 Mbps: 1019.330 Peak Mbps: 1126.588 Avg Mbps: 1019.330 4000 126795088 1014.361 100.00% Conn: 1 Mbps: 1014.361 Peak Mbps: 1126.588 Avg Mbps: 1014.361 5000 125716120 1005.729 100.00% Conn: 1 Mbps: 1005.729 Peak Mbps: 1126.588 Avg Mbps: 1005.729 --- fc00::13 tcpbench statistics --- 780079928 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1005.729/1045.206/1126.588/44.770 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.338 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.338/0.338/0.338/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.453 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.453/0.453/0.453/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 1004 28292472 225.438 100.00% Conn: 1 Mbps: 225.438 Peak Mbps: 225.438 Avg Mbps: 225.438 2004 28386592 227.320 100.00% Conn: 1 Mbps: 227.320 Peak Mbps: 227.320 Avg Mbps: 227.320 3004 28603792 228.830 100.00% Conn: 1 Mbps: 228.830 Peak Mbps: 228.830 Avg Mbps: 228.830 4010 28767416 228.767 100.00% Conn: 1 Mbps: 228.767 Peak Mbps: 228.830 Avg Mbps: 228.767 5010 28625512 229.233 100.00% Conn: 1 Mbps: 229.233 Peak Mbps: 229.233 Avg Mbps: 229.233 --- 169.254.1.11 tcpbench statistics --- 170971152 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 225.438/227.918/229.233/1.399 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 1008 47635888 378.063 100.00% Conn: 1 Mbps: 378.063 Peak Mbps: 378.063 Avg Mbps: 378.063 2005 46535192 373.402 100.00% Conn: 1 Mbps: 373.402 Peak Mbps: 378.063 Avg Mbps: 373.402 3005 46630280 373.042 100.00% Conn: 1 Mbps: 373.042 Peak Mbps: 378.063 Avg Mbps: 373.042 4007 46726432 373.438 100.00% Conn: 1 Mbps: 373.438 Peak Mbps: 378.063 Avg Mbps: 373.438 5010 46589672 371.973 100.00% Conn: 1 Mbps: 371.973 Peak Mbps: 378.063 Avg Mbps: 371.973 --- fc00:0:0:1::11 tcpbench statistics --- 280038776 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 371.973/373.984/378.063/2.107 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.307 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.307/0.307/0.307/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.403 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.403/0.403/0.403/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 102904880 823.239 100.00% Conn: 1 Mbps: 823.239 Peak Mbps: 823.239 Avg Mbps: 823.239 2000 95203512 761.628 100.00% Conn: 1 Mbps: 761.628 Peak Mbps: 823.239 Avg Mbps: 761.628 3000 96741152 773.929 100.00% Conn: 1 Mbps: 773.929 Peak Mbps: 823.239 Avg Mbps: 773.929 4001 96315844 770.527 100.00% Conn: 1 Mbps: 770.527 Peak Mbps: 823.239 Avg Mbps: 770.527 5001 98147952 785.184 100.00% Conn: 1 Mbps: 785.184 Peak Mbps: 823.239 Avg Mbps: 785.184 --- 169.254.1.12 tcpbench statistics --- 586545232 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 761.628/782.901/823.239/21.534 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 140201348 1121.611 100.00% Conn: 1 Mbps: 1121.611 Peak Mbps: 1121.611 Avg Mbps: 1121.611 2000 135099872 1081.881 100.00% Conn: 1 Mbps: 1081.881 Peak Mbps: 1121.611 Avg Mbps: 1081.881 3000 135786488 1086.292 100.00% Conn: 1 Mbps: 1086.292 Peak Mbps: 1121.611 Avg Mbps: 1086.292 4000 135067176 1080.537 100.00% Conn: 1 Mbps: 1080.537 Peak Mbps: 1121.611 Avg Mbps: 1080.537 5000 135230656 1081.845 100.00% Conn: 1 Mbps: 1081.845 Peak Mbps: 1121.611 Avg Mbps: 1081.845 --- fc00:0:0:1::12 tcpbench statistics --- 815373748 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1080.537/1090.433/1121.611/15.710 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.282 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.282/0.282/0.282/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.360 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.360/0.360/0.360/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 121835444 974.684 100.00% Conn: 1 Mbps: 974.684 Peak Mbps: 974.684 Avg Mbps: 974.684 2000 93764056 750.863 100.00% Conn: 1 Mbps: 750.863 Peak Mbps: 974.684 Avg Mbps: 750.863 3000 93535044 748.280 100.00% Conn: 1 Mbps: 748.280 Peak Mbps: 974.684 Avg Mbps: 748.280 4000 94549240 756.394 100.00% Conn: 1 Mbps: 756.394 Peak Mbps: 974.684 Avg Mbps: 756.394 5000 94549240 756.394 100.00% Conn: 1 Mbps: 756.394 Peak Mbps: 974.684 Avg Mbps: 756.394 --- 169.254.0.13 tcpbench statistics --- 593829176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 748.280/797.323/974.684/88.736 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 142507136 1140.057 100.00% Conn: 1 Mbps: 1140.057 Peak Mbps: 1140.057 Avg Mbps: 1140.057 2000 132974632 1064.862 100.00% Conn: 1 Mbps: 1064.862 Peak Mbps: 1140.057 Avg Mbps: 1064.862 3000 132778456 1062.228 100.00% Conn: 1 Mbps: 1062.228 Peak Mbps: 1140.057 Avg Mbps: 1062.228 4000 135034480 1080.276 100.00% Conn: 1 Mbps: 1080.276 Peak Mbps: 1140.057 Avg Mbps: 1080.276 5000 134118992 1072.952 100.00% Conn: 1 Mbps: 1072.952 Peak Mbps: 1140.057 Avg Mbps: 1072.952 --- fc00::13 tcpbench statistics --- 808524656 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1062.228/1084.075/1140.057/28.701 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 2m11.44s