START sys/net/pair 2024-09-05T22:06:33Z ==== 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.167 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.167/0.167/0.167/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.212 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.212/0.212/0.212/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 50636708 404.689 100.00% Conn: 1 Mbps: 404.689 Peak Mbps: 404.689 Avg Mbps: 404.689 2001 50501592 404.417 100.00% Conn: 1 Mbps: 404.417 Peak Mbps: 404.689 Avg Mbps: 404.417 3001 51662000 413.296 100.00% Conn: 1 Mbps: 413.296 Peak Mbps: 413.296 Avg Mbps: 413.296 4001 53323132 426.585 100.00% Conn: 1 Mbps: 426.585 Peak Mbps: 426.585 Avg Mbps: 426.585 5002 52560124 420.481 100.00% Conn: 1 Mbps: 420.481 Peak Mbps: 426.585 Avg Mbps: 420.481 --- 169.254.1.11 tcpbench statistics --- 310289920 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 404.417/413.894/426.585/8.710 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 46418440 370.977 100.00% Conn: 1 Mbps: 370.977 Peak Mbps: 370.977 Avg Mbps: 370.977 2001 45134104 361.434 100.00% Conn: 1 Mbps: 361.434 Peak Mbps: 370.977 Avg Mbps: 361.434 3001 45157888 361.263 100.00% Conn: 1 Mbps: 361.263 Peak Mbps: 370.977 Avg Mbps: 361.263 4003 45300592 362.043 100.00% Conn: 1 Mbps: 362.043 Peak Mbps: 370.977 Avg Mbps: 362.043 5002 45126176 361.371 100.00% Conn: 1 Mbps: 361.371 Peak Mbps: 370.977 Avg Mbps: 361.371 --- fc00:0:0:1::11 tcpbench statistics --- 272937256 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 361.263/363.417/370.977/3.789 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.321 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.321/0.321/0.321/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.761 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.761/0.761/0.761/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 30797512 246.134 100.00% Conn: 1 Mbps: 246.134 Peak Mbps: 246.134 Avg Mbps: 246.134 2002 31305760 250.446 100.00% Conn: 1 Mbps: 250.446 Peak Mbps: 250.446 Avg Mbps: 250.446 3003 31244944 249.710 100.00% Conn: 1 Mbps: 249.710 Peak Mbps: 250.446 Avg Mbps: 249.710 4005 31201504 249.363 100.00% Conn: 1 Mbps: 249.363 Peak Mbps: 250.446 Avg Mbps: 249.363 5008 31324584 250.096 100.00% Conn: 1 Mbps: 250.096 Peak Mbps: 250.446 Avg Mbps: 250.096 --- 169.254.1.12 tcpbench statistics --- 187026576 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 246.134/249.150/250.446/1.551 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 29618148 236.472 100.00% Conn: 1 Mbps: 236.472 Peak Mbps: 236.472 Avg Mbps: 236.472 2003 29866620 238.933 100.00% Conn: 1 Mbps: 238.933 Peak Mbps: 238.933 Avg Mbps: 238.933 3004 29683836 237.471 100.00% Conn: 1 Mbps: 237.471 Peak Mbps: 238.933 Avg Mbps: 237.471 4002 30242184 242.665 100.00% Conn: 1 Mbps: 242.665 Peak Mbps: 242.665 Avg Mbps: 242.665 5002 30429252 243.434 100.00% Conn: 1 Mbps: 243.434 Peak Mbps: 243.434 Avg Mbps: 243.434 --- fc00:0:0:1::12 tcpbench statistics --- 179892300 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 236.472/239.795/243.434/2.781 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.219 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.219/0.219/0.219/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.310 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.310/0.310/0.310/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 31402548 251.220 100.00% Conn: 1 Mbps: 251.220 Peak Mbps: 251.220 Avg Mbps: 251.220 2000 31831740 254.654 100.00% Conn: 1 Mbps: 254.654 Peak Mbps: 254.654 Avg Mbps: 254.654 3001 31442288 251.538 100.00% Conn: 1 Mbps: 251.538 Peak Mbps: 254.654 Avg Mbps: 251.538 4001 31251536 250.012 100.00% Conn: 1 Mbps: 250.012 Peak Mbps: 254.654 Avg Mbps: 250.012 5001 31450236 251.854 100.00% Conn: 1 Mbps: 251.854 Peak Mbps: 254.654 Avg Mbps: 251.854 --- 169.254.0.13 tcpbench statistics --- 188749104 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 250.012/251.856/254.654/1.532 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 32829848 262.376 100.00% Conn: 1 Mbps: 262.376 Peak Mbps: 262.376 Avg Mbps: 262.376 2002 32338312 258.706 100.00% Conn: 1 Mbps: 258.706 Peak Mbps: 262.376 Avg Mbps: 258.706 3002 32330384 258.643 100.00% Conn: 1 Mbps: 258.643 Peak Mbps: 262.376 Avg Mbps: 258.643 4002 32044976 256.616 100.00% Conn: 1 Mbps: 256.616 Peak Mbps: 262.376 Avg Mbps: 256.616 5003 32290744 258.068 100.00% Conn: 1 Mbps: 258.068 Peak Mbps: 262.376 Avg Mbps: 258.068 --- fc00::13 tcpbench statistics --- 193617616 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 256.616/258.882/262.376/1.902 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.185 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.185/0.185/0.185/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.238 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.238/0.238/0.238/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 30910456 247.284 100.00% Conn: 1 Mbps: 247.284 Peak Mbps: 247.284 Avg Mbps: 247.284 2002 30838056 246.458 100.00% Conn: 1 Mbps: 246.458 Peak Mbps: 247.284 Avg Mbps: 246.458 3004 31256528 249.553 100.00% Conn: 1 Mbps: 249.553 Peak Mbps: 249.553 Avg Mbps: 249.553 4005 31327480 250.369 100.00% Conn: 1 Mbps: 250.369 Peak Mbps: 250.369 Avg Mbps: 250.369 5007 31103040 248.328 100.00% Conn: 1 Mbps: 248.328 Peak Mbps: 250.369 Avg Mbps: 248.328 --- 169.254.1.11 tcpbench statistics --- 186083928 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 246.458/248.398/250.369/1.430 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 1002 30137940 240.622 100.00% Conn: 1 Mbps: 240.622 Peak Mbps: 240.622 Avg Mbps: 240.622 2002 29820924 238.806 100.00% Conn: 1 Mbps: 238.806 Peak Mbps: 240.622 Avg Mbps: 238.806 3002 30247896 241.983 100.00% Conn: 1 Mbps: 241.983 Peak Mbps: 241.983 Avg Mbps: 241.983 4003 30276456 242.212 100.00% Conn: 1 Mbps: 242.212 Peak Mbps: 242.212 Avg Mbps: 242.212 5007 29906604 238.537 100.00% Conn: 1 Mbps: 238.537 Peak Mbps: 242.212 Avg Mbps: 238.537 --- fc00:0:0:1::11 tcpbench statistics --- 180267864 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 238.537/240.432/242.212/1.539 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.178 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.178/0.178/0.178/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 1001 43916392 350.980 100.00% Conn: 1 Mbps: 350.980 Peak Mbps: 350.980 Avg Mbps: 350.980 2001 43641272 349.130 100.00% Conn: 1 Mbps: 349.130 Peak Mbps: 350.980 Avg Mbps: 349.130 3001 43568872 348.900 100.00% Conn: 1 Mbps: 348.900 Peak Mbps: 350.980 Avg Mbps: 348.900 4001 43515296 348.122 100.00% Conn: 1 Mbps: 348.122 Peak Mbps: 350.980 Avg Mbps: 348.122 5002 43565976 348.528 100.00% Conn: 1 Mbps: 348.528 Peak Mbps: 350.980 Avg Mbps: 348.528 --- 169.254.1.12 tcpbench statistics --- 261953336 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 348.122/349.132/350.980/0.985 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 1001 47141136 376.752 100.00% Conn: 1 Mbps: 376.752 Peak Mbps: 376.752 Avg Mbps: 376.752 2001 47957952 383.664 100.00% Conn: 1 Mbps: 383.664 Peak Mbps: 383.664 Avg Mbps: 383.664 3002 48576276 388.610 100.00% Conn: 1 Mbps: 388.610 Peak Mbps: 388.610 Avg Mbps: 388.610 4002 49137480 393.100 100.00% Conn: 1 Mbps: 393.100 Peak Mbps: 393.100 Avg Mbps: 393.100 5002 47301072 378.409 100.00% Conn: 1 Mbps: 378.409 Peak Mbps: 393.100 Avg Mbps: 378.409 --- fc00:0:0:1::12 tcpbench statistics --- 286990872 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 376.752/384.107/393.100/6.130 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.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-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.239 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.239/0.239/0.239/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 136851282 1094.810 100.00% Conn: 1 Mbps: 1094.810 Peak Mbps: 1094.810 Avg Mbps: 1094.810 2000 137996004 1103.968 100.00% Conn: 1 Mbps: 1103.968 Peak Mbps: 1103.968 Avg Mbps: 1103.968 3000 137799720 1102.398 100.00% Conn: 1 Mbps: 1102.398 Peak Mbps: 1103.968 Avg Mbps: 1102.398 4000 137865140 1102.921 100.00% Conn: 1 Mbps: 1102.921 Peak Mbps: 1103.968 Avg Mbps: 1102.921 5000 137996004 1103.968 100.00% Conn: 1 Mbps: 1103.968 Peak Mbps: 1103.968 Avg Mbps: 1103.968 --- 169.254.0.13 tcpbench statistics --- 826438722 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1094.810/1101.613/1103.968/3.455 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 127613064 1020.905 100.00% Conn: 1 Mbps: 1020.905 Peak Mbps: 1020.905 Avg Mbps: 1020.905 2000 128266408 1026.131 100.00% Conn: 1 Mbps: 1026.131 Peak Mbps: 1026.131 Avg Mbps: 1026.131 3000 128168320 1025.347 100.00% Conn: 1 Mbps: 1025.347 Peak Mbps: 1026.131 Avg Mbps: 1025.347 4000 128429888 1027.439 100.00% Conn: 1 Mbps: 1027.439 Peak Mbps: 1027.439 Avg Mbps: 1027.439 5000 128364496 1026.916 100.00% Conn: 1 Mbps: 1026.916 Peak Mbps: 1027.439 Avg Mbps: 1026.916 --- fc00::13 tcpbench statistics --- 769141280 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1020.905/1025.347/1027.439/2.332 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.199 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.199/0.199/0.199/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.265 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.265/0.265/0.265/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 30713528 245.218 100.00% Conn: 1 Mbps: 245.218 Peak Mbps: 245.218 Avg Mbps: 245.218 2004 31136344 248.594 100.00% Conn: 1 Mbps: 248.594 Peak Mbps: 248.594 Avg Mbps: 248.594 3005 31410016 251.280 100.00% Conn: 1 Mbps: 251.280 Peak Mbps: 251.280 Avg Mbps: 251.280 4007 31178336 248.929 100.00% Conn: 1 Mbps: 248.929 Peak Mbps: 251.280 Avg Mbps: 248.929 5010 31564952 251.764 100.00% Conn: 1 Mbps: 251.764 Peak Mbps: 251.764 Avg Mbps: 251.764 --- 169.254.1.11 tcpbench statistics --- 187068568 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 245.218/249.157/251.764/2.332 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 55698216 444.696 100.00% Conn: 1 Mbps: 444.696 Peak Mbps: 444.696 Avg Mbps: 444.696 2002 56266456 450.582 100.00% Conn: 1 Mbps: 450.582 Peak Mbps: 450.582 Avg Mbps: 450.582 3009 57659088 458.066 100.00% Conn: 1 Mbps: 458.066 Peak Mbps: 458.066 Avg Mbps: 458.066 4008 56070256 449.011 100.00% Conn: 1 Mbps: 449.011 Peak Mbps: 458.066 Avg Mbps: 449.011 5008 56974264 456.250 100.00% Conn: 1 Mbps: 456.250 Peak Mbps: 458.066 Avg Mbps: 456.250 --- fc00:0:0:1::11 tcpbench statistics --- 339282456 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 444.696/451.721/458.066/4.874 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.185 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.185/0.185/0.185/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 136491414 1091.931 100.00% Conn: 1 Mbps: 1091.931 Peak Mbps: 1091.931 Avg Mbps: 1091.931 2000 135444240 1083.554 100.00% Conn: 1 Mbps: 1083.554 Peak Mbps: 1091.931 Avg Mbps: 1083.554 3000 137799792 1102.398 100.00% Conn: 1 Mbps: 1102.398 Peak Mbps: 1102.398 Avg Mbps: 1102.398 4000 137865224 1102.922 100.00% Conn: 1 Mbps: 1102.922 Peak Mbps: 1102.922 Avg Mbps: 1102.922 5000 137897940 1103.184 100.00% Conn: 1 Mbps: 1103.184 Peak Mbps: 1103.184 Avg Mbps: 1103.184 --- 169.254.1.12 tcpbench statistics --- 823200254 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1083.554/1096.798/1103.184/7.858 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 127400612 1019.205 100.00% Conn: 1 Mbps: 1019.205 Peak Mbps: 1019.205 Avg Mbps: 1019.205 2000 128429888 1027.439 100.00% Conn: 1 Mbps: 1027.439 Peak Mbps: 1027.439 Avg Mbps: 1027.439 3000 128691456 1029.532 100.00% Conn: 1 Mbps: 1029.532 Peak Mbps: 1029.532 Avg Mbps: 1029.532 4000 128593368 1028.747 100.00% Conn: 1 Mbps: 1028.747 Peak Mbps: 1029.532 Avg Mbps: 1028.747 5000 128495280 1027.962 100.00% Conn: 1 Mbps: 1027.962 Peak Mbps: 1029.532 Avg Mbps: 1027.962 --- fc00:0:0:1::12 tcpbench statistics --- 769811620 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1019.205/1026.577/1029.532/3.754 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.166 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.166/0.166/0.166/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.230 ms --- fc00::13 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-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 138535998 1108.288 100.00% Conn: 1 Mbps: 1108.288 Peak Mbps: 1108.288 Avg Mbps: 1108.288 2000 138781188 1110.250 100.00% Conn: 1 Mbps: 1110.250 Peak Mbps: 1110.250 Avg Mbps: 1110.250 3000 139108348 1112.867 100.00% Conn: 1 Mbps: 1112.867 Peak Mbps: 1112.867 Avg Mbps: 1112.867 4000 138519472 1108.156 100.00% Conn: 1 Mbps: 1108.156 Peak Mbps: 1112.867 Avg Mbps: 1108.156 5000 138846620 1110.773 100.00% Conn: 1 Mbps: 1110.773 Peak Mbps: 1112.867 Avg Mbps: 1110.773 --- 169.254.0.13 tcpbench statistics --- 832180234 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1108.156/1110.067/1112.867/1.743 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 141034412 1128.275 100.00% Conn: 1 Mbps: 1128.275 Peak Mbps: 1128.275 Avg Mbps: 1128.275 2000 140690888 1125.527 100.00% Conn: 1 Mbps: 1125.527 Peak Mbps: 1128.275 Avg Mbps: 1125.527 3000 138532952 1108.264 100.00% Conn: 1 Mbps: 1108.264 Peak Mbps: 1128.275 Avg Mbps: 1108.264 4000 140560104 1124.481 100.00% Conn: 1 Mbps: 1124.481 Peak Mbps: 1128.275 Avg Mbps: 1124.481 5000 141540984 1132.328 100.00% Conn: 1 Mbps: 1132.328 Peak Mbps: 1132.328 Avg Mbps: 1132.328 --- fc00::13 tcpbench statistics --- 841775084 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1108.264/1123.775/1132.328/8.217 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.43s