START sys/net/pair 2024-08-16T04:37:11Z ==== 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.299 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.299/0.299/0.299/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 90925120 727.401 100.00% Conn: 1 Mbps: 727.401 Peak Mbps: 727.401 Avg Mbps: 727.401 2000 89518324 716.863 100.00% Conn: 1 Mbps: 716.863 Peak Mbps: 727.401 Avg Mbps: 716.863 3000 88039996 704.320 100.00% Conn: 1 Mbps: 704.320 Peak Mbps: 727.401 Avg Mbps: 704.320 4000 86871640 694.973 100.00% Conn: 1 Mbps: 694.973 Peak Mbps: 727.401 Avg Mbps: 694.973 5000 87960516 703.684 100.00% Conn: 1 Mbps: 703.684 Peak Mbps: 727.401 Avg Mbps: 703.684 --- 169.254.1.11 tcpbench statistics --- 532380884 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 694.973/709.448/727.401/11.370 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 92860664 742.885 100.00% Conn: 1 Mbps: 742.885 Peak Mbps: 742.885 Avg Mbps: 742.885 2000 88095936 705.473 100.00% Conn: 1 Mbps: 705.473 Peak Mbps: 742.885 Avg Mbps: 705.473 3000 89522976 716.184 100.00% Conn: 1 Mbps: 716.184 Peak Mbps: 742.885 Avg Mbps: 716.184 4000 92044080 736.353 100.00% Conn: 1 Mbps: 736.353 Peak Mbps: 742.885 Avg Mbps: 736.353 5000 91592184 733.471 100.00% Conn: 1 Mbps: 733.471 Peak Mbps: 742.885 Avg Mbps: 733.471 --- fc00:0:0:1::11 tcpbench statistics --- 544931080 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 705.473/726.873/742.885/13.871 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.459 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.459/0.459/0.459/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.794 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.794/0.794/0.794/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1001 27063120 216.289 100.00% Conn: 1 Mbps: 216.289 Peak Mbps: 216.289 Avg Mbps: 216.289 2003 27772640 221.959 100.00% Conn: 1 Mbps: 221.959 Peak Mbps: 221.959 Avg Mbps: 221.959 3006 27898616 222.521 100.00% Conn: 1 Mbps: 222.521 Peak Mbps: 222.521 Avg Mbps: 222.521 4005 27637976 221.325 100.00% Conn: 1 Mbps: 221.325 Peak Mbps: 222.521 Avg Mbps: 221.325 5005 27283216 218.484 100.00% Conn: 1 Mbps: 218.484 Peak Mbps: 222.521 Avg Mbps: 218.484 --- 169.254.1.12 tcpbench statistics --- 165037248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 216.289/220.116/222.521/2.365 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 27431880 219.017 100.00% Conn: 1 Mbps: 219.017 Peak Mbps: 219.017 Avg Mbps: 219.017 2003 27437592 219.501 100.00% Conn: 1 Mbps: 219.501 Peak Mbps: 219.501 Avg Mbps: 219.501 3004 27808872 222.249 100.00% Conn: 1 Mbps: 222.249 Peak Mbps: 222.249 Avg Mbps: 222.249 4006 26847828 214.354 100.00% Conn: 1 Mbps: 214.354 Peak Mbps: 222.249 Avg Mbps: 214.354 5008 27941676 223.310 100.00% Conn: 1 Mbps: 223.310 Peak Mbps: 223.310 Avg Mbps: 223.310 --- fc00:0:0:1::12 tcpbench statistics --- 165259584 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 214.354/219.686/223.310/3.118 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.394 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.394/0.394/0.394/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.479 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.479/0.479/0.479/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 48808668 390.079 100.00% Conn: 1 Mbps: 390.079 Peak Mbps: 390.079 Avg Mbps: 390.079 2001 45867768 366.942 100.00% Conn: 1 Mbps: 366.942 Peak Mbps: 390.079 Avg Mbps: 366.942 3001 47298548 378.767 100.00% Conn: 1 Mbps: 378.767 Peak Mbps: 390.079 Avg Mbps: 378.767 4001 48482800 387.862 100.00% Conn: 1 Mbps: 387.862 Peak Mbps: 390.079 Avg Mbps: 387.862 5001 48323840 386.591 100.00% Conn: 1 Mbps: 386.591 Peak Mbps: 390.079 Avg Mbps: 386.591 --- 169.254.0.13 tcpbench statistics --- 287335956 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 366.942/382.048/390.079/8.460 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 45704920 365.639 100.00% Conn: 1 Mbps: 365.639 Peak Mbps: 365.639 Avg Mbps: 365.639 2001 47179528 377.436 100.00% Conn: 1 Mbps: 377.436 Peak Mbps: 377.436 Avg Mbps: 377.436 3001 45387800 363.102 100.00% Conn: 1 Mbps: 363.102 Peak Mbps: 377.436 Avg Mbps: 363.102 4002 45435368 363.483 100.00% Conn: 1 Mbps: 363.483 Peak Mbps: 377.436 Avg Mbps: 363.483 5002 45260952 362.088 100.00% Conn: 1 Mbps: 362.088 Peak Mbps: 377.436 Avg Mbps: 362.088 --- fc00::13 tcpbench statistics --- 271851120 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 362.088/366.350/377.436/5.663 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.328 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.328/0.328/0.328/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.400 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.400/0.400/0.400/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 1001 27549648 220.177 100.00% Conn: 1 Mbps: 220.177 Peak Mbps: 220.177 Avg Mbps: 220.177 2007 27997080 222.862 100.00% Conn: 1 Mbps: 222.862 Peak Mbps: 222.862 Avg Mbps: 222.862 3003 27753816 222.922 100.00% Conn: 1 Mbps: 222.922 Peak Mbps: 222.922 Avg Mbps: 222.922 4005 26990720 215.495 100.00% Conn: 1 Mbps: 215.495 Peak Mbps: 222.922 Avg Mbps: 215.495 5003 27755264 222.710 100.00% Conn: 1 Mbps: 222.710 Peak Mbps: 222.922 Avg Mbps: 222.710 --- 169.254.1.11 tcpbench statistics --- 166005960 bytes sent over 6.004 seconds bandwidth min/avg/max/std-dev = 215.495/220.833/222.922/2.861 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 1002 27167700 216.908 100.00% Conn: 1 Mbps: 216.908 Peak Mbps: 216.908 Avg Mbps: 216.908 2005 27089160 216.065 100.00% Conn: 1 Mbps: 216.065 Peak Mbps: 216.908 Avg Mbps: 216.065 3007 26806416 214.237 100.00% Conn: 1 Mbps: 214.237 Peak Mbps: 216.908 Avg Mbps: 214.237 4009 27538980 220.092 100.00% Conn: 1 Mbps: 220.092 Peak Mbps: 220.092 Avg Mbps: 220.092 5008 27543264 220.567 100.00% Conn: 1 Mbps: 220.567 Peak Mbps: 220.567 Avg Mbps: 220.567 --- fc00:0:0:1::11 tcpbench statistics --- 163488864 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 214.237/217.574/220.567/2.415 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.300 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.300/0.300/0.300/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.352 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.352/0.352/0.352/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 85300232 682.402 100.00% Conn: 1 Mbps: 682.402 Peak Mbps: 682.402 Avg Mbps: 682.402 2000 88718960 709.752 100.00% Conn: 1 Mbps: 709.752 Peak Mbps: 709.752 Avg Mbps: 709.752 3000 88604568 709.546 100.00% Conn: 1 Mbps: 709.546 Peak Mbps: 709.752 Avg Mbps: 709.546 4000 88637872 709.103 100.00% Conn: 1 Mbps: 709.103 Peak Mbps: 709.752 Avg Mbps: 709.103 5001 88016680 704.133 100.00% Conn: 1 Mbps: 704.133 Peak Mbps: 709.752 Avg Mbps: 704.133 --- 169.254.1.12 tcpbench statistics --- 524096360 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 682.402/702.987/709.752/10.500 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 89438496 715.508 100.00% Conn: 1 Mbps: 715.508 Peak Mbps: 715.508 Avg Mbps: 715.508 2000 88867296 711.650 100.00% Conn: 1 Mbps: 711.650 Peak Mbps: 715.508 Avg Mbps: 711.650 3000 88424616 707.397 100.00% Conn: 1 Mbps: 707.397 Peak Mbps: 715.508 Avg Mbps: 707.397 4000 88080468 704.644 100.00% Conn: 1 Mbps: 704.644 Peak Mbps: 715.508 Avg Mbps: 704.644 5000 86146956 689.176 100.00% Conn: 1 Mbps: 689.176 Peak Mbps: 715.508 Avg Mbps: 689.176 --- fc00:0:0:1::12 tcpbench statistics --- 529349604 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 689.176/705.675/715.508/9.040 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.317 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.317/0.317/0.317/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.377 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.377/0.377/0.377/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 125204282 1001.634 100.00% Conn: 1 Mbps: 1001.634 Peak Mbps: 1001.634 Avg Mbps: 1001.634 2000 124189864 994.513 100.00% Conn: 1 Mbps: 994.513 Peak Mbps: 1001.634 Avg Mbps: 994.513 3000 119053464 952.428 100.00% Conn: 1 Mbps: 952.428 Peak Mbps: 1001.634 Avg Mbps: 952.428 4000 124451592 995.613 100.00% Conn: 1 Mbps: 995.613 Peak Mbps: 1001.634 Avg Mbps: 995.613 5000 124517024 996.136 100.00% Conn: 1 Mbps: 996.136 Peak Mbps: 1001.634 Avg Mbps: 996.136 --- 169.254.0.13 tcpbench statistics --- 741753324 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 952.428/988.065/1001.634/17.988 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 1010 123510364 978.300 100.00% Conn: 1 Mbps: 978.300 Peak Mbps: 978.300 Avg Mbps: 978.300 2010 122054168 977.411 100.00% Conn: 1 Mbps: 977.411 Peak Mbps: 978.300 Avg Mbps: 977.411 3010 124146712 993.174 100.00% Conn: 1 Mbps: 993.174 Peak Mbps: 993.174 Avg Mbps: 993.174 4010 124408280 995.266 100.00% Conn: 1 Mbps: 995.266 Peak Mbps: 995.266 Avg Mbps: 995.266 5010 124440976 995.528 100.00% Conn: 1 Mbps: 995.528 Peak Mbps: 995.528 Avg Mbps: 995.528 --- fc00::13 tcpbench statistics --- 740353100 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 977.411/987.936/995.528/8.276 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.370 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.370/0.370/0.370/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.426 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.426/0.426/0.426/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 27262944 217.668 100.00% Conn: 1 Mbps: 217.668 Peak Mbps: 217.668 Avg Mbps: 217.668 2004 27656800 221.033 100.00% Conn: 1 Mbps: 221.033 Peak Mbps: 221.033 Avg Mbps: 221.033 3005 27603224 220.605 100.00% Conn: 1 Mbps: 220.605 Peak Mbps: 221.033 Avg Mbps: 220.605 4009 27749472 221.332 100.00% Conn: 1 Mbps: 221.332 Peak Mbps: 221.332 Avg Mbps: 221.332 5008 27251360 218.229 100.00% Conn: 1 Mbps: 218.229 Peak Mbps: 221.332 Avg Mbps: 218.229 --- 169.254.1.11 tcpbench statistics --- 165248656 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 217.668/219.774/221.332/1.518 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 1002 47955320 382.877 100.00% Conn: 1 Mbps: 382.877 Peak Mbps: 382.877 Avg Mbps: 382.877 2004 48000888 383.623 100.00% Conn: 1 Mbps: 383.623 Peak Mbps: 383.623 Avg Mbps: 383.623 3019 46692792 368.385 100.00% Conn: 1 Mbps: 368.385 Peak Mbps: 383.623 Avg Mbps: 368.385 4020 44788632 357.951 100.00% Conn: 1 Mbps: 357.951 Peak Mbps: 383.623 Avg Mbps: 357.951 5024 45218976 360.670 100.00% Conn: 1 Mbps: 360.670 Peak Mbps: 383.623 Avg Mbps: 360.670 --- fc00:0:0:1::11 tcpbench statistics --- 276585728 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 357.951/370.701/383.623/10.805 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 1000 122863466 982.908 100.00% Conn: 1 Mbps: 982.908 Peak Mbps: 982.908 Avg Mbps: 982.908 2000 123077520 985.606 100.00% Conn: 1 Mbps: 985.606 Peak Mbps: 985.606 Avg Mbps: 985.606 3000 125171344 1001.371 100.00% Conn: 1 Mbps: 1001.371 Peak Mbps: 1001.371 Avg Mbps: 1001.371 4000 125105912 1000.847 100.00% Conn: 1 Mbps: 1000.847 Peak Mbps: 1001.371 Avg Mbps: 1000.847 5000 125138628 1001.109 100.00% Conn: 1 Mbps: 1001.109 Peak Mbps: 1001.371 Avg Mbps: 1001.109 --- 169.254.1.12 tcpbench statistics --- 743322046 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 982.908/994.368/1001.371/8.302 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 124327260 994.618 100.00% Conn: 1 Mbps: 994.618 Peak Mbps: 994.618 Avg Mbps: 994.618 2000 123362008 987.884 100.00% Conn: 1 Mbps: 987.884 Peak Mbps: 994.618 Avg Mbps: 987.884 3000 123329312 986.634 100.00% Conn: 1 Mbps: 986.634 Peak Mbps: 994.618 Avg Mbps: 986.634 4000 123525488 988.204 100.00% Conn: 1 Mbps: 988.204 Peak Mbps: 994.618 Avg Mbps: 988.204 5000 118457608 947.661 100.00% Conn: 1 Mbps: 947.661 Peak Mbps: 994.618 Avg Mbps: 947.661 --- fc00:0:0:1::12 tcpbench statistics --- 736102116 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 947.661/981.000/994.618/16.900 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.289 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.289/0.289/0.289/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.368 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.368/0.368/0.368/0.000 ms ==== run-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 128852708 1030.822 100.00% Conn: 1 Mbps: 1030.822 Peak Mbps: 1030.822 Avg Mbps: 1030.822 2000 127984920 1023.879 100.00% Conn: 1 Mbps: 1023.879 Peak Mbps: 1030.822 Avg Mbps: 1023.879 3000 122979372 983.835 100.00% Conn: 1 Mbps: 983.835 Peak Mbps: 1030.822 Avg Mbps: 983.835 4000 128312068 1026.497 100.00% Conn: 1 Mbps: 1026.497 Peak Mbps: 1030.822 Avg Mbps: 1026.497 5000 128361178 1026.889 100.00% Conn: 1 Mbps: 1026.889 Peak Mbps: 1030.822 Avg Mbps: 1026.889 --- 169.254.0.13 tcpbench statistics --- 764785968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 983.835/1018.384/1030.822/17.417 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 131218324 1049.747 100.00% Conn: 1 Mbps: 1049.747 Peak Mbps: 1049.747 Avg Mbps: 1049.747 2000 124866024 998.928 100.00% Conn: 1 Mbps: 998.928 Peak Mbps: 1049.747 Avg Mbps: 998.928 3000 130293560 1042.348 100.00% Conn: 1 Mbps: 1042.348 Peak Mbps: 1049.747 Avg Mbps: 1042.348 4000 130130080 1041.041 100.00% Conn: 1 Mbps: 1041.041 Peak Mbps: 1049.747 Avg Mbps: 1041.041 5001 129999296 1039.994 100.00% Conn: 1 Mbps: 1039.994 Peak Mbps: 1049.747 Avg Mbps: 1039.994 --- fc00::13 tcpbench statistics --- 776310404 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 998.928/1034.412/1049.747/18.068 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 2m02.81s