START sys/net/pair 2024-04-15T23:13:05Z ==== 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.199 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.199/0.199/0.199/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.252 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.252/0.252/0.252/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 63146860 505.175 100.00% Conn: 1 Mbps: 505.175 Peak Mbps: 505.175 Avg Mbps: 505.175 2000 63242236 505.938 100.00% Conn: 1 Mbps: 505.938 Peak Mbps: 505.938 Avg Mbps: 505.938 3001 62876628 503.013 100.00% Conn: 1 Mbps: 503.013 Peak Mbps: 505.938 Avg Mbps: 503.013 4001 63051484 504.412 100.00% Conn: 1 Mbps: 504.412 Peak Mbps: 505.938 Avg Mbps: 504.412 5001 62924316 503.395 100.00% Conn: 1 Mbps: 503.395 Peak Mbps: 505.938 Avg Mbps: 503.395 --- 169.254.1.11 tcpbench statistics --- 378324800 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 503.013/504.386/505.938/1.086 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 59309368 474.475 100.00% Conn: 1 Mbps: 474.475 Peak Mbps: 474.475 Avg Mbps: 474.475 2000 58714768 469.718 100.00% Conn: 1 Mbps: 469.718 Peak Mbps: 474.475 Avg Mbps: 469.718 3001 58556208 468.450 100.00% Conn: 1 Mbps: 468.450 Peak Mbps: 474.475 Avg Mbps: 468.450 4001 59309368 474.475 100.00% Conn: 1 Mbps: 474.475 Peak Mbps: 474.475 Avg Mbps: 474.475 5001 58619632 469.426 100.00% Conn: 1 Mbps: 469.426 Peak Mbps: 474.475 Avg Mbps: 469.426 --- fc00:0:0:1::11 tcpbench statistics --- 353620512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 468.450/471.309/474.475/2.619 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.296 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.296/0.296/0.296/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 1000 36892144 295.137 100.00% Conn: 1 Mbps: 295.137 Peak Mbps: 295.137 Avg Mbps: 295.137 2001 37565464 300.223 100.00% Conn: 1 Mbps: 300.223 Peak Mbps: 300.223 Avg Mbps: 300.223 3001 37248352 297.987 100.00% Conn: 1 Mbps: 297.987 Peak Mbps: 300.223 Avg Mbps: 297.987 4001 37310616 298.784 100.00% Conn: 1 Mbps: 298.784 Peak Mbps: 300.223 Avg Mbps: 298.784 5001 37648000 301.184 100.00% Conn: 1 Mbps: 301.184 Peak Mbps: 301.184 Avg Mbps: 301.184 --- 169.254.1.12 tcpbench statistics --- 224415384 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 295.137/298.663/301.184/2.083 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 35274456 281.914 100.00% Conn: 1 Mbps: 281.914 Peak Mbps: 281.914 Avg Mbps: 281.914 2002 35581476 284.652 100.00% Conn: 1 Mbps: 284.652 Peak Mbps: 284.652 Avg Mbps: 284.652 3003 35588616 284.709 100.00% Conn: 1 Mbps: 284.709 Peak Mbps: 284.709 Avg Mbps: 284.709 4004 35540064 284.036 100.00% Conn: 1 Mbps: 284.036 Peak Mbps: 284.709 Avg Mbps: 284.036 5005 35647164 284.892 100.00% Conn: 1 Mbps: 284.892 Peak Mbps: 284.892 Avg Mbps: 284.892 --- fc00:0:0:1::12 tcpbench statistics --- 213117576 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 281.914/284.041/284.892/1.102 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.254 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.254/0.254/0.254/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.337 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.337/0.337/0.337/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 37641728 301.134 100.00% Conn: 1 Mbps: 301.134 Peak Mbps: 301.134 Avg Mbps: 301.134 2001 37435080 299.481 100.00% Conn: 1 Mbps: 299.481 Peak Mbps: 301.134 Avg Mbps: 299.481 3001 37506612 300.053 100.00% Conn: 1 Mbps: 300.053 Peak Mbps: 301.134 Avg Mbps: 300.053 4002 37498664 299.989 100.00% Conn: 1 Mbps: 299.989 Peak Mbps: 301.134 Avg Mbps: 299.989 5001 37689416 301.817 100.00% Conn: 1 Mbps: 301.817 Peak Mbps: 301.817 Avg Mbps: 301.817 --- 169.254.0.13 tcpbench statistics --- 225341696 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 299.481/300.495/301.817/0.853 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 35890056 287.120 100.00% Conn: 1 Mbps: 287.120 Peak Mbps: 287.120 Avg Mbps: 287.120 2001 35866272 286.930 100.00% Conn: 1 Mbps: 286.930 Peak Mbps: 287.120 Avg Mbps: 286.930 3001 35438160 283.505 100.00% Conn: 1 Mbps: 283.505 Peak Mbps: 287.120 Avg Mbps: 283.505 4001 35715640 285.725 100.00% Conn: 1 Mbps: 285.725 Peak Mbps: 287.120 Avg Mbps: 285.725 5002 36032760 288.262 100.00% Conn: 1 Mbps: 288.262 Peak Mbps: 288.262 Avg Mbps: 288.262 --- fc00::13 tcpbench statistics --- 214975648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 283.505/286.309/288.262/1.616 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.201 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.201/0.201/0.201/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.256 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.256/0.256/0.256/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 1003 37070248 295.675 100.00% Conn: 1 Mbps: 295.675 Peak Mbps: 295.675 Avg Mbps: 295.675 2004 37527816 300.223 100.00% Conn: 1 Mbps: 300.223 Peak Mbps: 300.223 Avg Mbps: 300.223 3004 37419216 299.354 100.00% Conn: 1 Mbps: 299.354 Peak Mbps: 300.223 Avg Mbps: 299.354 4004 37255592 298.045 100.00% Conn: 1 Mbps: 298.045 Peak Mbps: 300.223 Avg Mbps: 298.045 5007 37469896 299.161 100.00% Conn: 1 Mbps: 299.161 Peak Mbps: 300.223 Avg Mbps: 299.161 --- 169.254.1.11 tcpbench statistics --- 223798536 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 295.675/298.491/300.223/1.570 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 1003 34783224 277.433 100.00% Conn: 1 Mbps: 277.433 Peak Mbps: 277.433 Avg Mbps: 277.433 2005 34854624 278.558 100.00% Conn: 1 Mbps: 278.558 Peak Mbps: 278.558 Avg Mbps: 278.558 3005 34880328 279.322 100.00% Conn: 1 Mbps: 279.322 Peak Mbps: 279.322 Avg Mbps: 279.322 4007 34858908 278.593 100.00% Conn: 1 Mbps: 278.593 Peak Mbps: 279.322 Avg Mbps: 278.593 5008 34913172 279.026 100.00% Conn: 1 Mbps: 279.026 Peak Mbps: 279.322 Avg Mbps: 279.026 --- fc00:0:0:1::11 tcpbench statistics --- 208893552 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 277.433/278.587/279.322/0.643 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.248 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.248/0.248/0.248/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 58119824 464.959 100.00% Conn: 1 Mbps: 464.959 Peak Mbps: 464.959 Avg Mbps: 464.959 2000 58903192 471.697 100.00% Conn: 1 Mbps: 471.697 Peak Mbps: 471.697 Avg Mbps: 471.697 3001 58114032 464.912 100.00% Conn: 1 Mbps: 464.912 Peak Mbps: 471.697 Avg Mbps: 464.912 4001 58394944 467.627 100.00% Conn: 1 Mbps: 467.627 Peak Mbps: 471.697 Avg Mbps: 467.627 5001 58703368 469.627 100.00% Conn: 1 Mbps: 469.627 Peak Mbps: 471.697 Avg Mbps: 469.627 --- 169.254.1.12 tcpbench statistics --- 350562248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 464.912/467.764/471.697/2.644 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 1001 58148160 464.721 100.00% Conn: 1 Mbps: 464.721 Peak Mbps: 464.721 Avg Mbps: 464.721 2001 58535148 468.750 100.00% Conn: 1 Mbps: 468.750 Peak Mbps: 468.750 Avg Mbps: 468.750 3001 58720788 470.237 100.00% Conn: 1 Mbps: 470.237 Peak Mbps: 470.237 Avg Mbps: 470.237 4001 58637964 469.104 100.00% Conn: 1 Mbps: 469.104 Peak Mbps: 470.237 Avg Mbps: 469.104 5002 58475172 467.801 100.00% Conn: 1 Mbps: 467.801 Peak Mbps: 470.237 Avg Mbps: 467.801 --- fc00:0:0:1::12 tcpbench statistics --- 350943852 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 464.721/468.122/470.237/1.871 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.197 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.197/0.197/0.197/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.255 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.255/0.255/0.255/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 140466140 1123.729 100.00% Conn: 1 Mbps: 1123.729 Peak Mbps: 1123.729 Avg Mbps: 1123.729 2000 139762668 1118.101 100.00% Conn: 1 Mbps: 1118.101 Peak Mbps: 1123.729 Avg Mbps: 1118.101 3000 139909974 1119.280 100.00% Conn: 1 Mbps: 1119.280 Peak Mbps: 1123.729 Avg Mbps: 1119.280 4000 138715840 1109.727 100.00% Conn: 1 Mbps: 1109.727 Peak Mbps: 1123.729 Avg Mbps: 1109.727 5000 139697320 1117.579 100.00% Conn: 1 Mbps: 1117.579 Peak Mbps: 1123.729 Avg Mbps: 1117.579 --- 169.254.0.13 tcpbench statistics --- 837627658 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1109.727/1117.683/1123.729/4.530 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 128397588 1027.181 100.00% Conn: 1 Mbps: 1027.181 Peak Mbps: 1027.181 Avg Mbps: 1027.181 2000 128560672 1028.485 100.00% Conn: 1 Mbps: 1028.485 Peak Mbps: 1028.485 Avg Mbps: 1028.485 3000 128429888 1027.439 100.00% Conn: 1 Mbps: 1027.439 Peak Mbps: 1028.485 Avg Mbps: 1027.439 4000 128495280 1027.962 100.00% Conn: 1 Mbps: 1027.962 Peak Mbps: 1028.485 Avg Mbps: 1027.962 5000 128397192 1027.178 100.00% Conn: 1 Mbps: 1027.178 Peak Mbps: 1028.485 Avg Mbps: 1027.178 --- fc00::13 tcpbench statistics --- 770579724 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1027.178/1027.649/1028.485/0.507 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.217 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.217/0.217/0.217/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.283 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.283/0.283/0.283/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 37119480 296.956 100.00% Conn: 1 Mbps: 296.956 Peak Mbps: 296.956 Avg Mbps: 296.956 2001 37230976 297.848 100.00% Conn: 1 Mbps: 297.848 Peak Mbps: 297.848 Avg Mbps: 297.848 3002 37314960 298.520 100.00% Conn: 1 Mbps: 298.520 Peak Mbps: 298.520 Avg Mbps: 298.520 4005 37354056 297.939 100.00% Conn: 1 Mbps: 297.939 Peak Mbps: 298.520 Avg Mbps: 297.939 5003 37319304 299.453 100.00% Conn: 1 Mbps: 299.453 Peak Mbps: 299.453 Avg Mbps: 299.453 --- 169.254.1.11 tcpbench statistics --- 223605952 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 296.956/298.143/299.453/0.824 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 60231840 480.893 100.00% Conn: 1 Mbps: 480.893 Peak Mbps: 480.893 Avg Mbps: 480.893 2003 60407664 482.779 100.00% Conn: 1 Mbps: 482.779 Peak Mbps: 482.779 Avg Mbps: 482.779 3004 59717280 477.738 100.00% Conn: 1 Mbps: 477.738 Peak Mbps: 482.779 Avg Mbps: 477.738 4004 59764944 478.120 100.00% Conn: 1 Mbps: 478.120 Peak Mbps: 482.779 Avg Mbps: 478.120 5007 59619160 475.527 100.00% Conn: 1 Mbps: 475.527 Peak Mbps: 482.779 Avg Mbps: 475.527 --- fc00:0:0:1::11 tcpbench statistics --- 358676376 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 475.527/479.011/482.779/2.541 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.209 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.209/0.209/0.209/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.260 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.260/0.260/0.260/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 140057476 1120.460 100.00% Conn: 1 Mbps: 1120.460 Peak Mbps: 1120.460 Avg Mbps: 1120.460 2000 139795384 1118.363 100.00% Conn: 1 Mbps: 1118.363 Peak Mbps: 1120.460 Avg Mbps: 1118.363 3000 139991680 1119.933 100.00% Conn: 1 Mbps: 1119.933 Peak Mbps: 1120.460 Avg Mbps: 1119.933 4000 139631792 1117.054 100.00% Conn: 1 Mbps: 1117.054 Peak Mbps: 1120.460 Avg Mbps: 1117.054 5000 139468236 1115.746 100.00% Conn: 1 Mbps: 1115.746 Peak Mbps: 1120.460 Avg Mbps: 1115.746 --- 169.254.1.12 tcpbench statistics --- 838576372 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1115.746/1118.311/1120.460/1.756 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 129116684 1032.933 100.00% Conn: 1 Mbps: 1032.933 Peak Mbps: 1032.933 Avg Mbps: 1032.933 2000 129378072 1035.025 100.00% Conn: 1 Mbps: 1035.025 Peak Mbps: 1035.025 Avg Mbps: 1035.025 3000 128756848 1030.055 100.00% Conn: 1 Mbps: 1030.055 Peak Mbps: 1035.025 Avg Mbps: 1030.055 4000 129279984 1034.240 100.00% Conn: 1 Mbps: 1034.240 Peak Mbps: 1035.025 Avg Mbps: 1034.240 5000 128626064 1029.009 100.00% Conn: 1 Mbps: 1029.009 Peak Mbps: 1035.025 Avg Mbps: 1029.009 --- fc00:0:0:1::12 tcpbench statistics --- 773816412 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1029.009/1032.252/1035.025/2.343 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.187 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.187/0.187/0.187/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.237 ms --- fc00::13 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-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 177173842 1417.391 100.00% Conn: 1 Mbps: 1417.391 Peak Mbps: 1417.391 Avg Mbps: 1417.391 2000 179021868 1432.175 100.00% Conn: 1 Mbps: 1432.175 Peak Mbps: 1432.175 Avg Mbps: 1432.175 3000 175325044 1402.600 100.00% Conn: 1 Mbps: 1402.600 Peak Mbps: 1432.175 Avg Mbps: 1402.600 4000 180330592 1442.645 100.00% Conn: 1 Mbps: 1442.645 Peak Mbps: 1442.645 Avg Mbps: 1442.645 5000 178269484 1426.156 100.00% Conn: 1 Mbps: 1426.156 Peak Mbps: 1442.645 Avg Mbps: 1426.156 --- 169.254.0.13 tcpbench statistics --- 1070615002 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1402.600/1424.193/1442.645/13.569 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 140103512 1120.828 100.00% Conn: 1 Mbps: 1120.828 Peak Mbps: 1120.828 Avg Mbps: 1120.828 2000 137846336 1102.771 100.00% Conn: 1 Mbps: 1102.771 Peak Mbps: 1120.828 Avg Mbps: 1102.771 3000 137846336 1102.771 100.00% Conn: 1 Mbps: 1102.771 Peak Mbps: 1120.828 Avg Mbps: 1102.771 4000 136244232 1089.954 100.00% Conn: 1 Mbps: 1089.954 Peak Mbps: 1120.828 Avg Mbps: 1089.954 5000 135688400 1085.507 100.00% Conn: 1 Mbps: 1085.507 Peak Mbps: 1120.828 Avg Mbps: 1085.507 --- fc00::13 tcpbench statistics --- 823940352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1085.507/1100.366/1120.828/12.324 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.63s