START sys/net/pair 2024-11-26T23:07:45Z ==== ifconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 fc00::13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair11 destroy ifconfig: pair11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair12 destroy ifconfig: pair12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/route -n -T 11 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 11 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo12 rdomain 12 /sbin/ifconfig lo12 inet 127.0.0.1/8 /sbin/ifconfig lo12 inet6 ::1/128 /sbin/route -n -T 12 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 12 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 127.0.0.1/8 /sbin/ifconfig lo13 inet6 ::1/128 /sbin/route -n -T 13 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 13 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig pair11 rdomain 11 /sbin/ifconfig pair11 inet 169.254.1.11/24 /sbin/ifconfig pair11 inet6 fc00:0:0:1::11/64 /sbin/ifconfig pair12 rdomain 12 /sbin/ifconfig pair12 inet 169.254.1.12/24 /sbin/ifconfig pair12 inet6 fc00:0:0:1::12/64 /sbin/ifconfig pair11 patch pair12 /sbin/ifconfig lo13 inet 169.254.0.13/24 alias /sbin/ifconfig lo13 inet6 fc00::13/64 /sbin/ifconfig pair11 mtu 8000 /sbin/route -n -T 11 add -inet 169.254.0.13 169.254.1.12 add host 169.254.0.13: gateway 169.254.1.12 /sbin/route -n -T 11 add -inet6 fc00::13 fc00:0:0:1::12 add host fc00::13: gateway fc00:0:0:1::12 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'LO_N1="lo11"' >>addr.py.tmp echo 'PAIR_N1="pair11"' >>addr.py.tmp echo 'IP_N1="169.254.1.11"' >>addr.py.tmp echo 'IP6_N1="fc00:0:0:1::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'LO_N2="lo12"' >>addr.py.tmp echo 'PAIR_N2="pair12"' >>addr.py.tmp echo 'IP_N2="169.254.1.12"' >>addr.py.tmp echo 'IP6_N2="fc00:0:0:1::12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'LO_N3="lo13"' >>addr.py.tmp echo 'PAIR_N3="pair13"' >>addr.py.tmp echo 'IP_N3="169.254.0.13"' >>addr.py.tmp echo 'IP6_N3="fc00::13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1-1 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.174 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.174/0.174/0.174/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.217 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.217/0.217/0.217/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 1001 51264600 409.707 100.00% Conn: 1 Mbps: 409.707 Peak Mbps: 409.707 Avg Mbps: 409.707 2000 50461852 404.099 100.00% Conn: 1 Mbps: 404.099 Peak Mbps: 409.707 Avg Mbps: 404.099 3001 51034108 407.865 100.00% Conn: 1 Mbps: 407.865 Peak Mbps: 409.707 Avg Mbps: 407.865 4001 50120088 400.961 100.00% Conn: 1 Mbps: 400.961 Peak Mbps: 409.707 Avg Mbps: 400.961 5002 50072400 400.579 100.00% Conn: 1 Mbps: 400.579 Peak Mbps: 409.707 Avg Mbps: 400.579 --- 169.254.1.11 tcpbench statistics --- 303581808 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 400.579/404.642/409.707/3.644 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 1001 46196456 369.202 100.00% Conn: 1 Mbps: 369.202 Peak Mbps: 369.202 Avg Mbps: 369.202 2001 45911048 367.288 100.00% Conn: 1 Mbps: 367.288 Peak Mbps: 369.202 Avg Mbps: 367.288 3001 45696992 365.576 100.00% Conn: 1 Mbps: 365.576 Peak Mbps: 369.202 Avg Mbps: 365.576 4002 45364016 362.912 100.00% Conn: 1 Mbps: 362.912 Peak Mbps: 369.202 Avg Mbps: 362.912 5002 45641496 365.497 100.00% Conn: 1 Mbps: 365.497 Peak Mbps: 369.202 Avg Mbps: 365.497 --- fc00:0:0:1::11 tcpbench statistics --- 274443576 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 362.912/366.095/369.202/2.090 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.325 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.325/0.325/0.325/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.755 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.755/0.755/0.755/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1003 30764208 245.378 100.00% Conn: 1 Mbps: 245.378 Peak Mbps: 245.378 Avg Mbps: 245.378 2005 31019056 247.657 100.00% Conn: 1 Mbps: 247.657 Peak Mbps: 247.657 Avg Mbps: 247.657 3008 30819232 245.816 100.00% Conn: 1 Mbps: 245.816 Peak Mbps: 247.657 Avg Mbps: 245.816 4008 30907560 247.508 100.00% Conn: 1 Mbps: 247.508 Peak Mbps: 247.657 Avg Mbps: 247.508 5008 30810544 246.484 100.00% Conn: 1 Mbps: 246.484 Peak Mbps: 247.657 Avg Mbps: 246.484 --- 169.254.1.12 tcpbench statistics --- 184718464 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 245.378/246.569/247.657/0.901 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 29860908 238.887 100.00% Conn: 1 Mbps: 238.887 Peak Mbps: 238.887 Avg Mbps: 238.887 2003 29782368 237.546 100.00% Conn: 1 Mbps: 237.546 Peak Mbps: 238.887 Avg Mbps: 237.546 3000 29785224 238.999 100.00% Conn: 1 Mbps: 238.999 Peak Mbps: 238.999 Avg Mbps: 238.999 4003 30206484 241.170 100.00% Conn: 1 Mbps: 241.170 Peak Mbps: 241.170 Avg Mbps: 241.170 5005 30466380 243.488 100.00% Conn: 1 Mbps: 243.488 Peak Mbps: 243.488 Avg Mbps: 243.488 --- fc00:0:0:1::12 tcpbench statistics --- 180477780 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 237.546/240.018/243.488/2.088 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.238 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.238/0.238/0.238/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.315 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.315/0.315/0.315/0.000 ms ==== run-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 31251536 249.763 100.00% Conn: 1 Mbps: 249.763 Peak Mbps: 249.763 Avg Mbps: 249.763 2001 31839688 254.972 100.00% Conn: 1 Mbps: 254.972 Peak Mbps: 254.972 Avg Mbps: 254.972 3000 31323068 250.835 100.00% Conn: 1 Mbps: 250.835 Peak Mbps: 254.972 Avg Mbps: 250.835 4000 31815844 254.527 100.00% Conn: 1 Mbps: 254.527 Peak Mbps: 254.972 Avg Mbps: 254.527 5001 31156160 249.249 100.00% Conn: 1 Mbps: 249.249 Peak Mbps: 254.972 Avg Mbps: 249.249 --- 169.254.0.13 tcpbench statistics --- 188502716 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 249.249/251.869/254.972/2.411 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 32964624 263.454 100.00% Conn: 1 Mbps: 263.454 Peak Mbps: 263.454 Avg Mbps: 263.454 2001 33257960 266.064 100.00% Conn: 1 Mbps: 266.064 Peak Mbps: 266.064 Avg Mbps: 266.064 3002 32687144 261.497 100.00% Conn: 1 Mbps: 261.497 Peak Mbps: 266.064 Avg Mbps: 261.497 4002 33012192 264.098 100.00% Conn: 1 Mbps: 264.098 Peak Mbps: 266.064 Avg Mbps: 264.098 5002 34011120 272.089 100.00% Conn: 1 Mbps: 272.089 Peak Mbps: 272.089 Avg Mbps: 272.089 --- fc00::13 tcpbench statistics --- 198382344 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 261.497/265.440/272.089/3.630 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.188 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.188/0.188/0.188/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.248 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.248/0.248/0.248/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 30754072 246.033 100.00% Conn: 1 Mbps: 246.033 Peak Mbps: 246.033 Avg Mbps: 246.033 2001 30797512 246.134 100.00% Conn: 1 Mbps: 246.134 Peak Mbps: 246.134 Avg Mbps: 246.134 3001 30651264 245.456 100.00% Conn: 1 Mbps: 245.456 Peak Mbps: 246.134 Avg Mbps: 245.456 4001 30470264 244.006 100.00% Conn: 1 Mbps: 244.006 Peak Mbps: 246.134 Avg Mbps: 244.006 5005 30829368 245.897 100.00% Conn: 1 Mbps: 245.897 Peak Mbps: 246.134 Avg Mbps: 245.897 --- 169.254.1.11 tcpbench statistics --- 184127680 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 244.006/245.505/246.134/0.784 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 1000 30000852 240.007 100.00% Conn: 1 Mbps: 240.007 Peak Mbps: 240.007 Avg Mbps: 240.007 2003 30156504 240.770 100.00% Conn: 1 Mbps: 240.770 Peak Mbps: 240.770 Avg Mbps: 240.770 3001 29939448 240.236 100.00% Conn: 1 Mbps: 240.236 Peak Mbps: 240.770 Avg Mbps: 240.236 4004 29799504 237.683 100.00% Conn: 1 Mbps: 237.683 Peak Mbps: 240.770 Avg Mbps: 237.683 5001 29608152 237.578 100.00% Conn: 1 Mbps: 237.578 Peak Mbps: 240.770 Avg Mbps: 237.578 --- fc00:0:0:1::11 tcpbench statistics --- 179391072 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 237.578/239.255/240.770/1.350 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.176 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.176/0.176/0.176/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.225 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.225/0.225/0.225/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 1002 43217008 345.046 100.00% Conn: 1 Mbps: 345.046 Peak Mbps: 345.046 Avg Mbps: 345.046 2003 43775936 349.858 100.00% Conn: 1 Mbps: 349.858 Peak Mbps: 349.858 Avg Mbps: 349.858 3004 43794760 350.358 100.00% Conn: 1 Mbps: 350.358 Peak Mbps: 350.358 Avg Mbps: 350.358 4004 43613760 348.910 100.00% Conn: 1 Mbps: 348.910 Peak Mbps: 350.358 Avg Mbps: 348.910 5005 43927976 351.424 100.00% Conn: 1 Mbps: 351.424 Peak Mbps: 351.424 Avg Mbps: 351.424 --- 169.254.1.12 tcpbench statistics --- 261597128 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 345.046/349.119/351.424/2.192 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 47382468 379.060 100.00% Conn: 1 Mbps: 379.060 Peak Mbps: 379.060 Avg Mbps: 379.060 2001 47845140 382.761 100.00% Conn: 1 Mbps: 382.761 Peak Mbps: 382.761 Avg Mbps: 382.761 3001 46594212 372.754 100.00% Conn: 1 Mbps: 372.754 Peak Mbps: 382.761 Avg Mbps: 372.754 4001 46825548 374.604 100.00% Conn: 1 Mbps: 374.604 Peak Mbps: 382.761 Avg Mbps: 374.604 5002 46925508 375.404 100.00% Conn: 1 Mbps: 375.404 Peak Mbps: 382.761 Avg Mbps: 375.404 --- fc00:0:0:1::12 tcpbench statistics --- 282332736 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 372.754/376.917/382.761/3.570 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.177 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.177/0.177/0.177/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.229 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.229/0.229/0.229/0.000 ms ==== run-tcpbench-2-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 136982362 1095.859 100.00% Conn: 1 Mbps: 1095.859 Peak Mbps: 1095.859 Avg Mbps: 1095.859 2000 138061520 1104.492 100.00% Conn: 1 Mbps: 1104.492 Peak Mbps: 1104.492 Avg Mbps: 1104.492 3000 137832508 1102.660 100.00% Conn: 1 Mbps: 1102.660 Peak Mbps: 1104.492 Avg Mbps: 1102.660 4000 137799792 1102.398 100.00% Conn: 1 Mbps: 1102.398 Peak Mbps: 1104.492 Avg Mbps: 1102.398 5000 137930656 1103.445 100.00% Conn: 1 Mbps: 1103.445 Peak Mbps: 1104.492 Avg Mbps: 1103.445 --- 169.254.0.13 tcpbench statistics --- 826602926 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1095.859/1101.771/1104.492/3.044 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 127302308 1018.418 100.00% Conn: 1 Mbps: 1018.418 Peak Mbps: 1018.418 Avg Mbps: 1018.418 2000 128201016 1026.635 100.00% Conn: 1 Mbps: 1026.635 Peak Mbps: 1026.635 Avg Mbps: 1026.635 3000 128004840 1024.039 100.00% Conn: 1 Mbps: 1024.039 Peak Mbps: 1026.635 Avg Mbps: 1024.039 4000 128331800 1026.654 100.00% Conn: 1 Mbps: 1026.654 Peak Mbps: 1026.654 Avg Mbps: 1026.654 5001 128331800 1026.654 100.00% Conn: 1 Mbps: 1026.654 Peak Mbps: 1026.654 Avg Mbps: 1026.654 --- fc00::13 tcpbench statistics --- 768241996 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1018.418/1024.480/1026.654/3.195 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.196 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.196/0.196/0.196/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.263 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.263/0.263/0.263/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 30659952 244.790 100.00% Conn: 1 Mbps: 244.790 Peak Mbps: 244.790 Avg Mbps: 244.790 2002 30515152 244.121 100.00% Conn: 1 Mbps: 244.121 Peak Mbps: 244.790 Avg Mbps: 244.121 3004 30651264 244.721 100.00% Conn: 1 Mbps: 244.721 Peak Mbps: 244.790 Avg Mbps: 244.721 4005 30704840 245.639 100.00% Conn: 1 Mbps: 245.639 Peak Mbps: 245.639 Avg Mbps: 245.639 5006 30946656 247.326 100.00% Conn: 1 Mbps: 247.326 Peak Mbps: 247.326 Avg Mbps: 247.326 --- 169.254.1.11 tcpbench statistics --- 184263792 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 244.121/245.319/247.326/1.114 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 57349944 458.800 100.00% Conn: 1 Mbps: 458.800 Peak Mbps: 458.800 Avg Mbps: 458.800 2003 57444488 458.639 100.00% Conn: 1 Mbps: 458.639 Peak Mbps: 458.800 Avg Mbps: 458.639 3005 57618928 460.031 100.00% Conn: 1 Mbps: 460.031 Peak Mbps: 460.031 Avg Mbps: 460.031 4006 56457040 451.656 100.00% Conn: 1 Mbps: 451.656 Peak Mbps: 460.031 Avg Mbps: 451.656 5006 56975432 455.803 100.00% Conn: 1 Mbps: 455.803 Peak Mbps: 460.031 Avg Mbps: 455.803 --- fc00:0:0:1::11 tcpbench statistics --- 343093160 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 451.656/456.986/460.031/3.003 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.196 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.196/0.196/0.196/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.238 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.238/0.238/0.238/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 136720906 1093.767 100.00% Conn: 1 Mbps: 1093.767 Peak Mbps: 1093.767 Avg Mbps: 1093.767 2000 138061520 1104.492 100.00% Conn: 1 Mbps: 1104.492 Peak Mbps: 1104.492 Avg Mbps: 1104.492 3000 137996088 1103.969 100.00% Conn: 1 Mbps: 1103.969 Peak Mbps: 1104.492 Avg Mbps: 1103.969 4000 137832508 1102.660 100.00% Conn: 1 Mbps: 1102.660 Peak Mbps: 1104.492 Avg Mbps: 1102.660 5000 137832508 1102.660 100.00% Conn: 1 Mbps: 1102.660 Peak Mbps: 1104.492 Avg Mbps: 1102.660 --- 169.254.1.12 tcpbench statistics --- 826243322 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1093.767/1101.510/1104.492/3.938 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 126419244 1011.354 100.00% Conn: 1 Mbps: 1011.354 Peak Mbps: 1011.354 Avg Mbps: 1011.354 2000 127023960 1016.192 100.00% Conn: 1 Mbps: 1016.192 Peak Mbps: 1016.192 Avg Mbps: 1016.192 3000 127285528 1018.284 100.00% Conn: 1 Mbps: 1018.284 Peak Mbps: 1018.284 Avg Mbps: 1018.284 4000 127285528 1018.284 100.00% Conn: 1 Mbps: 1018.284 Peak Mbps: 1018.284 Avg Mbps: 1018.284 5000 127416312 1019.330 100.00% Conn: 1 Mbps: 1019.330 Peak Mbps: 1019.330 Avg Mbps: 1019.330 --- fc00:0:0:1::12 tcpbench statistics --- 763108452 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1011.354/1016.689/1019.330/2.856 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.179 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.179/0.179/0.179/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.225 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.225/0.225/0.225/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 137963886 1103.711 100.00% Conn: 1 Mbps: 1103.711 Peak Mbps: 1103.711 Avg Mbps: 1103.711 2000 138650324 1109.203 100.00% Conn: 1 Mbps: 1109.203 Peak Mbps: 1109.203 Avg Mbps: 1109.203 3000 138519472 1108.156 100.00% Conn: 1 Mbps: 1108.156 Peak Mbps: 1109.203 Avg Mbps: 1108.156 4000 138813904 1110.511 100.00% Conn: 1 Mbps: 1110.511 Peak Mbps: 1110.511 Avg Mbps: 1110.511 5000 139860816 1118.887 100.00% Conn: 1 Mbps: 1118.887 Peak Mbps: 1118.887 Avg Mbps: 1118.887 --- 169.254.0.13 tcpbench statistics --- 832687750 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1103.711/1110.093/1118.887/4.955 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 137945108 1103.561 100.00% Conn: 1 Mbps: 1103.561 Peak Mbps: 1103.561 Avg Mbps: 1103.561 2000 143502744 1148.022 100.00% Conn: 1 Mbps: 1148.022 Peak Mbps: 1148.022 Avg Mbps: 1148.022 3000 140167752 1121.342 100.00% Conn: 1 Mbps: 1121.342 Peak Mbps: 1148.022 Avg Mbps: 1121.342 4000 143339264 1146.714 100.00% Conn: 1 Mbps: 1146.714 Peak Mbps: 1148.022 Avg Mbps: 1146.714 5000 142554560 1140.436 100.00% Conn: 1 Mbps: 1140.436 Peak Mbps: 1148.022 Avg Mbps: 1140.436 --- fc00::13 tcpbench statistics --- 847284828 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1103.561/1132.015/1148.022/17.128 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.56s