START sys/net/pair 2024-11-16T01:29:34Z ==== 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.288 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.288/0.288/0.288/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.364 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.364/0.364/0.364/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 105581232 844.650 100.00% Conn: 1 Mbps: 844.650 Peak Mbps: 844.650 Avg Mbps: 844.650 2000 102632524 821.882 100.00% Conn: 1 Mbps: 821.882 Peak Mbps: 844.650 Avg Mbps: 821.882 3000 102409980 819.280 100.00% Conn: 1 Mbps: 819.280 Peak Mbps: 844.650 Avg Mbps: 819.280 4000 102863016 822.904 100.00% Conn: 1 Mbps: 822.904 Peak Mbps: 844.650 Avg Mbps: 822.904 5000 102680212 821.442 100.00% Conn: 1 Mbps: 821.442 Peak Mbps: 844.650 Avg Mbps: 821.442 --- 169.254.1.11 tcpbench statistics --- 618449776 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 819.280/826.032/844.650/9.384 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 104070856 832.567 100.00% Conn: 1 Mbps: 832.567 Peak Mbps: 832.567 Avg Mbps: 832.567 2000 102564536 820.516 100.00% Conn: 1 Mbps: 820.516 Peak Mbps: 832.567 Avg Mbps: 820.516 3000 102770664 822.165 100.00% Conn: 1 Mbps: 822.165 Peak Mbps: 832.567 Avg Mbps: 822.165 4000 102826160 822.609 100.00% Conn: 1 Mbps: 822.609 Peak Mbps: 832.567 Avg Mbps: 822.609 5000 102715168 821.721 100.00% Conn: 1 Mbps: 821.721 Peak Mbps: 832.567 Avg Mbps: 821.721 --- fc00:0:0:1::11 tcpbench statistics --- 617091736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 820.516/823.916/832.567/4.381 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.434 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.434/0.434/0.434/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.017 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.017/1.017/1.017/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1003 29602912 236.115 100.00% Conn: 1 Mbps: 236.115 Peak Mbps: 236.115 Avg Mbps: 236.115 2002 29591328 237.205 100.00% Conn: 1 Mbps: 237.205 Peak Mbps: 237.205 Avg Mbps: 237.205 3003 29702824 237.623 100.00% Conn: 1 Mbps: 237.623 Peak Mbps: 237.623 Avg Mbps: 237.623 4003 29652144 237.217 100.00% Conn: 1 Mbps: 237.217 Peak Mbps: 237.623 Avg Mbps: 237.217 5006 29736128 237.414 100.00% Conn: 1 Mbps: 237.414 Peak Mbps: 237.623 Avg Mbps: 237.414 --- 169.254.1.12 tcpbench statistics --- 177828880 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 236.115/237.115/237.623/0.523 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1002 27463296 219.268 100.00% Conn: 1 Mbps: 219.268 Peak Mbps: 219.268 Avg Mbps: 219.268 2005 27594672 220.097 100.00% Conn: 1 Mbps: 220.097 Peak Mbps: 220.097 Avg Mbps: 220.097 3005 27424740 219.618 100.00% Conn: 1 Mbps: 219.618 Peak Mbps: 220.097 Avg Mbps: 219.618 4007 27496140 219.749 100.00% Conn: 1 Mbps: 219.749 Peak Mbps: 220.097 Avg Mbps: 219.749 5008 27521844 219.955 100.00% Conn: 1 Mbps: 219.955 Peak Mbps: 220.097 Avg Mbps: 219.955 --- fc00:0:0:1::12 tcpbench statistics --- 164752644 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 219.268/219.737/220.097/0.287 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.411 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.411/0.411/0.411/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.533 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.533/0.533/0.533/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 46090452 368.724 100.00% Conn: 1 Mbps: 368.724 Peak Mbps: 368.724 Avg Mbps: 368.724 2000 45891752 367.502 100.00% Conn: 1 Mbps: 367.502 Peak Mbps: 368.724 Avg Mbps: 367.502 3001 45963284 367.706 100.00% Conn: 1 Mbps: 367.706 Peak Mbps: 368.724 Avg Mbps: 367.706 4000 45947388 367.947 100.00% Conn: 1 Mbps: 367.947 Peak Mbps: 368.724 Avg Mbps: 367.947 5000 45899700 367.198 100.00% Conn: 1 Mbps: 367.198 Peak Mbps: 368.724 Avg Mbps: 367.198 --- 169.254.0.13 tcpbench statistics --- 275477680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 367.198/367.815/368.724/0.517 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 40932264 327.131 100.00% Conn: 1 Mbps: 327.131 Peak Mbps: 327.131 Avg Mbps: 327.131 2001 40607216 325.183 100.00% Conn: 1 Mbps: 325.183 Peak Mbps: 327.131 Avg Mbps: 325.183 3001 40773704 326.516 100.00% Conn: 1 Mbps: 326.516 Peak Mbps: 327.131 Avg Mbps: 326.516 4001 40654784 325.238 100.00% Conn: 1 Mbps: 325.238 Peak Mbps: 327.131 Avg Mbps: 325.238 5001 40916408 327.659 100.00% Conn: 1 Mbps: 327.659 Peak Mbps: 327.659 Avg Mbps: 327.659 --- fc00::13 tcpbench statistics --- 244475736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 325.183/326.345/327.659/0.995 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.314 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.314/0.314/0.314/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.416 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.416/0.416/0.416/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 29405984 235.248 100.00% Conn: 1 Mbps: 235.248 Peak Mbps: 235.248 Avg Mbps: 235.248 2004 29799840 237.449 100.00% Conn: 1 Mbps: 237.449 Peak Mbps: 237.449 Avg Mbps: 237.449 3008 29834592 237.726 100.00% Conn: 1 Mbps: 237.726 Peak Mbps: 237.726 Avg Mbps: 237.726 4011 29753504 237.553 100.00% Conn: 1 Mbps: 237.553 Peak Mbps: 237.726 Avg Mbps: 237.553 5011 29640560 237.362 100.00% Conn: 1 Mbps: 237.362 Peak Mbps: 237.726 Avg Mbps: 237.362 --- 169.254.1.11 tcpbench statistics --- 177844808 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 235.248/237.067/237.726/0.918 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 27446160 219.569 100.00% Conn: 1 Mbps: 219.569 Peak Mbps: 219.569 Avg Mbps: 219.569 2001 27523272 220.186 100.00% Conn: 1 Mbps: 220.186 Peak Mbps: 220.186 Avg Mbps: 220.186 3001 27493284 219.946 100.00% Conn: 1 Mbps: 219.946 Peak Mbps: 220.186 Avg Mbps: 219.946 4004 27573252 219.926 100.00% Conn: 1 Mbps: 219.926 Peak Mbps: 220.186 Avg Mbps: 219.926 5005 27476148 219.809 100.00% Conn: 1 Mbps: 219.809 Peak Mbps: 220.186 Avg Mbps: 219.809 --- fc00:0:0:1::11 tcpbench statistics --- 164852604 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 219.569/219.887/220.186/0.201 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.286 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.286/0.286/0.286/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.364 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.364/0.364/0.364/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 97208584 777.669 100.00% Conn: 1 Mbps: 777.669 Peak Mbps: 777.669 Avg Mbps: 777.669 2000 92994904 743.959 100.00% Conn: 1 Mbps: 743.959 Peak Mbps: 777.669 Avg Mbps: 743.959 3001 93194728 744.813 100.00% Conn: 1 Mbps: 744.813 Peak Mbps: 777.669 Avg Mbps: 744.813 4001 92910920 744.031 100.00% Conn: 1 Mbps: 744.031 Peak Mbps: 777.669 Avg Mbps: 744.031 5001 93274368 746.195 100.00% Conn: 1 Mbps: 746.195 Peak Mbps: 777.669 Avg Mbps: 746.195 --- 169.254.1.12 tcpbench statistics --- 562319216 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 743.959/751.333/777.669/13.192 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 91214928 729.719 100.00% Conn: 1 Mbps: 729.719 Peak Mbps: 729.719 Avg Mbps: 729.719 2000 91981764 736.591 100.00% Conn: 1 Mbps: 736.591 Peak Mbps: 736.591 Avg Mbps: 736.591 3000 88914420 711.315 100.00% Conn: 1 Mbps: 711.315 Peak Mbps: 736.591 Avg Mbps: 711.315 4000 88607400 708.859 100.00% Conn: 1 Mbps: 708.859 Peak Mbps: 736.591 Avg Mbps: 708.859 5000 88978680 711.829 100.00% Conn: 1 Mbps: 711.829 Peak Mbps: 736.591 Avg Mbps: 711.829 --- fc00:0:0:1::12 tcpbench statistics --- 538121808 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 708.859/719.663/736.591/11.273 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.308 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.308/0.308/0.308/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.399 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.399/0.399/0.399/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 104505512 836.044 100.00% Conn: 1 Mbps: 836.044 Peak Mbps: 836.044 Avg Mbps: 836.044 2000 96250472 770.004 100.00% Conn: 1 Mbps: 770.004 Peak Mbps: 836.044 Avg Mbps: 770.004 3000 96119608 768.957 100.00% Conn: 1 Mbps: 768.957 Peak Mbps: 836.044 Avg Mbps: 768.957 4000 96675780 773.406 100.00% Conn: 1 Mbps: 773.406 Peak Mbps: 836.044 Avg Mbps: 773.406 5000 95988744 767.910 100.00% Conn: 1 Mbps: 767.910 Peak Mbps: 836.044 Avg Mbps: 767.910 --- 169.254.0.13 tcpbench statistics --- 584481948 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 767.910/783.264/836.044/26.454 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 139256132 1114.049 100.00% Conn: 1 Mbps: 1114.049 Peak Mbps: 1114.049 Avg Mbps: 1114.049 2000 135786488 1087.379 100.00% Conn: 1 Mbps: 1087.379 Peak Mbps: 1114.049 Avg Mbps: 1087.379 3000 134936392 1079.491 100.00% Conn: 1 Mbps: 1079.491 Peak Mbps: 1114.049 Avg Mbps: 1079.491 4000 134020904 1072.167 100.00% Conn: 1 Mbps: 1072.167 Peak Mbps: 1114.049 Avg Mbps: 1072.167 5000 134445952 1075.568 100.00% Conn: 1 Mbps: 1075.568 Peak Mbps: 1114.049 Avg Mbps: 1075.568 --- fc00::13 tcpbench statistics --- 812532164 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1072.167/1085.731/1114.049/15.039 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.339 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.339/0.339/0.339/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.457 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.457/0.457/0.457/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1003 28473472 227.106 100.00% Conn: 1 Mbps: 227.106 Peak Mbps: 227.106 Avg Mbps: 227.106 2002 28538632 228.767 100.00% Conn: 1 Mbps: 228.767 Peak Mbps: 228.767 Avg Mbps: 228.767 3006 29036744 231.599 100.00% Conn: 1 Mbps: 231.599 Peak Mbps: 231.599 Avg Mbps: 231.599 4006 29046880 232.375 100.00% Conn: 1 Mbps: 232.375 Peak Mbps: 232.375 Avg Mbps: 232.375 5004 28873120 231.680 100.00% Conn: 1 Mbps: 231.680 Peak Mbps: 232.375 Avg Mbps: 231.680 --- 169.254.1.11 tcpbench statistics --- 172866584 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 227.106/230.305/232.375/2.022 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 1001 46902680 374.847 100.00% Conn: 1 Mbps: 374.847 Peak Mbps: 374.847 Avg Mbps: 374.847 2005 46673360 372.270 100.00% Conn: 1 Mbps: 372.270 Peak Mbps: 374.847 Avg Mbps: 372.270 3007 46629272 372.662 100.00% Conn: 1 Mbps: 372.662 Peak Mbps: 374.847 Avg Mbps: 372.662 4012 46846240 373.277 100.00% Conn: 1 Mbps: 373.277 Peak Mbps: 374.847 Avg Mbps: 373.277 5009 46351296 371.926 100.00% Conn: 1 Mbps: 371.926 Peak Mbps: 374.847 Avg Mbps: 371.926 --- fc00:0:0:1::11 tcpbench statistics --- 279396864 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 371.926/372.996/374.847/1.028 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.309 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.309/0.309/0.309/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.398 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.398/0.398/0.398/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 1001 141007578 1126.934 100.00% Conn: 1 Mbps: 1126.934 Peak Mbps: 1126.934 Avg Mbps: 1126.934 2000 135705968 1086.734 100.00% Conn: 1 Mbps: 1086.734 Peak Mbps: 1126.934 Avg Mbps: 1086.734 3000 135346092 1082.769 100.00% Conn: 1 Mbps: 1082.769 Peak Mbps: 1126.934 Avg Mbps: 1082.769 4000 134364612 1074.917 100.00% Conn: 1 Mbps: 1074.917 Peak Mbps: 1126.934 Avg Mbps: 1074.917 5000 134724488 1077.796 100.00% Conn: 1 Mbps: 1077.796 Peak Mbps: 1126.934 Avg Mbps: 1077.796 --- 169.254.1.12 tcpbench statistics --- 817280014 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1074.917/1089.830/1126.934/18.991 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 140479804 1123.838 100.00% Conn: 1 Mbps: 1123.838 Peak Mbps: 1123.838 Avg Mbps: 1123.838 2000 134674824 1078.477 100.00% Conn: 1 Mbps: 1078.477 Peak Mbps: 1123.838 Avg Mbps: 1078.477 3001 135394136 1083.153 100.00% Conn: 1 Mbps: 1083.153 Peak Mbps: 1123.838 Avg Mbps: 1083.153 4000 134740216 1079.001 100.00% Conn: 1 Mbps: 1079.001 Peak Mbps: 1123.838 Avg Mbps: 1079.001 5000 134086296 1073.764 100.00% Conn: 1 Mbps: 1073.764 Peak Mbps: 1123.838 Avg Mbps: 1073.764 --- fc00:0:0:1::12 tcpbench statistics --- 813853924 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1073.764/1087.647/1123.838/18.339 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.364 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.364/0.364/0.364/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 101017492 808.140 100.00% Conn: 1 Mbps: 808.140 Peak Mbps: 808.140 Avg Mbps: 808.140 2000 95726968 766.582 100.00% Conn: 1 Mbps: 766.582 Peak Mbps: 808.140 Avg Mbps: 766.582 3000 96054116 768.433 100.00% Conn: 1 Mbps: 768.433 Peak Mbps: 808.140 Avg Mbps: 768.433 4000 95497944 763.984 100.00% Conn: 1 Mbps: 763.984 Peak Mbps: 808.140 Avg Mbps: 763.984 5000 96217708 769.742 100.00% Conn: 1 Mbps: 769.742 Peak Mbps: 808.140 Avg Mbps: 769.742 --- 169.254.0.13 tcpbench statistics --- 580470196 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 763.984/775.376/808.140/16.496 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 144746848 1157.975 100.00% Conn: 1 Mbps: 1157.975 Peak Mbps: 1157.975 Avg Mbps: 1157.975 2000 135688400 1086.594 100.00% Conn: 1 Mbps: 1086.594 Peak Mbps: 1157.975 Avg Mbps: 1086.594 3000 135851880 1086.815 100.00% Conn: 1 Mbps: 1086.815 Peak Mbps: 1157.975 Avg Mbps: 1086.815 4000 134838304 1078.706 100.00% Conn: 1 Mbps: 1078.706 Peak Mbps: 1157.975 Avg Mbps: 1078.706 5000 134347864 1074.783 100.00% Conn: 1 Mbps: 1074.783 Peak Mbps: 1157.975 Avg Mbps: 1074.783 --- fc00::13 tcpbench statistics --- 819428808 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1074.783/1096.975/1157.975/30.849 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.36s