START sys/net/pair 2024-06-05T21:44:30Z ==== 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.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-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.236 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.236/0.236/0.236/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 52830356 422.643 100.00% Conn: 1 Mbps: 422.643 Peak Mbps: 422.643 Avg Mbps: 422.643 2000 52432956 419.884 100.00% Conn: 1 Mbps: 419.884 Peak Mbps: 422.643 Avg Mbps: 419.884 3001 52242204 417.520 100.00% Conn: 1 Mbps: 417.520 Peak Mbps: 422.643 Avg Mbps: 417.520 4001 53410560 427.712 100.00% Conn: 1 Mbps: 427.712 Peak Mbps: 427.712 Avg Mbps: 427.712 5002 52122984 416.567 100.00% Conn: 1 Mbps: 416.567 Peak Mbps: 427.712 Avg Mbps: 416.567 --- 169.254.1.11 tcpbench statistics --- 314923604 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 416.567/420.865/427.712/4.017 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 46870336 374.963 100.00% Conn: 1 Mbps: 374.963 Peak Mbps: 374.963 Avg Mbps: 374.963 2000 46759344 374.075 100.00% Conn: 1 Mbps: 374.075 Peak Mbps: 374.963 Avg Mbps: 374.075 3001 46870336 374.963 100.00% Conn: 1 Mbps: 374.963 Peak Mbps: 374.963 Avg Mbps: 374.963 4001 47163672 377.309 100.00% Conn: 1 Mbps: 377.309 Peak Mbps: 377.309 Avg Mbps: 377.309 5001 46909976 375.280 100.00% Conn: 1 Mbps: 375.280 Peak Mbps: 377.309 Avg Mbps: 375.280 --- fc00:0:0:1::11 tcpbench statistics --- 281285440 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 374.075/375.318/377.309/1.074 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.294 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.294/0.294/0.294/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.750 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.750/0.750/0.750/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 31507032 251.052 100.00% Conn: 1 Mbps: 251.052 Peak Mbps: 251.052 Avg Mbps: 251.052 2001 31459248 252.685 100.00% Conn: 1 Mbps: 252.685 Peak Mbps: 252.685 Avg Mbps: 252.685 3004 31835728 253.924 100.00% Conn: 1 Mbps: 253.924 Peak Mbps: 253.924 Avg Mbps: 253.924 4006 31944328 255.299 100.00% Conn: 1 Mbps: 255.299 Peak Mbps: 255.299 Avg Mbps: 255.299 5009 31718440 252.989 100.00% Conn: 1 Mbps: 252.989 Peak Mbps: 255.299 Avg Mbps: 252.989 --- 169.254.1.12 tcpbench statistics --- 189941400 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 251.052/253.190/255.299/1.404 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1001 30320724 242.323 100.00% Conn: 1 Mbps: 242.323 Peak Mbps: 242.323 Avg Mbps: 242.323 2003 30277884 241.981 100.00% Conn: 1 Mbps: 241.981 Peak Mbps: 242.323 Avg Mbps: 241.981 3003 30225048 242.042 100.00% Conn: 1 Mbps: 242.042 Peak Mbps: 242.323 Avg Mbps: 242.042 4005 30052260 239.938 100.00% Conn: 1 Mbps: 239.938 Peak Mbps: 242.323 Avg Mbps: 239.938 5008 30436392 242.763 100.00% Conn: 1 Mbps: 242.763 Peak Mbps: 242.763 Avg Mbps: 242.763 --- fc00:0:0:1::12 tcpbench statistics --- 181326012 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 239.938/241.810/242.763/0.976 Mbps ==== run-ping-1-3 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=254 time=0.235 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.235/0.235/0.235/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.332 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.332/0.332/0.332/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 1001 32372204 258.719 100.00% Conn: 1 Mbps: 258.719 Peak Mbps: 258.719 Avg Mbps: 258.719 2001 32650384 261.203 100.00% Conn: 1 Mbps: 261.203 Peak Mbps: 261.203 Avg Mbps: 261.203 3002 32658332 261.267 100.00% Conn: 1 Mbps: 261.267 Peak Mbps: 261.267 Avg Mbps: 261.267 4002 33206744 265.654 100.00% Conn: 1 Mbps: 265.654 Peak Mbps: 265.654 Avg Mbps: 265.654 5003 33159056 265.272 100.00% Conn: 1 Mbps: 265.272 Peak Mbps: 265.654 Avg Mbps: 265.272 --- 169.254.0.13 tcpbench statistics --- 196363288 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 258.719/262.423/265.654/2.650 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 1001 31838848 254.456 100.00% Conn: 1 Mbps: 254.456 Peak Mbps: 254.456 Avg Mbps: 254.456 2002 32148040 256.927 100.00% Conn: 1 Mbps: 256.927 Peak Mbps: 256.927 Avg Mbps: 256.927 3002 31672360 253.379 100.00% Conn: 1 Mbps: 253.379 Peak Mbps: 256.927 Avg Mbps: 253.379 4003 33107328 264.859 100.00% Conn: 1 Mbps: 264.859 Peak Mbps: 264.859 Avg Mbps: 264.859 5003 32544440 260.356 100.00% Conn: 1 Mbps: 260.356 Peak Mbps: 264.859 Avg Mbps: 260.356 --- fc00::13 tcpbench statistics --- 193704824 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 253.379/257.995/264.859/4.187 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.197 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.197/0.197/0.197/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.255 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.255/0.255/0.255/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 31470832 251.515 100.00% Conn: 1 Mbps: 251.515 Peak Mbps: 251.515 Avg Mbps: 251.515 2000 32045688 256.622 100.00% Conn: 1 Mbps: 256.622 Peak Mbps: 256.622 Avg Mbps: 256.622 3001 31730024 253.587 100.00% Conn: 1 Mbps: 253.587 Peak Mbps: 256.622 Avg Mbps: 253.587 4002 31908128 255.265 100.00% Conn: 1 Mbps: 255.265 Peak Mbps: 256.622 Avg Mbps: 255.265 5005 31725680 253.046 100.00% Conn: 1 Mbps: 253.046 Peak Mbps: 256.622 Avg Mbps: 253.046 --- 169.254.1.11 tcpbench statistics --- 190484400 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 251.515/254.007/256.622/1.774 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 30420684 243.122 100.00% Conn: 1 Mbps: 243.122 Peak Mbps: 243.122 Avg Mbps: 243.122 2005 30193632 240.827 100.00% Conn: 1 Mbps: 240.827 Peak Mbps: 243.122 Avg Mbps: 240.827 3005 30296448 242.372 100.00% Conn: 1 Mbps: 242.372 Peak Mbps: 243.122 Avg Mbps: 242.372 4006 30396408 242.928 100.00% Conn: 1 Mbps: 242.928 Peak Mbps: 243.122 Avg Mbps: 242.928 5010 30373560 242.262 100.00% Conn: 1 Mbps: 242.262 Peak Mbps: 243.122 Avg Mbps: 242.262 --- fc00:0:0:1::11 tcpbench statistics --- 181847232 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 240.827/242.302/243.122/0.806 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.191 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.191/0.191/0.191/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.235 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.235/0.235/0.235/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 44369616 354.957 100.00% Conn: 1 Mbps: 354.957 Peak Mbps: 354.957 Avg Mbps: 354.957 2001 44812704 358.502 100.00% Conn: 1 Mbps: 358.502 Peak Mbps: 358.502 Avg Mbps: 358.502 3001 45221040 361.768 100.00% Conn: 1 Mbps: 361.768 Peak Mbps: 361.768 Avg Mbps: 361.768 4002 44578128 356.625 100.00% Conn: 1 Mbps: 356.625 Peak Mbps: 361.768 Avg Mbps: 356.625 5002 44288528 354.308 100.00% Conn: 1 Mbps: 354.308 Peak Mbps: 361.768 Avg Mbps: 354.308 --- 169.254.1.12 tcpbench statistics --- 268864640 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 354.308/357.232/361.768/2.694 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 49387380 395.099 100.00% Conn: 1 Mbps: 395.099 Peak Mbps: 395.099 Avg Mbps: 395.099 2000 48266400 386.518 100.00% Conn: 1 Mbps: 386.518 Peak Mbps: 395.099 Avg Mbps: 386.518 3001 51282336 409.849 100.00% Conn: 1 Mbps: 409.849 Peak Mbps: 409.849 Avg Mbps: 409.849 4001 50743980 405.952 100.00% Conn: 1 Mbps: 405.952 Peak Mbps: 409.849 Avg Mbps: 405.952 5001 50656872 405.661 100.00% Conn: 1 Mbps: 405.661 Peak Mbps: 409.849 Avg Mbps: 405.661 --- fc00:0:0:1::12 tcpbench statistics --- 300851040 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 386.518/400.616/409.849/8.583 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.200 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.200/0.200/0.200/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.241 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.241/0.241/0.241/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 139092316 1112.739 100.00% Conn: 1 Mbps: 1112.739 Peak Mbps: 1112.739 Avg Mbps: 1112.739 2000 140318840 1122.551 100.00% Conn: 1 Mbps: 1122.551 Peak Mbps: 1122.551 Avg Mbps: 1122.551 3000 140973172 1127.785 100.00% Conn: 1 Mbps: 1127.785 Peak Mbps: 1127.785 Avg Mbps: 1127.785 4000 141071308 1128.570 100.00% Conn: 1 Mbps: 1128.570 Peak Mbps: 1128.570 Avg Mbps: 1128.570 5000 140875012 1127.000 100.00% Conn: 1 Mbps: 1127.000 Peak Mbps: 1128.570 Avg Mbps: 1127.000 --- 169.254.0.13 tcpbench statistics --- 843532820 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1112.739/1123.729/1128.570/5.878 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 128086652 1024.693 100.00% Conn: 1 Mbps: 1024.693 Peak Mbps: 1024.693 Avg Mbps: 1024.693 2000 128397192 1027.178 100.00% Conn: 1 Mbps: 1027.178 Peak Mbps: 1027.178 Avg Mbps: 1027.178 3000 128429888 1027.439 100.00% Conn: 1 Mbps: 1027.439 Peak Mbps: 1027.439 Avg Mbps: 1027.439 4000 128266408 1026.131 100.00% Conn: 1 Mbps: 1026.131 Peak Mbps: 1027.439 Avg Mbps: 1026.131 5000 128397192 1027.178 100.00% Conn: 1 Mbps: 1027.178 Peak Mbps: 1027.439 Avg Mbps: 1027.178 --- fc00::13 tcpbench statistics --- 769876436 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1024.693/1026.524/1027.439/1.020 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.228 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.228/0.228/0.228/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.286 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.286/0.286/0.286/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 1002 31619976 252.455 100.00% Conn: 1 Mbps: 252.455 Peak Mbps: 252.455 Avg Mbps: 252.455 2002 31934192 255.474 100.00% Conn: 1 Mbps: 255.474 Peak Mbps: 255.474 Avg Mbps: 255.474 3003 31903784 255.230 100.00% Conn: 1 Mbps: 255.230 Peak Mbps: 255.474 Avg Mbps: 255.230 4003 31899440 255.451 100.00% Conn: 1 Mbps: 255.451 Peak Mbps: 255.474 Avg Mbps: 255.451 5003 31880616 255.045 100.00% Conn: 1 Mbps: 255.045 Peak Mbps: 255.474 Avg Mbps: 255.045 --- 169.254.1.11 tcpbench statistics --- 190989752 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 252.455/254.731/255.474/1.149 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 56982976 455.864 100.00% Conn: 1 Mbps: 455.864 Peak Mbps: 455.864 Avg Mbps: 455.864 2001 56841784 454.280 100.00% Conn: 1 Mbps: 454.280 Peak Mbps: 455.864 Avg Mbps: 454.280 3003 58123752 464.525 100.00% Conn: 1 Mbps: 464.525 Peak Mbps: 464.525 Avg Mbps: 464.525 4003 57128432 457.027 100.00% Conn: 1 Mbps: 457.027 Peak Mbps: 464.525 Avg Mbps: 457.027 5008 58071368 462.720 100.00% Conn: 1 Mbps: 462.720 Peak Mbps: 464.525 Avg Mbps: 462.720 --- fc00:0:0:1::11 tcpbench statistics --- 344215840 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 454.280/458.883/464.525/4.008 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.190 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.190/0.190/0.190/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.244 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.244/0.244/0.244/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 138209432 1105.675 100.00% Conn: 1 Mbps: 1105.675 Peak Mbps: 1105.675 Avg Mbps: 1105.675 2000 140940528 1127.524 100.00% Conn: 1 Mbps: 1127.524 Peak Mbps: 1127.524 Avg Mbps: 1127.524 3000 137897940 1103.184 100.00% Conn: 1 Mbps: 1103.184 Peak Mbps: 1127.524 Avg Mbps: 1103.184 4000 139860900 1118.887 100.00% Conn: 1 Mbps: 1118.887 Peak Mbps: 1127.524 Avg Mbps: 1118.887 5000 139501024 1116.008 100.00% Conn: 1 Mbps: 1116.008 Peak Mbps: 1127.524 Avg Mbps: 1116.008 --- 169.254.1.12 tcpbench statistics --- 836008996 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1103.184/1114.256/1127.524/8.908 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 125995872 1007.967 100.00% Conn: 1 Mbps: 1007.967 Peak Mbps: 1007.967 Avg Mbps: 1007.967 2000 127383616 1019.069 100.00% Conn: 1 Mbps: 1019.069 Peak Mbps: 1019.069 Avg Mbps: 1019.069 3000 127645184 1021.161 100.00% Conn: 1 Mbps: 1021.161 Peak Mbps: 1021.161 Avg Mbps: 1021.161 4000 127481704 1019.854 100.00% Conn: 1 Mbps: 1019.854 Peak Mbps: 1021.161 Avg Mbps: 1019.854 5000 128233712 1025.870 100.00% Conn: 1 Mbps: 1025.870 Peak Mbps: 1025.870 Avg Mbps: 1025.870 --- fc00:0:0:1::12 tcpbench statistics --- 763796744 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1007.967/1018.784/1025.870/5.901 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.193 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.193/0.193/0.193/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.235 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.235/0.235/0.235/0.000 ms ==== run-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 140858822 1126.871 100.00% Conn: 1 Mbps: 1126.871 Peak Mbps: 1126.871 Avg Mbps: 1126.871 2000 141823776 1134.590 100.00% Conn: 1 Mbps: 1134.590 Peak Mbps: 1134.590 Avg Mbps: 1134.590 3000 141071308 1128.570 100.00% Conn: 1 Mbps: 1128.570 Peak Mbps: 1134.590 Avg Mbps: 1128.570 4000 142739836 1141.919 100.00% Conn: 1 Mbps: 1141.919 Peak Mbps: 1141.919 Avg Mbps: 1141.919 5000 147712644 1181.701 100.00% Conn: 1 Mbps: 1181.701 Peak Mbps: 1181.701 Avg Mbps: 1181.701 --- 169.254.0.13 tcpbench statistics --- 858941886 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1126.871/1142.730/1181.701/20.188 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 144712892 1157.703 100.00% Conn: 1 Mbps: 1157.703 Peak Mbps: 1157.703 Avg Mbps: 1157.703 2000 143502744 1148.022 100.00% Conn: 1 Mbps: 1148.022 Peak Mbps: 1157.703 Avg Mbps: 1148.022 3000 144189360 1153.515 100.00% Conn: 1 Mbps: 1153.515 Peak Mbps: 1157.703 Avg Mbps: 1153.515 4000 146314600 1170.517 100.00% Conn: 1 Mbps: 1170.517 Peak Mbps: 1170.517 Avg Mbps: 1170.517 5000 147982096 1183.857 100.00% Conn: 1 Mbps: 1183.857 Peak Mbps: 1183.857 Avg Mbps: 1183.857 --- fc00::13 tcpbench statistics --- 874781876 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1148.022/1162.723/1183.857/12.911 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.67s