START sys/net/pair 2024-05-25T09:50:16Z ==== 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.210 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.210/0.210/0.210/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.246 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.246/0.246/0.246/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 112035008 896.280 100.00% Conn: 1 Mbps: 896.280 Peak Mbps: 896.280 Avg Mbps: 896.280 2000 111542232 892.338 100.00% Conn: 1 Mbps: 892.338 Peak Mbps: 896.280 Avg Mbps: 892.338 3000 111359428 891.767 100.00% Conn: 1 Mbps: 891.767 Peak Mbps: 896.280 Avg Mbps: 891.767 4000 111526336 892.211 100.00% Conn: 1 Mbps: 892.211 Peak Mbps: 896.280 Avg Mbps: 892.211 5000 111772724 894.182 100.00% Conn: 1 Mbps: 894.182 Peak Mbps: 896.280 Avg Mbps: 894.182 --- 169.254.1.11 tcpbench statistics --- 669547468 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 891.767/893.356/896.280/1.680 Mbps ==== run-tcpbench6-1-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 112220840 897.767 100.00% Conn: 1 Mbps: 897.767 Peak Mbps: 897.767 Avg Mbps: 897.767 2000 112672736 902.284 100.00% Conn: 1 Mbps: 902.284 Peak Mbps: 902.284 Avg Mbps: 902.284 3000 112609312 900.874 100.00% Conn: 1 Mbps: 900.874 Peak Mbps: 902.284 Avg Mbps: 900.874 4000 112522104 900.177 100.00% Conn: 1 Mbps: 900.177 Peak Mbps: 902.284 Avg Mbps: 900.177 5000 112395256 899.162 100.00% Conn: 1 Mbps: 899.162 Peak Mbps: 902.284 Avg Mbps: 899.162 --- fc00:0:0:1::11 tcpbench statistics --- 674347752 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 897.767/900.053/902.284/1.529 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.300 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.300/0.300/0.300/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.629 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.629/0.629/0.629/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 40425264 323.079 100.00% Conn: 1 Mbps: 323.079 Peak Mbps: 323.079 Avg Mbps: 323.079 2002 40603368 324.827 100.00% Conn: 1 Mbps: 324.827 Peak Mbps: 324.827 Avg Mbps: 324.827 3002 40635224 325.082 100.00% Conn: 1 Mbps: 325.082 Peak Mbps: 325.082 Avg Mbps: 325.082 4003 40745272 325.962 100.00% Conn: 1 Mbps: 325.962 Peak Mbps: 325.962 Avg Mbps: 325.962 5004 40648256 325.186 100.00% Conn: 1 Mbps: 325.186 Peak Mbps: 325.962 Avg Mbps: 325.186 --- 169.254.1.12 tcpbench statistics --- 243637584 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 323.079/324.827/325.962/0.953 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1001 39027240 311.906 100.00% Conn: 1 Mbps: 311.906 Peak Mbps: 311.906 Avg Mbps: 311.906 2002 39000108 311.689 100.00% Conn: 1 Mbps: 311.689 Peak Mbps: 311.906 Avg Mbps: 311.689 3004 39134340 312.762 100.00% Conn: 1 Mbps: 312.762 Peak Mbps: 312.762 Avg Mbps: 312.762 4004 39180036 313.754 100.00% Conn: 1 Mbps: 313.754 Peak Mbps: 313.754 Avg Mbps: 313.754 5007 39291420 313.704 100.00% Conn: 1 Mbps: 313.704 Peak Mbps: 313.754 Avg Mbps: 313.704 --- fc00:0:0:1::12 tcpbench statistics --- 234621828 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 311.689/312.763/313.754/0.867 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.271 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.271/0.271/0.271/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.350 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.350/0.350/0.350/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 61906972 495.256 100.00% Conn: 1 Mbps: 495.256 Peak Mbps: 495.256 Avg Mbps: 495.256 2000 61120120 489.450 100.00% Conn: 1 Mbps: 489.450 Peak Mbps: 495.256 Avg Mbps: 489.450 3000 61159860 489.279 100.00% Conn: 1 Mbps: 489.279 Peak Mbps: 495.256 Avg Mbps: 489.279 4000 61795700 494.366 100.00% Conn: 1 Mbps: 494.366 Peak Mbps: 495.256 Avg Mbps: 494.366 5000 61469832 491.759 100.00% Conn: 1 Mbps: 491.759 Peak Mbps: 495.256 Avg Mbps: 491.759 --- 169.254.0.13 tcpbench statistics --- 368652084 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 489.279/492.022/495.256/2.456 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 61378576 491.029 100.00% Conn: 1 Mbps: 491.029 Peak Mbps: 491.029 Avg Mbps: 491.029 2000 61069384 488.555 100.00% Conn: 1 Mbps: 488.555 Peak Mbps: 491.029 Avg Mbps: 488.555 3001 61354792 490.838 100.00% Conn: 1 Mbps: 490.838 Peak Mbps: 491.029 Avg Mbps: 490.838 4001 61378576 491.029 100.00% Conn: 1 Mbps: 491.029 Peak Mbps: 491.029 Avg Mbps: 491.029 5001 61331008 490.648 100.00% Conn: 1 Mbps: 490.648 Peak Mbps: 491.029 Avg Mbps: 490.648 --- fc00::13 tcpbench statistics --- 367684784 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 488.555/490.420/491.029/0.943 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.224 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.224/0.224/0.224/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.271 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.271/0.271/0.271/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 40446984 323.253 100.00% Conn: 1 Mbps: 323.253 Peak Mbps: 323.253 Avg Mbps: 323.253 2001 40648256 325.512 100.00% Conn: 1 Mbps: 325.512 Peak Mbps: 325.512 Avg Mbps: 325.512 3003 40827808 326.296 100.00% Conn: 1 Mbps: 326.296 Peak Mbps: 326.296 Avg Mbps: 326.296 4004 40826360 326.285 100.00% Conn: 1 Mbps: 326.285 Peak Mbps: 326.296 Avg Mbps: 326.285 5005 40693144 325.545 100.00% Conn: 1 Mbps: 325.545 Peak Mbps: 326.296 Avg Mbps: 325.545 --- 169.254.1.11 tcpbench statistics --- 243918496 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 323.253/325.378/326.296/1.116 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 38900148 310.580 100.00% Conn: 1 Mbps: 310.580 Peak Mbps: 310.580 Avg Mbps: 310.580 2000 38855880 311.470 100.00% Conn: 1 Mbps: 311.470 Peak Mbps: 311.470 Avg Mbps: 311.470 3001 39284280 314.274 100.00% Conn: 1 Mbps: 314.274 Peak Mbps: 314.274 Avg Mbps: 314.274 4003 39387096 314.468 100.00% Conn: 1 Mbps: 314.468 Peak Mbps: 314.468 Avg Mbps: 314.468 5003 39260004 314.080 100.00% Conn: 1 Mbps: 314.080 Peak Mbps: 314.468 Avg Mbps: 314.080 --- fc00:0:0:1::11 tcpbench statistics --- 234843168 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 310.580/312.974/314.468/1.621 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.183 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.183/0.183/0.183/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.236 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.236/0.236/0.236/0.000 ms ==== run-tcpbench-2-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 107251912 858.015 100.00% Conn: 1 Mbps: 858.015 Peak Mbps: 858.015 Avg Mbps: 858.015 2000 107056432 857.309 100.00% Conn: 1 Mbps: 857.309 Peak Mbps: 858.015 Avg Mbps: 857.309 3000 107134624 857.077 100.00% Conn: 1 Mbps: 857.077 Peak Mbps: 858.015 Avg Mbps: 857.077 4000 106788552 854.308 100.00% Conn: 1 Mbps: 854.308 Peak Mbps: 858.015 Avg Mbps: 854.308 5000 107217160 857.737 100.00% Conn: 1 Mbps: 857.737 Peak Mbps: 858.015 Avg Mbps: 857.737 --- 169.254.1.12 tcpbench statistics --- 642715072 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 854.308/856.889/858.015/1.331 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 107318484 858.548 100.00% Conn: 1 Mbps: 858.548 Peak Mbps: 858.548 Avg Mbps: 858.548 2000 107611224 860.890 100.00% Conn: 1 Mbps: 860.890 Peak Mbps: 860.890 Avg Mbps: 860.890 3000 107495556 859.964 100.00% Conn: 1 Mbps: 859.964 Peak Mbps: 860.890 Avg Mbps: 859.964 4000 107184252 857.474 100.00% Conn: 1 Mbps: 857.474 Peak Mbps: 860.890 Avg Mbps: 857.474 5000 107902536 863.220 100.00% Conn: 1 Mbps: 863.220 Peak Mbps: 863.220 Avg Mbps: 863.220 --- fc00:0:0:1::12 tcpbench statistics --- 645059016 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 857.474/860.019/863.220/1.982 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.211 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.211/0.211/0.211/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.256 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.256/0.256/0.256/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 177631882 1421.055 100.00% Conn: 1 Mbps: 1421.055 Peak Mbps: 1421.055 Avg Mbps: 1421.055 2000 175946552 1408.981 100.00% Conn: 1 Mbps: 1408.981 Peak Mbps: 1421.055 Avg Mbps: 1408.981 3000 175913824 1407.311 100.00% Conn: 1 Mbps: 1407.311 Peak Mbps: 1421.055 Avg Mbps: 1407.311 4000 175881120 1407.049 100.00% Conn: 1 Mbps: 1407.049 Peak Mbps: 1421.055 Avg Mbps: 1407.049 5000 175979256 1407.834 100.00% Conn: 1 Mbps: 1407.834 Peak Mbps: 1421.055 Avg Mbps: 1407.834 --- 169.254.0.13 tcpbench statistics --- 1056988384 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1407.049/1410.446/1421.055/5.346 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 178750904 1430.007 100.00% Conn: 1 Mbps: 1430.007 Peak Mbps: 1430.007 Avg Mbps: 1430.007 2000 177016144 1417.547 100.00% Conn: 1 Mbps: 1417.547 Peak Mbps: 1430.007 Avg Mbps: 1417.547 3000 177375800 1419.006 100.00% Conn: 1 Mbps: 1419.006 Peak Mbps: 1430.007 Avg Mbps: 1419.006 4000 176852664 1414.821 100.00% Conn: 1 Mbps: 1414.821 Peak Mbps: 1430.007 Avg Mbps: 1414.821 5000 177048840 1416.391 100.00% Conn: 1 Mbps: 1416.391 Peak Mbps: 1430.007 Avg Mbps: 1416.391 --- fc00::13 tcpbench statistics --- 1065008680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1414.821/1419.554/1430.007/5.404 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.233 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.233/0.233/0.233/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.288 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.288/0.288/0.288/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 1003 40287704 321.338 100.00% Conn: 1 Mbps: 321.338 Peak Mbps: 321.338 Avg Mbps: 321.338 2002 40193584 322.193 100.00% Conn: 1 Mbps: 322.193 Peak Mbps: 322.193 Avg Mbps: 322.193 3003 40293496 322.026 100.00% Conn: 1 Mbps: 322.026 Peak Mbps: 322.193 Avg Mbps: 322.026 4005 40281912 321.933 100.00% Conn: 1 Mbps: 321.933 Peak Mbps: 322.193 Avg Mbps: 321.933 5004 40290600 322.647 100.00% Conn: 1 Mbps: 322.647 Peak Mbps: 322.647 Avg Mbps: 322.647 --- 169.254.1.11 tcpbench statistics --- 241532192 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 321.338/322.027/322.647/0.423 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 1001 64886000 518.569 100.00% Conn: 1 Mbps: 518.569 Peak Mbps: 518.569 Avg Mbps: 518.569 2002 64327856 514.623 100.00% Conn: 1 Mbps: 514.623 Peak Mbps: 518.569 Avg Mbps: 514.623 3006 64271424 512.633 100.00% Conn: 1 Mbps: 512.633 Peak Mbps: 518.569 Avg Mbps: 512.633 4006 64213152 514.219 100.00% Conn: 1 Mbps: 514.219 Peak Mbps: 518.569 Avg Mbps: 514.219 5006 63963032 511.704 100.00% Conn: 1 Mbps: 511.704 Peak Mbps: 518.569 Avg Mbps: 511.704 --- fc00:0:0:1::11 tcpbench statistics --- 384755968 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 511.704/514.350/518.569/2.360 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.205 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.205/0.205/0.205/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 176684248 1413.474 100.00% Conn: 1 Mbps: 1413.474 Peak Mbps: 1413.474 Avg Mbps: 1413.474 2000 175455800 1405.051 100.00% Conn: 1 Mbps: 1405.051 Peak Mbps: 1413.474 Avg Mbps: 1405.051 3000 175357652 1402.861 100.00% Conn: 1 Mbps: 1402.861 Peak Mbps: 1413.474 Avg Mbps: 1402.861 4000 175357664 1402.861 100.00% Conn: 1 Mbps: 1402.861 Peak Mbps: 1413.474 Avg Mbps: 1402.861 5000 175521232 1404.170 100.00% Conn: 1 Mbps: 1404.170 Peak Mbps: 1413.474 Avg Mbps: 1404.170 --- 169.254.1.12 tcpbench statistics --- 1053636112 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1402.861/1405.684/1413.474/3.983 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 176804700 1414.438 100.00% Conn: 1 Mbps: 1414.438 Peak Mbps: 1414.438 Avg Mbps: 1414.438 2000 174825512 1400.004 100.00% Conn: 1 Mbps: 1400.004 Peak Mbps: 1414.438 Avg Mbps: 1400.004 3000 174727424 1397.819 100.00% Conn: 1 Mbps: 1397.819 Peak Mbps: 1414.438 Avg Mbps: 1397.819 4000 174858208 1398.866 100.00% Conn: 1 Mbps: 1398.866 Peak Mbps: 1414.438 Avg Mbps: 1398.866 5000 174792816 1398.343 100.00% Conn: 1 Mbps: 1398.343 Peak Mbps: 1414.438 Avg Mbps: 1398.343 --- fc00:0:0:1::12 tcpbench statistics --- 1050507212 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1397.819/1401.894/1414.438/6.313 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.174 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.174/0.174/0.174/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 179808172 1438.465 100.00% Conn: 1 Mbps: 1438.465 Peak Mbps: 1438.465 Avg Mbps: 1438.465 2000 178531116 1429.679 100.00% Conn: 1 Mbps: 1429.679 Peak Mbps: 1438.465 Avg Mbps: 1429.679 3000 178825548 1430.604 100.00% Conn: 1 Mbps: 1430.604 Peak Mbps: 1438.465 Avg Mbps: 1430.604 4000 178694684 1429.557 100.00% Conn: 1 Mbps: 1429.557 Peak Mbps: 1438.465 Avg Mbps: 1429.557 5000 178694696 1429.558 100.00% Conn: 1 Mbps: 1429.558 Peak Mbps: 1438.465 Avg Mbps: 1429.558 --- 169.254.0.13 tcpbench statistics --- 1072594580 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1429.557/1431.573/1438.465/3.469 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 179534060 1436.272 100.00% Conn: 1 Mbps: 1436.272 Peak Mbps: 1436.272 Avg Mbps: 1436.272 2000 177833544 1424.092 100.00% Conn: 1 Mbps: 1424.092 Peak Mbps: 1436.272 Avg Mbps: 1424.092 3000 177898936 1423.191 100.00% Conn: 1 Mbps: 1423.191 Peak Mbps: 1436.272 Avg Mbps: 1423.191 4000 177310408 1418.483 100.00% Conn: 1 Mbps: 1418.483 Peak Mbps: 1436.272 Avg Mbps: 1418.483 5000 177637368 1422.521 100.00% Conn: 1 Mbps: 1422.521 Peak Mbps: 1436.272 Avg Mbps: 1422.521 --- fc00::13 tcpbench statistics --- 1067459332 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1418.483/1424.912/1436.272/5.996 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.37s