START sys/net/pair 2024-11-14T05:30:31Z ==== 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.322 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.322/0.322/0.322/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.391 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.391/0.391/0.391/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 89279324 714.235 100.00% Conn: 1 Mbps: 714.235 Peak Mbps: 714.235 Avg Mbps: 714.235 2000 92061684 736.493 100.00% Conn: 1 Mbps: 736.493 Peak Mbps: 736.493 Avg Mbps: 736.493 3000 91441740 732.266 100.00% Conn: 1 Mbps: 732.266 Peak Mbps: 736.493 Avg Mbps: 732.266 4000 92308072 738.465 100.00% Conn: 1 Mbps: 738.465 Peak Mbps: 738.465 Avg Mbps: 738.465 5000 91060236 728.482 100.00% Conn: 1 Mbps: 728.482 Peak Mbps: 738.465 Avg Mbps: 728.482 --- 169.254.1.11 tcpbench statistics --- 542967060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 714.235/729.988/738.465/8.600 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 93701552 749.612 100.00% Conn: 1 Mbps: 749.612 Peak Mbps: 749.612 Avg Mbps: 749.612 2000 93463192 748.454 100.00% Conn: 1 Mbps: 748.454 Peak Mbps: 749.612 Avg Mbps: 748.454 3000 92662464 741.300 100.00% Conn: 1 Mbps: 741.300 Peak Mbps: 749.612 Avg Mbps: 741.300 4000 88357560 706.860 100.00% Conn: 1 Mbps: 706.860 Peak Mbps: 749.612 Avg Mbps: 706.860 5000 92044080 736.353 100.00% Conn: 1 Mbps: 736.353 Peak Mbps: 749.612 Avg Mbps: 736.353 --- fc00:0:0:1::11 tcpbench statistics --- 552289824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 706.860/736.516/749.612/15.597 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.483 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.483/0.483/0.483/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.903 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.903/0.903/0.903/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 27497520 219.322 100.00% Conn: 1 Mbps: 219.322 Peak Mbps: 219.322 Avg Mbps: 219.322 2045 27649560 212.485 100.00% Conn: 1 Mbps: 212.485 Peak Mbps: 219.322 Avg Mbps: 212.485 3047 27790016 222.098 100.00% Conn: 1 Mbps: 222.098 Peak Mbps: 222.098 Avg Mbps: 222.098 4048 27875448 223.004 100.00% Conn: 1 Mbps: 223.004 Peak Mbps: 223.004 Avg Mbps: 223.004 5050 27972464 223.333 100.00% Conn: 1 Mbps: 223.333 Peak Mbps: 223.333 Avg Mbps: 223.333 --- 169.254.1.12 tcpbench statistics --- 165452824 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 212.485/220.048/223.333/4.036 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 25975320 207.803 100.00% Conn: 1 Mbps: 207.803 Peak Mbps: 207.803 Avg Mbps: 207.803 2001 27279084 218.015 100.00% Conn: 1 Mbps: 218.015 Peak Mbps: 218.015 Avg Mbps: 218.015 3002 27286224 218.072 100.00% Conn: 1 Mbps: 218.072 Peak Mbps: 218.072 Avg Mbps: 218.072 4003 27484716 219.878 100.00% Conn: 1 Mbps: 219.878 Peak Mbps: 219.878 Avg Mbps: 219.878 5003 27440448 219.524 100.00% Conn: 1 Mbps: 219.524 Peak Mbps: 219.878 Avg Mbps: 219.524 --- fc00:0:0:1::12 tcpbench statistics --- 161812392 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 207.803/216.658/219.878/4.491 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.428 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.428/0.428/0.428/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.506 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.506/0.506/0.506/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 50048556 400.388 100.00% Conn: 1 Mbps: 400.388 Peak Mbps: 400.388 Avg Mbps: 400.388 2000 49786272 398.689 100.00% Conn: 1 Mbps: 398.689 Peak Mbps: 400.388 Avg Mbps: 398.689 3000 49285548 394.284 100.00% Conn: 1 Mbps: 394.284 Peak Mbps: 400.388 Avg Mbps: 394.284 4001 47091900 376.735 100.00% Conn: 1 Mbps: 376.735 Peak Mbps: 400.388 Avg Mbps: 376.735 5000 48840460 391.115 100.00% Conn: 1 Mbps: 391.115 Peak Mbps: 400.388 Avg Mbps: 391.115 --- 169.254.0.13 tcpbench statistics --- 293138136 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 376.735/392.242/400.388/8.412 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 47346016 378.768 100.00% Conn: 1 Mbps: 378.768 Peak Mbps: 378.768 Avg Mbps: 378.768 2001 48654136 389.233 100.00% Conn: 1 Mbps: 389.233 Peak Mbps: 389.233 Avg Mbps: 389.233 3001 47377728 379.401 100.00% Conn: 1 Mbps: 379.401 Peak Mbps: 389.233 Avg Mbps: 379.401 4001 47568000 380.544 100.00% Conn: 1 Mbps: 380.544 Peak Mbps: 389.233 Avg Mbps: 380.544 5002 46949616 375.597 100.00% Conn: 1 Mbps: 375.597 Peak Mbps: 389.233 Avg Mbps: 375.597 --- fc00::13 tcpbench statistics --- 284298080 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 375.597/380.709/389.233/4.567 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.362 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.362/0.362/0.362/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.406 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.406/0.406/0.406/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1002 26562112 212.073 100.00% Conn: 1 Mbps: 212.073 Peak Mbps: 212.073 Avg Mbps: 212.073 2002 27792912 222.343 100.00% Conn: 1 Mbps: 222.343 Peak Mbps: 222.343 Avg Mbps: 222.343 3003 27882688 223.062 100.00% Conn: 1 Mbps: 223.062 Peak Mbps: 223.062 Avg Mbps: 223.062 4007 27872552 222.313 100.00% Conn: 1 Mbps: 222.313 Peak Mbps: 223.062 Avg Mbps: 222.313 5008 27915992 223.105 100.00% Conn: 1 Mbps: 223.105 Peak Mbps: 223.105 Avg Mbps: 223.105 --- 169.254.1.11 tcpbench statistics --- 164579680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 212.073/220.579/223.105/4.267 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 26900664 214.990 100.00% Conn: 1 Mbps: 214.990 Peak Mbps: 214.990 Avg Mbps: 214.990 2002 27103440 216.611 100.00% Conn: 1 Mbps: 216.611 Peak Mbps: 216.611 Avg Mbps: 216.611 3002 27204828 217.856 100.00% Conn: 1 Mbps: 217.856 Peak Mbps: 217.856 Avg Mbps: 217.856 4005 27566112 220.089 100.00% Conn: 1 Mbps: 220.089 Peak Mbps: 220.089 Avg Mbps: 220.089 5005 26260920 210.087 100.00% Conn: 1 Mbps: 210.087 Peak Mbps: 220.089 Avg Mbps: 210.087 --- fc00:0:0:1::11 tcpbench statistics --- 162256500 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 210.087/215.927/220.089/3.361 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.316 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.316/0.316/0.316/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.384 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.384/0.384/0.384/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 91619304 732.954 100.00% Conn: 1 Mbps: 732.954 Peak Mbps: 732.954 Avg Mbps: 732.954 2000 91441200 731.530 100.00% Conn: 1 Mbps: 731.530 Peak Mbps: 732.954 Avg Mbps: 731.530 3001 88081840 704.655 100.00% Conn: 1 Mbps: 704.655 Peak Mbps: 732.954 Avg Mbps: 704.655 4001 91157392 729.259 100.00% Conn: 1 Mbps: 729.259 Peak Mbps: 732.954 Avg Mbps: 729.259 5001 90016368 720.852 100.00% Conn: 1 Mbps: 720.852 Peak Mbps: 732.954 Avg Mbps: 720.852 --- 169.254.1.12 tcpbench statistics --- 543932736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 704.655/723.850/732.954/10.474 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 93179856 745.439 100.00% Conn: 1 Mbps: 745.439 Peak Mbps: 745.439 Avg Mbps: 745.439 2000 88160436 705.989 100.00% Conn: 1 Mbps: 705.989 Peak Mbps: 745.439 Avg Mbps: 705.989 3000 92325912 738.607 100.00% Conn: 1 Mbps: 738.607 Peak Mbps: 745.439 Avg Mbps: 738.607 4000 92420160 739.361 100.00% Conn: 1 Mbps: 739.361 Peak Mbps: 745.439 Avg Mbps: 739.361 5000 92834280 742.674 100.00% Conn: 1 Mbps: 742.674 Peak Mbps: 745.439 Avg Mbps: 742.674 --- fc00:0:0:1::12 tcpbench statistics --- 552113352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 705.989/734.414/745.439/14.421 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.337 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.337/0.337/0.337/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.398 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.398/0.398/0.398/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 132182040 1057.456 100.00% Conn: 1 Mbps: 1057.456 Peak Mbps: 1057.456 Avg Mbps: 1057.456 2000 131060224 1049.531 100.00% Conn: 1 Mbps: 1049.531 Peak Mbps: 1057.456 Avg Mbps: 1049.531 3000 131256520 1050.052 100.00% Conn: 1 Mbps: 1050.052 Peak Mbps: 1057.456 Avg Mbps: 1050.052 4000 131256508 1050.052 100.00% Conn: 1 Mbps: 1050.052 Peak Mbps: 1057.456 Avg Mbps: 1050.052 5000 125514898 1004.119 100.00% Conn: 1 Mbps: 1004.119 Peak Mbps: 1057.456 Avg Mbps: 1004.119 --- 169.254.0.13 tcpbench statistics --- 782199622 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1004.119/1042.242/1057.456/19.287 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 130228348 1041.827 100.00% Conn: 1 Mbps: 1041.827 Peak Mbps: 1041.827 Avg Mbps: 1041.827 2000 129116504 1032.932 100.00% Conn: 1 Mbps: 1032.932 Peak Mbps: 1041.827 Avg Mbps: 1032.932 3033 128299104 994.567 100.00% Conn: 1 Mbps: 994.567 Peak Mbps: 1041.827 Avg Mbps: 994.567 4033 129345376 1034.763 100.00% Conn: 1 Mbps: 1034.763 Peak Mbps: 1041.827 Avg Mbps: 1034.763 5033 129214592 1033.717 100.00% Conn: 1 Mbps: 1033.717 Peak Mbps: 1041.827 Avg Mbps: 1033.717 --- fc00::13 tcpbench statistics --- 771037252 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 994.567/1027.561/1041.827/16.797 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.359 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.359/0.359/0.359/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.449 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.449/0.449/0.449/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 27203576 217.411 100.00% Conn: 1 Mbps: 217.411 Peak Mbps: 217.411 Avg Mbps: 217.411 2003 26172600 209.172 100.00% Conn: 1 Mbps: 209.172 Peak Mbps: 217.411 Avg Mbps: 209.172 3003 27296248 218.370 100.00% Conn: 1 Mbps: 218.370 Peak Mbps: 218.370 Avg Mbps: 218.370 4004 27286112 218.289 100.00% Conn: 1 Mbps: 218.289 Peak Mbps: 218.370 Avg Mbps: 218.289 5004 27176064 217.409 100.00% Conn: 1 Mbps: 217.409 Peak Mbps: 218.370 Avg Mbps: 217.409 --- 169.254.1.11 tcpbench statistics --- 162559720 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 209.172/216.130/218.370/3.504 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 47011936 376.095 100.00% Conn: 1 Mbps: 376.095 Peak Mbps: 376.095 Avg Mbps: 376.095 2000 47025768 376.206 100.00% Conn: 1 Mbps: 376.206 Peak Mbps: 376.206 Avg Mbps: 376.206 3002 46869208 374.579 100.00% Conn: 1 Mbps: 374.579 Peak Mbps: 376.206 Avg Mbps: 374.579 4006 45192416 360.099 100.00% Conn: 1 Mbps: 360.099 Peak Mbps: 376.206 Avg Mbps: 360.099 5007 42743792 341.950 100.00% Conn: 1 Mbps: 341.950 Peak Mbps: 376.206 Avg Mbps: 341.950 --- fc00:0:0:1::11 tcpbench statistics --- 272674680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 341.950/365.786/376.206/13.362 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.315 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.315/0.315/0.315/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.397 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.397/0.397/0.397/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 128869398 1030.955 100.00% Conn: 1 Mbps: 1030.955 Peak Mbps: 1030.955 Avg Mbps: 1030.955 2000 131812692 1055.557 100.00% Conn: 1 Mbps: 1055.557 Peak Mbps: 1055.557 Avg Mbps: 1055.557 3000 126725366 1013.803 100.00% Conn: 1 Mbps: 1013.803 Peak Mbps: 1055.557 Avg Mbps: 1013.803 4001 131992630 1055.941 100.00% Conn: 1 Mbps: 1055.941 Peak Mbps: 1055.941 Avg Mbps: 1055.941 5001 131780000 1054.240 100.00% Conn: 1 Mbps: 1054.240 Peak Mbps: 1055.941 Avg Mbps: 1054.240 --- 169.254.1.12 tcpbench statistics --- 782681988 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1013.803/1042.099/1055.941/17.000 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 131798800 1054.390 100.00% Conn: 1 Mbps: 1054.390 Peak Mbps: 1054.390 Avg Mbps: 1054.390 2000 125421856 1004.379 100.00% Conn: 1 Mbps: 1004.379 Peak Mbps: 1054.390 Avg Mbps: 1004.379 3000 131012872 1048.103 100.00% Conn: 1 Mbps: 1048.103 Peak Mbps: 1054.390 Avg Mbps: 1048.103 4000 131045568 1048.365 100.00% Conn: 1 Mbps: 1048.365 Peak Mbps: 1054.390 Avg Mbps: 1048.365 5000 131470616 1051.765 100.00% Conn: 1 Mbps: 1051.765 Peak Mbps: 1054.390 Avg Mbps: 1051.765 --- fc00:0:0:1::12 tcpbench statistics --- 781926064 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1004.379/1041.400/1054.390/18.656 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.317 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.317/0.317/0.317/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.377 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.377/0.377/0.377/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 134364970 1074.920 100.00% Conn: 1 Mbps: 1074.920 Peak Mbps: 1074.920 Avg Mbps: 1074.920 2000 133121332 1066.037 100.00% Conn: 1 Mbps: 1066.037 Peak Mbps: 1074.920 Avg Mbps: 1066.037 3000 133448480 1067.588 100.00% Conn: 1 Mbps: 1067.588 Peak Mbps: 1074.920 Avg Mbps: 1067.588 4000 132876010 1063.008 100.00% Conn: 1 Mbps: 1063.008 Peak Mbps: 1074.920 Avg Mbps: 1063.008 5000 127330672 1018.645 100.00% Conn: 1 Mbps: 1018.645 Peak Mbps: 1074.920 Avg Mbps: 1018.645 --- 169.254.0.13 tcpbench statistics --- 793837560 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1018.645/1058.040/1074.920/20.083 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 136983532 1095.868 100.00% Conn: 1 Mbps: 1095.868 Peak Mbps: 1095.868 Avg Mbps: 1095.868 2000 135949968 1088.688 100.00% Conn: 1 Mbps: 1088.688 Peak Mbps: 1095.868 Avg Mbps: 1088.688 3000 135917272 1087.338 100.00% Conn: 1 Mbps: 1087.338 Peak Mbps: 1095.868 Avg Mbps: 1087.338 4000 130228168 1041.825 100.00% Conn: 1 Mbps: 1041.825 Peak Mbps: 1095.868 Avg Mbps: 1041.825 5000 135851880 1086.815 100.00% Conn: 1 Mbps: 1086.815 Peak Mbps: 1095.868 Avg Mbps: 1086.815 --- fc00::13 tcpbench statistics --- 810815396 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1041.825/1080.107/1095.868/19.416 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 2m02.89s