START sys/net/pair 2024-07-16T04:28: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.301 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.301/0.301/0.301/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.375 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.375/0.375/0.375/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 92474980 739.800 100.00% Conn: 1 Mbps: 739.800 Peak Mbps: 739.800 Avg Mbps: 739.800 2000 92665732 742.068 100.00% Conn: 1 Mbps: 742.068 Peak Mbps: 742.068 Avg Mbps: 742.068 3000 87658492 701.268 100.00% Conn: 1 Mbps: 701.268 Peak Mbps: 742.068 Avg Mbps: 701.268 4000 90948964 728.320 100.00% Conn: 1 Mbps: 728.320 Peak Mbps: 742.068 Avg Mbps: 728.320 5000 92292176 739.076 100.00% Conn: 1 Mbps: 739.076 Peak Mbps: 742.068 Avg Mbps: 739.076 --- 169.254.1.11 tcpbench statistics --- 548626596 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 701.268/730.106/742.068/15.181 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 95587896 764.703 100.00% Conn: 1 Mbps: 764.703 Peak Mbps: 764.703 Avg Mbps: 764.703 2000 90777680 726.221 100.00% Conn: 1 Mbps: 726.221 Peak Mbps: 764.703 Avg Mbps: 726.221 3000 94374912 755.755 100.00% Conn: 1 Mbps: 755.755 Peak Mbps: 764.703 Avg Mbps: 755.755 4000 94470048 755.760 100.00% Conn: 1 Mbps: 755.760 Peak Mbps: 764.703 Avg Mbps: 755.760 5000 94485904 755.887 100.00% Conn: 1 Mbps: 755.887 Peak Mbps: 764.703 Avg Mbps: 755.887 --- fc00:0:0:1::11 tcpbench statistics --- 563920720 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 726.221/751.665/764.703/13.181 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.480 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.480/0.480/0.480/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.893 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.893/0.893/0.893/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 27853728 222.607 100.00% Conn: 1 Mbps: 222.607 Peak Mbps: 222.607 Avg Mbps: 222.607 2003 27882688 222.839 100.00% Conn: 1 Mbps: 222.839 Peak Mbps: 222.839 Avg Mbps: 222.839 3006 28166496 224.658 100.00% Conn: 1 Mbps: 224.658 Peak Mbps: 224.658 Avg Mbps: 224.658 4006 27871104 223.192 100.00% Conn: 1 Mbps: 223.192 Peak Mbps: 224.658 Avg Mbps: 223.192 5007 27018232 216.146 100.00% Conn: 1 Mbps: 216.146 Peak Mbps: 224.658 Avg Mbps: 216.146 --- 169.254.1.12 tcpbench statistics --- 166884896 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 216.146/221.888/224.658/2.959 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 1003 27530412 219.585 100.00% Conn: 1 Mbps: 219.585 Peak Mbps: 219.585 Avg Mbps: 219.585 2004 27721764 221.553 100.00% Conn: 1 Mbps: 221.553 Peak Mbps: 221.553 Avg Mbps: 221.553 3005 27389040 218.893 100.00% Conn: 1 Mbps: 218.893 Peak Mbps: 221.553 Avg Mbps: 218.893 4005 26894952 215.375 100.00% Conn: 1 Mbps: 215.375 Peak Mbps: 221.553 Avg Mbps: 215.375 5007 27855996 222.625 100.00% Conn: 1 Mbps: 222.625 Peak Mbps: 222.625 Avg Mbps: 222.625 --- fc00:0:0:1::12 tcpbench statistics --- 165083940 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 215.375/219.606/222.625/2.503 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.396 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.396/0.396/0.396/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.497 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.497/0.497/0.497/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 51630208 413.042 100.00% Conn: 1 Mbps: 413.042 Peak Mbps: 413.042 Avg Mbps: 413.042 2000 47648260 381.568 100.00% Conn: 1 Mbps: 381.568 Peak Mbps: 413.042 Avg Mbps: 381.568 3001 49516040 396.128 100.00% Conn: 1 Mbps: 396.128 Peak Mbps: 413.042 Avg Mbps: 396.128 4001 49826012 398.608 100.00% Conn: 1 Mbps: 398.608 Peak Mbps: 413.042 Avg Mbps: 398.608 5001 49484248 395.874 100.00% Conn: 1 Mbps: 395.874 Peak Mbps: 413.042 Avg Mbps: 395.874 --- 169.254.0.13 tcpbench statistics --- 295562276 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 381.568/397.044/413.042/10.001 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 45308520 362.106 100.00% Conn: 1 Mbps: 362.106 Peak Mbps: 362.106 Avg Mbps: 362.106 2001 46402584 371.592 100.00% Conn: 1 Mbps: 371.592 Peak Mbps: 371.592 Avg Mbps: 371.592 3001 46878264 375.026 100.00% Conn: 1 Mbps: 375.026 Peak Mbps: 375.026 Avg Mbps: 375.026 4001 45506720 364.418 100.00% Conn: 1 Mbps: 364.418 Peak Mbps: 375.026 Avg Mbps: 364.418 5001 44468152 355.745 100.00% Conn: 1 Mbps: 355.745 Peak Mbps: 375.026 Avg Mbps: 355.745 --- fc00::13 tcpbench statistics --- 272295088 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 355.745/365.778/375.026/6.860 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.327 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.327/0.327/0.327/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.427 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.427/0.427/0.427/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 27921784 223.374 100.00% Conn: 1 Mbps: 223.374 Peak Mbps: 223.374 Avg Mbps: 223.374 2000 27902960 223.224 100.00% Conn: 1 Mbps: 223.224 Peak Mbps: 223.374 Avg Mbps: 223.224 3001 27918888 223.128 100.00% Conn: 1 Mbps: 223.128 Peak Mbps: 223.374 Avg Mbps: 223.128 4003 27632184 220.837 100.00% Conn: 1 Mbps: 220.837 Peak Mbps: 223.374 Avg Mbps: 220.837 5004 28273648 225.963 100.00% Conn: 1 Mbps: 225.963 Peak Mbps: 225.963 Avg Mbps: 225.963 --- 169.254.1.11 tcpbench statistics --- 167671160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 220.837/223.305/225.963/1.625 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1001 27596100 220.548 100.00% Conn: 1 Mbps: 220.548 Peak Mbps: 220.548 Avg Mbps: 220.548 2003 26557944 212.251 100.00% Conn: 1 Mbps: 212.251 Peak Mbps: 220.548 Avg Mbps: 212.251 3005 27908832 223.048 100.00% Conn: 1 Mbps: 223.048 Peak Mbps: 223.048 Avg Mbps: 223.048 4006 27854568 222.614 100.00% Conn: 1 Mbps: 222.614 Peak Mbps: 223.048 Avg Mbps: 222.614 5007 27687492 221.500 100.00% Conn: 1 Mbps: 221.500 Peak Mbps: 223.048 Avg Mbps: 221.500 --- fc00:0:0:1::11 tcpbench statistics --- 165225312 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 212.251/219.992/223.048/3.968 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.303 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.303/0.303/0.303/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.355 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.355/0.355/0.355/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 89212728 713.702 100.00% Conn: 1 Mbps: 713.702 Peak Mbps: 713.702 Avg Mbps: 713.702 2000 90442080 723.537 100.00% Conn: 1 Mbps: 723.537 Peak Mbps: 723.537 Avg Mbps: 723.537 3000 90323344 722.587 100.00% Conn: 1 Mbps: 722.587 Peak Mbps: 723.537 Avg Mbps: 722.587 4001 90750504 726.004 100.00% Conn: 1 Mbps: 726.004 Peak Mbps: 726.004 Avg Mbps: 726.004 5001 89671744 717.374 100.00% Conn: 1 Mbps: 717.374 Peak Mbps: 726.004 Avg Mbps: 717.374 --- 169.254.1.12 tcpbench statistics --- 538299792 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 713.702/720.641/726.004/4.467 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 94198020 753.584 100.00% Conn: 1 Mbps: 753.584 Peak Mbps: 753.584 Avg Mbps: 753.584 2000 93534000 748.272 100.00% Conn: 1 Mbps: 748.272 Peak Mbps: 753.584 Avg Mbps: 748.272 3000 93569700 749.307 100.00% Conn: 1 Mbps: 749.307 Peak Mbps: 753.584 Avg Mbps: 749.307 4000 89948292 719.586 100.00% Conn: 1 Mbps: 719.586 Peak Mbps: 753.584 Avg Mbps: 719.586 5000 93618252 748.946 100.00% Conn: 1 Mbps: 748.946 Peak Mbps: 753.584 Avg Mbps: 748.946 --- fc00:0:0:1::12 tcpbench statistics --- 558373704 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 719.586/743.939/753.584/12.319 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.313 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.313/0.313/0.313/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 133956488 1071.652 100.00% Conn: 1 Mbps: 1071.652 Peak Mbps: 1071.652 Avg Mbps: 1071.652 2000 127559612 1021.498 100.00% Conn: 1 Mbps: 1021.498 Peak Mbps: 1071.652 Avg Mbps: 1021.498 3000 132859592 1062.877 100.00% Conn: 1 Mbps: 1062.877 Peak Mbps: 1071.652 Avg Mbps: 1062.877 4000 132826948 1062.616 100.00% Conn: 1 Mbps: 1062.616 Peak Mbps: 1071.652 Avg Mbps: 1062.616 5000 132990540 1063.924 100.00% Conn: 1 Mbps: 1063.924 Peak Mbps: 1071.652 Avg Mbps: 1063.924 --- 169.254.0.13 tcpbench statistics --- 792594832 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1021.498/1056.513/1071.652/17.821 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 127580280 1020.642 100.00% Conn: 1 Mbps: 1020.642 Peak Mbps: 1020.642 Avg Mbps: 1020.642 2000 131764880 1055.174 100.00% Conn: 1 Mbps: 1055.174 Peak Mbps: 1055.174 Avg Mbps: 1055.174 3000 131895664 1055.165 100.00% Conn: 1 Mbps: 1055.165 Peak Mbps: 1055.174 Avg Mbps: 1055.165 4000 131928360 1055.427 100.00% Conn: 1 Mbps: 1055.427 Peak Mbps: 1055.427 Avg Mbps: 1055.427 5000 131895664 1055.165 100.00% Conn: 1 Mbps: 1055.165 Peak Mbps: 1055.427 Avg Mbps: 1055.165 --- fc00::13 tcpbench statistics --- 780323224 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1020.642/1048.315/1055.427/13.837 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.351 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.351/0.351/0.351/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.446 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.446/0.446/0.446/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 27477248 219.598 100.00% Conn: 1 Mbps: 219.598 Peak Mbps: 219.598 Avg Mbps: 219.598 2002 27798704 222.390 100.00% Conn: 1 Mbps: 222.390 Peak Mbps: 222.390 Avg Mbps: 222.390 3004 28073824 224.142 100.00% Conn: 1 Mbps: 224.142 Peak Mbps: 224.142 Avg Mbps: 224.142 4009 27189096 216.646 100.00% Conn: 1 Mbps: 216.646 Peak Mbps: 224.142 Avg Mbps: 216.646 5010 27968120 223.521 100.00% Conn: 1 Mbps: 223.521 Peak Mbps: 224.142 Avg Mbps: 223.521 --- 169.254.1.11 tcpbench statistics --- 165984240 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 216.646/221.260/224.142/2.784 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 47729408 381.073 100.00% Conn: 1 Mbps: 381.073 Peak Mbps: 381.073 Avg Mbps: 381.073 2001 47879992 383.423 100.00% Conn: 1 Mbps: 383.423 Peak Mbps: 383.423 Avg Mbps: 383.423 3004 45520064 363.434 100.00% Conn: 1 Mbps: 363.434 Peak Mbps: 383.423 Avg Mbps: 363.434 4006 45118848 360.590 100.00% Conn: 1 Mbps: 360.590 Peak Mbps: 383.423 Avg Mbps: 360.590 5005 44774744 358.557 100.00% Conn: 1 Mbps: 358.557 Peak Mbps: 383.423 Avg Mbps: 358.557 --- fc00:0:0:1::11 tcpbench statistics --- 275942336 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 358.557/369.415/383.423/10.618 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.320 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.320/0.320/0.320/0.000 ms ==== run-ping6-3-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.403 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.403/0.403/0.403/0.000 ms ==== run-tcpbench-3-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 128132702 1025.062 100.00% Conn: 1 Mbps: 1025.062 Peak Mbps: 1025.062 Avg Mbps: 1025.062 2000 132434296 1059.474 100.00% Conn: 1 Mbps: 1059.474 Peak Mbps: 1059.474 Avg Mbps: 1059.474 3000 132041704 1056.334 100.00% Conn: 1 Mbps: 1056.334 Peak Mbps: 1059.474 Avg Mbps: 1056.334 4000 131747248 1053.978 100.00% Conn: 1 Mbps: 1053.978 Peak Mbps: 1059.474 Avg Mbps: 1053.978 5001 131779976 1054.240 100.00% Conn: 1 Mbps: 1054.240 Peak Mbps: 1059.474 Avg Mbps: 1054.240 --- 169.254.1.12 tcpbench statistics --- 781978008 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1025.062/1049.817/1059.474/12.533 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 133530420 1068.243 100.00% Conn: 1 Mbps: 1068.243 Peak Mbps: 1068.243 Avg Mbps: 1068.243 2000 128070232 1025.587 100.00% Conn: 1 Mbps: 1025.587 Peak Mbps: 1068.243 Avg Mbps: 1025.587 3000 132386104 1059.089 100.00% Conn: 1 Mbps: 1059.089 Peak Mbps: 1068.243 Avg Mbps: 1059.089 4000 131012872 1048.103 100.00% Conn: 1 Mbps: 1048.103 Peak Mbps: 1068.243 Avg Mbps: 1048.103 5000 128527976 1028.224 100.00% Conn: 1 Mbps: 1028.224 Peak Mbps: 1068.243 Avg Mbps: 1028.224 --- fc00:0:0:1::12 tcpbench statistics --- 785717532 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 1025.587/1045.849/1068.243/16.751 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.306 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.306/0.306/0.306/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.382 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.382/0.382/0.382/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 137035958 1096.288 100.00% Conn: 1 Mbps: 1096.288 Peak Mbps: 1096.288 Avg Mbps: 1096.288 2000 135607736 1085.948 100.00% Conn: 1 Mbps: 1085.948 Peak Mbps: 1096.288 Avg Mbps: 1085.948 3000 130225966 1041.808 100.00% Conn: 1 Mbps: 1041.808 Peak Mbps: 1096.288 Avg Mbps: 1041.808 4000 135673180 1085.385 100.00% Conn: 1 Mbps: 1085.385 Peak Mbps: 1096.288 Avg Mbps: 1085.385 5000 135575020 1084.600 100.00% Conn: 1 Mbps: 1084.600 Peak Mbps: 1096.288 Avg Mbps: 1084.600 --- 169.254.0.13 tcpbench statistics --- 809431164 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1041.808/1078.806/1096.288/18.986 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 138827900 1110.623 100.00% Conn: 1 Mbps: 1110.623 Peak Mbps: 1110.623 Avg Mbps: 1110.623 2000 135067176 1081.619 100.00% Conn: 1 Mbps: 1081.619 Peak Mbps: 1110.623 Avg Mbps: 1081.619 3000 138859912 1110.879 100.00% Conn: 1 Mbps: 1110.879 Peak Mbps: 1110.879 Avg Mbps: 1110.879 4000 138827216 1110.618 100.00% Conn: 1 Mbps: 1110.618 Peak Mbps: 1110.879 Avg Mbps: 1110.618 5000 139154176 1113.233 100.00% Conn: 1 Mbps: 1113.233 Peak Mbps: 1113.233 Avg Mbps: 1113.233 --- fc00::13 tcpbench statistics --- 828092276 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1081.619/1105.395/1113.233/11.928 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.87s