START sys/net/pair 2024-11-05T23:02:22Z ==== 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.168 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.168/0.168/0.168/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.219 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.219/0.219/0.219/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 50700292 405.602 100.00% Conn: 1 Mbps: 405.602 Peak Mbps: 405.602 Avg Mbps: 405.602 2000 49182224 393.852 100.00% Conn: 1 Mbps: 393.852 Peak Mbps: 405.602 Avg Mbps: 393.852 3000 49619364 396.955 100.00% Conn: 1 Mbps: 396.955 Peak Mbps: 405.602 Avg Mbps: 396.955 4000 49317340 394.934 100.00% Conn: 1 Mbps: 394.934 Peak Mbps: 405.602 Avg Mbps: 394.934 5000 49754480 398.036 100.00% Conn: 1 Mbps: 398.036 Peak Mbps: 405.602 Avg Mbps: 398.036 --- 169.254.1.11 tcpbench statistics --- 299401160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 393.852/397.876/405.602/4.133 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 45673208 365.386 100.00% Conn: 1 Mbps: 365.386 Peak Mbps: 365.386 Avg Mbps: 365.386 2001 46180600 369.076 100.00% Conn: 1 Mbps: 369.076 Peak Mbps: 369.076 Avg Mbps: 369.076 3002 45958616 367.669 100.00% Conn: 1 Mbps: 367.669 Peak Mbps: 369.076 Avg Mbps: 367.669 4002 46418440 371.719 100.00% Conn: 1 Mbps: 371.719 Peak Mbps: 371.719 Avg Mbps: 371.719 5003 46037896 368.303 100.00% Conn: 1 Mbps: 368.303 Peak Mbps: 371.719 Avg Mbps: 368.303 --- fc00:0:0:1::11 tcpbench statistics --- 275878544 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 365.386/368.431/371.719/2.054 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.318 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.318/0.318/0.318/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.862 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.862/0.862/0.862/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1003 31230464 249.096 100.00% Conn: 1 Mbps: 249.096 Peak Mbps: 249.096 Avg Mbps: 249.096 2006 31408568 250.517 100.00% Conn: 1 Mbps: 250.517 Peak Mbps: 250.517 Avg Mbps: 250.517 3007 31453456 251.628 100.00% Conn: 1 Mbps: 251.628 Peak Mbps: 251.628 Avg Mbps: 251.628 4007 31476624 251.813 100.00% Conn: 1 Mbps: 251.813 Peak Mbps: 251.813 Avg Mbps: 251.813 5008 31349200 250.794 100.00% Conn: 1 Mbps: 250.794 Peak Mbps: 251.813 Avg Mbps: 250.794 --- 169.254.1.12 tcpbench statistics --- 188363080 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 249.096/250.770/251.813/0.968 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 1002 30063684 240.029 100.00% Conn: 1 Mbps: 240.029 Peak Mbps: 240.029 Avg Mbps: 240.029 2000 29875188 239.480 100.00% Conn: 1 Mbps: 239.480 Peak Mbps: 240.029 Avg Mbps: 239.480 3001 29955156 239.641 100.00% Conn: 1 Mbps: 239.641 Peak Mbps: 240.029 Avg Mbps: 239.641 4002 30297876 242.141 100.00% Conn: 1 Mbps: 242.141 Peak Mbps: 242.141 Avg Mbps: 242.141 5004 30165072 241.079 100.00% Conn: 1 Mbps: 241.079 Peak Mbps: 242.141 Avg Mbps: 241.079 --- fc00:0:0:1::12 tcpbench statistics --- 180327840 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 239.480/240.474/242.141/1.002 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.235 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.235/0.235/0.235/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.310 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.310/0.310/0.310/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 32221192 257.770 100.00% Conn: 1 Mbps: 257.770 Peak Mbps: 257.770 Avg Mbps: 257.770 2000 31084628 248.926 100.00% Conn: 1 Mbps: 248.926 Peak Mbps: 257.770 Avg Mbps: 248.926 3001 31625092 253.001 100.00% Conn: 1 Mbps: 253.001 Peak Mbps: 257.770 Avg Mbps: 253.001 4002 32356308 258.592 100.00% Conn: 1 Mbps: 258.592 Peak Mbps: 258.592 Avg Mbps: 258.592 5002 31545612 252.618 100.00% Conn: 1 Mbps: 252.618 Peak Mbps: 258.592 Avg Mbps: 252.618 --- 169.254.0.13 tcpbench statistics --- 190354600 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 248.926/254.181/258.592/3.572 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 32037048 256.296 100.00% Conn: 1 Mbps: 256.296 Peak Mbps: 256.296 Avg Mbps: 256.296 2001 32052904 256.423 100.00% Conn: 1 Mbps: 256.423 Peak Mbps: 256.423 Avg Mbps: 256.423 3002 32076688 256.357 100.00% Conn: 1 Mbps: 256.357 Peak Mbps: 256.423 Avg Mbps: 256.357 4002 32140112 257.121 100.00% Conn: 1 Mbps: 257.121 Peak Mbps: 257.121 Avg Mbps: 257.121 5002 31664432 253.569 100.00% Conn: 1 Mbps: 253.569 Peak Mbps: 257.121 Avg Mbps: 253.569 --- fc00::13 tcpbench statistics --- 191928952 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 253.569/255.953/257.121/1.229 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.191 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.191/0.191/0.191/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.232 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.232/0.232/0.232/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 31285488 250.284 100.00% Conn: 1 Mbps: 250.284 Peak Mbps: 250.284 Avg Mbps: 250.284 2003 31246392 249.223 100.00% Conn: 1 Mbps: 249.223 Peak Mbps: 250.284 Avg Mbps: 249.223 3005 30874256 246.501 100.00% Conn: 1 Mbps: 246.501 Peak Mbps: 250.284 Avg Mbps: 246.501 4006 31347752 250.782 100.00% Conn: 1 Mbps: 250.782 Peak Mbps: 250.782 Avg Mbps: 250.782 5009 31223224 249.287 100.00% Conn: 1 Mbps: 249.287 Peak Mbps: 250.782 Avg Mbps: 249.287 --- 169.254.1.11 tcpbench statistics --- 187122144 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 246.501/249.216/250.782/1.481 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1002 30119376 240.474 100.00% Conn: 1 Mbps: 240.474 Peak Mbps: 240.474 Avg Mbps: 240.474 2001 30066540 241.014 100.00% Conn: 1 Mbps: 241.014 Peak Mbps: 241.014 Avg Mbps: 241.014 3005 30209340 240.952 100.00% Conn: 1 Mbps: 240.952 Peak Mbps: 241.014 Avg Mbps: 240.952 4003 30097956 241.266 100.00% Conn: 1 Mbps: 241.266 Peak Mbps: 241.266 Avg Mbps: 241.266 5005 29928024 239.185 100.00% Conn: 1 Mbps: 239.185 Peak Mbps: 241.266 Avg Mbps: 239.185 --- fc00:0:0:1::11 tcpbench statistics --- 180382104 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 239.185/240.578/241.266/0.742 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.166 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.166/0.166/0.166/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.218 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.218/0.218/0.218/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 44329072 354.633 100.00% Conn: 1 Mbps: 354.633 Peak Mbps: 354.633 Avg Mbps: 354.633 2000 45040040 360.320 100.00% Conn: 1 Mbps: 360.320 Peak Mbps: 360.320 Avg Mbps: 360.320 3000 43925080 351.401 100.00% Conn: 1 Mbps: 351.401 Peak Mbps: 360.320 Avg Mbps: 351.401 4001 43680368 349.443 100.00% Conn: 1 Mbps: 349.443 Peak Mbps: 360.320 Avg Mbps: 349.443 5001 43468960 347.752 100.00% Conn: 1 Mbps: 347.752 Peak Mbps: 360.320 Avg Mbps: 347.752 --- 169.254.1.12 tcpbench statistics --- 264120992 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 347.752/352.710/360.320/4.440 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 48050772 384.406 100.00% Conn: 1 Mbps: 384.406 Peak Mbps: 384.406 Avg Mbps: 384.406 2001 49561596 396.493 100.00% Conn: 1 Mbps: 396.493 Peak Mbps: 396.493 Avg Mbps: 396.493 3001 48103608 384.829 100.00% Conn: 1 Mbps: 384.829 Peak Mbps: 396.493 Avg Mbps: 384.829 4001 46679892 373.439 100.00% Conn: 1 Mbps: 373.439 Peak Mbps: 396.493 Avg Mbps: 373.439 5001 47052600 376.421 100.00% Conn: 1 Mbps: 376.421 Peak Mbps: 396.493 Avg Mbps: 376.421 --- fc00:0:0:1::12 tcpbench statistics --- 286142640 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 373.439/383.118/396.493/8.025 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.183 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.183/0.183/0.183/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.234 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.234/0.234/0.234/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 136900136 1095.201 100.00% Conn: 1 Mbps: 1095.201 Peak Mbps: 1095.201 Avg Mbps: 1095.201 2000 137243548 1097.948 100.00% Conn: 1 Mbps: 1097.948 Peak Mbps: 1097.948 Avg Mbps: 1097.948 3000 137374412 1098.995 100.00% Conn: 1 Mbps: 1098.995 Peak Mbps: 1098.995 Avg Mbps: 1098.995 4000 136720080 1093.761 100.00% Conn: 1 Mbps: 1093.761 Peak Mbps: 1098.995 Avg Mbps: 1093.761 5000 137047252 1096.378 100.00% Conn: 1 Mbps: 1096.378 Peak Mbps: 1098.995 Avg Mbps: 1096.378 --- 169.254.0.13 tcpbench statistics --- 822201816 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1093.761/1096.457/1098.995/1.872 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 126419336 1011.355 100.00% Conn: 1 Mbps: 1011.355 Peak Mbps: 1011.355 Avg Mbps: 1011.355 2000 126173864 1009.391 100.00% Conn: 1 Mbps: 1009.391 Peak Mbps: 1011.355 Avg Mbps: 1009.391 3000 126206560 1009.652 100.00% Conn: 1 Mbps: 1009.652 Peak Mbps: 1011.355 Avg Mbps: 1009.652 4000 127056656 1016.453 100.00% Conn: 1 Mbps: 1016.453 Peak Mbps: 1016.453 Avg Mbps: 1016.453 5000 125977688 1007.822 100.00% Conn: 1 Mbps: 1007.822 Peak Mbps: 1016.453 Avg Mbps: 1007.822 --- fc00::13 tcpbench statistics --- 758531104 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1007.822/1010.935/1016.453/2.978 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.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-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.259 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.259/0.259/0.259/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 31567848 252.290 100.00% Conn: 1 Mbps: 252.290 Peak Mbps: 252.290 Avg Mbps: 252.290 2004 31499792 251.495 100.00% Conn: 1 Mbps: 251.495 Peak Mbps: 252.290 Avg Mbps: 251.495 3005 31504136 251.781 100.00% Conn: 1 Mbps: 251.781 Peak Mbps: 252.290 Avg Mbps: 251.781 4006 31699616 253.344 100.00% Conn: 1 Mbps: 253.344 Peak Mbps: 253.344 Avg Mbps: 253.344 5010 31505584 251.291 100.00% Conn: 1 Mbps: 251.291 Peak Mbps: 253.344 Avg Mbps: 251.291 --- 169.254.1.11 tcpbench statistics --- 188726528 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 251.291/252.040/253.344/0.733 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 55990072 447.921 100.00% Conn: 1 Mbps: 447.921 Peak Mbps: 447.921 Avg Mbps: 447.921 2003 56771536 453.266 100.00% Conn: 1 Mbps: 453.266 Peak Mbps: 453.266 Avg Mbps: 453.266 3001 57494056 460.874 100.00% Conn: 1 Mbps: 460.874 Peak Mbps: 460.874 Avg Mbps: 460.874 4004 57240904 457.013 100.00% Conn: 1 Mbps: 457.013 Peak Mbps: 460.874 Avg Mbps: 457.013 5005 57027808 456.222 100.00% Conn: 1 Mbps: 456.222 Peak Mbps: 460.874 Avg Mbps: 456.222 --- fc00:0:0:1::11 tcpbench statistics --- 340198144 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 447.921/455.059/460.874/4.317 Mbps # path MTU discovery in other rtable does not work in ip6_output() /sbin/route -T 13 -n get -host -inet6 fc00:0:0:1::11 route to: fc00:0:0:1::11 destination: fc00:: mask: ffff:ffff:ffff:: gateway: ::1 interface: lo13 if address: ::1 priority: 8 (static) flags: use mtu expire 7 32768 0 DISABLED ==== run-ping-3-2 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.184 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.184/0.184/0.184/0.000 ms ==== run-ping6-3-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.233 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.233/0.233/0.233/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 137096352 1096.771 100.00% Conn: 1 Mbps: 1096.771 Peak Mbps: 1096.771 Avg Mbps: 1096.771 2000 137668844 1101.351 100.00% Conn: 1 Mbps: 1101.351 Peak Mbps: 1101.351 Avg Mbps: 1101.351 3000 137963300 1103.706 100.00% Conn: 1 Mbps: 1103.706 Peak Mbps: 1103.706 Avg Mbps: 1103.706 4000 137112672 1096.901 100.00% Conn: 1 Mbps: 1096.901 Peak Mbps: 1103.706 Avg Mbps: 1096.901 5000 137505264 1100.042 100.00% Conn: 1 Mbps: 1100.042 Peak Mbps: 1103.706 Avg Mbps: 1100.042 --- 169.254.1.12 tcpbench statistics --- 823379488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1096.771/1099.754/1103.706/2.657 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 127465788 1019.726 100.00% Conn: 1 Mbps: 1019.726 Peak Mbps: 1019.726 Avg Mbps: 1019.726 2000 128299104 1026.393 100.00% Conn: 1 Mbps: 1026.393 Peak Mbps: 1026.393 Avg Mbps: 1026.393 3000 128397192 1027.178 100.00% Conn: 1 Mbps: 1027.178 Peak Mbps: 1027.178 Avg Mbps: 1027.178 4000 128397192 1027.178 100.00% Conn: 1 Mbps: 1027.178 Peak Mbps: 1027.178 Avg Mbps: 1027.178 5000 126043080 1008.345 100.00% Conn: 1 Mbps: 1008.345 Peak Mbps: 1027.178 Avg Mbps: 1008.345 --- fc00:0:0:1::12 tcpbench statistics --- 766770676 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1008.345/1021.764/1027.178/7.270 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.173 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.173/0.173/0.173/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.220 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.220/0.220/0.220/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 138781942 1110.256 100.00% Conn: 1 Mbps: 1110.256 Peak Mbps: 1110.256 Avg Mbps: 1110.256 2000 139108348 1112.867 100.00% Conn: 1 Mbps: 1112.867 Peak Mbps: 1112.867 Avg Mbps: 1112.867 3000 138683040 1109.464 100.00% Conn: 1 Mbps: 1109.464 Peak Mbps: 1112.867 Avg Mbps: 1109.464 4000 138846632 1110.773 100.00% Conn: 1 Mbps: 1110.773 Peak Mbps: 1112.867 Avg Mbps: 1110.773 5000 140122544 1120.980 100.00% Conn: 1 Mbps: 1120.980 Peak Mbps: 1120.980 Avg Mbps: 1120.980 --- 169.254.0.13 tcpbench statistics --- 835436038 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1109.464/1112.868/1120.980/4.210 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 139808636 1118.469 100.00% Conn: 1 Mbps: 1118.469 Peak Mbps: 1118.469 Avg Mbps: 1118.469 2000 142652648 1141.221 100.00% Conn: 1 Mbps: 1141.221 Peak Mbps: 1141.221 Avg Mbps: 1141.221 3000 140167752 1121.342 100.00% Conn: 1 Mbps: 1121.342 Peak Mbps: 1141.221 Avg Mbps: 1121.342 4000 140396624 1123.173 100.00% Conn: 1 Mbps: 1123.173 Peak Mbps: 1141.221 Avg Mbps: 1123.173 5000 139906184 1119.249 100.00% Conn: 1 Mbps: 1119.249 Peak Mbps: 1141.221 Avg Mbps: 1119.249 --- fc00::13 tcpbench statistics --- 842739940 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1118.469/1124.691/1141.221/8.427 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.42s