START sys/net/pair 2024-10-25T22:07:26Z ==== 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.184 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.184/0.184/0.184/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.218 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.218/0.218/0.218/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 50279048 402.232 100.00% Conn: 1 Mbps: 402.232 Peak Mbps: 402.232 Avg Mbps: 402.232 2000 49826012 398.608 100.00% Conn: 1 Mbps: 398.608 Peak Mbps: 402.232 Avg Mbps: 398.608 3000 49722688 398.180 100.00% Conn: 1 Mbps: 398.180 Peak Mbps: 402.232 Avg Mbps: 398.180 4001 50000868 400.007 100.00% Conn: 1 Mbps: 400.007 Peak Mbps: 402.232 Avg Mbps: 400.007 5000 49738584 398.307 100.00% Conn: 1 Mbps: 398.307 Peak Mbps: 402.232 Avg Mbps: 398.307 --- 169.254.1.11 tcpbench statistics --- 299432952 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 398.180/399.467/402.232/1.528 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 46093392 368.747 100.00% Conn: 1 Mbps: 368.747 Peak Mbps: 368.747 Avg Mbps: 368.747 2000 45609784 364.878 100.00% Conn: 1 Mbps: 364.878 Peak Mbps: 368.747 Avg Mbps: 364.878 3001 45498792 363.990 100.00% Conn: 1 Mbps: 363.990 Peak Mbps: 368.747 Avg Mbps: 363.990 4001 45823840 366.958 100.00% Conn: 1 Mbps: 366.958 Peak Mbps: 368.747 Avg Mbps: 366.958 5002 45696992 365.211 100.00% Conn: 1 Mbps: 365.211 Peak Mbps: 368.747 Avg Mbps: 365.211 --- fc00:0:0:1::11 tcpbench statistics --- 274221592 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 363.990/365.957/368.747/1.696 Mbps ==== run-ping-1-2 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.323 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.323/0.323/0.323/0.000 ms ==== run-ping6-1-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.729 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.729/0.729/0.729/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 1000 31382504 251.060 100.00% Conn: 1 Mbps: 251.060 Peak Mbps: 251.060 Avg Mbps: 251.060 2003 31605496 252.339 100.00% Conn: 1 Mbps: 252.339 Peak Mbps: 252.339 Avg Mbps: 252.339 3005 31408568 250.767 100.00% Conn: 1 Mbps: 250.767 Peak Mbps: 252.339 Avg Mbps: 250.767 4005 31357888 250.863 100.00% Conn: 1 Mbps: 250.863 Peak Mbps: 252.339 Avg Mbps: 250.863 5007 31078424 248.131 100.00% Conn: 1 Mbps: 248.131 Peak Mbps: 252.339 Avg Mbps: 248.131 --- 169.254.1.12 tcpbench statistics --- 187731752 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 248.131/250.632/252.339/1.373 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 30087960 240.223 100.00% Conn: 1 Mbps: 240.223 Peak Mbps: 240.223 Avg Mbps: 240.223 2004 30110808 240.406 100.00% Conn: 1 Mbps: 240.406 Peak Mbps: 240.406 Avg Mbps: 240.406 3003 30132228 241.541 100.00% Conn: 1 Mbps: 241.541 Peak Mbps: 241.541 Avg Mbps: 241.541 4005 30175068 241.159 100.00% Conn: 1 Mbps: 241.159 Peak Mbps: 241.541 Avg Mbps: 241.159 5006 30473520 243.545 100.00% Conn: 1 Mbps: 243.545 Peak Mbps: 243.545 Avg Mbps: 243.545 --- fc00:0:0:1::12 tcpbench statistics --- 181468812 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 240.223/241.375/243.545/1.187 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.232 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.232/0.232/0.232/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.309 ms --- fc00::13 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-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 31251536 249.763 100.00% Conn: 1 Mbps: 249.763 Peak Mbps: 249.763 Avg Mbps: 249.763 2001 30766708 246.380 100.00% Conn: 1 Mbps: 246.380 Peak Mbps: 249.763 Avg Mbps: 246.380 3002 31434340 251.475 100.00% Conn: 1 Mbps: 251.475 Peak Mbps: 251.475 Avg Mbps: 251.475 4002 31092576 248.741 100.00% Conn: 1 Mbps: 248.741 Peak Mbps: 251.475 Avg Mbps: 248.741 5002 31927116 255.417 100.00% Conn: 1 Mbps: 255.417 Peak Mbps: 255.417 Avg Mbps: 255.417 --- 169.254.0.13 tcpbench statistics --- 187254880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 246.380/250.355/255.417/3.021 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 31656504 253.252 100.00% Conn: 1 Mbps: 253.252 Peak Mbps: 253.252 Avg Mbps: 253.252 2000 31981552 255.852 100.00% Conn: 1 Mbps: 255.852 Peak Mbps: 255.852 Avg Mbps: 255.852 3002 31902272 254.963 100.00% Conn: 1 Mbps: 254.963 Peak Mbps: 255.852 Avg Mbps: 254.963 4002 32274888 258.458 100.00% Conn: 1 Mbps: 258.458 Peak Mbps: 258.458 Avg Mbps: 258.458 5002 31894344 255.410 100.00% Conn: 1 Mbps: 255.410 Peak Mbps: 258.458 Avg Mbps: 255.410 --- fc00::13 tcpbench statistics --- 191889312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 253.252/255.587/258.458/1.684 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.197 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.197/0.197/0.197/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.236 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.236/0.236/0.236/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 31370920 250.717 100.00% Conn: 1 Mbps: 250.717 Peak Mbps: 250.717 Avg Mbps: 250.717 2005 31214536 248.969 100.00% Conn: 1 Mbps: 248.969 Peak Mbps: 250.717 Avg Mbps: 248.969 3003 31249288 250.495 100.00% Conn: 1 Mbps: 250.495 Peak Mbps: 250.717 Avg Mbps: 250.495 4005 31026296 247.962 100.00% Conn: 1 Mbps: 247.962 Peak Mbps: 250.717 Avg Mbps: 247.962 5006 31215984 249.478 100.00% Conn: 1 Mbps: 249.478 Peak Mbps: 250.717 Avg Mbps: 249.478 --- 169.254.1.11 tcpbench statistics --- 187224952 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 247.962/249.524/250.717/1.011 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 30205056 241.640 100.00% Conn: 1 Mbps: 241.640 Peak Mbps: 241.640 Avg Mbps: 241.640 2001 30046548 240.372 100.00% Conn: 1 Mbps: 240.372 Peak Mbps: 241.640 Avg Mbps: 240.372 3001 30265032 242.363 100.00% Conn: 1 Mbps: 242.363 Peak Mbps: 242.363 Avg Mbps: 242.363 4003 30293592 241.865 100.00% Conn: 1 Mbps: 241.865 Peak Mbps: 242.363 Avg Mbps: 241.865 5002 29846628 239.252 100.00% Conn: 1 Mbps: 239.252 Peak Mbps: 242.363 Avg Mbps: 239.252 --- fc00:0:0:1::11 tcpbench statistics --- 180751956 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 239.252/241.098/242.363/1.133 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.162 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.162/0.162/0.162/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.233 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.233/0.233/0.233/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 43021528 344.172 100.00% Conn: 1 Mbps: 344.172 Peak Mbps: 344.172 Avg Mbps: 344.172 2001 43580456 348.644 100.00% Conn: 1 Mbps: 348.644 Peak Mbps: 348.644 Avg Mbps: 348.644 3001 43468960 347.752 100.00% Conn: 1 Mbps: 347.752 Peak Mbps: 348.644 Avg Mbps: 347.752 4002 43251760 346.014 100.00% Conn: 1 Mbps: 346.014 Peak Mbps: 348.644 Avg Mbps: 346.014 5002 43583352 348.667 100.00% Conn: 1 Mbps: 348.667 Peak Mbps: 348.667 Avg Mbps: 348.667 --- 169.254.1.12 tcpbench statistics --- 260222976 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 344.172/347.050/348.667/1.732 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 47862276 382.898 100.00% Conn: 1 Mbps: 382.898 Peak Mbps: 382.898 Avg Mbps: 382.898 2000 47022612 376.181 100.00% Conn: 1 Mbps: 376.181 Peak Mbps: 382.898 Avg Mbps: 376.181 3001 46547088 372.377 100.00% Conn: 1 Mbps: 372.377 Peak Mbps: 382.898 Avg Mbps: 372.377 4001 46727016 373.816 100.00% Conn: 1 Mbps: 373.816 Peak Mbps: 382.898 Avg Mbps: 373.816 5001 46924080 375.393 100.00% Conn: 1 Mbps: 375.393 Peak Mbps: 382.898 Avg Mbps: 375.393 --- fc00:0:0:1::12 tcpbench statistics --- 281910048 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 372.377/376.133/382.898/3.628 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.172 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.172/0.172/0.172/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.236 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.236/0.236/0.236/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 136933162 1095.465 100.00% Conn: 1 Mbps: 1095.465 Peak Mbps: 1095.465 Avg Mbps: 1095.465 2000 137963288 1103.706 100.00% Conn: 1 Mbps: 1103.706 Peak Mbps: 1103.706 Avg Mbps: 1103.706 3000 137897868 1103.183 100.00% Conn: 1 Mbps: 1103.183 Peak Mbps: 1103.706 Avg Mbps: 1103.183 4000 137865140 1102.921 100.00% Conn: 1 Mbps: 1102.921 Peak Mbps: 1103.706 Avg Mbps: 1102.921 5000 137996004 1103.968 100.00% Conn: 1 Mbps: 1103.968 Peak Mbps: 1103.968 Avg Mbps: 1103.968 --- 169.254.0.13 tcpbench statistics --- 826291590 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1095.465/1101.849/1103.968/3.213 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 127052308 1016.418 100.00% Conn: 1 Mbps: 1016.418 Peak Mbps: 1016.418 Avg Mbps: 1016.418 2000 127547096 1020.377 100.00% Conn: 1 Mbps: 1020.377 Peak Mbps: 1020.377 Avg Mbps: 1020.377 3000 128429888 1027.439 100.00% Conn: 1 Mbps: 1027.439 Peak Mbps: 1027.439 Avg Mbps: 1027.439 4000 128168320 1025.347 100.00% Conn: 1 Mbps: 1025.347 Peak Mbps: 1027.439 Avg Mbps: 1025.347 5000 127743272 1021.946 100.00% Conn: 1 Mbps: 1021.946 Peak Mbps: 1027.439 Avg Mbps: 1021.946 --- fc00::13 tcpbench statistics --- 766880332 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1016.418/1022.305/1027.439/3.850 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.202 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.202/0.202/0.202/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.267 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.267/0.267/0.267/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 1000 31446216 251.570 100.00% Conn: 1 Mbps: 251.570 Peak Mbps: 251.570 Avg Mbps: 251.570 2001 31698168 253.332 100.00% Conn: 1 Mbps: 253.332 Peak Mbps: 253.332 Avg Mbps: 253.332 3002 31092904 248.743 100.00% Conn: 1 Mbps: 248.743 Peak Mbps: 253.332 Avg Mbps: 248.743 4005 31582328 251.903 100.00% Conn: 1 Mbps: 251.903 Peak Mbps: 253.332 Avg Mbps: 251.903 5005 31240600 249.925 100.00% Conn: 1 Mbps: 249.925 Peak Mbps: 253.332 Avg Mbps: 249.925 --- 169.254.1.11 tcpbench statistics --- 188142984 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 248.743/251.095/253.332/1.599 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 57392520 459.140 100.00% Conn: 1 Mbps: 459.140 Peak Mbps: 459.140 Avg Mbps: 459.140 2001 57184936 457.479 100.00% Conn: 1 Mbps: 457.479 Peak Mbps: 459.140 Avg Mbps: 457.479 3005 57323328 456.760 100.00% Conn: 1 Mbps: 456.760 Peak Mbps: 459.140 Avg Mbps: 456.760 4003 56789032 455.679 100.00% Conn: 1 Mbps: 455.679 Peak Mbps: 459.140 Avg Mbps: 455.679 5005 55883816 446.178 100.00% Conn: 1 Mbps: 446.178 Peak Mbps: 459.140 Avg Mbps: 446.178 --- fc00:0:0:1::11 tcpbench statistics --- 340901992 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 446.178/455.047/459.140/4.575 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.183 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.183/0.183/0.183/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.234 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.234/0.234/0.234/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 136671486 1093.372 100.00% Conn: 1 Mbps: 1093.372 Peak Mbps: 1093.372 Avg Mbps: 1093.372 2000 137963288 1103.706 100.00% Conn: 1 Mbps: 1103.706 Peak Mbps: 1103.706 Avg Mbps: 1103.706 3000 137996016 1103.968 100.00% Conn: 1 Mbps: 1103.968 Peak Mbps: 1103.968 Avg Mbps: 1103.968 4000 137668844 1101.351 100.00% Conn: 1 Mbps: 1101.351 Peak Mbps: 1103.968 Avg Mbps: 1101.351 5000 137832424 1102.659 100.00% Conn: 1 Mbps: 1102.659 Peak Mbps: 1103.968 Avg Mbps: 1102.659 --- 169.254.1.12 tcpbench statistics --- 825735470 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1093.372/1101.011/1103.968/3.929 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 127449836 1019.599 100.00% Conn: 1 Mbps: 1019.599 Peak Mbps: 1019.599 Avg Mbps: 1019.599 2000 126337344 1010.699 100.00% Conn: 1 Mbps: 1010.699 Peak Mbps: 1019.599 Avg Mbps: 1010.699 3000 128397192 1027.178 100.00% Conn: 1 Mbps: 1027.178 Peak Mbps: 1027.178 Avg Mbps: 1027.178 4000 128527976 1028.224 100.00% Conn: 1 Mbps: 1028.224 Peak Mbps: 1028.224 Avg Mbps: 1028.224 5000 128397192 1027.178 100.00% Conn: 1 Mbps: 1027.178 Peak Mbps: 1028.224 Avg Mbps: 1027.178 --- fc00:0:0:1::12 tcpbench statistics --- 767375948 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1010.699/1022.575/1028.224/6.696 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.176 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.176/0.176/0.176/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.230 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.230/0.230/0.230/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 159817966 1278.544 100.00% Conn: 1 Mbps: 1278.544 Peak Mbps: 1278.544 Avg Mbps: 1278.544 2000 180624928 1444.999 100.00% Conn: 1 Mbps: 1444.999 Peak Mbps: 1444.999 Avg Mbps: 1444.999 3000 168192860 1345.543 100.00% Conn: 1 Mbps: 1345.543 Peak Mbps: 1444.999 Avg Mbps: 1345.543 4000 177844068 1422.753 100.00% Conn: 1 Mbps: 1422.753 Peak Mbps: 1444.999 Avg Mbps: 1422.753 5000 173689148 1389.513 100.00% Conn: 1 Mbps: 1389.513 Peak Mbps: 1444.999 Avg Mbps: 1389.513 --- 169.254.0.13 tcpbench statistics --- 1043214882 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1278.544/1376.270/1444.999/59.253 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 141983172 1135.865 100.00% Conn: 1 Mbps: 1135.865 Peak Mbps: 1135.865 Avg Mbps: 1135.865 2000 143143088 1145.145 100.00% Conn: 1 Mbps: 1145.145 Peak Mbps: 1145.145 Avg Mbps: 1145.145 3000 144875976 1159.008 100.00% Conn: 1 Mbps: 1159.008 Peak Mbps: 1159.008 Avg Mbps: 1159.008 4000 141377504 1131.020 100.00% Conn: 1 Mbps: 1131.020 Peak Mbps: 1159.008 Avg Mbps: 1131.020 5000 143143088 1145.145 100.00% Conn: 1 Mbps: 1145.145 Peak Mbps: 1159.008 Avg Mbps: 1145.145 --- fc00::13 tcpbench statistics --- 855017540 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1131.020/1143.237/1159.008/9.587 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m59.44s