START sys/net/pair 2024-04-26T05:39:41Z ==== 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.326 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.326/0.326/0.326/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.375 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.375/0.375/0.375/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 92172956 737.384 100.00% Conn: 1 Mbps: 737.384 Peak Mbps: 737.384 Avg Mbps: 737.384 2000 88318176 707.253 100.00% Conn: 1 Mbps: 707.253 Peak Mbps: 737.384 Avg Mbps: 707.253 3001 92101424 736.075 100.00% Conn: 1 Mbps: 736.075 Peak Mbps: 737.384 Avg Mbps: 736.075 4001 92769056 742.152 100.00% Conn: 1 Mbps: 742.152 Peak Mbps: 742.152 Avg Mbps: 742.152 5001 92999548 743.996 100.00% Conn: 1 Mbps: 743.996 Peak Mbps: 743.996 Avg Mbps: 743.996 --- 169.254.1.11 tcpbench statistics --- 551718368 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 707.253/733.372/743.996/13.384 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 94993296 759.946 100.00% Conn: 1 Mbps: 759.946 Peak Mbps: 759.946 Avg Mbps: 759.946 2000 94438336 756.263 100.00% Conn: 1 Mbps: 756.263 Peak Mbps: 759.946 Avg Mbps: 756.263 3000 94406624 755.253 100.00% Conn: 1 Mbps: 755.253 Peak Mbps: 759.946 Avg Mbps: 755.253 4000 94390768 755.126 100.00% Conn: 1 Mbps: 755.126 Peak Mbps: 759.946 Avg Mbps: 755.126 5000 89927304 720.139 100.00% Conn: 1 Mbps: 720.139 Peak Mbps: 759.946 Avg Mbps: 720.139 --- fc00:0:0:1::11 tcpbench statistics --- 562253760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 720.139/749.345/759.946/14.708 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.465 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.465/0.465/0.465/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.892 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.892/0.892/0.892/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 1004 27714720 220.834 100.00% Conn: 1 Mbps: 220.834 Peak Mbps: 220.834 Avg Mbps: 220.834 2002 27765400 222.792 100.00% Conn: 1 Mbps: 222.792 Peak Mbps: 222.792 Avg Mbps: 222.792 3006 26929904 214.581 100.00% Conn: 1 Mbps: 214.581 Peak Mbps: 222.792 Avg Mbps: 214.581 4006 27837800 222.702 100.00% Conn: 1 Mbps: 222.702 Peak Mbps: 222.792 Avg Mbps: 222.702 5008 27905856 223.024 100.00% Conn: 1 Mbps: 223.024 Peak Mbps: 223.024 Avg Mbps: 223.024 --- 169.254.1.12 tcpbench statistics --- 165794552 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 214.581/220.787/223.024/3.200 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 1004 27314784 217.648 100.00% Conn: 1 Mbps: 217.648 Peak Mbps: 217.648 Avg Mbps: 217.648 2004 26245212 209.962 100.00% Conn: 1 Mbps: 209.962 Peak Mbps: 217.648 Avg Mbps: 209.962 3005 27526128 219.989 100.00% Conn: 1 Mbps: 219.989 Peak Mbps: 219.989 Avg Mbps: 219.989 4006 27763176 222.105 100.00% Conn: 1 Mbps: 222.105 Peak Mbps: 222.105 Avg Mbps: 222.105 5008 27141996 216.919 100.00% Conn: 1 Mbps: 216.919 Peak Mbps: 222.105 Avg Mbps: 216.919 --- fc00:0:0:1::12 tcpbench statistics --- 163681644 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 209.962/217.325/222.105/4.109 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.392 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.392/0.392/0.392/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.492 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.492/0.492/0.492/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 48721240 389.770 100.00% Conn: 1 Mbps: 389.770 Peak Mbps: 389.770 Avg Mbps: 389.770 2001 47592624 380.741 100.00% Conn: 1 Mbps: 380.741 Peak Mbps: 389.770 Avg Mbps: 380.741 3001 47211120 377.689 100.00% Conn: 1 Mbps: 377.689 Peak Mbps: 389.770 Avg Mbps: 377.689 4002 46638864 373.111 100.00% Conn: 1 Mbps: 373.111 Peak Mbps: 389.770 Avg Mbps: 373.111 5002 45057212 360.458 100.00% Conn: 1 Mbps: 360.458 Peak Mbps: 389.770 Avg Mbps: 360.458 --- 169.254.0.13 tcpbench statistics --- 281351252 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 360.458/376.354/389.770/9.636 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 44729776 357.838 100.00% Conn: 1 Mbps: 357.838 Peak Mbps: 357.838 Avg Mbps: 357.838 2001 44277880 354.223 100.00% Conn: 1 Mbps: 354.223 Peak Mbps: 357.838 Avg Mbps: 354.223 3001 43294808 346.705 100.00% Conn: 1 Mbps: 346.705 Peak Mbps: 357.838 Avg Mbps: 346.705 4001 41883624 335.069 100.00% Conn: 1 Mbps: 335.069 Peak Mbps: 357.838 Avg Mbps: 335.069 5001 43508864 348.071 100.00% Conn: 1 Mbps: 348.071 Peak Mbps: 357.838 Avg Mbps: 348.071 --- fc00::13 tcpbench statistics --- 261259312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 335.069/348.381/357.838/7.793 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.345 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.345/0.345/0.345/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.405 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.405/0.405/0.405/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 27655352 221.243 100.00% Conn: 1 Mbps: 221.243 Peak Mbps: 221.243 Avg Mbps: 221.243 2001 26809720 214.478 100.00% Conn: 1 Mbps: 214.478 Peak Mbps: 221.243 Avg Mbps: 214.478 3002 27862416 222.677 100.00% Conn: 1 Mbps: 222.677 Peak Mbps: 222.677 Avg Mbps: 222.677 4003 27971016 223.768 100.00% Conn: 1 Mbps: 223.768 Peak Mbps: 223.768 Avg Mbps: 223.768 5003 27779880 222.239 100.00% Conn: 1 Mbps: 222.239 Peak Mbps: 223.768 Avg Mbps: 222.239 --- 169.254.1.11 tcpbench statistics --- 165435448 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 214.478/220.881/223.768/3.303 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 26179524 209.227 100.00% Conn: 1 Mbps: 209.227 Peak Mbps: 209.227 Avg Mbps: 209.227 2004 27311928 218.059 100.00% Conn: 1 Mbps: 218.059 Peak Mbps: 218.059 Avg Mbps: 218.059 3008 27583248 220.006 100.00% Conn: 1 Mbps: 220.006 Peak Mbps: 220.006 Avg Mbps: 220.006 4006 27380472 219.483 100.00% Conn: 1 Mbps: 219.483 Peak Mbps: 220.006 Avg Mbps: 219.483 5009 27733188 221.423 100.00% Conn: 1 Mbps: 221.423 Peak Mbps: 221.423 Avg Mbps: 221.423 --- fc00:0:0:1::11 tcpbench statistics --- 162494976 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 209.227/217.640/221.423/4.342 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.305 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.305/0.305/0.305/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.358 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.358/0.358/0.358/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 91016936 728.135 100.00% Conn: 1 Mbps: 728.135 Peak Mbps: 728.135 Avg Mbps: 728.135 2000 89049104 712.393 100.00% Conn: 1 Mbps: 712.393 Peak Mbps: 728.135 Avg Mbps: 712.393 3000 89028832 712.944 100.00% Conn: 1 Mbps: 712.944 Peak Mbps: 728.135 Avg Mbps: 712.944 4000 85130816 681.047 100.00% Conn: 1 Mbps: 681.047 Peak Mbps: 728.135 Avg Mbps: 681.047 5000 88850728 710.806 100.00% Conn: 1 Mbps: 710.806 Peak Mbps: 728.135 Avg Mbps: 710.806 --- 169.254.1.12 tcpbench statistics --- 532008232 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 681.047/709.065/728.135/15.348 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 93005640 744.045 100.00% Conn: 1 Mbps: 744.045 Peak Mbps: 744.045 Avg Mbps: 744.045 2000 93259824 746.079 100.00% Conn: 1 Mbps: 746.079 Peak Mbps: 746.079 Avg Mbps: 746.079 3000 90011124 720.089 100.00% Conn: 1 Mbps: 720.089 Peak Mbps: 746.079 Avg Mbps: 720.089 4000 92405880 739.247 100.00% Conn: 1 Mbps: 739.247 Peak Mbps: 746.079 Avg Mbps: 739.247 5000 93062576 744.501 100.00% Conn: 1 Mbps: 744.501 Peak Mbps: 746.079 Avg Mbps: 744.501 --- fc00:0:0:1::12 tcpbench statistics --- 554396540 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 720.089/738.792/746.079/9.626 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.319 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.319/0.319/0.319/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.378 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.378/0.378/0.378/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 127668902 1021.351 100.00% Conn: 1 Mbps: 1021.351 Peak Mbps: 1021.351 Avg Mbps: 1021.351 2000 132303420 1059.487 100.00% Conn: 1 Mbps: 1059.487 Peak Mbps: 1059.487 Avg Mbps: 1059.487 3000 132434296 1059.474 100.00% Conn: 1 Mbps: 1059.474 Peak Mbps: 1059.487 Avg Mbps: 1059.474 4000 132532432 1060.259 100.00% Conn: 1 Mbps: 1060.259 Peak Mbps: 1060.259 Avg Mbps: 1060.259 5000 132336148 1058.689 100.00% Conn: 1 Mbps: 1058.689 Peak Mbps: 1060.259 Avg Mbps: 1058.689 --- 169.254.0.13 tcpbench statistics --- 783951478 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1021.351/1051.852/1060.259/15.259 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 130850436 1046.803 100.00% Conn: 1 Mbps: 1046.803 Peak Mbps: 1046.803 Avg Mbps: 1046.803 2000 130130080 1041.041 100.00% Conn: 1 Mbps: 1041.041 Peak Mbps: 1046.803 Avg Mbps: 1041.041 3000 130097384 1040.779 100.00% Conn: 1 Mbps: 1040.779 Peak Mbps: 1046.803 Avg Mbps: 1040.779 4000 124800632 998.405 100.00% Conn: 1 Mbps: 998.405 Peak Mbps: 1046.803 Avg Mbps: 998.405 5000 130097384 1040.779 100.00% Conn: 1 Mbps: 1040.779 Peak Mbps: 1046.803 Avg Mbps: 1040.779 --- fc00::13 tcpbench statistics --- 775877124 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 998.405/1033.561/1046.803/17.728 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.358 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.358/0.358/0.358/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.432 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.432/0.432/0.432/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 27168824 217.133 100.00% Conn: 1 Mbps: 217.133 Peak Mbps: 217.133 Avg Mbps: 217.133 2005 27445392 218.906 100.00% Conn: 1 Mbps: 218.906 Peak Mbps: 218.906 Avg Mbps: 218.906 3008 26644648 212.520 100.00% Conn: 1 Mbps: 212.520 Peak Mbps: 218.906 Avg Mbps: 212.520 4010 27850832 222.584 100.00% Conn: 1 Mbps: 222.584 Peak Mbps: 222.584 Avg Mbps: 222.584 5009 27749472 222.218 100.00% Conn: 1 Mbps: 222.218 Peak Mbps: 222.584 Avg Mbps: 222.218 --- 169.254.1.11 tcpbench statistics --- 163844096 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 212.520/218.672/222.584/3.692 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 1005 45283680 360.467 100.00% Conn: 1 Mbps: 360.467 Peak Mbps: 360.467 Avg Mbps: 360.467 2003 45012416 360.821 100.00% Conn: 1 Mbps: 360.821 Peak Mbps: 360.821 Avg Mbps: 360.821 3006 45099672 359.718 100.00% Conn: 1 Mbps: 359.718 Peak Mbps: 360.821 Avg Mbps: 359.718 4007 45180976 361.448 100.00% Conn: 1 Mbps: 361.448 Peak Mbps: 361.448 Avg Mbps: 361.448 5008 45044744 360.358 100.00% Conn: 1 Mbps: 360.358 Peak Mbps: 361.448 Avg Mbps: 360.358 --- fc00:0:0:1::11 tcpbench statistics --- 268206128 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 359.718/360.562/361.448/0.568 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.328 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.328/0.328/0.328/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.375 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.375/0.375/0.375/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 132238326 1057.907 100.00% Conn: 1 Mbps: 1057.907 Peak Mbps: 1057.907 Avg Mbps: 1057.907 2000 131191076 1050.579 100.00% Conn: 1 Mbps: 1050.579 Peak Mbps: 1057.907 Avg Mbps: 1050.579 3000 131420100 1051.361 100.00% Conn: 1 Mbps: 1051.361 Peak Mbps: 1057.907 Avg Mbps: 1051.361 4000 125923812 1007.390 100.00% Conn: 1 Mbps: 1007.390 Peak Mbps: 1057.907 Avg Mbps: 1007.390 5000 131649112 1053.193 100.00% Conn: 1 Mbps: 1053.193 Peak Mbps: 1057.907 Avg Mbps: 1053.193 --- 169.254.1.12 tcpbench statistics --- 783907958 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1007.390/1044.086/1057.907/18.523 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 131995156 1055.961 100.00% Conn: 1 Mbps: 1055.961 Peak Mbps: 1055.961 Avg Mbps: 1055.961 2000 131176352 1050.461 100.00% Conn: 1 Mbps: 1050.461 Peak Mbps: 1055.961 Avg Mbps: 1050.461 3000 125716120 1005.729 100.00% Conn: 1 Mbps: 1005.729 Peak Mbps: 1055.961 Avg Mbps: 1005.729 4000 130914784 1047.318 100.00% Conn: 1 Mbps: 1047.318 Peak Mbps: 1055.961 Avg Mbps: 1047.318 5000 131470616 1051.765 100.00% Conn: 1 Mbps: 1051.765 Peak Mbps: 1055.961 Avg Mbps: 1051.765 --- fc00:0:0:1::12 tcpbench statistics --- 782416684 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1005.729/1042.247/1055.961/18.469 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.303 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.303/0.303/0.303/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.355 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.355/0.355/0.355/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 129866806 1038.934 100.00% Conn: 1 Mbps: 1038.934 Peak Mbps: 1038.934 Avg Mbps: 1038.934 2000 134299108 1075.468 100.00% Conn: 1 Mbps: 1075.468 Peak Mbps: 1075.468 Avg Mbps: 1075.468 3000 134135516 1073.084 100.00% Conn: 1 Mbps: 1073.084 Peak Mbps: 1075.468 Avg Mbps: 1073.084 4000 134168244 1073.346 100.00% Conn: 1 Mbps: 1073.346 Peak Mbps: 1075.468 Avg Mbps: 1073.346 5000 134397244 1075.178 100.00% Conn: 1 Mbps: 1075.178 Peak Mbps: 1075.468 Avg Mbps: 1075.178 --- 169.254.0.13 tcpbench statistics --- 795538874 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1038.934/1067.202/1075.468/14.166 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 135950076 1087.601 100.00% Conn: 1 Mbps: 1087.601 Peak Mbps: 1087.601 Avg Mbps: 1087.601 2000 134527692 1077.299 100.00% Conn: 1 Mbps: 1077.299 Peak Mbps: 1087.601 Avg Mbps: 1077.299 3000 134511344 1076.091 100.00% Conn: 1 Mbps: 1076.091 Peak Mbps: 1087.601 Avg Mbps: 1076.091 4000 134478648 1075.829 100.00% Conn: 1 Mbps: 1075.829 Peak Mbps: 1087.601 Avg Mbps: 1075.829 5000 128724152 1029.793 100.00% Conn: 1 Mbps: 1029.793 Peak Mbps: 1087.601 Avg Mbps: 1029.793 --- fc00::13 tcpbench statistics --- 802310904 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1029.793/1069.323/1087.601/20.241 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.87s