START sys/net/pair 2024-09-26T00:48: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.284 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.284/0.284/0.284/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.364 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.364/0.364/0.364/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 104961288 839.690 100.00% Conn: 1 Mbps: 839.690 Peak Mbps: 839.690 Avg Mbps: 839.690 2000 102696108 822.391 100.00% Conn: 1 Mbps: 822.391 Peak Mbps: 839.690 Avg Mbps: 822.391 3000 102926600 823.413 100.00% Conn: 1 Mbps: 823.413 Peak Mbps: 839.690 Avg Mbps: 823.413 4000 102958392 823.667 100.00% Conn: 1 Mbps: 823.667 Peak Mbps: 839.690 Avg Mbps: 823.667 5000 102759692 822.078 100.00% Conn: 1 Mbps: 822.078 Peak Mbps: 839.690 Avg Mbps: 822.078 --- 169.254.1.11 tcpbench statistics --- 618799488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 822.078/826.248/839.690/6.748 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 104094640 832.757 100.00% Conn: 1 Mbps: 832.757 Peak Mbps: 832.757 Avg Mbps: 832.757 2000 102413904 820.131 100.00% Conn: 1 Mbps: 820.131 Peak Mbps: 832.757 Avg Mbps: 820.131 3000 102794448 822.356 100.00% Conn: 1 Mbps: 822.356 Peak Mbps: 832.757 Avg Mbps: 822.356 4000 102873728 823.814 100.00% Conn: 1 Mbps: 823.814 Peak Mbps: 832.757 Avg Mbps: 823.814 5000 103198776 825.590 100.00% Conn: 1 Mbps: 825.590 Peak Mbps: 832.757 Avg Mbps: 825.590 --- fc00:0:0:1::11 tcpbench statistics --- 618225440 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 820.131/824.930/832.757/4.303 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.420 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.420/0.420/0.420/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.999 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.999/0.999/0.999/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 1002 29217744 233.275 100.00% Conn: 1 Mbps: 233.275 Peak Mbps: 233.275 Avg Mbps: 233.275 2005 29359648 234.175 100.00% Conn: 1 Mbps: 234.175 Peak Mbps: 234.175 Avg Mbps: 234.175 3008 29442184 235.067 100.00% Conn: 1 Mbps: 235.067 Peak Mbps: 235.067 Avg Mbps: 235.067 4010 29458112 235.195 100.00% Conn: 1 Mbps: 235.195 Peak Mbps: 235.195 Avg Mbps: 235.195 5012 29372680 234.747 100.00% Conn: 1 Mbps: 234.747 Peak Mbps: 235.195 Avg Mbps: 234.747 --- 169.254.1.12 tcpbench statistics --- 176020328 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 233.275/234.492/235.195/0.703 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1002 27360480 218.447 100.00% Conn: 1 Mbps: 218.447 Peak Mbps: 218.447 Avg Mbps: 218.447 2004 27480432 219.405 100.00% Conn: 1 Mbps: 219.405 Peak Mbps: 219.405 Avg Mbps: 219.405 3004 27377616 219.021 100.00% Conn: 1 Mbps: 219.021 Peak Mbps: 219.405 Avg Mbps: 219.021 4007 27429024 218.994 100.00% Conn: 1 Mbps: 218.994 Peak Mbps: 219.405 Avg Mbps: 218.994 5011 27570396 219.684 100.00% Conn: 1 Mbps: 219.684 Peak Mbps: 219.684 Avg Mbps: 219.684 --- fc00:0:0:1::12 tcpbench statistics --- 164289972 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 218.447/219.110/219.684/0.419 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.399 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.399/0.399/0.399/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.522 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.522/0.522/0.522/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 46265308 369.753 100.00% Conn: 1 Mbps: 369.753 Peak Mbps: 369.753 Avg Mbps: 369.753 2001 46114296 368.914 100.00% Conn: 1 Mbps: 368.914 Peak Mbps: 369.753 Avg Mbps: 368.914 3001 46265308 370.122 100.00% Conn: 1 Mbps: 370.122 Peak Mbps: 370.122 Avg Mbps: 370.122 4001 46233516 369.868 100.00% Conn: 1 Mbps: 369.868 Peak Mbps: 370.122 Avg Mbps: 369.868 5001 46185828 369.487 100.00% Conn: 1 Mbps: 369.487 Peak Mbps: 370.122 Avg Mbps: 369.487 --- 169.254.0.13 tcpbench statistics --- 277130864 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 368.914/369.629/370.122/0.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 1001 41233528 329.539 100.00% Conn: 1 Mbps: 329.539 Peak Mbps: 329.539 Avg Mbps: 329.539 2000 41122536 329.640 100.00% Conn: 1 Mbps: 329.640 Peak Mbps: 329.640 Avg Mbps: 329.640 3000 41185960 329.488 100.00% Conn: 1 Mbps: 329.488 Peak Mbps: 329.640 Avg Mbps: 329.488 4001 41249384 329.995 100.00% Conn: 1 Mbps: 329.995 Peak Mbps: 329.995 Avg Mbps: 329.995 5002 41344520 330.756 100.00% Conn: 1 Mbps: 330.756 Peak Mbps: 330.756 Avg Mbps: 330.756 --- fc00::13 tcpbench statistics --- 247258464 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 329.488/329.883/330.756/0.471 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.319 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.319/0.319/0.319/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.427 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.427/0.427/0.427/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 29463904 235.241 100.00% Conn: 1 Mbps: 235.241 Peak Mbps: 235.241 Avg Mbps: 235.241 2005 29508792 235.599 100.00% Conn: 1 Mbps: 235.599 Peak Mbps: 235.599 Avg Mbps: 235.599 3005 29442184 235.537 100.00% Conn: 1 Mbps: 235.537 Peak Mbps: 235.599 Avg Mbps: 235.537 4008 29589880 236.011 100.00% Conn: 1 Mbps: 236.011 Peak Mbps: 236.011 Avg Mbps: 236.011 5007 29411776 235.530 100.00% Conn: 1 Mbps: 235.530 Peak Mbps: 236.011 Avg Mbps: 235.530 --- 169.254.1.11 tcpbench statistics --- 176883336 bytes sent over 6.007 seconds bandwidth min/avg/max/std-dev = 235.241/235.584/236.011/0.247 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 27400464 218.985 100.00% Conn: 1 Mbps: 218.985 Peak Mbps: 218.985 Avg Mbps: 218.985 2003 27473292 219.348 100.00% Conn: 1 Mbps: 219.348 Peak Mbps: 219.348 Avg Mbps: 219.348 3004 27397608 219.181 100.00% Conn: 1 Mbps: 219.181 Peak Mbps: 219.348 Avg Mbps: 219.181 4004 27457584 219.661 100.00% Conn: 1 Mbps: 219.661 Peak Mbps: 219.661 Avg Mbps: 219.661 5005 27483288 219.647 100.00% Conn: 1 Mbps: 219.647 Peak Mbps: 219.661 Avg Mbps: 219.647 --- fc00:0:0:1::11 tcpbench statistics --- 164448480 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 218.985/219.364/219.661/0.263 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.278 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.278/0.278/0.278/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.367 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.367/0.367/0.367/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 96166024 769.328 100.00% Conn: 1 Mbps: 769.328 Peak Mbps: 769.328 Avg Mbps: 769.328 2000 91900216 735.938 100.00% Conn: 1 Mbps: 735.938 Peak Mbps: 769.328 Avg Mbps: 735.938 3000 91878496 735.028 100.00% Conn: 1 Mbps: 735.028 Peak Mbps: 769.328 Avg Mbps: 735.028 4000 91406448 731.252 100.00% Conn: 1 Mbps: 731.252 Peak Mbps: 769.328 Avg Mbps: 731.252 5000 91603376 732.827 100.00% Conn: 1 Mbps: 732.827 Peak Mbps: 769.328 Avg Mbps: 732.827 --- 169.254.1.12 tcpbench statistics --- 555015504 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 731.252/740.874/769.328/14.322 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 86286900 690.295 100.00% Conn: 1 Mbps: 690.295 Peak Mbps: 690.295 Avg Mbps: 690.295 2000 83986392 671.891 100.00% Conn: 1 Mbps: 671.891 Peak Mbps: 690.295 Avg Mbps: 671.891 3000 84014952 672.120 100.00% Conn: 1 Mbps: 672.120 Peak Mbps: 690.295 Avg Mbps: 672.120 4000 84134904 673.079 100.00% Conn: 1 Mbps: 673.079 Peak Mbps: 690.295 Avg Mbps: 673.079 5000 84180600 673.445 100.00% Conn: 1 Mbps: 673.445 Peak Mbps: 690.295 Avg Mbps: 673.445 --- fc00:0:0:1::12 tcpbench statistics --- 506604420 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 671.891/676.166/690.295/7.088 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.299 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.299/0.299/0.299/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 98442580 787.541 100.00% Conn: 1 Mbps: 787.541 Peak Mbps: 787.541 Avg Mbps: 787.541 2000 89707224 717.658 100.00% Conn: 1 Mbps: 717.658 Peak Mbps: 787.541 Avg Mbps: 717.658 3000 89707224 717.658 100.00% Conn: 1 Mbps: 717.658 Peak Mbps: 787.541 Avg Mbps: 717.658 4001 89249188 713.994 100.00% Conn: 1 Mbps: 713.994 Peak Mbps: 787.541 Avg Mbps: 713.994 5001 89707224 717.658 100.00% Conn: 1 Mbps: 717.658 Peak Mbps: 787.541 Avg Mbps: 717.658 --- 169.254.0.13 tcpbench statistics --- 545997208 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 713.994/730.902/787.541/28.355 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 127662088 1021.297 100.00% Conn: 1 Mbps: 1021.297 Peak Mbps: 1021.297 Avg Mbps: 1021.297 2000 121629120 974.007 100.00% Conn: 1 Mbps: 974.007 Peak Mbps: 1021.297 Avg Mbps: 974.007 3000 120779024 966.232 100.00% Conn: 1 Mbps: 966.232 Peak Mbps: 1021.297 Avg Mbps: 966.232 4000 121498336 971.987 100.00% Conn: 1 Mbps: 971.987 Peak Mbps: 1021.297 Avg Mbps: 971.987 5001 120909808 967.278 100.00% Conn: 1 Mbps: 967.278 Peak Mbps: 1021.297 Avg Mbps: 967.278 --- fc00::13 tcpbench statistics --- 734107496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 966.232/980.160/1021.297/20.769 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.337 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.337/0.337/0.337/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.453 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.453/0.453/0.453/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 28613928 228.683 100.00% Conn: 1 Mbps: 228.683 Peak Mbps: 228.683 Avg Mbps: 228.683 2002 28776104 229.979 100.00% Conn: 1 Mbps: 229.979 Peak Mbps: 229.979 Avg Mbps: 229.979 3003 28738456 229.678 100.00% Conn: 1 Mbps: 229.678 Peak Mbps: 229.979 Avg Mbps: 229.678 4005 28752936 229.794 100.00% Conn: 1 Mbps: 229.794 Peak Mbps: 229.979 Avg Mbps: 229.794 5007 28705152 229.183 100.00% Conn: 1 Mbps: 229.183 Peak Mbps: 229.979 Avg Mbps: 229.183 --- 169.254.1.11 tcpbench statistics --- 172232360 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 228.683/229.463/229.979/0.471 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 1002 47276800 377.459 100.00% Conn: 1 Mbps: 377.459 Peak Mbps: 377.459 Avg Mbps: 377.459 2002 46889880 375.119 100.00% Conn: 1 Mbps: 375.119 Peak Mbps: 377.459 Avg Mbps: 375.119 3005 46905864 374.498 100.00% Conn: 1 Mbps: 374.498 Peak Mbps: 377.459 Avg Mbps: 374.498 4006 46893368 374.772 100.00% Conn: 1 Mbps: 374.772 Peak Mbps: 377.459 Avg Mbps: 374.772 5013 47010800 373.843 100.00% Conn: 1 Mbps: 373.843 Peak Mbps: 377.459 Avg Mbps: 373.843 --- fc00:0:0:1::11 tcpbench statistics --- 281226008 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 373.843/375.138/377.459/1.234 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.308 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.308/0.308/0.308/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.413 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.413/0.413/0.413/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 105232304 841.858 100.00% Conn: 1 Mbps: 841.858 Peak Mbps: 841.858 Avg Mbps: 841.858 2000 92193688 738.288 100.00% Conn: 1 Mbps: 738.288 Peak Mbps: 841.858 Avg Mbps: 738.288 3000 92815292 742.522 100.00% Conn: 1 Mbps: 742.522 Peak Mbps: 841.858 Avg Mbps: 742.522 4000 93011588 744.093 100.00% Conn: 1 Mbps: 744.093 Peak Mbps: 841.858 Avg Mbps: 744.093 5001 91735664 733.885 100.00% Conn: 1 Mbps: 733.885 Peak Mbps: 841.858 Avg Mbps: 733.885 --- 169.254.1.12 tcpbench statistics --- 566364324 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 733.885/760.129/841.858/41.019 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 133630604 1069.045 100.00% Conn: 1 Mbps: 1069.045 Peak Mbps: 1069.045 Avg Mbps: 1069.045 2000 127187440 1017.500 100.00% Conn: 1 Mbps: 1017.500 Peak Mbps: 1069.045 Avg Mbps: 1017.500 3000 127023960 1016.192 100.00% Conn: 1 Mbps: 1016.192 Peak Mbps: 1069.045 Avg Mbps: 1016.192 4000 126664304 1013.314 100.00% Conn: 1 Mbps: 1013.314 Peak Mbps: 1069.045 Avg Mbps: 1013.314 5000 126370040 1010.960 100.00% Conn: 1 Mbps: 1010.960 Peak Mbps: 1069.045 Avg Mbps: 1010.960 --- fc00:0:0:1::12 tcpbench statistics --- 767050212 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1010.960/1025.402/1069.045/21.939 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.280 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.280/0.280/0.280/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.359 ms --- fc00::13 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-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 138768058 1110.144 100.00% Conn: 1 Mbps: 1110.144 Peak Mbps: 1110.144 Avg Mbps: 1110.144 2000 131583752 1053.724 100.00% Conn: 1 Mbps: 1053.724 Peak Mbps: 1110.144 Avg Mbps: 1053.724 3001 132091266 1056.730 100.00% Conn: 1 Mbps: 1056.730 Peak Mbps: 1110.144 Avg Mbps: 1056.730 4001 91081344 728.651 100.00% Conn: 1 Mbps: 728.651 Peak Mbps: 1110.144 Avg Mbps: 728.651 5001 90623320 724.987 100.00% Conn: 1 Mbps: 724.987 Peak Mbps: 1110.144 Avg Mbps: 724.987 --- 169.254.0.13 tcpbench statistics --- 675229084 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 724.987/934.847/1110.144/171.041 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 133482320 1067.859 100.00% Conn: 1 Mbps: 1067.859 Peak Mbps: 1067.859 Avg Mbps: 1067.859 2000 126304648 1011.449 100.00% Conn: 1 Mbps: 1011.449 Peak Mbps: 1067.859 Avg Mbps: 1011.449 3000 126010384 1008.083 100.00% Conn: 1 Mbps: 1008.083 Peak Mbps: 1067.859 Avg Mbps: 1008.083 4000 126206560 1009.652 100.00% Conn: 1 Mbps: 1009.652 Peak Mbps: 1067.859 Avg Mbps: 1009.652 5000 126239256 1009.914 100.00% Conn: 1 Mbps: 1009.914 Peak Mbps: 1067.859 Avg Mbps: 1009.914 --- fc00::13 tcpbench statistics --- 764024680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1008.083/1021.391/1067.859/23.258 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 2m11.82s