START sys/net/pair 2024-08-25T22:08:23Z ==== 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.175 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.175/0.175/0.175/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.229 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.229/0.229/0.229/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 50898992 407.192 100.00% Conn: 1 Mbps: 407.192 Peak Mbps: 407.192 Avg Mbps: 407.192 2001 51447404 411.579 100.00% Conn: 1 Mbps: 411.579 Peak Mbps: 411.579 Avg Mbps: 411.579 3000 51733532 414.283 100.00% Conn: 1 Mbps: 414.283 Peak Mbps: 414.283 Avg Mbps: 414.283 4000 51447404 411.579 100.00% Conn: 1 Mbps: 411.579 Peak Mbps: 414.283 Avg Mbps: 411.579 5000 51065900 408.936 100.00% Conn: 1 Mbps: 408.936 Peak Mbps: 414.283 Avg Mbps: 408.936 --- 169.254.1.11 tcpbench statistics --- 307118668 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 407.192/410.714/414.283/2.441 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 46014112 367.745 100.00% Conn: 1 Mbps: 367.745 Peak Mbps: 367.745 Avg Mbps: 367.745 2001 45237168 361.897 100.00% Conn: 1 Mbps: 361.897 Peak Mbps: 367.745 Avg Mbps: 361.897 3002 45205456 361.644 100.00% Conn: 1 Mbps: 361.644 Peak Mbps: 367.745 Avg Mbps: 361.644 4002 45728704 365.830 100.00% Conn: 1 Mbps: 365.830 Peak Mbps: 367.745 Avg Mbps: 365.830 5002 46442224 371.538 100.00% Conn: 1 Mbps: 371.538 Peak Mbps: 371.538 Avg Mbps: 371.538 --- fc00:0:0:1::11 tcpbench statistics --- 274522856 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 361.644/365.731/371.538/3.720 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.756 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.756/0.756/0.756/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 31175440 248.906 100.00% Conn: 1 Mbps: 248.906 Peak Mbps: 248.906 Avg Mbps: 248.906 2003 31365128 250.670 100.00% Conn: 1 Mbps: 250.670 Peak Mbps: 250.670 Avg Mbps: 250.670 3006 31447664 250.829 100.00% Conn: 1 Mbps: 250.829 Peak Mbps: 250.829 Avg Mbps: 250.829 4006 31382504 251.311 100.00% Conn: 1 Mbps: 251.311 Peak Mbps: 251.311 Avg Mbps: 251.311 5006 31567848 252.543 100.00% Conn: 1 Mbps: 252.543 Peak Mbps: 252.543 Avg Mbps: 252.543 --- 169.254.1.12 tcpbench statistics --- 188626616 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 248.906/250.852/252.543/1.174 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 1000 29963724 239.710 100.00% Conn: 1 Mbps: 239.710 Peak Mbps: 239.710 Avg Mbps: 239.710 2005 30373560 241.780 100.00% Conn: 1 Mbps: 241.780 Peak Mbps: 241.780 Avg Mbps: 241.780 3004 30283596 242.754 100.00% Conn: 1 Mbps: 242.754 Peak Mbps: 242.754 Avg Mbps: 242.754 4007 30097956 240.063 100.00% Conn: 1 Mbps: 240.063 Peak Mbps: 242.754 Avg Mbps: 240.063 5006 30183636 241.953 100.00% Conn: 1 Mbps: 241.953 Peak Mbps: 242.754 Avg Mbps: 241.953 --- fc00:0:0:1::12 tcpbench statistics --- 180770520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 239.710/241.252/242.754/1.168 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.225 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.225/0.225/0.225/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.319 ms --- fc00::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-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 31402548 251.220 100.00% Conn: 1 Mbps: 251.220 Peak Mbps: 251.220 Avg Mbps: 251.220 2000 31410496 251.284 100.00% Conn: 1 Mbps: 251.284 Peak Mbps: 251.284 Avg Mbps: 251.284 3000 31013096 248.105 100.00% Conn: 1 Mbps: 248.105 Peak Mbps: 251.284 Avg Mbps: 248.105 4001 31060784 248.486 100.00% Conn: 1 Mbps: 248.486 Peak Mbps: 251.284 Avg Mbps: 248.486 5001 30917720 247.342 100.00% Conn: 1 Mbps: 247.342 Peak Mbps: 251.284 Avg Mbps: 247.342 --- 169.254.0.13 tcpbench statistics --- 186587248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 247.342/249.287/251.284/1.646 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 32441376 259.272 100.00% Conn: 1 Mbps: 259.272 Peak Mbps: 259.272 Avg Mbps: 259.272 2001 32021192 256.170 100.00% Conn: 1 Mbps: 256.170 Peak Mbps: 259.272 Avg Mbps: 256.170 3001 32710928 261.687 100.00% Conn: 1 Mbps: 261.687 Peak Mbps: 261.687 Avg Mbps: 261.687 4001 32409664 259.277 100.00% Conn: 1 Mbps: 259.277 Peak Mbps: 261.687 Avg Mbps: 259.277 5001 32647504 261.180 100.00% Conn: 1 Mbps: 261.180 Peak Mbps: 261.687 Avg Mbps: 261.180 --- fc00::13 tcpbench statistics --- 194346992 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 256.170/259.517/261.687/1.939 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.183 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.183/0.183/0.183/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 1001 31304312 250.184 100.00% Conn: 1 Mbps: 250.184 Peak Mbps: 250.184 Avg Mbps: 250.184 2003 31653280 252.721 100.00% Conn: 1 Mbps: 252.721 Peak Mbps: 252.721 Avg Mbps: 252.721 3001 31330376 251.397 100.00% Conn: 1 Mbps: 251.397 Peak Mbps: 252.721 Avg Mbps: 251.397 4004 31370920 250.466 100.00% Conn: 1 Mbps: 250.466 Peak Mbps: 252.721 Avg Mbps: 250.466 5005 31689480 253.263 100.00% Conn: 1 Mbps: 253.263 Peak Mbps: 253.263 Avg Mbps: 253.263 --- 169.254.1.11 tcpbench statistics --- 188609240 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 250.184/251.606/253.263/1.212 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1001 30300732 242.164 100.00% Conn: 1 Mbps: 242.164 Peak Mbps: 242.164 Avg Mbps: 242.164 2003 30542064 244.092 100.00% Conn: 1 Mbps: 244.092 Peak Mbps: 244.092 Avg Mbps: 244.092 3006 30406404 242.524 100.00% Conn: 1 Mbps: 242.524 Peak Mbps: 244.092 Avg Mbps: 242.524 4005 30182208 241.942 100.00% Conn: 1 Mbps: 241.942 Peak Mbps: 244.092 Avg Mbps: 241.942 5005 30656304 245.250 100.00% Conn: 1 Mbps: 245.250 Peak Mbps: 245.250 Avg Mbps: 245.250 --- fc00:0:0:1::11 tcpbench statistics --- 182411292 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 241.942/243.194/245.250/1.274 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.178 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.178/0.178/0.178/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.226 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.226/0.226/0.226/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 43586248 348.690 100.00% Conn: 1 Mbps: 348.690 Peak Mbps: 348.690 Avg Mbps: 348.690 2001 43697744 349.233 100.00% Conn: 1 Mbps: 349.233 Peak Mbps: 349.233 Avg Mbps: 349.233 3001 43828064 350.975 100.00% Conn: 1 Mbps: 350.975 Peak Mbps: 350.975 Avg Mbps: 350.975 4001 43807792 350.462 100.00% Conn: 1 Mbps: 350.462 Peak Mbps: 350.975 Avg Mbps: 350.462 5002 43977208 351.818 100.00% Conn: 1 Mbps: 351.818 Peak Mbps: 351.818 Avg Mbps: 351.818 --- 169.254.1.12 tcpbench statistics --- 262672992 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 348.690/350.236/351.818/1.140 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 47980800 383.846 100.00% Conn: 1 Mbps: 383.846 Peak Mbps: 383.846 Avg Mbps: 383.846 2001 48532008 388.256 100.00% Conn: 1 Mbps: 388.256 Peak Mbps: 388.256 Avg Mbps: 388.256 3001 46874100 374.993 100.00% Conn: 1 Mbps: 374.993 Peak Mbps: 388.256 Avg Mbps: 374.993 4001 47071164 376.569 100.00% Conn: 1 Mbps: 376.569 Peak Mbps: 388.256 Avg Mbps: 376.569 5002 47136852 377.095 100.00% Conn: 1 Mbps: 377.095 Peak Mbps: 388.256 Avg Mbps: 377.095 --- fc00:0:0:1::12 tcpbench statistics --- 284207700 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 374.993/380.152/388.256/5.062 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.189 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.189/0.189/0.189/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.229 ms --- fc00::13 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-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 137015162 1096.121 100.00% Conn: 1 Mbps: 1096.121 Peak Mbps: 1096.121 Avg Mbps: 1096.121 2000 137996016 1103.968 100.00% Conn: 1 Mbps: 1103.968 Peak Mbps: 1103.968 Avg Mbps: 1103.968 3000 137799708 1102.398 100.00% Conn: 1 Mbps: 1102.398 Peak Mbps: 1103.968 Avg Mbps: 1102.398 4000 137865140 1102.921 100.00% Conn: 1 Mbps: 1102.921 Peak Mbps: 1103.968 Avg Mbps: 1102.921 5000 137636140 1101.089 100.00% Conn: 1 Mbps: 1101.089 Peak Mbps: 1103.968 Avg Mbps: 1101.089 --- 169.254.0.13 tcpbench statistics --- 826210022 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1096.121/1101.299/1103.968/2.750 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 124311020 994.488 100.00% Conn: 1 Mbps: 994.488 Peak Mbps: 994.488 Avg Mbps: 994.488 2000 127122048 1016.976 100.00% Conn: 1 Mbps: 1016.976 Peak Mbps: 1016.976 Avg Mbps: 1016.976 3000 126010384 1008.083 100.00% Conn: 1 Mbps: 1008.083 Peak Mbps: 1016.976 Avg Mbps: 1008.083 4000 126795088 1014.361 100.00% Conn: 1 Mbps: 1014.361 Peak Mbps: 1016.976 Avg Mbps: 1014.361 5000 126239256 1009.914 100.00% Conn: 1 Mbps: 1009.914 Peak Mbps: 1016.976 Avg Mbps: 1009.914 --- fc00::13 tcpbench statistics --- 757109404 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 994.488/1008.764/1016.976/7.802 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.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-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.261 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.261/0.261/0.261/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 1004 31376712 250.014 100.00% Conn: 1 Mbps: 250.014 Peak Mbps: 250.014 Avg Mbps: 250.014 2004 31508480 252.320 100.00% Conn: 1 Mbps: 252.320 Peak Mbps: 252.320 Avg Mbps: 252.320 3006 31627216 252.513 100.00% Conn: 1 Mbps: 252.513 Peak Mbps: 252.513 Avg Mbps: 252.513 4006 31286936 250.295 100.00% Conn: 1 Mbps: 250.295 Peak Mbps: 252.513 Avg Mbps: 250.295 5008 31446216 251.318 100.00% Conn: 1 Mbps: 251.318 Peak Mbps: 252.513 Avg Mbps: 251.318 --- 169.254.1.11 tcpbench statistics --- 188303712 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 250.014/251.292/252.513/1.017 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 57309240 458.474 100.00% Conn: 1 Mbps: 458.474 Peak Mbps: 458.474 Avg Mbps: 458.474 2001 56826360 454.157 100.00% Conn: 1 Mbps: 454.157 Peak Mbps: 458.474 Avg Mbps: 454.157 3001 56462008 451.696 100.00% Conn: 1 Mbps: 451.696 Peak Mbps: 458.474 Avg Mbps: 451.696 4002 57525200 460.202 100.00% Conn: 1 Mbps: 460.202 Peak Mbps: 460.202 Avg Mbps: 460.202 5006 57281928 456.885 100.00% Conn: 1 Mbps: 456.885 Peak Mbps: 460.202 Avg Mbps: 456.885 --- fc00:0:0:1::11 tcpbench statistics --- 342028320 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 451.696/456.283/460.202/3.036 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.237 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.237/0.237/0.237/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 136442710 1091.542 100.00% Conn: 1 Mbps: 1091.542 Peak Mbps: 1091.542 Avg Mbps: 1091.542 2000 137996004 1103.968 100.00% Conn: 1 Mbps: 1103.968 Peak Mbps: 1103.968 Avg Mbps: 1103.968 3000 138159596 1105.277 100.00% Conn: 1 Mbps: 1105.277 Peak Mbps: 1105.277 Avg Mbps: 1105.277 4000 138094152 1104.753 100.00% Conn: 1 Mbps: 1104.753 Peak Mbps: 1105.277 Avg Mbps: 1104.753 5000 138061436 1104.491 100.00% Conn: 1 Mbps: 1104.491 Peak Mbps: 1105.277 Avg Mbps: 1104.491 --- 169.254.1.12 tcpbench statistics --- 826520890 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1091.542/1102.006/1105.277/5.249 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 126354772 1010.838 100.00% Conn: 1 Mbps: 1010.838 Peak Mbps: 1010.838 Avg Mbps: 1010.838 2000 127874056 1022.992 100.00% Conn: 1 Mbps: 1022.992 Peak Mbps: 1022.992 Avg Mbps: 1022.992 3000 128201016 1025.608 100.00% Conn: 1 Mbps: 1025.608 Peak Mbps: 1025.608 Avg Mbps: 1025.608 4000 127841360 1022.731 100.00% Conn: 1 Mbps: 1022.731 Peak Mbps: 1025.608 Avg Mbps: 1022.731 5000 126762392 1014.099 100.00% Conn: 1 Mbps: 1014.099 Peak Mbps: 1025.608 Avg Mbps: 1014.099 --- fc00:0:0:1::12 tcpbench statistics --- 763828684 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1010.838/1019.254/1025.608/5.724 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.170 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.170/0.170/0.170/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.225 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.225/0.225/0.225/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 139648526 1117.188 100.00% Conn: 1 Mbps: 1117.188 Peak Mbps: 1117.188 Avg Mbps: 1117.188 2000 140646000 1125.168 100.00% Conn: 1 Mbps: 1125.168 Peak Mbps: 1125.168 Avg Mbps: 1125.168 3000 140057124 1120.457 100.00% Conn: 1 Mbps: 1120.457 Peak Mbps: 1125.168 Avg Mbps: 1120.457 4000 140776864 1126.215 100.00% Conn: 1 Mbps: 1126.215 Peak Mbps: 1126.215 Avg Mbps: 1126.215 5000 140678716 1125.430 100.00% Conn: 1 Mbps: 1125.430 Peak Mbps: 1126.215 Avg Mbps: 1125.430 --- 169.254.0.13 tcpbench statistics --- 842453230 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1117.188/1122.892/1126.215/3.496 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 139808780 1118.470 100.00% Conn: 1 Mbps: 1118.470 Peak Mbps: 1118.470 Avg Mbps: 1118.470 2000 140723584 1125.789 100.00% Conn: 1 Mbps: 1125.789 Peak Mbps: 1125.789 Avg Mbps: 1125.789 3000 139938880 1119.511 100.00% Conn: 1 Mbps: 1119.511 Peak Mbps: 1125.789 Avg Mbps: 1119.511 4000 140135056 1121.080 100.00% Conn: 1 Mbps: 1121.080 Peak Mbps: 1125.789 Avg Mbps: 1121.080 5000 139252264 1114.018 100.00% Conn: 1 Mbps: 1114.018 Peak Mbps: 1125.789 Avg Mbps: 1114.018 --- fc00::13 tcpbench statistics --- 838587692 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1114.018/1119.774/1125.789/3.815 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.47s