START sys/net/pair 2024-11-27T23:03:36Z ==== 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.169 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.169/0.169/0.169/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.229 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.229/0.229/0.229/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 50684396 405.475 100.00% Conn: 1 Mbps: 405.475 Peak Mbps: 405.475 Avg Mbps: 405.475 2000 50787720 406.302 100.00% Conn: 1 Mbps: 406.302 Peak Mbps: 406.302 Avg Mbps: 406.302 3000 50740032 405.920 100.00% Conn: 1 Mbps: 405.920 Peak Mbps: 406.302 Avg Mbps: 405.920 4001 50430060 403.440 100.00% Conn: 1 Mbps: 403.440 Peak Mbps: 406.302 Avg Mbps: 403.440 5001 50223412 401.787 100.00% Conn: 1 Mbps: 401.787 Peak Mbps: 406.302 Avg Mbps: 401.787 --- 169.254.1.11 tcpbench statistics --- 303065188 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 401.787/404.585/406.302/1.712 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 45934832 367.479 100.00% Conn: 1 Mbps: 367.479 Peak Mbps: 367.479 Avg Mbps: 367.479 2001 45554288 364.434 100.00% Conn: 1 Mbps: 364.434 Peak Mbps: 367.479 Avg Mbps: 364.434 3001 45712848 365.703 100.00% Conn: 1 Mbps: 365.703 Peak Mbps: 367.479 Avg Mbps: 365.703 4001 45696992 365.576 100.00% Conn: 1 Mbps: 365.576 Peak Mbps: 367.479 Avg Mbps: 365.576 5001 45395728 363.529 100.00% Conn: 1 Mbps: 363.529 Peak Mbps: 367.479 Avg Mbps: 363.529 --- fc00:0:0:1::11 tcpbench statistics --- 274166096 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 363.529/365.344/367.479/1.331 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.749 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.749/0.749/0.749/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 1005 31372368 249.730 100.00% Conn: 1 Mbps: 249.730 Peak Mbps: 249.730 Avg Mbps: 249.730 2004 31052360 248.917 100.00% Conn: 1 Mbps: 248.917 Peak Mbps: 249.730 Avg Mbps: 248.917 3005 31366576 250.682 100.00% Conn: 1 Mbps: 250.682 Peak Mbps: 250.682 Avg Mbps: 250.682 4008 31147928 248.438 100.00% Conn: 1 Mbps: 248.438 Peak Mbps: 250.682 Avg Mbps: 248.438 5007 31124760 249.497 100.00% Conn: 1 Mbps: 249.497 Peak Mbps: 250.682 Avg Mbps: 249.497 --- 169.254.1.12 tcpbench statistics --- 187056984 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 248.438/249.453/250.682/0.762 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 30070824 240.326 100.00% Conn: 1 Mbps: 240.326 Peak Mbps: 240.326 Avg Mbps: 240.326 2001 29976576 239.813 100.00% Conn: 1 Mbps: 239.813 Peak Mbps: 240.326 Avg Mbps: 239.813 3002 30113664 240.669 100.00% Conn: 1 Mbps: 240.669 Peak Mbps: 240.669 Avg Mbps: 240.669 4003 30102240 240.577 100.00% Conn: 1 Mbps: 240.577 Peak Mbps: 240.669 Avg Mbps: 240.577 5009 30514932 242.905 100.00% Conn: 1 Mbps: 242.905 Peak Mbps: 242.905 Avg Mbps: 242.905 --- fc00:0:0:1::12 tcpbench statistics --- 180879048 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 239.813/240.858/242.905/1.066 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.225 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.225/0.225/0.225/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.314 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.314/0.314/0.314/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 32618592 260.949 100.00% Conn: 1 Mbps: 260.949 Peak Mbps: 260.949 Avg Mbps: 260.949 2000 31799948 254.400 100.00% Conn: 1 Mbps: 254.400 Peak Mbps: 260.949 Avg Mbps: 254.400 3000 31315120 250.521 100.00% Conn: 1 Mbps: 250.521 Peak Mbps: 260.949 Avg Mbps: 250.521 4000 31180004 249.440 100.00% Conn: 1 Mbps: 249.440 Peak Mbps: 260.949 Avg Mbps: 249.440 5001 32396048 259.168 100.00% Conn: 1 Mbps: 259.168 Peak Mbps: 260.949 Avg Mbps: 259.168 --- 169.254.0.13 tcpbench statistics --- 191109660 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 249.440/254.896/260.949/4.562 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 32996336 263.971 100.00% Conn: 1 Mbps: 263.971 Peak Mbps: 263.971 Avg Mbps: 263.971 2001 32893272 263.146 100.00% Conn: 1 Mbps: 263.146 Peak Mbps: 263.971 Avg Mbps: 263.146 3001 32504800 260.038 100.00% Conn: 1 Mbps: 260.038 Peak Mbps: 263.971 Avg Mbps: 260.038 4001 32044976 256.360 100.00% Conn: 1 Mbps: 256.360 Peak Mbps: 263.971 Avg Mbps: 256.360 5001 32140112 257.121 100.00% Conn: 1 Mbps: 257.121 Peak Mbps: 263.971 Avg Mbps: 257.121 --- fc00::13 tcpbench statistics --- 194989160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 256.360/260.127/263.971/3.070 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.181 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.181/0.181/0.181/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.244 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.244/0.244/0.244/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 1000 30991544 247.932 100.00% Conn: 1 Mbps: 247.932 Peak Mbps: 247.932 Avg Mbps: 247.932 2004 31349200 249.794 100.00% Conn: 1 Mbps: 249.794 Peak Mbps: 249.794 Avg Mbps: 249.794 3001 31036432 249.039 100.00% Conn: 1 Mbps: 249.039 Peak Mbps: 249.794 Avg Mbps: 249.039 4006 31275352 249.206 100.00% Conn: 1 Mbps: 249.206 Peak Mbps: 249.794 Avg Mbps: 249.206 5003 30975616 248.800 100.00% Conn: 1 Mbps: 248.800 Peak Mbps: 249.794 Avg Mbps: 248.800 --- 169.254.1.11 tcpbench statistics --- 186881776 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 247.932/248.954/249.794/0.607 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 30000852 240.007 100.00% Conn: 1 Mbps: 240.007 Peak Mbps: 240.007 Avg Mbps: 240.007 2002 30012276 239.619 100.00% Conn: 1 Mbps: 239.619 Peak Mbps: 240.007 Avg Mbps: 239.619 3004 30349284 242.310 100.00% Conn: 1 Mbps: 242.310 Peak Mbps: 242.310 Avg Mbps: 242.310 4007 30167928 240.862 100.00% Conn: 1 Mbps: 240.862 Peak Mbps: 242.310 Avg Mbps: 240.862 5008 30072252 240.578 100.00% Conn: 1 Mbps: 240.578 Peak Mbps: 242.310 Avg Mbps: 240.578 --- fc00:0:0:1::11 tcpbench statistics --- 180255012 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 239.619/240.675/242.310/0.925 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.181 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.181/0.181/0.181/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.218 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.218/0.218/0.218/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 43127232 345.018 100.00% Conn: 1 Mbps: 345.018 Peak Mbps: 345.018 Avg Mbps: 345.018 2000 43335744 346.686 100.00% Conn: 1 Mbps: 346.686 Peak Mbps: 346.686 Avg Mbps: 346.686 3000 43664440 349.316 100.00% Conn: 1 Mbps: 349.316 Peak Mbps: 349.316 Avg Mbps: 349.316 4001 43499368 347.995 100.00% Conn: 1 Mbps: 347.995 Peak Mbps: 349.316 Avg Mbps: 347.995 5002 43534120 347.925 100.00% Conn: 1 Mbps: 347.925 Peak Mbps: 349.316 Avg Mbps: 347.925 --- 169.254.1.12 tcpbench statistics --- 260644344 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 345.018/347.388/349.316/1.448 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 47732328 381.859 100.00% Conn: 1 Mbps: 381.859 Peak Mbps: 381.859 Avg Mbps: 381.859 2000 47432448 379.839 100.00% Conn: 1 Mbps: 379.839 Peak Mbps: 381.859 Avg Mbps: 379.839 3000 47845140 382.761 100.00% Conn: 1 Mbps: 382.761 Peak Mbps: 382.761 Avg Mbps: 382.761 4001 46694172 373.553 100.00% Conn: 1 Mbps: 373.553 Peak Mbps: 382.761 Avg Mbps: 373.553 5001 46938360 375.507 100.00% Conn: 1 Mbps: 375.507 Peak Mbps: 382.761 Avg Mbps: 375.507 --- fc00:0:0:1::12 tcpbench statistics --- 283270932 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 373.553/378.704/382.761/3.590 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.184 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.184/0.184/0.184/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.234 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.234/0.234/0.234/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 136867706 1094.942 100.00% Conn: 1 Mbps: 1094.942 Peak Mbps: 1094.942 Avg Mbps: 1094.942 2000 137897868 1103.183 100.00% Conn: 1 Mbps: 1103.183 Peak Mbps: 1103.183 Avg Mbps: 1103.183 3000 137865140 1102.921 100.00% Conn: 1 Mbps: 1102.921 Peak Mbps: 1103.183 Avg Mbps: 1102.921 4000 138094152 1104.753 100.00% Conn: 1 Mbps: 1104.753 Peak Mbps: 1104.753 Avg Mbps: 1104.753 5000 138225028 1105.800 100.00% Conn: 1 Mbps: 1105.800 Peak Mbps: 1105.800 Avg Mbps: 1105.800 --- 169.254.0.13 tcpbench statistics --- 826847750 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1094.942/1102.320/1105.800/3.836 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 127269828 1018.159 100.00% Conn: 1 Mbps: 1018.159 Peak Mbps: 1018.159 Avg Mbps: 1018.159 2000 128233712 1025.870 100.00% Conn: 1 Mbps: 1025.870 Peak Mbps: 1025.870 Avg Mbps: 1025.870 3000 128266408 1026.131 100.00% Conn: 1 Mbps: 1026.131 Peak Mbps: 1026.131 Avg Mbps: 1026.131 4000 128397192 1027.178 100.00% Conn: 1 Mbps: 1027.178 Peak Mbps: 1027.178 Avg Mbps: 1027.178 5000 128201016 1025.608 100.00% Conn: 1 Mbps: 1025.608 Peak Mbps: 1027.178 Avg Mbps: 1025.608 --- fc00::13 tcpbench statistics --- 768798044 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1018.159/1024.589/1027.178/3.259 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.201 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.201/0.201/0.201/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.264 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.264/0.264/0.264/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1002 30551352 243.923 100.00% Conn: 1 Mbps: 243.923 Peak Mbps: 243.923 Avg Mbps: 243.923 2004 31577984 252.372 100.00% Conn: 1 Mbps: 252.372 Peak Mbps: 252.372 Avg Mbps: 252.372 3005 30911904 247.048 100.00% Conn: 1 Mbps: 247.048 Peak Mbps: 252.372 Avg Mbps: 247.048 4002 30974168 248.539 100.00% Conn: 1 Mbps: 248.539 Peak Mbps: 252.372 Avg Mbps: 248.539 5003 31074080 248.593 100.00% Conn: 1 Mbps: 248.593 Peak Mbps: 252.372 Avg Mbps: 248.593 --- 169.254.1.11 tcpbench statistics --- 186285200 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 243.923/248.095/252.372/2.729 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 56107344 448.859 100.00% Conn: 1 Mbps: 448.859 Peak Mbps: 448.859 Avg Mbps: 448.859 2003 56821736 453.667 100.00% Conn: 1 Mbps: 453.667 Peak Mbps: 453.667 Avg Mbps: 453.667 3008 57694288 459.715 100.00% Conn: 1 Mbps: 459.715 Peak Mbps: 459.715 Avg Mbps: 459.715 4008 56107792 449.312 100.00% Conn: 1 Mbps: 449.312 Peak Mbps: 459.715 Avg Mbps: 449.312 5012 56605208 451.038 100.00% Conn: 1 Mbps: 451.038 Peak Mbps: 459.715 Avg Mbps: 451.038 --- fc00:0:0:1::11 tcpbench statistics --- 338979320 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 448.859/452.518/459.715/3.975 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.232 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.232/0.232/0.232/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 136867926 1094.943 100.00% Conn: 1 Mbps: 1094.943 Peak Mbps: 1094.943 Avg Mbps: 1094.943 2000 137865140 1102.921 100.00% Conn: 1 Mbps: 1102.921 Peak Mbps: 1102.921 Avg Mbps: 1102.921 3000 138061448 1104.492 100.00% Conn: 1 Mbps: 1104.492 Peak Mbps: 1104.492 Avg Mbps: 1104.492 4000 138028720 1104.230 100.00% Conn: 1 Mbps: 1104.230 Peak Mbps: 1104.492 Avg Mbps: 1104.230 5000 137865140 1102.921 100.00% Conn: 1 Mbps: 1102.921 Peak Mbps: 1104.492 Avg Mbps: 1102.921 --- 169.254.1.12 tcpbench statistics --- 826226354 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1094.943/1101.901/1104.492/3.539 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 128691564 1029.533 100.00% Conn: 1 Mbps: 1029.533 Peak Mbps: 1029.533 Avg Mbps: 1029.533 2000 129116504 1032.932 100.00% Conn: 1 Mbps: 1032.932 Peak Mbps: 1032.932 Avg Mbps: 1032.932 3000 129083808 1032.670 100.00% Conn: 1 Mbps: 1032.670 Peak Mbps: 1032.932 Avg Mbps: 1032.670 4000 129116504 1032.932 100.00% Conn: 1 Mbps: 1032.932 Peak Mbps: 1032.932 Avg Mbps: 1032.932 5000 129214592 1033.717 100.00% Conn: 1 Mbps: 1033.717 Peak Mbps: 1033.717 Avg Mbps: 1033.717 --- fc00:0:0:1::12 tcpbench statistics --- 773849036 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1029.533/1032.357/1033.717/1.455 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.168 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.168/0.168/0.168/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.213 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.213/0.213/0.213/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 148547122 1188.377 100.00% Conn: 1 Mbps: 1188.377 Peak Mbps: 1188.377 Avg Mbps: 1188.377 2000 150755244 1206.042 100.00% Conn: 1 Mbps: 1206.042 Peak Mbps: 1206.042 Avg Mbps: 1206.042 3000 150722528 1205.780 100.00% Conn: 1 Mbps: 1205.780 Peak Mbps: 1206.042 Avg Mbps: 1205.780 4000 148268828 1186.151 100.00% Conn: 1 Mbps: 1186.151 Peak Mbps: 1206.042 Avg Mbps: 1186.151 5000 145978708 1167.830 100.00% Conn: 1 Mbps: 1167.830 Peak Mbps: 1206.042 Avg Mbps: 1167.830 --- 169.254.0.13 tcpbench statistics --- 892475814 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1167.830/1190.836/1206.042/14.226 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 140937044 1127.496 100.00% Conn: 1 Mbps: 1127.496 Peak Mbps: 1127.496 Avg Mbps: 1127.496 2000 142652648 1141.221 100.00% Conn: 1 Mbps: 1141.221 Peak Mbps: 1141.221 Avg Mbps: 1141.221 3000 141181328 1129.451 100.00% Conn: 1 Mbps: 1129.451 Peak Mbps: 1141.221 Avg Mbps: 1129.451 4000 139415744 1115.326 100.00% Conn: 1 Mbps: 1115.326 Peak Mbps: 1141.221 Avg Mbps: 1115.326 5000 139710008 1117.680 100.00% Conn: 1 Mbps: 1117.680 Peak Mbps: 1141.221 Avg Mbps: 1117.680 --- fc00::13 tcpbench statistics --- 844816532 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1115.326/1126.235/1141.221/9.260 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.48s