START sys/net/pair 2024-07-26T04:39:44Z ==== 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.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-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.369 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.369/0.369/0.369/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 92951860 743.615 100.00% Conn: 1 Mbps: 743.615 Peak Mbps: 743.615 Avg Mbps: 743.615 2000 88111528 705.598 100.00% Conn: 1 Mbps: 705.598 Peak Mbps: 743.615 Avg Mbps: 705.598 3000 91553012 732.424 100.00% Conn: 1 Mbps: 732.424 Peak Mbps: 743.615 Avg Mbps: 732.424 4000 91505324 732.043 100.00% Conn: 1 Mbps: 732.043 Peak Mbps: 743.615 Avg Mbps: 732.043 5000 92586252 740.690 100.00% Conn: 1 Mbps: 740.690 Peak Mbps: 743.615 Avg Mbps: 740.690 --- 169.254.1.11 tcpbench statistics --- 548912724 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 705.598/730.874/743.615/13.426 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 90402984 723.224 100.00% Conn: 1 Mbps: 723.224 Peak Mbps: 723.224 Avg Mbps: 723.224 2000 92900304 743.202 100.00% Conn: 1 Mbps: 743.202 Peak Mbps: 743.202 Avg Mbps: 743.202 3000 92717960 741.744 100.00% Conn: 1 Mbps: 741.744 Peak Mbps: 743.202 Avg Mbps: 741.744 4000 92765528 742.124 100.00% Conn: 1 Mbps: 742.124 Peak Mbps: 743.202 Avg Mbps: 742.124 5001 91568400 732.547 100.00% Conn: 1 Mbps: 732.547 Peak Mbps: 743.202 Avg Mbps: 732.547 --- fc00:0:0:1::11 tcpbench statistics --- 550266624 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 723.224/736.568/743.202/7.693 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.484 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.484/0.484/0.484/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.899 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.899/0.899/0.899/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 1002 27571368 220.131 100.00% Conn: 1 Mbps: 220.131 Peak Mbps: 220.131 Avg Mbps: 220.131 2004 27623496 220.547 100.00% Conn: 1 Mbps: 220.547 Peak Mbps: 220.547 Avg Mbps: 220.547 3009 27713272 220.823 100.00% Conn: 1 Mbps: 220.823 Peak Mbps: 220.823 Avg Mbps: 220.823 4009 26595416 212.976 100.00% Conn: 1 Mbps: 212.976 Peak Mbps: 220.823 Avg Mbps: 212.976 5010 27778432 222.005 100.00% Conn: 1 Mbps: 222.005 Peak Mbps: 222.005 Avg Mbps: 222.005 --- 169.254.1.12 tcpbench statistics --- 164940232 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 212.976/219.296/222.005/3.221 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1001 26440848 211.315 100.00% Conn: 1 Mbps: 211.315 Peak Mbps: 211.315 Avg Mbps: 211.315 2004 27064884 215.871 100.00% Conn: 1 Mbps: 215.871 Peak Mbps: 215.871 Avg Mbps: 215.871 3009 27000624 215.144 100.00% Conn: 1 Mbps: 215.144 Peak Mbps: 215.871 Avg Mbps: 215.144 4012 27621196 220.529 100.00% Conn: 1 Mbps: 220.529 Peak Mbps: 220.529 Avg Mbps: 220.529 5017 27627148 219.918 100.00% Conn: 1 Mbps: 219.918 Peak Mbps: 220.529 Avg Mbps: 219.918 --- fc00:0:0:1::12 tcpbench statistics --- 162851876 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 211.315/216.555/220.529/3.377 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.400 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.400/0.400/0.400/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.478 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.478/0.478/0.478/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 49722688 397.782 100.00% Conn: 1 Mbps: 397.782 Peak Mbps: 397.782 Avg Mbps: 397.782 2000 49961128 399.689 100.00% Conn: 1 Mbps: 399.689 Peak Mbps: 399.689 Avg Mbps: 399.689 3001 49206068 393.649 100.00% Conn: 1 Mbps: 393.649 Peak Mbps: 399.689 Avg Mbps: 393.649 4001 49174276 393.394 100.00% Conn: 1 Mbps: 393.394 Peak Mbps: 399.689 Avg Mbps: 393.394 5001 49396820 395.175 100.00% Conn: 1 Mbps: 395.175 Peak Mbps: 399.689 Avg Mbps: 395.175 --- 169.254.0.13 tcpbench statistics --- 296015312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 393.394/395.938/399.689/2.440 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 48543144 388.345 100.00% Conn: 1 Mbps: 388.345 Peak Mbps: 388.345 Avg Mbps: 388.345 2000 48955400 391.643 100.00% Conn: 1 Mbps: 391.643 Peak Mbps: 391.643 Avg Mbps: 391.643 3000 47338088 378.705 100.00% Conn: 1 Mbps: 378.705 Peak Mbps: 391.643 Avg Mbps: 378.705 4000 45221312 361.770 100.00% Conn: 1 Mbps: 361.770 Peak Mbps: 391.643 Avg Mbps: 361.770 5001 46481864 371.855 100.00% Conn: 1 Mbps: 371.855 Peak Mbps: 391.643 Avg Mbps: 371.855 --- fc00::13 tcpbench statistics --- 283029600 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 361.770/378.464/391.643/10.897 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.349 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.349/0.349/0.349/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.402 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.402/0.402/0.402/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 1002 27714720 221.275 100.00% Conn: 1 Mbps: 221.275 Peak Mbps: 221.275 Avg Mbps: 221.275 2006 27619152 220.292 100.00% Conn: 1 Mbps: 220.292 Peak Mbps: 221.275 Avg Mbps: 220.292 3005 27019680 216.374 100.00% Conn: 1 Mbps: 216.374 Peak Mbps: 221.275 Avg Mbps: 216.374 4007 28234552 225.651 100.00% Conn: 1 Mbps: 225.651 Peak Mbps: 225.651 Avg Mbps: 225.651 5008 28085408 224.683 100.00% Conn: 1 Mbps: 224.683 Peak Mbps: 225.651 Avg Mbps: 224.683 --- 169.254.1.11 tcpbench statistics --- 166421536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 216.374/221.655/225.651/3.317 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 25935336 207.483 100.00% Conn: 1 Mbps: 207.483 Peak Mbps: 207.483 Avg Mbps: 207.483 2002 27177696 217.204 100.00% Conn: 1 Mbps: 217.204 Peak Mbps: 217.204 Avg Mbps: 217.204 3002 27161988 217.513 100.00% Conn: 1 Mbps: 217.513 Peak Mbps: 217.513 Avg Mbps: 217.513 4004 27293364 217.911 100.00% Conn: 1 Mbps: 217.911 Peak Mbps: 217.911 Avg Mbps: 217.911 5006 27291936 218.117 100.00% Conn: 1 Mbps: 218.117 Peak Mbps: 218.117 Avg Mbps: 218.117 --- fc00:0:0:1::11 tcpbench statistics --- 160931316 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 207.483/215.646/218.117/4.094 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.310 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.310/0.310/0.310/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.379 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.379/0.379/0.379/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 91832160 734.657 100.00% Conn: 1 Mbps: 734.657 Peak Mbps: 734.657 Avg Mbps: 734.657 2000 90062704 721.223 100.00% Conn: 1 Mbps: 721.223 Peak Mbps: 734.657 Avg Mbps: 721.223 3001 90569504 724.556 100.00% Conn: 1 Mbps: 724.556 Peak Mbps: 734.657 Avg Mbps: 724.556 4001 86523792 692.190 100.00% Conn: 1 Mbps: 692.190 Peak Mbps: 734.657 Avg Mbps: 692.190 5001 89932384 719.459 100.00% Conn: 1 Mbps: 719.459 Peak Mbps: 734.657 Avg Mbps: 719.459 --- 169.254.1.12 tcpbench statistics --- 538360608 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 692.190/718.417/734.657/14.130 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 94153752 753.230 100.00% Conn: 1 Mbps: 753.230 Peak Mbps: 753.230 Avg Mbps: 753.230 2000 93832452 750.660 100.00% Conn: 1 Mbps: 750.660 Peak Mbps: 753.230 Avg Mbps: 750.660 3000 90276732 722.937 100.00% Conn: 1 Mbps: 722.937 Peak Mbps: 753.230 Avg Mbps: 722.937 4000 93929556 751.436 100.00% Conn: 1 Mbps: 751.436 Peak Mbps: 753.230 Avg Mbps: 751.436 5001 94156608 753.253 100.00% Conn: 1 Mbps: 753.253 Peak Mbps: 753.253 Avg Mbps: 753.253 --- fc00:0:0:1::12 tcpbench statistics --- 560198688 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 722.937/746.303/753.253/11.727 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.334 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.334/0.334/0.334/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.379 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.379/0.379/0.379/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 128611290 1028.890 100.00% Conn: 1 Mbps: 1028.890 Peak Mbps: 1028.890 Avg Mbps: 1028.890 2000 132826888 1063.679 100.00% Conn: 1 Mbps: 1063.679 Peak Mbps: 1063.679 Avg Mbps: 1063.679 3000 132761456 1063.155 100.00% Conn: 1 Mbps: 1063.155 Peak Mbps: 1063.679 Avg Mbps: 1063.155 4000 132597912 1060.783 100.00% Conn: 1 Mbps: 1060.783 Peak Mbps: 1063.679 Avg Mbps: 1060.783 5000 132826960 1062.616 100.00% Conn: 1 Mbps: 1062.616 Peak Mbps: 1063.679 Avg Mbps: 1062.616 --- 169.254.0.13 tcpbench statistics --- 786791598 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1028.890/1055.825/1063.679/13.502 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 130339836 1042.719 100.00% Conn: 1 Mbps: 1042.719 Peak Mbps: 1042.719 Avg Mbps: 1042.719 2000 129574248 1037.632 100.00% Conn: 1 Mbps: 1037.632 Peak Mbps: 1042.719 Avg Mbps: 1037.632 3000 129639640 1037.117 100.00% Conn: 1 Mbps: 1037.117 Peak Mbps: 1042.719 Avg Mbps: 1037.117 4000 129443464 1035.548 100.00% Conn: 1 Mbps: 1035.548 Peak Mbps: 1042.719 Avg Mbps: 1035.548 5000 124571760 996.574 100.00% Conn: 1 Mbps: 996.574 Peak Mbps: 1042.719 Avg Mbps: 996.574 --- fc00::13 tcpbench statistics --- 773045108 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 996.574/1029.918/1042.719/16.845 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.368 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.368/0.368/0.368/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.433 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.433/0.433/0.433/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 26732976 213.437 100.00% Conn: 1 Mbps: 213.437 Peak Mbps: 213.437 Avg Mbps: 213.437 2002 27808840 222.693 100.00% Conn: 1 Mbps: 222.693 Peak Mbps: 222.693 Avg Mbps: 222.693 3003 26761936 213.882 100.00% Conn: 1 Mbps: 213.882 Peak Mbps: 222.693 Avg Mbps: 213.882 4006 27785672 221.842 100.00% Conn: 1 Mbps: 221.842 Peak Mbps: 222.693 Avg Mbps: 221.842 5010 27905856 222.357 100.00% Conn: 1 Mbps: 222.357 Peak Mbps: 222.693 Avg Mbps: 222.357 --- 169.254.1.11 tcpbench statistics --- 164434880 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 213.437/218.842/222.693/4.243 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1001 44090816 352.374 100.00% Conn: 1 Mbps: 352.374 Peak Mbps: 352.374 Avg Mbps: 352.374 2005 42939520 342.489 100.00% Conn: 1 Mbps: 342.489 Peak Mbps: 352.374 Avg Mbps: 342.489 3008 44481312 354.786 100.00% Conn: 1 Mbps: 354.786 Peak Mbps: 354.786 Avg Mbps: 354.786 4009 44077056 352.616 100.00% Conn: 1 Mbps: 352.616 Peak Mbps: 354.786 Avg Mbps: 352.616 5009 43966112 351.729 100.00% Conn: 1 Mbps: 351.729 Peak Mbps: 354.786 Avg Mbps: 351.729 --- fc00:0:0:1::11 tcpbench statistics --- 262595232 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 342.489/350.799/354.786/4.280 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.331 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.331/0.331/0.331/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.381 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.381/0.381/0.381/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 134962538 1079.700 100.00% Conn: 1 Mbps: 1079.700 Peak Mbps: 1079.700 Avg Mbps: 1079.700 2000 133971936 1072.848 100.00% Conn: 1 Mbps: 1072.848 Peak Mbps: 1079.700 Avg Mbps: 1072.848 3000 134102812 1072.822 100.00% Conn: 1 Mbps: 1072.822 Peak Mbps: 1079.700 Avg Mbps: 1072.822 4000 133939220 1071.514 100.00% Conn: 1 Mbps: 1071.514 Peak Mbps: 1079.700 Avg Mbps: 1071.514 5000 128246648 1025.973 100.00% Conn: 1 Mbps: 1025.973 Peak Mbps: 1079.700 Avg Mbps: 1025.973 --- 169.254.1.12 tcpbench statistics --- 798917028 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1025.973/1064.572/1079.700/19.511 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 128044700 1024.358 100.00% Conn: 1 Mbps: 1024.358 Peak Mbps: 1024.358 Avg Mbps: 1024.358 2000 127154744 1018.256 100.00% Conn: 1 Mbps: 1018.256 Peak Mbps: 1024.358 Avg Mbps: 1018.256 3000 125846904 1006.775 100.00% Conn: 1 Mbps: 1006.775 Peak Mbps: 1024.358 Avg Mbps: 1006.775 4000 123558184 988.465 100.00% Conn: 1 Mbps: 988.465 Peak Mbps: 1024.358 Avg Mbps: 988.465 5000 127318224 1018.546 100.00% Conn: 1 Mbps: 1018.546 Peak Mbps: 1024.358 Avg Mbps: 1018.546 --- fc00:0:0:1::12 tcpbench statistics --- 759339068 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 988.465/1011.280/1024.358/12.754 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.319 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.319/0.319/0.319/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.359 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.359/0.359/0.359/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 134610014 1076.880 100.00% Conn: 1 Mbps: 1076.880 Peak Mbps: 1076.880 Avg Mbps: 1076.880 2000 131321952 1051.627 100.00% Conn: 1 Mbps: 1051.627 Peak Mbps: 1076.880 Avg Mbps: 1051.627 3000 134986132 1079.889 100.00% Conn: 1 Mbps: 1079.889 Peak Mbps: 1079.889 Avg Mbps: 1079.889 4000 135018860 1080.151 100.00% Conn: 1 Mbps: 1080.151 Peak Mbps: 1080.151 Avg Mbps: 1080.151 5000 135084280 1080.674 100.00% Conn: 1 Mbps: 1080.674 Peak Mbps: 1080.674 Avg Mbps: 1080.674 --- 169.254.0.13 tcpbench statistics --- 804208002 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 1051.627/1073.844/1080.674/11.187 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 136082444 1088.660 100.00% Conn: 1 Mbps: 1088.660 Peak Mbps: 1088.660 Avg Mbps: 1088.660 2000 135034480 1081.357 100.00% Conn: 1 Mbps: 1081.357 Peak Mbps: 1088.660 Avg Mbps: 1081.357 3000 134740216 1077.922 100.00% Conn: 1 Mbps: 1077.922 Peak Mbps: 1088.660 Avg Mbps: 1077.922 4000 134576736 1076.614 100.00% Conn: 1 Mbps: 1076.614 Peak Mbps: 1088.660 Avg Mbps: 1076.614 5000 129018416 1032.147 100.00% Conn: 1 Mbps: 1032.147 Peak Mbps: 1088.660 Avg Mbps: 1032.147 --- fc00::13 tcpbench statistics --- 804029028 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1032.147/1071.340/1088.660/20.038 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.98s