START sys/net/pair 2024-11-15T23:00:49Z ==== 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.172 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.172/0.172/0.172/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.214 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.214/0.214/0.214/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 50779772 406.238 100.00% Conn: 1 Mbps: 406.238 Peak Mbps: 406.238 Avg Mbps: 406.238 2002 50763876 405.705 100.00% Conn: 1 Mbps: 405.705 Peak Mbps: 406.238 Avg Mbps: 405.705 3001 51002316 408.427 100.00% Conn: 1 Mbps: 408.427 Peak Mbps: 408.427 Avg Mbps: 408.427 4001 51399716 411.609 100.00% Conn: 1 Mbps: 411.609 Peak Mbps: 411.609 Avg Mbps: 411.609 5001 51296392 410.371 100.00% Conn: 1 Mbps: 410.371 Peak Mbps: 411.609 Avg Mbps: 410.371 --- 169.254.1.11 tcpbench statistics --- 306578204 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 405.705/408.470/411.609/2.285 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 1001 46386728 370.723 100.00% Conn: 1 Mbps: 370.723 Peak Mbps: 370.723 Avg Mbps: 370.723 2001 45990328 367.923 100.00% Conn: 1 Mbps: 367.923 Peak Mbps: 370.723 Avg Mbps: 367.923 3002 46973400 375.787 100.00% Conn: 1 Mbps: 375.787 Peak Mbps: 375.787 Avg Mbps: 375.787 4002 45776272 366.210 100.00% Conn: 1 Mbps: 366.210 Peak Mbps: 375.787 Avg Mbps: 366.210 5002 46783128 374.640 100.00% Conn: 1 Mbps: 374.640 Peak Mbps: 375.787 Avg Mbps: 374.640 --- fc00:0:0:1::11 tcpbench statistics --- 278217304 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 366.210/371.057/375.787/3.705 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.325 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.325/0.325/0.325/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.752 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.752/0.752/0.752/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1003 31000232 247.260 100.00% Conn: 1 Mbps: 247.260 Peak Mbps: 247.260 Avg Mbps: 247.260 2005 31246392 249.472 100.00% Conn: 1 Mbps: 249.472 Peak Mbps: 249.472 Avg Mbps: 249.472 3006 30893080 246.898 100.00% Conn: 1 Mbps: 246.898 Peak Mbps: 249.472 Avg Mbps: 246.898 4008 31213088 249.455 100.00% Conn: 1 Mbps: 249.455 Peak Mbps: 249.472 Avg Mbps: 249.455 5008 30966928 247.735 100.00% Conn: 1 Mbps: 247.735 Peak Mbps: 249.472 Avg Mbps: 247.735 --- 169.254.1.12 tcpbench statistics --- 186415520 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 246.898/248.164/249.472/1.094 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 29719536 237.519 100.00% Conn: 1 Mbps: 237.519 Peak Mbps: 237.519 Avg Mbps: 237.519 2004 29938020 239.026 100.00% Conn: 1 Mbps: 239.026 Peak Mbps: 239.026 Avg Mbps: 239.026 3007 29848056 238.070 100.00% Conn: 1 Mbps: 238.070 Peak Mbps: 239.026 Avg Mbps: 238.070 4007 30076536 240.853 100.00% Conn: 1 Mbps: 240.853 Peak Mbps: 240.853 Avg Mbps: 240.853 5006 30217908 242.228 100.00% Conn: 1 Mbps: 242.228 Peak Mbps: 242.228 Avg Mbps: 242.228 --- fc00:0:0:1::12 tcpbench statistics --- 179795196 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 237.519/239.539/242.228/1.758 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.218 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.218/0.218/0.218/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.308 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.308/0.308/0.308/0.000 ms ==== run-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 31267432 250.139 100.00% Conn: 1 Mbps: 250.139 Peak Mbps: 250.139 Avg Mbps: 250.139 2000 31005148 248.041 100.00% Conn: 1 Mbps: 248.041 Peak Mbps: 250.139 Avg Mbps: 248.041 3001 31227692 249.822 100.00% Conn: 1 Mbps: 249.822 Peak Mbps: 250.139 Avg Mbps: 249.822 4001 31394600 251.157 100.00% Conn: 1 Mbps: 251.157 Peak Mbps: 251.157 Avg Mbps: 251.157 5002 30814396 246.515 100.00% Conn: 1 Mbps: 246.515 Peak Mbps: 251.157 Avg Mbps: 246.515 --- 169.254.0.13 tcpbench statistics --- 186269328 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 246.515/249.135/251.157/1.651 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 32909128 263.010 100.00% Conn: 1 Mbps: 263.010 Peak Mbps: 263.010 Avg Mbps: 263.010 2001 32647504 261.180 100.00% Conn: 1 Mbps: 261.180 Peak Mbps: 263.010 Avg Mbps: 261.180 3001 32377952 259.283 100.00% Conn: 1 Mbps: 259.283 Peak Mbps: 263.010 Avg Mbps: 259.283 4001 32607864 260.863 100.00% Conn: 1 Mbps: 260.863 Peak Mbps: 263.010 Avg Mbps: 260.863 5002 32401736 259.214 100.00% Conn: 1 Mbps: 259.214 Peak Mbps: 263.010 Avg Mbps: 259.214 --- fc00::13 tcpbench statistics --- 195702680 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 259.214/260.710/263.010/1.401 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.180 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.180/0.180/0.180/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.237 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.237/0.237/0.237/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 30988648 247.909 100.00% Conn: 1 Mbps: 247.909 Peak Mbps: 247.909 Avg Mbps: 247.909 2000 31326032 250.859 100.00% Conn: 1 Mbps: 250.859 Peak Mbps: 250.859 Avg Mbps: 250.859 3001 31821248 254.570 100.00% Conn: 1 Mbps: 254.570 Peak Mbps: 254.570 Avg Mbps: 254.570 4002 31488208 251.654 100.00% Conn: 1 Mbps: 251.654 Peak Mbps: 254.570 Avg Mbps: 251.654 5005 31491104 251.175 100.00% Conn: 1 Mbps: 251.175 Peak Mbps: 254.570 Avg Mbps: 251.175 --- 169.254.1.11 tcpbench statistics --- 188325432 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 247.909/251.234/254.570/2.121 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1002 29968008 239.266 100.00% Conn: 1 Mbps: 239.266 Peak Mbps: 239.266 Avg Mbps: 239.266 2001 30170784 241.850 100.00% Conn: 1 Mbps: 241.850 Peak Mbps: 241.850 Avg Mbps: 241.850 3003 30162216 241.057 100.00% Conn: 1 Mbps: 241.057 Peak Mbps: 241.850 Avg Mbps: 241.057 4005 29983716 239.391 100.00% Conn: 1 Mbps: 239.391 Peak Mbps: 241.850 Avg Mbps: 239.391 5007 29973720 239.311 100.00% Conn: 1 Mbps: 239.311 Peak Mbps: 241.850 Avg Mbps: 239.311 --- fc00:0:0:1::11 tcpbench statistics --- 179860884 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 239.266/240.175/241.850/1.074 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.172 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.172/0.172/0.172/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.227 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.227/0.227/0.227/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 44578128 356.625 100.00% Conn: 1 Mbps: 356.625 Peak Mbps: 356.625 Avg Mbps: 356.625 2000 44009064 352.073 100.00% Conn: 1 Mbps: 352.073 Peak Mbps: 356.625 Avg Mbps: 352.073 3001 43810688 350.486 100.00% Conn: 1 Mbps: 350.486 Peak Mbps: 356.625 Avg Mbps: 350.486 4001 43858472 350.868 100.00% Conn: 1 Mbps: 350.868 Peak Mbps: 356.625 Avg Mbps: 350.868 5001 44973432 360.148 100.00% Conn: 1 Mbps: 360.148 Peak Mbps: 360.148 Avg Mbps: 360.148 --- 169.254.1.12 tcpbench statistics --- 264926080 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 350.486/354.040/360.148/3.756 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 46731300 373.850 100.00% Conn: 1 Mbps: 373.850 Peak Mbps: 373.850 Avg Mbps: 373.850 2001 48283536 386.268 100.00% Conn: 1 Mbps: 386.268 Peak Mbps: 386.268 Avg Mbps: 386.268 3001 48007932 384.448 100.00% Conn: 1 Mbps: 384.448 Peak Mbps: 386.268 Avg Mbps: 384.448 4002 46806984 374.456 100.00% Conn: 1 Mbps: 374.456 Peak Mbps: 386.268 Avg Mbps: 374.456 5002 47368188 378.946 100.00% Conn: 1 Mbps: 378.946 Peak Mbps: 386.268 Avg Mbps: 378.946 --- fc00:0:0:1::12 tcpbench statistics --- 284004924 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 373.850/379.594/386.268/5.058 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.177 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.177/0.177/0.177/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.239 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.239/0.239/0.239/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 136933188 1095.466 100.00% Conn: 1 Mbps: 1095.466 Peak Mbps: 1095.466 Avg Mbps: 1095.466 2000 136916376 1095.331 100.00% Conn: 1 Mbps: 1095.331 Peak Mbps: 1095.466 Avg Mbps: 1095.331 3000 137374412 1098.995 100.00% Conn: 1 Mbps: 1098.995 Peak Mbps: 1098.995 Avg Mbps: 1098.995 4000 137668844 1101.351 100.00% Conn: 1 Mbps: 1101.351 Peak Mbps: 1101.351 Avg Mbps: 1101.351 5000 137308980 1098.472 100.00% Conn: 1 Mbps: 1098.472 Peak Mbps: 1101.351 Avg Mbps: 1098.472 --- 169.254.0.13 tcpbench statistics --- 822660152 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1095.331/1097.923/1101.351/2.279 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 127122732 1016.982 100.00% Conn: 1 Mbps: 1016.982 Peak Mbps: 1016.982 Avg Mbps: 1016.982 2000 128201016 1025.608 100.00% Conn: 1 Mbps: 1025.608 Peak Mbps: 1025.608 Avg Mbps: 1025.608 3000 128037536 1024.300 100.00% Conn: 1 Mbps: 1024.300 Peak Mbps: 1025.608 Avg Mbps: 1024.300 4000 128299104 1026.393 100.00% Conn: 1 Mbps: 1026.393 Peak Mbps: 1026.393 Avg Mbps: 1026.393 5000 125062200 1000.498 100.00% Conn: 1 Mbps: 1000.498 Peak Mbps: 1026.393 Avg Mbps: 1000.498 --- fc00::13 tcpbench statistics --- 764629340 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1000.498/1018.756/1026.393/9.721 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.193 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.193/0.193/0.193/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.264 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.264/0.264/0.264/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 1003 31185576 248.738 100.00% Conn: 1 Mbps: 248.738 Peak Mbps: 248.738 Avg Mbps: 248.738 2002 31098696 249.288 100.00% Conn: 1 Mbps: 249.288 Peak Mbps: 249.288 Avg Mbps: 249.288 3003 31328928 250.631 100.00% Conn: 1 Mbps: 250.631 Peak Mbps: 250.631 Avg Mbps: 250.631 4006 31405672 250.494 100.00% Conn: 1 Mbps: 250.494 Peak Mbps: 250.631 Avg Mbps: 250.494 5005 31352096 251.068 100.00% Conn: 1 Mbps: 251.068 Peak Mbps: 251.068 Avg Mbps: 251.068 --- 169.254.1.11 tcpbench statistics --- 187395816 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 248.738/250.044/251.068/0.880 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 56627456 452.567 100.00% Conn: 1 Mbps: 452.567 Peak Mbps: 452.567 Avg Mbps: 452.567 2004 57151224 455.842 100.00% Conn: 1 Mbps: 455.842 Peak Mbps: 455.842 Avg Mbps: 455.842 3007 56029384 447.340 100.00% Conn: 1 Mbps: 447.340 Peak Mbps: 455.842 Avg Mbps: 447.340 4008 55941472 447.085 100.00% Conn: 1 Mbps: 447.085 Peak Mbps: 455.842 Avg Mbps: 447.085 5009 55528176 444.225 100.00% Conn: 1 Mbps: 444.225 Peak Mbps: 455.842 Avg Mbps: 444.225 --- fc00:0:0:1::11 tcpbench statistics --- 336674800 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 444.225/449.412/455.842/4.193 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.184 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.184/0.184/0.184/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.229 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.229/0.229/0.229/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 136589554 1092.716 100.00% Conn: 1 Mbps: 1092.716 Peak Mbps: 1092.716 Avg Mbps: 1092.716 2000 136818228 1094.546 100.00% Conn: 1 Mbps: 1094.546 Peak Mbps: 1094.546 Avg Mbps: 1094.546 3000 137014536 1096.116 100.00% Conn: 1 Mbps: 1096.116 Peak Mbps: 1096.116 Avg Mbps: 1096.116 4000 135804044 1086.432 100.00% Conn: 1 Mbps: 1086.432 Peak Mbps: 1096.116 Avg Mbps: 1086.432 5000 137505264 1100.042 100.00% Conn: 1 Mbps: 1100.042 Peak Mbps: 1100.042 Avg Mbps: 1100.042 --- 169.254.1.12 tcpbench statistics --- 820091830 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1086.432/1093.971/1100.042/4.477 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 127436188 1019.490 100.00% Conn: 1 Mbps: 1019.490 Peak Mbps: 1019.490 Avg Mbps: 1019.490 2000 128201016 1025.608 100.00% Conn: 1 Mbps: 1025.608 Peak Mbps: 1025.608 Avg Mbps: 1025.608 3000 128201016 1025.608 100.00% Conn: 1 Mbps: 1025.608 Peak Mbps: 1025.608 Avg Mbps: 1025.608 4000 128233712 1025.870 100.00% Conn: 1 Mbps: 1025.870 Peak Mbps: 1025.870 Avg Mbps: 1025.870 5000 128201016 1025.608 100.00% Conn: 1 Mbps: 1025.608 Peak Mbps: 1025.870 Avg Mbps: 1025.608 --- fc00:0:0:1::12 tcpbench statistics --- 768408572 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1019.490/1024.437/1025.870/2.476 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.175 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.175/0.175/0.175/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.231 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.231/0.231/0.231/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 138715834 1109.727 100.00% Conn: 1 Mbps: 1109.727 Peak Mbps: 1109.727 Avg Mbps: 1109.727 2000 138846668 1110.773 100.00% Conn: 1 Mbps: 1110.773 Peak Mbps: 1110.773 Avg Mbps: 1110.773 3000 138405038 1107.240 100.00% Conn: 1 Mbps: 1107.240 Peak Mbps: 1110.773 Avg Mbps: 1107.240 4000 136360288 1090.882 100.00% Conn: 1 Mbps: 1090.882 Peak Mbps: 1110.773 Avg Mbps: 1090.882 5000 135934980 1087.480 100.00% Conn: 1 Mbps: 1087.480 Peak Mbps: 1110.773 Avg Mbps: 1087.480 --- 169.254.0.13 tcpbench statistics --- 824852108 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1087.480/1101.220/1110.773/9.955 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 139906292 1119.250 100.00% Conn: 1 Mbps: 1119.250 Peak Mbps: 1119.250 Avg Mbps: 1119.250 2000 142096816 1136.775 100.00% Conn: 1 Mbps: 1136.775 Peak Mbps: 1136.775 Avg Mbps: 1136.775 3000 140788976 1126.312 100.00% Conn: 1 Mbps: 1126.312 Peak Mbps: 1136.775 Avg Mbps: 1126.312 4000 140723584 1125.789 100.00% Conn: 1 Mbps: 1125.789 Peak Mbps: 1136.775 Avg Mbps: 1125.789 5000 141933336 1135.467 100.00% Conn: 1 Mbps: 1135.467 Peak Mbps: 1136.775 Avg Mbps: 1135.467 --- fc00::13 tcpbench statistics --- 845943716 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1119.250/1128.718/1136.775/6.549 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.58s