START sys/net/pair 2024-07-05T22:11:39Z ==== 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.192 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.192/0.192/0.192/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.230 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.230/0.230/0.230/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 51900440 415.204 100.00% Conn: 1 Mbps: 415.204 Peak Mbps: 415.204 Avg Mbps: 415.204 2001 51725584 413.805 100.00% Conn: 1 Mbps: 413.805 Peak Mbps: 415.204 Avg Mbps: 413.805 3001 51677896 413.837 100.00% Conn: 1 Mbps: 413.837 Peak Mbps: 415.204 Avg Mbps: 413.837 4001 52623708 420.990 100.00% Conn: 1 Mbps: 420.990 Peak Mbps: 420.990 Avg Mbps: 420.990 5002 51638156 413.105 100.00% Conn: 1 Mbps: 413.105 Peak Mbps: 420.990 Avg Mbps: 413.105 --- 169.254.1.11 tcpbench statistics --- 310957552 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 413.105/415.388/420.990/2.882 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 46315376 370.153 100.00% Conn: 1 Mbps: 370.153 Peak Mbps: 370.153 Avg Mbps: 370.153 2001 46450152 371.601 100.00% Conn: 1 Mbps: 371.601 Peak Mbps: 371.601 Avg Mbps: 371.601 3001 46743488 373.948 100.00% Conn: 1 Mbps: 373.948 Peak Mbps: 373.948 Avg Mbps: 373.948 4001 47028896 376.231 100.00% Conn: 1 Mbps: 376.231 Peak Mbps: 376.231 Avg Mbps: 376.231 5002 46743488 373.948 100.00% Conn: 1 Mbps: 373.948 Peak Mbps: 376.231 Avg Mbps: 373.948 --- fc00:0:0:1::11 tcpbench statistics --- 280841472 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 370.153/373.176/376.231/2.105 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.267 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.267/0.267/0.267/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.649 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.649/0.649/0.649/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 1001 31201504 249.363 100.00% Conn: 1 Mbps: 249.363 Peak Mbps: 249.363 Avg Mbps: 249.363 2001 31577984 252.877 100.00% Conn: 1 Mbps: 252.877 Peak Mbps: 252.877 Avg Mbps: 252.877 3005 31582328 251.652 100.00% Conn: 1 Mbps: 251.652 Peak Mbps: 252.877 Avg Mbps: 251.652 4005 31517168 252.390 100.00% Conn: 1 Mbps: 252.390 Peak Mbps: 252.877 Avg Mbps: 252.390 5007 31553368 251.923 100.00% Conn: 1 Mbps: 251.923 Peak Mbps: 252.877 Avg Mbps: 251.923 --- 169.254.1.12 tcpbench statistics --- 188628064 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 249.363/251.641/252.877/1.213 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 30069396 240.555 100.00% Conn: 1 Mbps: 240.555 Peak Mbps: 240.555 Avg Mbps: 240.555 2003 30389268 242.629 100.00% Conn: 1 Mbps: 242.629 Peak Mbps: 242.629 Avg Mbps: 242.629 3007 30307872 241.738 100.00% Conn: 1 Mbps: 241.738 Peak Mbps: 242.629 Avg Mbps: 241.738 4007 30476376 244.055 100.00% Conn: 1 Mbps: 244.055 Peak Mbps: 244.055 Avg Mbps: 244.055 5010 30749124 245.257 100.00% Conn: 1 Mbps: 245.257 Peak Mbps: 245.257 Avg Mbps: 245.257 --- fc00:0:0:1::12 tcpbench statistics --- 182494116 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 240.555/242.847/245.257/1.661 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.242 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.242/0.242/0.242/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.342 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.342/0.342/0.342/0.000 ms ==== run-tcpbench-1-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 31569456 252.556 100.00% Conn: 1 Mbps: 252.556 Peak Mbps: 252.556 Avg Mbps: 252.556 2000 31593300 252.746 100.00% Conn: 1 Mbps: 252.746 Peak Mbps: 252.746 Avg Mbps: 252.746 3000 31370756 250.966 100.00% Conn: 1 Mbps: 250.966 Peak Mbps: 252.746 Avg Mbps: 250.966 4002 31323068 250.334 100.00% Conn: 1 Mbps: 250.334 Peak Mbps: 252.746 Avg Mbps: 250.334 5001 32149660 257.455 100.00% Conn: 1 Mbps: 257.455 Peak Mbps: 257.455 Avg Mbps: 257.455 --- 169.254.0.13 tcpbench statistics --- 189575696 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 250.334/252.811/257.455/2.497 Mbps ==== run-tcpbench6-1-3 ==== rm -f nc.log nc -6 -v -l -V 13 fc00::13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00::13 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00::13 elapsed_ms bytes mbps bwidth 1000 31077760 248.622 100.00% Conn: 1 Mbps: 248.622 Peak Mbps: 248.622 Avg Mbps: 248.622 2001 31133256 248.817 100.00% Conn: 1 Mbps: 248.817 Peak Mbps: 248.817 Avg Mbps: 248.817 3001 31513800 252.110 100.00% Conn: 1 Mbps: 252.110 Peak Mbps: 252.110 Avg Mbps: 252.110 4002 31466232 251.730 100.00% Conn: 1 Mbps: 251.730 Peak Mbps: 252.110 Avg Mbps: 251.730 5002 31727856 254.077 100.00% Conn: 1 Mbps: 254.077 Peak Mbps: 254.077 Avg Mbps: 254.077 --- fc00::13 tcpbench statistics --- 187782608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 248.622/251.071/254.077/2.080 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.192 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.192/0.192/0.192/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.258 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.258/0.258/0.258/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 31570744 252.314 100.00% Conn: 1 Mbps: 252.314 Peak Mbps: 252.314 Avg Mbps: 252.314 2001 31805320 254.443 100.00% Conn: 1 Mbps: 254.443 Peak Mbps: 254.443 Avg Mbps: 254.443 3003 31728576 253.575 100.00% Conn: 1 Mbps: 253.575 Peak Mbps: 254.443 Avg Mbps: 253.575 4006 31737264 253.391 100.00% Conn: 1 Mbps: 253.391 Peak Mbps: 254.443 Avg Mbps: 253.391 5008 31656176 252.996 100.00% Conn: 1 Mbps: 252.996 Peak Mbps: 254.443 Avg Mbps: 252.996 --- 169.254.1.11 tcpbench statistics --- 190065928 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 252.314/253.344/254.443/0.699 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 30069396 240.555 100.00% Conn: 1 Mbps: 240.555 Peak Mbps: 240.555 Avg Mbps: 240.555 2003 30364992 242.193 100.00% Conn: 1 Mbps: 242.193 Peak Mbps: 242.193 Avg Mbps: 242.193 3001 30169356 241.839 100.00% Conn: 1 Mbps: 241.839 Peak Mbps: 242.193 Avg Mbps: 241.839 4003 30262176 241.856 100.00% Conn: 1 Mbps: 241.856 Peak Mbps: 242.193 Avg Mbps: 241.856 5005 30195060 241.319 100.00% Conn: 1 Mbps: 241.319 Peak Mbps: 242.193 Avg Mbps: 241.319 --- fc00:0:0:1::11 tcpbench statistics --- 181077540 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 240.555/241.552/242.193/0.572 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.194 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.194/0.194/0.194/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 1001 44077120 352.265 100.00% Conn: 1 Mbps: 352.265 Peak Mbps: 352.265 Avg Mbps: 352.265 2000 43959832 352.031 100.00% Conn: 1 Mbps: 352.031 Peak Mbps: 352.265 Avg Mbps: 352.031 3001 44187168 353.497 100.00% Conn: 1 Mbps: 353.497 Peak Mbps: 353.497 Avg Mbps: 353.497 4002 44072776 352.582 100.00% Conn: 1 Mbps: 352.582 Peak Mbps: 353.497 Avg Mbps: 352.582 5001 44139384 353.469 100.00% Conn: 1 Mbps: 353.469 Peak Mbps: 353.497 Avg Mbps: 353.469 --- 169.254.1.12 tcpbench statistics --- 264496024 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 352.031/352.769/353.497/0.609 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 47738040 381.904 100.00% Conn: 1 Mbps: 381.904 Peak Mbps: 381.904 Avg Mbps: 381.904 2000 48646248 389.170 100.00% Conn: 1 Mbps: 389.170 Peak Mbps: 389.170 Avg Mbps: 389.170 3001 49073220 392.586 100.00% Conn: 1 Mbps: 392.586 Peak Mbps: 392.586 Avg Mbps: 392.586 4001 48136452 385.092 100.00% Conn: 1 Mbps: 385.092 Peak Mbps: 392.586 Avg Mbps: 385.092 5000 48314952 386.907 100.00% Conn: 1 Mbps: 386.907 Peak Mbps: 392.586 Avg Mbps: 386.907 --- fc00:0:0:1::12 tcpbench statistics --- 289929696 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 381.904/387.132/392.586/3.618 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.198 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.198/0.198/0.198/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.252 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.252/0.252/0.252/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 137063970 1096.512 100.00% Conn: 1 Mbps: 1096.512 Peak Mbps: 1096.512 Avg Mbps: 1096.512 2000 137570780 1100.566 100.00% Conn: 1 Mbps: 1100.566 Peak Mbps: 1100.566 Avg Mbps: 1100.566 3000 137374484 1098.996 100.00% Conn: 1 Mbps: 1098.996 Peak Mbps: 1100.566 Avg Mbps: 1098.996 4000 138061520 1104.492 100.00% Conn: 1 Mbps: 1104.492 Peak Mbps: 1104.492 Avg Mbps: 1104.492 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 --- 825932066 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1096.512/1100.802/1104.492/2.910 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 123084308 984.674 100.00% Conn: 1 Mbps: 984.674 Peak Mbps: 984.674 Avg Mbps: 984.674 2000 124081320 992.651 100.00% Conn: 1 Mbps: 992.651 Peak Mbps: 992.651 Avg Mbps: 992.651 3000 122838872 982.711 100.00% Conn: 1 Mbps: 982.711 Peak Mbps: 992.651 Avg Mbps: 982.711 4000 123983232 991.866 100.00% Conn: 1 Mbps: 991.866 Peak Mbps: 992.651 Avg Mbps: 991.866 5000 125356464 1002.852 100.00% Conn: 1 Mbps: 1002.852 Peak Mbps: 1002.852 Avg Mbps: 1002.852 --- fc00::13 tcpbench statistics --- 742215764 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 982.711/990.951/1002.852/7.108 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.205 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.205/0.205/0.205/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.279 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.279/0.279/0.279/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 31126208 248.513 100.00% Conn: 1 Mbps: 248.513 Peak Mbps: 248.513 Avg Mbps: 248.513 2004 31656176 252.996 100.00% Conn: 1 Mbps: 252.996 Peak Mbps: 252.996 Avg Mbps: 252.996 3008 31866136 254.167 100.00% Conn: 1 Mbps: 254.167 Peak Mbps: 254.167 Avg Mbps: 254.167 4007 31427392 251.923 100.00% Conn: 1 Mbps: 251.923 Peak Mbps: 254.167 Avg Mbps: 251.923 5008 31643144 252.892 100.00% Conn: 1 Mbps: 252.892 Peak Mbps: 254.167 Avg Mbps: 252.892 --- 169.254.1.11 tcpbench statistics --- 189003096 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 248.513/252.098/254.167/1.929 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 56723280 453.786 100.00% Conn: 1 Mbps: 453.786 Peak Mbps: 453.786 Avg Mbps: 453.786 2000 56014344 448.115 100.00% Conn: 1 Mbps: 448.115 Peak Mbps: 453.786 Avg Mbps: 448.115 3005 56607280 450.605 100.00% Conn: 1 Mbps: 450.605 Peak Mbps: 453.786 Avg Mbps: 450.605 4006 56991656 455.933 100.00% Conn: 1 Mbps: 455.933 Peak Mbps: 455.933 Avg Mbps: 455.933 5007 56935344 455.483 100.00% Conn: 1 Mbps: 455.483 Peak Mbps: 455.933 Avg Mbps: 455.483 --- fc00:0:0:1::11 tcpbench statistics --- 340005520 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 448.115/452.784/455.933/2.992 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.257 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.257/0.257/0.257/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 136704306 1093.634 100.00% Conn: 1 Mbps: 1093.634 Peak Mbps: 1093.634 Avg Mbps: 1093.634 2000 137832424 1102.659 100.00% Conn: 1 Mbps: 1102.659 Peak Mbps: 1102.659 Avg Mbps: 1102.659 3000 137734288 1101.874 100.00% Conn: 1 Mbps: 1101.874 Peak Mbps: 1102.659 Avg Mbps: 1101.874 4000 137341684 1098.733 100.00% Conn: 1 Mbps: 1098.733 Peak Mbps: 1102.659 Avg Mbps: 1098.733 5000 137439844 1099.519 100.00% Conn: 1 Mbps: 1099.519 Peak Mbps: 1102.659 Avg Mbps: 1099.519 --- 169.254.1.12 tcpbench statistics --- 824852254 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1093.634/1099.284/1102.659/3.174 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 126076316 1008.611 100.00% Conn: 1 Mbps: 1008.611 Peak Mbps: 1008.611 Avg Mbps: 1008.611 2000 127939448 1023.516 100.00% Conn: 1 Mbps: 1023.516 Peak Mbps: 1023.516 Avg Mbps: 1023.516 3000 127743272 1021.946 100.00% Conn: 1 Mbps: 1021.946 Peak Mbps: 1023.516 Avg Mbps: 1021.946 4000 127939448 1023.516 100.00% Conn: 1 Mbps: 1023.516 Peak Mbps: 1023.516 Avg Mbps: 1023.516 5000 127122048 1016.976 100.00% Conn: 1 Mbps: 1016.976 Peak Mbps: 1023.516 Avg Mbps: 1016.976 --- fc00:0:0:1::12 tcpbench statistics --- 764236844 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1008.611/1018.913/1023.516/5.683 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.181 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.181/0.181/0.181/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.244 ms --- fc00::13 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-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 138159818 1105.279 100.00% Conn: 1 Mbps: 1105.279 Peak Mbps: 1105.279 Avg Mbps: 1105.279 2000 138584892 1108.679 100.00% Conn: 1 Mbps: 1108.679 Peak Mbps: 1108.679 Avg Mbps: 1108.679 3000 138323164 1106.585 100.00% Conn: 1 Mbps: 1106.585 Peak Mbps: 1108.679 Avg Mbps: 1106.585 4000 138912064 1111.297 100.00% Conn: 1 Mbps: 1111.297 Peak Mbps: 1111.297 Avg Mbps: 1111.297 5000 138813892 1110.511 100.00% Conn: 1 Mbps: 1110.511 Peak Mbps: 1111.297 Avg Mbps: 1110.511 --- 169.254.0.13 tcpbench statistics --- 831247870 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1105.279/1108.470/1111.297/2.278 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 140364036 1122.912 100.00% Conn: 1 Mbps: 1122.912 Peak Mbps: 1122.912 Avg Mbps: 1122.912 2000 140658192 1125.266 100.00% Conn: 1 Mbps: 1125.266 Peak Mbps: 1125.266 Avg Mbps: 1125.266 3000 140821672 1126.573 100.00% Conn: 1 Mbps: 1126.573 Peak Mbps: 1126.573 Avg Mbps: 1126.573 4000 141148632 1129.189 100.00% Conn: 1 Mbps: 1129.189 Peak Mbps: 1129.189 Avg Mbps: 1129.189 5000 141802552 1134.420 100.00% Conn: 1 Mbps: 1134.420 Peak Mbps: 1134.420 Avg Mbps: 1134.420 --- fc00::13 tcpbench statistics --- 846826508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1122.912/1127.672/1134.420/3.937 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.42s