START sys/net/pair 2024-11-25T23:01:45Z ==== 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.171 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.171/0.171/0.171/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.223 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.223/0.223/0.223/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 49873700 398.990 100.00% Conn: 1 Mbps: 398.990 Peak Mbps: 398.990 Avg Mbps: 398.990 2001 49301444 394.018 100.00% Conn: 1 Mbps: 394.018 Peak Mbps: 398.990 Avg Mbps: 394.018 3001 49523988 396.192 100.00% Conn: 1 Mbps: 396.192 Peak Mbps: 398.990 Avg Mbps: 396.192 4001 50445956 403.568 100.00% Conn: 1 Mbps: 403.568 Peak Mbps: 403.568 Avg Mbps: 403.568 5001 49953180 399.625 100.00% Conn: 1 Mbps: 399.625 Peak Mbps: 403.568 Avg Mbps: 399.625 --- 169.254.1.11 tcpbench statistics --- 298725580 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 394.018/398.478/403.568/3.244 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 45934832 367.479 100.00% Conn: 1 Mbps: 367.479 Peak Mbps: 367.479 Avg Mbps: 367.479 2001 45807984 366.464 100.00% Conn: 1 Mbps: 366.464 Peak Mbps: 367.479 Avg Mbps: 366.464 3001 45823840 366.591 100.00% Conn: 1 Mbps: 366.591 Peak Mbps: 367.479 Avg Mbps: 366.591 4002 46077536 368.620 100.00% Conn: 1 Mbps: 368.620 Peak Mbps: 368.620 Avg Mbps: 368.620 5002 46188528 369.508 100.00% Conn: 1 Mbps: 369.508 Peak Mbps: 369.508 Avg Mbps: 369.508 --- fc00:0:0:1::11 tcpbench statistics --- 275886472 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 366.464/367.732/369.508/1.176 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.399 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.399/0.399/0.399/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.739 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.739/0.739/0.739/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 31017608 248.141 100.00% Conn: 1 Mbps: 248.141 Peak Mbps: 248.141 Avg Mbps: 248.141 2001 31158064 249.265 100.00% Conn: 1 Mbps: 249.265 Peak Mbps: 249.265 Avg Mbps: 249.265 3001 31162408 249.549 100.00% Conn: 1 Mbps: 249.549 Peak Mbps: 249.549 Avg Mbps: 249.549 4002 30990096 247.673 100.00% Conn: 1 Mbps: 247.673 Peak Mbps: 249.549 Avg Mbps: 247.673 5004 30977064 247.569 100.00% Conn: 1 Mbps: 247.569 Peak Mbps: 249.549 Avg Mbps: 247.569 --- 169.254.1.12 tcpbench statistics --- 186066552 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 247.569/248.439/249.549/0.818 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 1003 29702400 236.908 100.00% Conn: 1 Mbps: 236.908 Peak Mbps: 236.908 Avg Mbps: 236.908 2001 29982288 240.580 100.00% Conn: 1 Mbps: 240.580 Peak Mbps: 240.580 Avg Mbps: 240.580 3002 30364992 242.677 100.00% Conn: 1 Mbps: 242.677 Peak Mbps: 242.677 Avg Mbps: 242.677 4003 30179352 241.194 100.00% Conn: 1 Mbps: 241.194 Peak Mbps: 242.677 Avg Mbps: 241.194 5003 30357852 242.863 100.00% Conn: 1 Mbps: 242.863 Peak Mbps: 242.863 Avg Mbps: 242.863 --- fc00:0:0:1::12 tcpbench statistics --- 180763380 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 236.908/240.844/242.863/2.150 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.234 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.234/0.234/0.234/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.305 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.305/0.305/0.305/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 30989252 247.914 100.00% Conn: 1 Mbps: 247.914 Peak Mbps: 247.914 Avg Mbps: 247.914 2000 30766708 246.134 100.00% Conn: 1 Mbps: 246.134 Peak Mbps: 247.914 Avg Mbps: 246.134 3001 30901824 247.215 100.00% Conn: 1 Mbps: 247.215 Peak Mbps: 247.914 Avg Mbps: 247.215 4002 30575956 244.363 100.00% Conn: 1 Mbps: 244.363 Peak Mbps: 247.914 Avg Mbps: 244.363 5002 30671332 245.371 100.00% Conn: 1 Mbps: 245.371 Peak Mbps: 247.914 Avg Mbps: 245.371 --- 169.254.0.13 tcpbench statistics --- 184870480 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 244.363/246.199/247.914/1.268 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 31894344 255.155 100.00% Conn: 1 Mbps: 255.155 Peak Mbps: 255.155 Avg Mbps: 255.155 2001 32219392 257.755 100.00% Conn: 1 Mbps: 257.755 Peak Mbps: 257.755 Avg Mbps: 257.755 3001 31910200 255.537 100.00% Conn: 1 Mbps: 255.537 Peak Mbps: 257.755 Avg Mbps: 255.537 4001 32211464 257.692 100.00% Conn: 1 Mbps: 257.692 Peak Mbps: 257.755 Avg Mbps: 257.692 5002 32037048 256.296 100.00% Conn: 1 Mbps: 256.296 Peak Mbps: 257.755 Avg Mbps: 256.296 --- fc00::13 tcpbench statistics --- 192380848 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 255.155/256.487/257.755/1.075 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.193 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.193/0.193/0.193/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.235 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.235/0.235/0.235/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 1004 31110280 247.891 100.00% Conn: 1 Mbps: 247.891 Peak Mbps: 247.891 Avg Mbps: 247.891 2004 30895976 247.415 100.00% Conn: 1 Mbps: 247.415 Peak Mbps: 247.891 Avg Mbps: 247.415 3000 30958240 248.661 100.00% Conn: 1 Mbps: 248.661 Peak Mbps: 248.661 Avg Mbps: 248.661 4002 31088560 248.212 100.00% Conn: 1 Mbps: 248.212 Peak Mbps: 248.661 Avg Mbps: 248.212 5005 31062496 247.757 100.00% Conn: 1 Mbps: 247.757 Peak Mbps: 248.661 Avg Mbps: 247.757 --- 169.254.1.11 tcpbench statistics --- 185991256 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 247.415/247.987/248.661/0.423 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 30069396 240.315 100.00% Conn: 1 Mbps: 240.315 Peak Mbps: 240.315 Avg Mbps: 240.315 2002 30483516 243.868 100.00% Conn: 1 Mbps: 243.868 Peak Mbps: 243.868 Avg Mbps: 243.868 3003 30572052 244.332 100.00% Conn: 1 Mbps: 244.332 Peak Mbps: 244.332 Avg Mbps: 244.332 4006 30867648 246.203 100.00% Conn: 1 Mbps: 246.203 Peak Mbps: 246.203 Avg Mbps: 246.203 5006 30262176 242.097 100.00% Conn: 1 Mbps: 242.097 Peak Mbps: 246.203 Avg Mbps: 242.097 --- fc00:0:0:1::11 tcpbench statistics --- 182384160 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 240.315/243.363/246.203/2.008 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.164 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.164/0.164/0.164/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 1001 42952024 343.273 100.00% Conn: 1 Mbps: 343.273 Peak Mbps: 343.273 Avg Mbps: 343.273 2001 43647064 349.177 100.00% Conn: 1 Mbps: 349.177 Peak Mbps: 349.177 Avg Mbps: 349.177 3002 43786072 349.939 100.00% Conn: 1 Mbps: 349.939 Peak Mbps: 349.939 Avg Mbps: 349.939 4002 44227712 354.176 100.00% Conn: 1 Mbps: 354.176 Peak Mbps: 354.176 Avg Mbps: 354.176 5003 44072776 352.582 100.00% Conn: 1 Mbps: 352.582 Peak Mbps: 354.176 Avg Mbps: 352.582 --- 169.254.1.12 tcpbench statistics --- 262381944 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 343.273/349.829/354.176/3.739 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 45667440 364.975 100.00% Conn: 1 Mbps: 364.975 Peak Mbps: 364.975 Avg Mbps: 364.975 2001 47865132 382.921 100.00% Conn: 1 Mbps: 382.921 Peak Mbps: 382.921 Avg Mbps: 382.921 3001 48873300 390.986 100.00% Conn: 1 Mbps: 390.986 Peak Mbps: 390.986 Avg Mbps: 390.986 4001 46809840 374.854 100.00% Conn: 1 Mbps: 374.854 Peak Mbps: 390.986 Avg Mbps: 374.854 5001 46678464 373.428 100.00% Conn: 1 Mbps: 373.428 Peak Mbps: 390.986 Avg Mbps: 373.428 --- fc00:0:0:1::12 tcpbench statistics --- 282639756 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 364.975/377.433/390.986/8.851 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.176 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.176/0.176/0.176/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.229 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.229/0.229/0.229/0.000 ms ==== run-tcpbench-2-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 135756362 1086.051 100.00% Conn: 1 Mbps: 1086.051 Peak Mbps: 1086.051 Avg Mbps: 1086.051 2000 137865140 1102.921 100.00% Conn: 1 Mbps: 1102.921 Peak Mbps: 1102.921 Avg Mbps: 1102.921 3000 137587066 1100.697 100.00% Conn: 1 Mbps: 1100.697 Peak Mbps: 1102.921 Avg Mbps: 1100.697 4000 137308968 1098.472 100.00% Conn: 1 Mbps: 1098.472 Peak Mbps: 1102.921 Avg Mbps: 1098.472 5000 137734276 1102.977 100.00% Conn: 1 Mbps: 1102.977 Peak Mbps: 1102.977 Avg Mbps: 1102.977 --- 169.254.0.13 tcpbench statistics --- 823397212 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1086.051/1098.223/1102.977/6.309 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 126943084 1015.545 100.00% Conn: 1 Mbps: 1015.545 Peak Mbps: 1015.545 Avg Mbps: 1015.545 2000 128397192 1027.178 100.00% Conn: 1 Mbps: 1027.178 Peak Mbps: 1027.178 Avg Mbps: 1027.178 3000 128299104 1026.393 100.00% Conn: 1 Mbps: 1026.393 Peak Mbps: 1027.178 Avg Mbps: 1026.393 4000 128397192 1027.178 100.00% Conn: 1 Mbps: 1027.178 Peak Mbps: 1027.178 Avg Mbps: 1027.178 5000 128201016 1025.608 100.00% Conn: 1 Mbps: 1025.608 Peak Mbps: 1027.178 Avg Mbps: 1025.608 --- fc00::13 tcpbench statistics --- 768307820 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1015.545/1024.380/1027.178/4.456 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.206 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.206/0.206/0.206/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.258 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.258/0.258/0.258/0.000 ms ==== run-tcpbench-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 1003 31137792 248.357 100.00% Conn: 1 Mbps: 248.357 Peak Mbps: 248.357 Avg Mbps: 248.357 2004 31014712 247.870 100.00% Conn: 1 Mbps: 247.870 Peak Mbps: 248.357 Avg Mbps: 247.870 3007 30942312 247.044 100.00% Conn: 1 Mbps: 247.044 Peak Mbps: 248.357 Avg Mbps: 247.044 4011 31081320 247.907 100.00% Conn: 1 Mbps: 247.907 Peak Mbps: 248.357 Avg Mbps: 247.907 5011 31063944 248.760 100.00% Conn: 1 Mbps: 248.760 Peak Mbps: 248.760 Avg Mbps: 248.760 --- 169.254.1.11 tcpbench statistics --- 186238864 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 247.044/247.988/248.760/0.573 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 1006 57032424 453.538 100.00% Conn: 1 Mbps: 453.538 Peak Mbps: 453.538 Avg Mbps: 453.538 2003 56627624 454.384 100.00% Conn: 1 Mbps: 454.384 Peak Mbps: 454.384 Avg Mbps: 454.384 3006 57737872 460.981 100.00% Conn: 1 Mbps: 460.981 Peak Mbps: 460.981 Avg Mbps: 460.981 4006 57334632 459.136 100.00% Conn: 1 Mbps: 459.136 Peak Mbps: 460.981 Avg Mbps: 459.136 5006 56729144 453.833 100.00% Conn: 1 Mbps: 453.833 Peak Mbps: 460.981 Avg Mbps: 453.833 --- fc00:0:0:1::11 tcpbench statistics --- 341468480 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 453.538/456.375/460.981/3.076 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.185 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.185/0.185/0.185/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.226 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.226/0.226/0.226/0.000 ms ==== run-tcpbench-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 137145674 1097.165 100.00% Conn: 1 Mbps: 1097.165 Peak Mbps: 1097.165 Avg Mbps: 1097.165 2000 137930572 1103.445 100.00% Conn: 1 Mbps: 1103.445 Peak Mbps: 1103.445 Avg Mbps: 1103.445 3000 137930584 1103.445 100.00% Conn: 1 Mbps: 1103.445 Peak Mbps: 1103.445 Avg Mbps: 1103.445 4000 137799708 1102.398 100.00% Conn: 1 Mbps: 1102.398 Peak Mbps: 1103.445 Avg Mbps: 1102.398 5000 138061436 1104.491 100.00% Conn: 1 Mbps: 1104.491 Peak Mbps: 1104.491 Avg Mbps: 1104.491 --- 169.254.1.12 tcpbench statistics --- 826602250 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1097.165/1102.189/1104.491/2.597 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 126010852 1008.087 100.00% Conn: 1 Mbps: 1008.087 Peak Mbps: 1008.087 Avg Mbps: 1008.087 2000 126860480 1014.884 100.00% Conn: 1 Mbps: 1014.884 Peak Mbps: 1014.884 Avg Mbps: 1014.884 3000 125716120 1005.729 100.00% Conn: 1 Mbps: 1005.729 Peak Mbps: 1014.884 Avg Mbps: 1005.729 4000 126010384 1008.083 100.00% Conn: 1 Mbps: 1008.083 Peak Mbps: 1014.884 Avg Mbps: 1008.083 5000 126533520 1012.268 100.00% Conn: 1 Mbps: 1012.268 Peak Mbps: 1014.884 Avg Mbps: 1012.268 --- fc00:0:0:1::12 tcpbench statistics --- 757501396 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1005.729/1009.810/1014.884/3.298 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.169 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.169/0.169/0.169/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.230 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.230/0.230/0.230/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 143868734 1150.950 100.00% Conn: 1 Mbps: 1150.950 Peak Mbps: 1150.950 Avg Mbps: 1150.950 2000 147352768 1178.822 100.00% Conn: 1 Mbps: 1178.822 Peak Mbps: 1178.822 Avg Mbps: 1178.822 3000 141529344 1132.235 100.00% Conn: 1 Mbps: 1132.235 Peak Mbps: 1178.822 Avg Mbps: 1132.235 4000 144244748 1153.958 100.00% Conn: 1 Mbps: 1153.958 Peak Mbps: 1178.822 Avg Mbps: 1153.958 5000 147745360 1181.963 100.00% Conn: 1 Mbps: 1181.963 Peak Mbps: 1181.963 Avg Mbps: 1181.963 --- 169.254.0.13 tcpbench statistics --- 872715338 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1132.235/1159.586/1181.963/18.575 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 142227652 1137.821 100.00% Conn: 1 Mbps: 1137.821 Peak Mbps: 1137.821 Avg Mbps: 1137.821 2000 142325688 1138.606 100.00% Conn: 1 Mbps: 1138.606 Peak Mbps: 1138.606 Avg Mbps: 1138.606 3000 145072152 1160.577 100.00% Conn: 1 Mbps: 1160.577 Peak Mbps: 1160.577 Avg Mbps: 1160.577 4000 141900640 1135.205 100.00% Conn: 1 Mbps: 1135.205 Peak Mbps: 1160.577 Avg Mbps: 1135.205 5000 141181328 1129.451 100.00% Conn: 1 Mbps: 1129.451 Peak Mbps: 1160.577 Avg Mbps: 1129.451 --- fc00::13 tcpbench statistics --- 856471772 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1129.451/1140.332/1160.577/10.619 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.57s