START sys/net/pair 2024-03-15T10:28:53Z ==== 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.187 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.187/0.187/0.187/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.258 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.258/0.258/0.258/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 109753932 878.031 100.00% Conn: 1 Mbps: 878.031 Peak Mbps: 878.031 Avg Mbps: 878.031 2000 108998872 871.991 100.00% Conn: 1 Mbps: 871.991 Peak Mbps: 878.031 Avg Mbps: 871.991 3000 109173728 874.264 100.00% Conn: 1 Mbps: 874.264 Peak Mbps: 878.031 Avg Mbps: 874.264 4000 109181676 873.453 100.00% Conn: 1 Mbps: 873.453 Peak Mbps: 878.031 Avg Mbps: 873.453 5000 109237312 873.898 100.00% Conn: 1 Mbps: 873.898 Peak Mbps: 878.031 Avg Mbps: 873.898 --- 169.254.1.11 tcpbench statistics --- 655280808 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 871.991/874.328/878.031/2.007 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 109874152 878.993 100.00% Conn: 1 Mbps: 878.993 Peak Mbps: 878.993 Avg Mbps: 878.993 2000 108970360 872.636 100.00% Conn: 1 Mbps: 872.636 Peak Mbps: 878.993 Avg Mbps: 872.636 3000 108558104 868.465 100.00% Conn: 1 Mbps: 868.465 Peak Mbps: 878.993 Avg Mbps: 868.465 4000 108724592 869.797 100.00% Conn: 1 Mbps: 869.797 Peak Mbps: 878.993 Avg Mbps: 869.797 5000 109303336 874.427 100.00% Conn: 1 Mbps: 874.427 Peak Mbps: 878.993 Avg Mbps: 874.427 --- fc00:0:0:1::11 tcpbench statistics --- 654432616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 868.465/872.863/878.993/3.710 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.351 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.351/0.351/0.351/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.723 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.723/0.723/0.723/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1001 40270328 321.841 100.00% Conn: 1 Mbps: 321.841 Peak Mbps: 321.841 Avg Mbps: 321.841 2001 40513592 324.109 100.00% Conn: 1 Mbps: 324.109 Peak Mbps: 324.109 Avg Mbps: 324.109 3003 40684456 325.150 100.00% Conn: 1 Mbps: 325.150 Peak Mbps: 325.150 Avg Mbps: 325.150 4003 40619296 325.280 100.00% Conn: 1 Mbps: 325.280 Peak Mbps: 325.280 Avg Mbps: 325.280 5003 40467256 323.738 100.00% Conn: 1 Mbps: 323.738 Peak Mbps: 325.280 Avg Mbps: 323.738 --- 169.254.1.12 tcpbench statistics --- 243038112 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 321.841/324.024/325.280/1.241 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 38494596 307.957 100.00% Conn: 1 Mbps: 307.957 Peak Mbps: 307.957 Avg Mbps: 307.957 2002 38921568 311.061 100.00% Conn: 1 Mbps: 311.061 Peak Mbps: 311.061 Avg Mbps: 311.061 3003 38974404 311.484 100.00% Conn: 1 Mbps: 311.484 Peak Mbps: 311.484 Avg Mbps: 311.484 4002 38741640 310.243 100.00% Conn: 1 Mbps: 310.243 Peak Mbps: 311.484 Avg Mbps: 310.243 5004 38937276 310.876 100.00% Conn: 1 Mbps: 310.876 Peak Mbps: 311.484 Avg Mbps: 310.876 --- fc00:0:0:1::12 tcpbench statistics --- 232769712 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 307.957/310.324/311.484/1.249 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.282 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.282/0.282/0.282/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.381 ms --- fc00::13 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-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 61032692 488.262 100.00% Conn: 1 Mbps: 488.262 Peak Mbps: 488.262 Avg Mbps: 488.262 2000 60301476 482.412 100.00% Conn: 1 Mbps: 482.412 Peak Mbps: 488.262 Avg Mbps: 482.412 3000 60476332 483.811 100.00% Conn: 1 Mbps: 483.811 Peak Mbps: 488.262 Avg Mbps: 483.811 4000 60555812 484.446 100.00% Conn: 1 Mbps: 484.446 Peak Mbps: 488.262 Avg Mbps: 484.446 5000 60571708 484.574 100.00% Conn: 1 Mbps: 484.574 Peak Mbps: 488.262 Avg Mbps: 484.574 --- 169.254.0.13 tcpbench statistics --- 363120276 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 482.412/484.701/488.262/1.939 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 58310440 466.484 100.00% Conn: 1 Mbps: 466.484 Peak Mbps: 466.484 Avg Mbps: 466.484 2000 58310440 466.484 100.00% Conn: 1 Mbps: 466.484 Peak Mbps: 466.484 Avg Mbps: 466.484 3001 58207376 465.659 100.00% Conn: 1 Mbps: 465.659 Peak Mbps: 466.484 Avg Mbps: 465.659 4001 57525568 460.205 100.00% Conn: 1 Mbps: 460.205 Peak Mbps: 466.484 Avg Mbps: 460.205 5001 58270800 466.166 100.00% Conn: 1 Mbps: 466.166 Peak Mbps: 466.484 Avg Mbps: 466.166 --- fc00::13 tcpbench statistics --- 348625872 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 460.205/464.999/466.484/2.416 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.211 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.211/0.211/0.211/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.295 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.295/0.295/0.295/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 40251504 321.369 100.00% Conn: 1 Mbps: 321.369 Peak Mbps: 321.369 Avg Mbps: 321.369 2001 40588888 325.036 100.00% Conn: 1 Mbps: 325.036 Peak Mbps: 325.036 Avg Mbps: 325.036 3003 40632328 324.734 100.00% Conn: 1 Mbps: 324.734 Peak Mbps: 325.036 Avg Mbps: 324.734 4003 40449880 323.599 100.00% Conn: 1 Mbps: 323.599 Peak Mbps: 325.036 Avg Mbps: 323.599 5003 40530968 324.248 100.00% Conn: 1 Mbps: 324.248 Peak Mbps: 325.036 Avg Mbps: 324.248 --- 169.254.1.11 tcpbench statistics --- 242796296 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 321.369/323.797/325.036/1.308 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 38371788 306.974 100.00% Conn: 1 Mbps: 306.974 Peak Mbps: 306.974 Avg Mbps: 306.974 2002 38490312 307.615 100.00% Conn: 1 Mbps: 307.615 Peak Mbps: 307.615 Avg Mbps: 307.615 3003 38486028 307.581 100.00% Conn: 1 Mbps: 307.581 Peak Mbps: 307.615 Avg Mbps: 307.581 4005 38548860 308.083 100.00% Conn: 1 Mbps: 308.083 Peak Mbps: 308.083 Avg Mbps: 308.083 5006 38511732 307.786 100.00% Conn: 1 Mbps: 307.786 Peak Mbps: 308.083 Avg Mbps: 307.786 --- fc00:0:0:1::11 tcpbench statistics --- 230641992 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 306.974/307.608/308.083/0.363 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.188 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.188/0.188/0.188/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.254 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.254/0.254/0.254/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 105026336 840.211 100.00% Conn: 1 Mbps: 840.211 Peak Mbps: 840.211 Avg Mbps: 840.211 2000 106183288 849.466 100.00% Conn: 1 Mbps: 849.466 Peak Mbps: 849.466 Avg Mbps: 849.466 3000 105955952 847.648 100.00% Conn: 1 Mbps: 847.648 Peak Mbps: 849.466 Avg Mbps: 847.648 4000 106037040 848.296 100.00% Conn: 1 Mbps: 848.296 Peak Mbps: 849.466 Avg Mbps: 848.296 5001 105922648 847.381 100.00% Conn: 1 Mbps: 847.381 Peak Mbps: 849.466 Avg Mbps: 847.381 --- 169.254.1.12 tcpbench statistics --- 634623648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 840.211/846.600/849.466/3.275 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 104879460 839.036 100.00% Conn: 1 Mbps: 839.036 Peak Mbps: 839.036 Avg Mbps: 839.036 2000 105037968 840.304 100.00% Conn: 1 Mbps: 840.304 Peak Mbps: 840.304 Avg Mbps: 840.304 3000 104842332 838.739 100.00% Conn: 1 Mbps: 838.739 Peak Mbps: 840.304 Avg Mbps: 838.739 4000 104789496 838.316 100.00% Conn: 1 Mbps: 838.316 Peak Mbps: 840.304 Avg Mbps: 838.316 5000 104876604 839.013 100.00% Conn: 1 Mbps: 839.013 Peak Mbps: 840.304 Avg Mbps: 839.013 --- fc00:0:0:1::12 tcpbench statistics --- 629166804 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 838.316/839.081/840.304/0.664 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.198 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.198/0.198/0.198/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.277 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.277/0.277/0.277/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 173559558 1388.476 100.00% Conn: 1 Mbps: 1388.476 Peak Mbps: 1388.476 Avg Mbps: 1388.476 2000 172282360 1379.639 100.00% Conn: 1 Mbps: 1379.639 Peak Mbps: 1388.476 Avg Mbps: 1379.639 3000 172315064 1378.521 100.00% Conn: 1 Mbps: 1378.521 Peak Mbps: 1388.476 Avg Mbps: 1378.521 4000 172216928 1377.735 100.00% Conn: 1 Mbps: 1377.735 Peak Mbps: 1388.476 Avg Mbps: 1377.735 5000 170548412 1364.387 100.00% Conn: 1 Mbps: 1364.387 Peak Mbps: 1388.476 Avg Mbps: 1364.387 --- 169.254.0.13 tcpbench statistics --- 1032942942 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1364.387/1377.752/1388.476/7.717 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 172668692 1381.350 100.00% Conn: 1 Mbps: 1381.350 Peak Mbps: 1381.350 Avg Mbps: 1381.350 2000 171065472 1369.894 100.00% Conn: 1 Mbps: 1369.894 Peak Mbps: 1381.350 Avg Mbps: 1369.894 3000 171392432 1371.139 100.00% Conn: 1 Mbps: 1371.139 Peak Mbps: 1381.350 Avg Mbps: 1371.139 4000 171327040 1370.616 100.00% Conn: 1 Mbps: 1370.616 Peak Mbps: 1381.350 Avg Mbps: 1370.616 5000 171196256 1369.570 100.00% Conn: 1 Mbps: 1369.570 Peak Mbps: 1381.350 Avg Mbps: 1369.570 --- fc00::13 tcpbench statistics --- 1028519188 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1369.570/1372.514/1381.350/4.452 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.224 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.224/0.224/0.224/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.326 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.326/0.326/0.326/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 40096568 320.452 100.00% Conn: 1 Mbps: 320.452 Peak Mbps: 320.452 Avg Mbps: 320.452 2005 40464360 322.425 100.00% Conn: 1 Mbps: 322.425 Peak Mbps: 322.425 Avg Mbps: 322.425 3003 40197928 322.228 100.00% Conn: 1 Mbps: 322.228 Peak Mbps: 322.425 Avg Mbps: 322.228 4004 40351416 322.489 100.00% Conn: 1 Mbps: 322.489 Peak Mbps: 322.489 Avg Mbps: 322.489 5007 40352864 322.179 100.00% Conn: 1 Mbps: 322.179 Peak Mbps: 322.489 Avg Mbps: 322.179 --- 169.254.1.11 tcpbench statistics --- 241451104 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 320.452/321.955/322.489/0.760 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1002 63097816 503.775 100.00% Conn: 1 Mbps: 503.775 Peak Mbps: 503.775 Avg Mbps: 503.775 2003 62909520 502.773 100.00% Conn: 1 Mbps: 502.773 Peak Mbps: 503.775 Avg Mbps: 502.773 3006 62898856 501.686 100.00% Conn: 1 Mbps: 501.686 Peak Mbps: 503.775 Avg Mbps: 501.686 4007 62734184 501.873 100.00% Conn: 1 Mbps: 501.873 Peak Mbps: 503.775 Avg Mbps: 501.873 5009 62533072 499.765 100.00% Conn: 1 Mbps: 499.765 Peak Mbps: 503.775 Avg Mbps: 499.765 --- fc00:0:0:1::11 tcpbench statistics --- 376208480 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 499.765/501.974/503.775/1.331 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.222 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.222/0.222/0.222/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.285 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.285/0.285/0.285/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 172872926 1382.983 100.00% Conn: 1 Mbps: 1382.983 Peak Mbps: 1382.983 Avg Mbps: 1382.983 2000 171889768 1376.495 100.00% Conn: 1 Mbps: 1376.495 Peak Mbps: 1382.983 Avg Mbps: 1376.495 3000 171906138 1375.249 100.00% Conn: 1 Mbps: 1375.249 Peak Mbps: 1382.983 Avg Mbps: 1375.249 4000 171922472 1375.380 100.00% Conn: 1 Mbps: 1375.380 Peak Mbps: 1382.983 Avg Mbps: 1375.380 5000 171889768 1375.118 100.00% Conn: 1 Mbps: 1375.118 Peak Mbps: 1382.983 Avg Mbps: 1375.118 --- 169.254.1.12 tcpbench statistics --- 1032141828 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1375.118/1377.045/1382.983/3.009 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 171572584 1372.581 100.00% Conn: 1 Mbps: 1372.581 Peak Mbps: 1372.581 Avg Mbps: 1372.581 2000 169724936 1359.159 100.00% Conn: 1 Mbps: 1359.159 Peak Mbps: 1372.581 Avg Mbps: 1359.159 3000 169724936 1357.799 100.00% Conn: 1 Mbps: 1357.799 Peak Mbps: 1372.581 Avg Mbps: 1357.799 4000 169823024 1358.584 100.00% Conn: 1 Mbps: 1358.584 Peak Mbps: 1372.581 Avg Mbps: 1358.584 5000 169823024 1358.584 100.00% Conn: 1 Mbps: 1358.584 Peak Mbps: 1372.581 Avg Mbps: 1358.584 --- fc00:0:0:1::12 tcpbench statistics --- 1020197264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1357.799/1361.341/1372.581/5.636 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.204 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.204/0.204/0.204/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.265 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.265/0.265/0.265/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 175717926 1405.743 100.00% Conn: 1 Mbps: 1405.743 Peak Mbps: 1405.743 Avg Mbps: 1405.743 2000 174147268 1393.178 100.00% Conn: 1 Mbps: 1393.178 Peak Mbps: 1405.743 Avg Mbps: 1393.178 3000 174179984 1393.440 100.00% Conn: 1 Mbps: 1393.440 Peak Mbps: 1405.743 Avg Mbps: 1393.440 4000 174278132 1394.225 100.00% Conn: 1 Mbps: 1394.225 Peak Mbps: 1405.743 Avg Mbps: 1394.225 5000 174081836 1392.655 100.00% Conn: 1 Mbps: 1392.655 Peak Mbps: 1405.743 Avg Mbps: 1392.655 --- 169.254.0.13 tcpbench statistics --- 1046421550 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1392.655/1395.848/1405.743/4.973 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 175350592 1402.805 100.00% Conn: 1 Mbps: 1402.805 Peak Mbps: 1402.805 Avg Mbps: 1402.805 2000 173844632 1390.757 100.00% Conn: 1 Mbps: 1390.757 Peak Mbps: 1402.805 Avg Mbps: 1390.757 3000 174106200 1392.850 100.00% Conn: 1 Mbps: 1392.850 Peak Mbps: 1402.805 Avg Mbps: 1392.850 4000 173942720 1391.542 100.00% Conn: 1 Mbps: 1391.542 Peak Mbps: 1402.805 Avg Mbps: 1391.542 5000 173910024 1391.280 100.00% Conn: 1 Mbps: 1391.280 Peak Mbps: 1402.805 Avg Mbps: 1391.280 --- fc00::13 tcpbench statistics --- 1044835320 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1390.757/1393.847/1402.805/4.532 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.67s