START sys/net/pair 2024-07-26T00:37:25Z ==== 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.309 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.309/0.309/0.309/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.365 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.365/0.365/0.365/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 105239468 841.916 100.00% Conn: 1 Mbps: 841.916 Peak Mbps: 841.916 Avg Mbps: 841.916 2000 102600732 821.627 100.00% Conn: 1 Mbps: 821.627 Peak Mbps: 841.916 Avg Mbps: 821.627 3000 102560992 820.488 100.00% Conn: 1 Mbps: 820.488 Peak Mbps: 841.916 Avg Mbps: 820.488 4000 102060268 816.482 100.00% Conn: 1 Mbps: 816.482 Peak Mbps: 841.916 Avg Mbps: 816.482 5000 102870964 822.968 100.00% Conn: 1 Mbps: 822.968 Peak Mbps: 841.916 Avg Mbps: 822.968 --- 169.254.1.11 tcpbench statistics --- 617472172 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 816.482/824.696/841.916/8.878 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 102715168 821.721 100.00% Conn: 1 Mbps: 821.721 Peak Mbps: 821.721 Avg Mbps: 821.721 2000 101502184 812.830 100.00% Conn: 1 Mbps: 812.830 Peak Mbps: 821.721 Avg Mbps: 812.830 3000 101391192 811.130 100.00% Conn: 1 Mbps: 811.130 Peak Mbps: 821.721 Avg Mbps: 811.130 4000 101311912 810.495 100.00% Conn: 1 Mbps: 810.495 Peak Mbps: 821.721 Avg Mbps: 810.495 5000 101303984 810.432 100.00% Conn: 1 Mbps: 810.432 Peak Mbps: 821.721 Avg Mbps: 810.432 --- fc00:0:0:1::11 tcpbench statistics --- 609710768 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 810.432/813.322/821.721/4.288 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.421 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.421/0.421/0.421/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.019 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.019/1.019/1.019/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 29489968 235.214 100.00% Conn: 1 Mbps: 235.214 Peak Mbps: 235.214 Avg Mbps: 235.214 2002 29462456 235.936 100.00% Conn: 1 Mbps: 235.936 Peak Mbps: 235.936 Avg Mbps: 235.936 3006 29702824 236.912 100.00% Conn: 1 Mbps: 236.912 Peak Mbps: 236.912 Avg Mbps: 236.912 4004 29576848 237.327 100.00% Conn: 1 Mbps: 237.327 Peak Mbps: 237.327 Avg Mbps: 237.327 5004 29669520 237.356 100.00% Conn: 1 Mbps: 237.356 Peak Mbps: 237.356 Avg Mbps: 237.356 --- 169.254.1.12 tcpbench statistics --- 177426336 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 235.214/236.549/237.356/0.842 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 27693204 221.324 100.00% Conn: 1 Mbps: 221.324 Peak Mbps: 221.324 Avg Mbps: 221.324 2004 27787452 221.856 100.00% Conn: 1 Mbps: 221.856 Peak Mbps: 221.856 Avg Mbps: 221.856 3005 27770316 222.163 100.00% Conn: 1 Mbps: 222.163 Peak Mbps: 222.163 Avg Mbps: 222.163 4008 27898836 222.523 100.00% Conn: 1 Mbps: 222.523 Peak Mbps: 222.523 Avg Mbps: 222.523 5008 27786024 222.288 100.00% Conn: 1 Mbps: 222.288 Peak Mbps: 222.523 Avg Mbps: 222.288 --- fc00:0:0:1::12 tcpbench statistics --- 166466244 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 221.324/222.031/222.523/0.414 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.401 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.401/0.401/0.401/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.529 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.529/0.529/0.529/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 1001 45740740 365.560 100.00% Conn: 1 Mbps: 365.560 Peak Mbps: 365.560 Avg Mbps: 365.560 2000 45224120 362.155 100.00% Conn: 1 Mbps: 362.155 Peak Mbps: 365.560 Avg Mbps: 362.155 3000 45398976 363.192 100.00% Conn: 1 Mbps: 363.192 Peak Mbps: 365.560 Avg Mbps: 363.192 4000 45383080 363.065 100.00% Conn: 1 Mbps: 363.065 Peak Mbps: 365.560 Avg Mbps: 363.065 5001 45534092 364.273 100.00% Conn: 1 Mbps: 364.273 Peak Mbps: 365.560 Avg Mbps: 364.273 --- 169.254.0.13 tcpbench statistics --- 272576660 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 362.155/363.649/365.560/1.168 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 40718208 325.420 100.00% Conn: 1 Mbps: 325.420 Peak Mbps: 325.420 Avg Mbps: 325.420 2000 40654784 325.564 100.00% Conn: 1 Mbps: 325.564 Peak Mbps: 325.564 Avg Mbps: 325.564 3000 40646856 325.175 100.00% Conn: 1 Mbps: 325.175 Peak Mbps: 325.564 Avg Mbps: 325.175 4000 40797488 326.380 100.00% Conn: 1 Mbps: 326.380 Peak Mbps: 326.380 Avg Mbps: 326.380 5001 40543792 324.350 100.00% Conn: 1 Mbps: 324.350 Peak Mbps: 326.380 Avg Mbps: 324.350 --- fc00::13 tcpbench statistics --- 243920776 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 324.350/325.378/326.380/0.654 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.308 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.308/0.308/0.308/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.409 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.409/0.409/0.409/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 29503000 236.024 100.00% Conn: 1 Mbps: 236.024 Peak Mbps: 236.024 Avg Mbps: 236.024 2004 29849072 238.078 100.00% Conn: 1 Mbps: 238.078 Peak Mbps: 238.078 Avg Mbps: 238.078 3005 29689792 237.518 100.00% Conn: 1 Mbps: 237.518 Peak Mbps: 238.078 Avg Mbps: 237.518 4009 29833144 237.714 100.00% Conn: 1 Mbps: 237.714 Peak Mbps: 238.078 Avg Mbps: 237.714 5007 29626080 237.484 100.00% Conn: 1 Mbps: 237.484 Peak Mbps: 238.078 Avg Mbps: 237.484 --- 169.254.1.11 tcpbench statistics --- 178118480 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 236.024/237.364/238.078/0.702 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1003 27704628 220.974 100.00% Conn: 1 Mbps: 220.974 Peak Mbps: 220.974 Avg Mbps: 220.974 2003 27783168 222.265 100.00% Conn: 1 Mbps: 222.265 Peak Mbps: 222.265 Avg Mbps: 222.265 3004 27760320 221.861 100.00% Conn: 1 Mbps: 221.861 Peak Mbps: 222.265 Avg Mbps: 221.861 4007 27914544 222.648 100.00% Conn: 1 Mbps: 222.648 Peak Mbps: 222.648 Avg Mbps: 222.648 5008 27773172 222.185 100.00% Conn: 1 Mbps: 222.185 Peak Mbps: 222.648 Avg Mbps: 222.185 --- fc00:0:0:1::11 tcpbench statistics --- 166590480 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 220.974/221.987/222.648/0.565 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.287 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.287/0.287/0.287/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.362 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.362/0.362/0.362/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 96551192 772.410 100.00% Conn: 1 Mbps: 772.410 Peak Mbps: 772.410 Avg Mbps: 772.410 2000 92784944 743.023 100.00% Conn: 1 Mbps: 743.023 Peak Mbps: 772.410 Avg Mbps: 743.023 3000 93700080 749.601 100.00% Conn: 1 Mbps: 749.601 Peak Mbps: 772.410 Avg Mbps: 749.601 4000 93173008 745.384 100.00% Conn: 1 Mbps: 745.384 Peak Mbps: 772.410 Avg Mbps: 745.384 5000 93225136 745.801 100.00% Conn: 1 Mbps: 745.801 Peak Mbps: 772.410 Avg Mbps: 745.801 --- 169.254.1.12 tcpbench statistics --- 562561032 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 743.023/751.244/772.410/10.791 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 91526232 732.210 100.00% Conn: 1 Mbps: 732.210 Peak Mbps: 732.210 Avg Mbps: 732.210 2000 92211672 737.693 100.00% Conn: 1 Mbps: 737.693 Peak Mbps: 737.693 Avg Mbps: 737.693 3000 90096804 720.774 100.00% Conn: 1 Mbps: 720.774 Peak Mbps: 737.693 Avg Mbps: 720.774 4000 88733064 709.865 100.00% Conn: 1 Mbps: 709.865 Peak Mbps: 737.693 Avg Mbps: 709.865 5000 88885860 711.087 100.00% Conn: 1 Mbps: 711.087 Peak Mbps: 737.693 Avg Mbps: 711.087 --- fc00:0:0:1::12 tcpbench statistics --- 540058176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 709.865/722.326/737.693/11.116 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.320 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.320/0.320/0.320/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.393 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.393/0.393/0.393/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 112937924 903.503 100.00% Conn: 1 Mbps: 903.503 Peak Mbps: 903.503 Avg Mbps: 903.503 2000 102695524 822.387 100.00% Conn: 1 Mbps: 822.387 Peak Mbps: 903.503 Avg Mbps: 822.387 3000 102564660 820.517 100.00% Conn: 1 Mbps: 820.517 Peak Mbps: 903.503 Avg Mbps: 820.517 4001 99522072 796.177 100.00% Conn: 1 Mbps: 796.177 Peak Mbps: 903.503 Avg Mbps: 796.177 5001 101125156 809.001 100.00% Conn: 1 Mbps: 809.001 Peak Mbps: 903.503 Avg Mbps: 809.001 --- 169.254.0.13 tcpbench statistics --- 618825432 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 796.177/830.317/903.503/37.776 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 134299468 1074.396 100.00% Conn: 1 Mbps: 1074.396 Peak Mbps: 1074.396 Avg Mbps: 1074.396 2000 132222624 1058.840 100.00% Conn: 1 Mbps: 1058.840 Peak Mbps: 1074.396 Avg Mbps: 1058.840 3000 130064688 1040.518 100.00% Conn: 1 Mbps: 1040.518 Peak Mbps: 1074.396 Avg Mbps: 1040.518 4000 131830272 1054.642 100.00% Conn: 1 Mbps: 1054.642 Peak Mbps: 1074.396 Avg Mbps: 1054.642 5001 131372528 1050.980 100.00% Conn: 1 Mbps: 1050.980 Peak Mbps: 1074.396 Avg Mbps: 1050.980 --- fc00::13 tcpbench statistics --- 790377404 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1040.518/1055.875/1074.396/11.074 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.333 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.333/0.333/0.333/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.461 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.461/0.461/0.461/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 28498088 227.757 100.00% Conn: 1 Mbps: 227.757 Peak Mbps: 227.757 Avg Mbps: 227.757 2001 28764520 230.116 100.00% Conn: 1 Mbps: 230.116 Peak Mbps: 230.116 Avg Mbps: 230.116 3004 28951312 231.148 100.00% Conn: 1 Mbps: 231.148 Peak Mbps: 231.148 Avg Mbps: 231.148 4005 28870224 230.731 100.00% Conn: 1 Mbps: 230.731 Peak Mbps: 231.148 Avg Mbps: 230.731 5009 28938280 230.584 100.00% Conn: 1 Mbps: 230.584 Peak Mbps: 231.148 Avg Mbps: 230.584 --- 169.254.1.11 tcpbench statistics --- 172778256 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 227.757/230.067/231.148/1.201 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1003 47542304 379.201 100.00% Conn: 1 Mbps: 379.201 Peak Mbps: 379.201 Avg Mbps: 379.201 2006 47405432 378.109 100.00% Conn: 1 Mbps: 378.109 Peak Mbps: 379.201 Avg Mbps: 378.109 3010 46792208 372.846 100.00% Conn: 1 Mbps: 372.846 Peak Mbps: 379.201 Avg Mbps: 372.846 4012 46850824 374.432 100.00% Conn: 1 Mbps: 374.432 Peak Mbps: 379.201 Avg Mbps: 374.432 5011 46109112 369.612 100.00% Conn: 1 Mbps: 369.612 Peak Mbps: 379.201 Avg Mbps: 369.612 --- fc00:0:0:1::11 tcpbench statistics --- 280466632 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 369.612/374.840/379.201/3.498 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.397 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.397/0.397/0.397/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 108045104 864.361 100.00% Conn: 1 Mbps: 864.361 Peak Mbps: 864.361 Avg Mbps: 864.361 2000 98965852 792.519 100.00% Conn: 1 Mbps: 792.519 Peak Mbps: 864.361 Avg Mbps: 792.519 3000 100601640 804.813 100.00% Conn: 1 Mbps: 804.813 Peak Mbps: 864.361 Avg Mbps: 804.813 4000 100699788 805.598 100.00% Conn: 1 Mbps: 805.598 Peak Mbps: 864.361 Avg Mbps: 805.598 5000 99914604 799.317 100.00% Conn: 1 Mbps: 799.317 Peak Mbps: 864.361 Avg Mbps: 799.317 --- 169.254.1.12 tcpbench statistics --- 608370604 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 792.519/813.322/864.361/25.946 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 138027604 1104.221 100.00% Conn: 1 Mbps: 1104.221 Peak Mbps: 1104.221 Avg Mbps: 1104.221 2000 132713064 1062.767 100.00% Conn: 1 Mbps: 1062.767 Peak Mbps: 1104.221 Avg Mbps: 1062.767 3000 131209048 1049.672 100.00% Conn: 1 Mbps: 1049.672 Peak Mbps: 1104.221 Avg Mbps: 1049.672 4000 130260864 1042.087 100.00% Conn: 1 Mbps: 1042.087 Peak Mbps: 1104.221 Avg Mbps: 1042.087 5000 128937252 1031.498 100.00% Conn: 1 Mbps: 1031.498 Peak Mbps: 1104.221 Avg Mbps: 1031.498 --- fc00:0:0:1::12 tcpbench statistics --- 787942920 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1031.498/1058.049/1104.221/25.235 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.286 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.286/0.286/0.286/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 111304332 890.435 100.00% Conn: 1 Mbps: 890.435 Peak Mbps: 890.435 Avg Mbps: 890.435 2000 99685652 797.485 100.00% Conn: 1 Mbps: 797.485 Peak Mbps: 890.435 Avg Mbps: 797.485 3000 98671456 789.372 100.00% Conn: 1 Mbps: 789.372 Peak Mbps: 890.435 Avg Mbps: 789.372 4000 100765280 806.929 100.00% Conn: 1 Mbps: 806.929 Peak Mbps: 890.435 Avg Mbps: 806.929 5000 101223304 809.786 100.00% Conn: 1 Mbps: 809.786 Peak Mbps: 890.435 Avg Mbps: 809.786 --- 169.254.0.13 tcpbench statistics --- 611597404 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 789.372/818.801/890.435/36.535 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 146184788 1169.478 100.00% Conn: 1 Mbps: 1169.478 Peak Mbps: 1169.478 Avg Mbps: 1169.478 2000 137682856 1102.565 100.00% Conn: 1 Mbps: 1102.565 Peak Mbps: 1169.478 Avg Mbps: 1102.565 3000 137617464 1102.042 100.00% Conn: 1 Mbps: 1102.042 Peak Mbps: 1169.478 Avg Mbps: 1102.042 4000 136211536 1090.783 100.00% Conn: 1 Mbps: 1090.783 Peak Mbps: 1169.478 Avg Mbps: 1090.783 5000 136375016 1091.000 100.00% Conn: 1 Mbps: 1091.000 Peak Mbps: 1169.478 Avg Mbps: 1091.000 --- fc00::13 tcpbench statistics --- 831133292 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1090.783/1111.174/1169.478/29.596 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.67s