START sys/net/pair 2025-03-13T23:33:09Z ==== 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.039 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.039/0.039/0.039/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.040 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.040/0.040/0.040/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 923843728 7390.750 100.00% Conn: 1 Mbps: 7390.750 Peak Mbps: 7390.750 Avg Mbps: 7390.750 2000 926339400 7418.133 100.00% Conn: 1 Mbps: 7418.133 Peak Mbps: 7418.133 Avg Mbps: 7418.133 3000 925369744 7410.368 100.00% Conn: 1 Mbps: 7410.368 Peak Mbps: 7418.133 Avg Mbps: 7410.368 4000 925027980 7400.224 100.00% Conn: 1 Mbps: 7400.224 Peak Mbps: 7418.133 Avg Mbps: 7400.224 5000 924026532 7392.212 100.00% Conn: 1 Mbps: 7392.212 Peak Mbps: 7418.133 Avg Mbps: 7392.212 --- 169.254.1.11 tcpbench statistics --- 5550104296 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7390.750/7402.338/7418.133/10.538 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 944232728 7553.862 100.00% Conn: 1 Mbps: 7553.862 Peak Mbps: 7553.862 Avg Mbps: 7553.862 2000 946278152 7577.803 100.00% Conn: 1 Mbps: 7577.803 Peak Mbps: 7577.803 Avg Mbps: 7577.803 3000 944621200 7556.970 100.00% Conn: 1 Mbps: 7556.970 Peak Mbps: 7577.803 Avg Mbps: 7556.970 4000 944193088 7553.545 100.00% Conn: 1 Mbps: 7553.545 Peak Mbps: 7577.803 Avg Mbps: 7553.545 5000 944613272 7556.906 100.00% Conn: 1 Mbps: 7556.906 Peak Mbps: 7577.803 Avg Mbps: 7556.906 --- fc00:0:0:1::11 tcpbench statistics --- 5668345584 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7553.545/7559.817/7577.803/9.109 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.062 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.062/0.062/0.062/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.119 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.119/0.119/0.119/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 371172416 2966.413 100.00% Conn: 1 Mbps: 2966.413 Peak Mbps: 2966.413 Avg Mbps: 2966.413 2001 382205952 3060.708 100.00% Conn: 1 Mbps: 3060.708 Peak Mbps: 3060.708 Avg Mbps: 3060.708 3001 385284560 3082.276 100.00% Conn: 1 Mbps: 3082.276 Peak Mbps: 3082.276 Avg Mbps: 3082.276 4002 386662400 3093.299 100.00% Conn: 1 Mbps: 3093.299 Peak Mbps: 3093.299 Avg Mbps: 3093.299 5003 383516672 3068.133 100.00% Conn: 1 Mbps: 3068.133 Peak Mbps: 3093.299 Avg Mbps: 3068.133 --- 169.254.1.12 tcpbench statistics --- 2290485800 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2966.413/3054.166/3093.299/45.299 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 353822776 2827.754 100.00% Conn: 1 Mbps: 2827.754 Peak Mbps: 2827.754 Avg Mbps: 2827.754 2001 367525888 2940.207 100.00% Conn: 1 Mbps: 2940.207 Peak Mbps: 2940.207 Avg Mbps: 2940.207 3002 367525888 2940.207 100.00% Conn: 1 Mbps: 2940.207 Peak Mbps: 2940.207 Avg Mbps: 2940.207 4002 366477312 2934.753 100.00% Conn: 1 Mbps: 2934.753 Peak Mbps: 2940.207 Avg Mbps: 2934.753 5003 361496576 2891.973 100.00% Conn: 1 Mbps: 2891.973 Peak Mbps: 2940.207 Avg Mbps: 2891.973 --- fc00:0:0:1::12 tcpbench statistics --- 2177865948 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2827.754/2906.979/2940.207/43.546 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.054 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.054/0.054/0.054/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.062 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.062/0.062/0.062/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 755242524 6041.940 100.00% Conn: 1 Mbps: 6041.940 Peak Mbps: 6041.940 Avg Mbps: 6041.940 2000 795046248 6360.370 100.00% Conn: 1 Mbps: 6360.370 Peak Mbps: 6360.370 Avg Mbps: 6360.370 3001 795030772 6360.246 100.00% Conn: 1 Mbps: 6360.246 Peak Mbps: 6360.370 Avg Mbps: 6360.246 4001 798306648 6392.846 100.00% Conn: 1 Mbps: 6392.846 Peak Mbps: 6392.846 Avg Mbps: 6392.846 5001 804901768 6439.214 100.00% Conn: 1 Mbps: 6439.214 Peak Mbps: 6439.214 Avg Mbps: 6439.214 --- 169.254.0.13 tcpbench statistics --- 4747691272 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6041.940/6318.923/6439.214/141.478 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 720386168 5763.089 100.00% Conn: 1 Mbps: 5763.089 Peak Mbps: 5763.089 Avg Mbps: 5763.089 2000 760112336 6086.986 100.00% Conn: 1 Mbps: 6086.986 Peak Mbps: 6086.986 Avg Mbps: 6086.986 3001 760914104 6087.313 100.00% Conn: 1 Mbps: 6087.313 Peak Mbps: 6087.313 Avg Mbps: 6087.313 4001 760205944 6081.648 100.00% Conn: 1 Mbps: 6081.648 Peak Mbps: 6087.313 Avg Mbps: 6081.648 5002 760145088 6081.161 100.00% Conn: 1 Mbps: 6081.161 Peak Mbps: 6087.313 Avg Mbps: 6081.161 --- fc00::13 tcpbench statistics --- 4521515448 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5763.089/6020.039/6087.313/128.501 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.040 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.040/0.040/0.040/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.044 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.044/0.044/0.044/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 371591712 2969.764 100.00% Conn: 1 Mbps: 2969.764 Peak Mbps: 2969.764 Avg Mbps: 2969.764 2001 383778816 3070.231 100.00% Conn: 1 Mbps: 3070.231 Peak Mbps: 3070.231 Avg Mbps: 3070.231 3001 383516672 3068.133 100.00% Conn: 1 Mbps: 3068.133 Peak Mbps: 3070.231 Avg Mbps: 3068.133 4002 383468888 3067.751 100.00% Conn: 1 Mbps: 3067.751 Peak Mbps: 3070.231 Avg Mbps: 3067.751 5002 384565248 3076.522 100.00% Conn: 1 Mbps: 3076.522 Peak Mbps: 3076.522 Avg Mbps: 3076.522 --- 169.254.1.11 tcpbench statistics --- 2290175864 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2969.764/3050.480/3076.522/40.480 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 353180048 2822.618 100.00% Conn: 1 Mbps: 2822.618 Peak Mbps: 2822.618 Avg Mbps: 2822.618 2000 365428736 2926.356 100.00% Conn: 1 Mbps: 2926.356 Peak Mbps: 2926.356 Avg Mbps: 2926.356 3001 364847216 2918.778 100.00% Conn: 1 Mbps: 2918.778 Peak Mbps: 2926.356 Avg Mbps: 2918.778 4001 365166592 2921.333 100.00% Conn: 1 Mbps: 2921.333 Peak Mbps: 2926.356 Avg Mbps: 2921.333 5002 357826560 2862.612 100.00% Conn: 1 Mbps: 2862.612 Peak Mbps: 2926.356 Avg Mbps: 2862.612 --- fc00:0:0:1::11 tcpbench statistics --- 2170305024 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2822.618/2890.339/2926.356/41.040 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.035 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.035/0.035/0.035/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.039 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.039/0.039/0.039/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 903323216 7226.586 100.00% Conn: 1 Mbps: 7226.586 Peak Mbps: 7226.586 Avg Mbps: 7226.586 2000 905511144 7251.340 100.00% Conn: 1 Mbps: 7251.340 Peak Mbps: 7251.340 Avg Mbps: 7251.340 3000 901710144 7213.681 100.00% Conn: 1 Mbps: 7213.681 Peak Mbps: 7251.340 Avg Mbps: 7213.681 4000 900351920 7202.815 100.00% Conn: 1 Mbps: 7202.815 Peak Mbps: 7251.340 Avg Mbps: 7202.815 5000 901351040 7210.808 100.00% Conn: 1 Mbps: 7210.808 Peak Mbps: 7251.340 Avg Mbps: 7210.808 --- 169.254.1.12 tcpbench statistics --- 5412790520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7202.815/7221.046/7251.340/16.970 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 908275116 7266.201 100.00% Conn: 1 Mbps: 7266.201 Peak Mbps: 7266.201 Avg Mbps: 7266.201 2000 907376904 7266.282 100.00% Conn: 1 Mbps: 7266.282 Peak Mbps: 7266.282 Avg Mbps: 7266.282 3000 908806332 7270.451 100.00% Conn: 1 Mbps: 7270.451 Peak Mbps: 7270.451 Avg Mbps: 7270.451 4000 907886700 7263.094 100.00% Conn: 1 Mbps: 7263.094 Peak Mbps: 7270.451 Avg Mbps: 7263.094 5000 907231248 7257.850 100.00% Conn: 1 Mbps: 7257.850 Peak Mbps: 7270.451 Avg Mbps: 7257.850 --- fc00:0:0:1::12 tcpbench statistics --- 5448708216 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7257.850/7264.775/7270.451/4.178 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.041 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.041/0.041/0.041/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.042 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/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 1260100238 10080.802 100.00% Conn: 1 Mbps: 10080.802 Peak Mbps: 10080.802 Avg Mbps: 10080.802 2000 1264342536 10124.865 100.00% Conn: 1 Mbps: 10124.865 Peak Mbps: 10124.865 Avg Mbps: 10124.865 3000 1264375252 10115.002 100.00% Conn: 1 Mbps: 10115.002 Peak Mbps: 10124.865 Avg Mbps: 10115.002 4000 1264244388 10113.955 100.00% Conn: 1 Mbps: 10113.955 Peak Mbps: 10124.865 Avg Mbps: 10113.955 5000 1265520312 10124.162 100.00% Conn: 1 Mbps: 10124.162 Peak Mbps: 10124.865 Avg Mbps: 10124.162 --- 169.254.0.13 tcpbench statistics --- 7582663534 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10080.802/10111.757/10124.865/16.120 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 1260790708 10086.326 100.00% Conn: 1 Mbps: 10086.326 Peak Mbps: 10086.326 Avg Mbps: 10086.326 2000 1264615888 10127.054 100.00% Conn: 1 Mbps: 10127.054 Peak Mbps: 10127.054 Avg Mbps: 10127.054 3000 1264288928 10114.311 100.00% Conn: 1 Mbps: 10114.311 Peak Mbps: 10127.054 Avg Mbps: 10114.311 4000 1263504224 10108.034 100.00% Conn: 1 Mbps: 10108.034 Peak Mbps: 10127.054 Avg Mbps: 10108.034 5000 1262686824 10101.495 100.00% Conn: 1 Mbps: 10101.495 Peak Mbps: 10127.054 Avg Mbps: 10101.495 --- fc00::13 tcpbench statistics --- 7580240892 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10086.326/10107.444/10127.054/13.516 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.044 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.044/0.044/0.044/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.050 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.050/0.050/0.050/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 371824248 2971.622 100.00% Conn: 1 Mbps: 2971.622 Peak Mbps: 2971.622 Avg Mbps: 2971.622 2001 379846656 3038.773 100.00% Conn: 1 Mbps: 3038.773 Peak Mbps: 3038.773 Avg Mbps: 3038.773 3002 380633088 3045.065 100.00% Conn: 1 Mbps: 3045.065 Peak Mbps: 3045.065 Avg Mbps: 3045.065 4002 381157376 3049.259 100.00% Conn: 1 Mbps: 3049.259 Peak Mbps: 3049.259 Avg Mbps: 3049.259 5002 379846656 3038.773 100.00% Conn: 1 Mbps: 3038.773 Peak Mbps: 3049.259 Avg Mbps: 3038.773 --- 169.254.1.11 tcpbench statistics --- 2272368248 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2971.622/3028.699/3049.259/28.814 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: <UP,GATEWAY,HOST,DYNAMIC,DONE> ==== 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 842344888 6738.759 100.00% Conn: 1 Mbps: 6738.759 Peak Mbps: 6738.759 Avg Mbps: 6738.759 2000 906994488 7255.956 100.00% Conn: 1 Mbps: 7255.956 Peak Mbps: 7255.956 Avg Mbps: 7255.956 3000 934970688 7479.766 100.00% Conn: 1 Mbps: 7479.766 Peak Mbps: 7479.766 Avg Mbps: 7479.766 4000 900136032 7201.088 100.00% Conn: 1 Mbps: 7201.088 Peak Mbps: 7479.766 Avg Mbps: 7201.088 5001 898919064 7191.353 100.00% Conn: 1 Mbps: 7191.353 Peak Mbps: 7479.766 Avg Mbps: 7191.353 --- fc00:0:0:1::11 tcpbench statistics --- 5377482768 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6738.759/7173.384/7479.766/241.113 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: <UP,GATEWAY,DONE,STATIC> 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.041 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.041/0.041/0.041/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.043 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.043/0.043/0.043/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 1265230682 10121.845 100.00% Conn: 1 Mbps: 10121.845 Peak Mbps: 10121.845 Avg Mbps: 10121.845 2000 1266534508 10142.418 100.00% Conn: 1 Mbps: 10142.418 Peak Mbps: 10142.418 Avg Mbps: 10142.418 3000 1265176794 10121.414 100.00% Conn: 1 Mbps: 10121.414 Peak Mbps: 10142.418 Avg Mbps: 10121.414 4000 1267548704 10140.390 100.00% Conn: 1 Mbps: 10140.390 Peak Mbps: 10142.418 Avg Mbps: 10140.390 5000 1266828952 10134.632 100.00% Conn: 1 Mbps: 10134.632 Peak Mbps: 10142.418 Avg Mbps: 10134.632 --- 169.254.1.12 tcpbench statistics --- 7597886864 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10121.414/10132.140/10142.418/8.955 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 1248178620 9985.429 100.00% Conn: 1 Mbps: 9985.429 Peak Mbps: 9985.429 Avg Mbps: 9985.429 2000 1252518368 10030.177 100.00% Conn: 1 Mbps: 10030.177 Peak Mbps: 10030.177 Avg Mbps: 10030.177 3000 1252878024 10023.024 100.00% Conn: 1 Mbps: 10023.024 Peak Mbps: 10030.177 Avg Mbps: 10023.024 4000 1253728120 10029.825 100.00% Conn: 1 Mbps: 10029.825 Peak Mbps: 10030.177 Avg Mbps: 10029.825 5000 1253695424 10029.563 100.00% Conn: 1 Mbps: 10029.563 Peak Mbps: 10030.177 Avg Mbps: 10029.563 --- fc00:0:0:1::12 tcpbench statistics --- 7514170844 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9985.429/10019.604/10030.177/17.292 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.038 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.038/0.038/0.038/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.038 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.038/0.038/0.038/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 1265106040 10120.848 100.00% Conn: 1 Mbps: 10120.848 Peak Mbps: 10120.848 Avg Mbps: 10120.848 2000 1270820304 10176.739 100.00% Conn: 1 Mbps: 10176.739 Peak Mbps: 10176.739 Avg Mbps: 10176.739 3000 1272505178 10180.041 100.00% Conn: 1 Mbps: 10180.041 Peak Mbps: 10180.041 Avg Mbps: 10180.041 4000 1267679568 10141.437 100.00% Conn: 1 Mbps: 10141.437 Peak Mbps: 10180.041 Avg Mbps: 10141.437 5000 1269577096 10156.617 100.00% Conn: 1 Mbps: 10156.617 Peak Mbps: 10180.041 Avg Mbps: 10156.617 --- 169.254.0.13 tcpbench statistics --- 7614594604 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10120.848/10155.136/10180.041/22.147 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 1273109068 10184.873 100.00% Conn: 1 Mbps: 10184.873 Peak Mbps: 10184.873 Avg Mbps: 10184.873 2000 1277726984 10232.048 100.00% Conn: 1 Mbps: 10232.048 Peak Mbps: 10232.048 Avg Mbps: 10232.048 3000 1283089128 10264.713 100.00% Conn: 1 Mbps: 10264.713 Peak Mbps: 10264.713 Avg Mbps: 10264.713 4000 1282075552 10256.604 100.00% Conn: 1 Mbps: 10256.604 Peak Mbps: 10264.713 Avg Mbps: 10256.604 5000 1279459872 10235.679 100.00% Conn: 1 Mbps: 10235.679 Peak Mbps: 10264.713 Avg Mbps: 10235.679 --- fc00::13 tcpbench statistics --- 7675182044 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10184.873/10234.783/10264.713/27.826 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 1m51.83s