START sys/net/pair 2024-12-19T04:53: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.048 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.048/0.048/0.048/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.043 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.043/0.043/0.043/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 576555868 4612.447 100.00% Conn: 1 Mbps: 4612.447 Peak Mbps: 4612.447 Avg Mbps: 4612.447 2000 574958320 4604.271 100.00% Conn: 1 Mbps: 4604.271 Peak Mbps: 4612.447 Avg Mbps: 4604.271 3000 574847048 4598.776 100.00% Conn: 1 Mbps: 4598.776 Peak Mbps: 4612.447 Avg Mbps: 4598.776 4000 576444596 4611.557 100.00% Conn: 1 Mbps: 4611.557 Peak Mbps: 4612.447 Avg Mbps: 4611.557 5000 576285636 4610.285 100.00% Conn: 1 Mbps: 4610.285 Peak Mbps: 4612.447 Avg Mbps: 4610.285 --- 169.254.1.11 tcpbench statistics --- 3456299072 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4598.776/4607.467/4612.447/5.200 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 559772296 4478.178 100.00% Conn: 1 Mbps: 4478.178 Peak Mbps: 4478.178 Avg Mbps: 4478.178 2000 559986352 4484.375 100.00% Conn: 1 Mbps: 4484.375 Peak Mbps: 4484.375 Avg Mbps: 4484.375 3000 559138056 4473.104 100.00% Conn: 1 Mbps: 4473.104 Peak Mbps: 4484.375 Avg Mbps: 4473.104 4000 558004352 4464.035 100.00% Conn: 1 Mbps: 4464.035 Peak Mbps: 4484.375 Avg Mbps: 4464.035 5000 557845792 4462.766 100.00% Conn: 1 Mbps: 4462.766 Peak Mbps: 4484.375 Avg Mbps: 4462.766 --- fc00:0:0:1::11 tcpbench statistics --- 3353195168 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4462.766/4472.492/4484.375/8.247 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.078 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.078/0.078/0.078/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.145 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.145/0.145/0.145/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 1000 215908184 1727.265 100.00% Conn: 1 Mbps: 1727.265 Peak Mbps: 1727.265 Avg Mbps: 1727.265 2000 218644536 1749.156 100.00% Conn: 1 Mbps: 1749.156 Peak Mbps: 1749.156 Avg Mbps: 1749.156 3000 216203240 1729.626 100.00% Conn: 1 Mbps: 1729.626 Peak Mbps: 1749.156 Avg Mbps: 1729.626 4001 214266272 1714.130 100.00% Conn: 1 Mbps: 1714.130 Peak Mbps: 1749.156 Avg Mbps: 1714.130 5001 215499304 1725.720 100.00% Conn: 1 Mbps: 1725.720 Peak Mbps: 1749.156 Avg Mbps: 1725.720 --- 169.254.1.12 tcpbench statistics --- 1296664248 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1714.130/1729.180/1749.156/11.326 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 205865424 1646.923 100.00% Conn: 1 Mbps: 1646.923 Peak Mbps: 1646.923 Avg Mbps: 1646.923 2000 207635064 1661.081 100.00% Conn: 1 Mbps: 1661.081 Peak Mbps: 1661.081 Avg Mbps: 1661.081 3001 205681592 1645.453 100.00% Conn: 1 Mbps: 1645.453 Peak Mbps: 1661.081 Avg Mbps: 1645.453 4001 204651452 1638.850 100.00% Conn: 1 Mbps: 1638.850 Peak Mbps: 1661.081 Avg Mbps: 1638.850 5001 205113092 1640.905 100.00% Conn: 1 Mbps: 1640.905 Peak Mbps: 1661.081 Avg Mbps: 1640.905 --- fc00:0:0:1::12 tcpbench statistics --- 1231265588 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1638.850/1646.642/1661.081/7.792 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.070 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.070/0.070/0.070/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.068 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.068/0.068/0.068/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 311784144 2494.273 100.00% Conn: 1 Mbps: 2494.273 Peak Mbps: 2494.273 Avg Mbps: 2494.273 2000 313826500 2510.612 100.00% Conn: 1 Mbps: 2510.612 Peak Mbps: 2510.612 Avg Mbps: 2510.612 3000 312117960 2496.944 100.00% Conn: 1 Mbps: 2496.944 Peak Mbps: 2510.612 Avg Mbps: 2496.944 4000 313007856 2506.569 100.00% Conn: 1 Mbps: 2506.569 Peak Mbps: 2510.612 Avg Mbps: 2506.569 5000 312332556 2501.162 100.00% Conn: 1 Mbps: 2501.162 Peak Mbps: 2510.612 Avg Mbps: 2501.162 --- 169.254.0.13 tcpbench statistics --- 1869782336 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2494.273/2501.912/2510.612/6.016 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 287604056 2300.832 100.00% Conn: 1 Mbps: 2300.832 Peak Mbps: 2300.832 Avg Mbps: 2300.832 2000 287857752 2305.167 100.00% Conn: 1 Mbps: 2305.167 Peak Mbps: 2305.167 Avg Mbps: 2305.167 3000 291560128 2332.481 100.00% Conn: 1 Mbps: 2332.481 Peak Mbps: 2332.481 Avg Mbps: 2332.481 4000 290577056 2324.616 100.00% Conn: 1 Mbps: 2324.616 Peak Mbps: 2332.481 Avg Mbps: 2324.616 5000 290577056 2324.616 100.00% Conn: 1 Mbps: 2324.616 Peak Mbps: 2332.481 Avg Mbps: 2324.616 --- fc00::13 tcpbench statistics --- 1740092936 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2300.832/2317.543/2332.481/12.293 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.056 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.056/0.056/0.056/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.048 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.048/0.048/0.048/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 218862848 1750.903 100.00% Conn: 1 Mbps: 1750.903 Peak Mbps: 1750.903 Avg Mbps: 1750.903 2000 219148120 1753.185 100.00% Conn: 1 Mbps: 1753.185 Peak Mbps: 1753.185 Avg Mbps: 1753.185 3001 220675152 1763.638 100.00% Conn: 1 Mbps: 1763.638 Peak Mbps: 1763.638 Avg Mbps: 1763.638 4000 219865824 1760.687 100.00% Conn: 1 Mbps: 1760.687 Peak Mbps: 1763.638 Avg Mbps: 1760.687 5001 219532120 1756.257 100.00% Conn: 1 Mbps: 1756.257 Peak Mbps: 1763.638 Avg Mbps: 1756.257 --- 169.254.1.11 tcpbench statistics --- 1318449504 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1750.903/1756.934/1763.638/4.689 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 208090392 1664.723 100.00% Conn: 1 Mbps: 1664.723 Peak Mbps: 1664.723 Avg Mbps: 1664.723 2000 205214132 1643.356 100.00% Conn: 1 Mbps: 1643.356 Peak Mbps: 1664.723 Avg Mbps: 1643.356 3000 206985144 1655.881 100.00% Conn: 1 Mbps: 1655.881 Peak Mbps: 1664.723 Avg Mbps: 1655.881 4001 206066444 1648.532 100.00% Conn: 1 Mbps: 1648.532 Peak Mbps: 1664.723 Avg Mbps: 1648.532 5002 204558704 1636.470 100.00% Conn: 1 Mbps: 1636.470 Peak Mbps: 1664.723 Avg Mbps: 1636.470 --- fc00:0:0:1::11 tcpbench statistics --- 1236084536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1636.470/1649.792/1664.723/9.803 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.038 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.038/0.038/0.038/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.043 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.043/0.043/0.043/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 579347696 4634.782 100.00% Conn: 1 Mbps: 4634.782 Peak Mbps: 4634.782 Avg Mbps: 4634.782 2000 572294488 4582.939 100.00% Conn: 1 Mbps: 4582.939 Peak Mbps: 4634.782 Avg Mbps: 4582.939 3000 569916872 4559.335 100.00% Conn: 1 Mbps: 4559.335 Peak Mbps: 4634.782 Avg Mbps: 4559.335 4000 567511744 4540.094 100.00% Conn: 1 Mbps: 4540.094 Peak Mbps: 4634.782 Avg Mbps: 4540.094 5000 571408312 4575.842 100.00% Conn: 1 Mbps: 4575.842 Peak Mbps: 4634.782 Avg Mbps: 4575.842 --- 169.254.1.12 tcpbench statistics --- 3431215552 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4540.094/4578.598/4634.782/31.738 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 554969352 4439.755 100.00% Conn: 1 Mbps: 4439.755 Peak Mbps: 4439.755 Avg Mbps: 4439.755 2000 554762292 4442.541 100.00% Conn: 1 Mbps: 4442.541 Peak Mbps: 4442.541 Avg Mbps: 4442.541 3000 559004880 4472.039 100.00% Conn: 1 Mbps: 4472.039 Peak Mbps: 4472.039 Avg Mbps: 4472.039 4000 557055660 4456.445 100.00% Conn: 1 Mbps: 4456.445 Peak Mbps: 4472.039 Avg Mbps: 4456.445 5000 557091360 4456.731 100.00% Conn: 1 Mbps: 4456.731 Peak Mbps: 4472.039 Avg Mbps: 4456.731 --- fc00:0:0:1::12 tcpbench statistics --- 3337151748 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4439.755/4453.502/4472.039/11.592 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.046 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.046/0.046/0.046/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.050 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.050/0.050/0.050/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 1049585064 8396.681 100.00% Conn: 1 Mbps: 8396.681 Peak Mbps: 8396.681 Avg Mbps: 8396.681 2000 1057217540 8466.207 100.00% Conn: 1 Mbps: 8466.207 Peak Mbps: 8466.207 Avg Mbps: 8466.207 3000 1058395316 8467.163 100.00% Conn: 1 Mbps: 8467.163 Peak Mbps: 8467.163 Avg Mbps: 8467.163 4000 1058918772 8471.350 100.00% Conn: 1 Mbps: 8471.350 Peak Mbps: 8471.350 Avg Mbps: 8471.350 5000 1062779248 8502.234 100.00% Conn: 1 Mbps: 8502.234 Peak Mbps: 8502.234 Avg Mbps: 8502.234 --- 169.254.0.13 tcpbench statistics --- 6350689396 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8396.681/8460.727/8502.234/34.667 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 1035853604 8286.829 100.00% Conn: 1 Mbps: 8286.829 Peak Mbps: 8286.829 Avg Mbps: 8286.829 2000 1033487864 8276.179 100.00% Conn: 1 Mbps: 8276.179 Peak Mbps: 8286.829 Avg Mbps: 8276.179 3000 1032343504 8258.748 100.00% Conn: 1 Mbps: 8258.748 Peak Mbps: 8286.829 Avg Mbps: 8258.748 4000 1033618648 8268.949 100.00% Conn: 1 Mbps: 8268.949 Peak Mbps: 8286.829 Avg Mbps: 8268.949 5000 1030283656 8242.269 100.00% Conn: 1 Mbps: 8242.269 Peak Mbps: 8286.829 Avg Mbps: 8242.269 --- fc00::13 tcpbench statistics --- 6198192348 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8242.269/8266.595/8286.829/15.232 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.061 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.061/0.061/0.061/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.057 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.057/0.057/0.057/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 1000 214149696 1713.198 100.00% Conn: 1 Mbps: 1713.198 Peak Mbps: 1713.198 Avg Mbps: 1713.198 2000 215361104 1722.889 100.00% Conn: 1 Mbps: 1722.889 Peak Mbps: 1722.889 Avg Mbps: 1722.889 3000 215043776 1720.350 100.00% Conn: 1 Mbps: 1720.350 Peak Mbps: 1722.889 Avg Mbps: 1720.350 4001 215002896 1720.023 100.00% Conn: 1 Mbps: 1720.023 Peak Mbps: 1722.889 Avg Mbps: 1720.023 5002 214091264 1711.019 100.00% Conn: 1 Mbps: 1711.019 Peak Mbps: 1722.889 Avg Mbps: 1711.019 --- 169.254.1.11 tcpbench statistics --- 1288185544 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1711.019/1717.496/1722.889/4.562 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 307918872 2463.351 100.00% Conn: 1 Mbps: 2463.351 Peak Mbps: 2463.351 Avg Mbps: 2463.351 2000 305548704 2446.836 100.00% Conn: 1 Mbps: 2446.836 Peak Mbps: 2463.351 Avg Mbps: 2446.836 3001 304511456 2436.092 100.00% Conn: 1 Mbps: 2436.092 Peak Mbps: 2463.351 Avg Mbps: 2436.092 4001 306096304 2451.222 100.00% Conn: 1 Mbps: 2451.222 Peak Mbps: 2463.351 Avg Mbps: 2451.222 5001 304694792 2437.558 100.00% Conn: 1 Mbps: 2437.558 Peak Mbps: 2463.351 Avg Mbps: 2437.558 --- fc00:0:0:1::11 tcpbench statistics --- 1832853112 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2436.092/2447.012/2463.351/9.933 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.060 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.060/0.060/0.060/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.049 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.049/0.049/0.049/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 1030887050 8247.096 100.00% Conn: 1 Mbps: 8247.096 Peak Mbps: 8247.096 Avg Mbps: 8247.096 2000 1043345956 8355.123 100.00% Conn: 1 Mbps: 8355.123 Peak Mbps: 8355.123 Avg Mbps: 8355.123 3000 1042102748 8336.822 100.00% Conn: 1 Mbps: 8336.822 Peak Mbps: 8355.123 Avg Mbps: 8336.822 4000 1042757068 8342.057 100.00% Conn: 1 Mbps: 8342.057 Peak Mbps: 8355.123 Avg Mbps: 8342.057 5000 1042495340 8339.963 100.00% Conn: 1 Mbps: 8339.963 Peak Mbps: 8355.123 Avg Mbps: 8339.963 --- 169.254.1.12 tcpbench statistics --- 6247616830 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8247.096/8324.212/8355.123/39.058 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 1037698876 8301.591 100.00% Conn: 1 Mbps: 8301.591 Peak Mbps: 8301.591 Avg Mbps: 8301.591 2000 1040517504 8332.473 100.00% Conn: 1 Mbps: 8332.473 Peak Mbps: 8332.473 Avg Mbps: 8332.473 3000 1036495896 8291.967 100.00% Conn: 1 Mbps: 8291.967 Peak Mbps: 8332.473 Avg Mbps: 8291.967 4000 1038163392 8305.307 100.00% Conn: 1 Mbps: 8305.307 Peak Mbps: 8332.473 Avg Mbps: 8305.307 5000 1039242360 8313.939 100.00% Conn: 1 Mbps: 8313.939 Peak Mbps: 8332.473 Avg Mbps: 8313.939 --- fc00:0:0:1::12 tcpbench statistics --- 6229365932 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8291.967/8309.055/8332.473/13.667 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.051 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.051/0.051/0.051/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.046 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/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 1085899602 8687.197 100.00% Conn: 1 Mbps: 8687.197 Peak Mbps: 8687.197 Avg Mbps: 8687.197 2000 1088150518 8713.918 100.00% Conn: 1 Mbps: 8713.918 Peak Mbps: 8713.918 Avg Mbps: 8713.918 3000 1085386016 8683.088 100.00% Conn: 1 Mbps: 8683.088 Peak Mbps: 8713.918 Avg Mbps: 8683.088 4000 1085157004 8681.256 100.00% Conn: 1 Mbps: 8681.256 Peak Mbps: 8713.918 Avg Mbps: 8681.256 5000 1084502684 8676.021 100.00% Conn: 1 Mbps: 8676.021 Peak Mbps: 8713.918 Avg Mbps: 8676.021 --- 169.254.0.13 tcpbench statistics --- 6512715176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8676.021/8688.296/8713.918/13.304 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 1083180452 8665.444 100.00% Conn: 1 Mbps: 8665.444 Peak Mbps: 8665.444 Avg Mbps: 8665.444 2000 1075142568 8609.750 100.00% Conn: 1 Mbps: 8609.750 Peak Mbps: 8665.444 Avg Mbps: 8609.750 3000 1078706432 8629.651 100.00% Conn: 1 Mbps: 8629.651 Peak Mbps: 8665.444 Avg Mbps: 8629.651 4000 1078641040 8629.128 100.00% Conn: 1 Mbps: 8629.128 Peak Mbps: 8665.444 Avg Mbps: 8629.128 5000 1076286928 8610.295 100.00% Conn: 1 Mbps: 8610.295 Peak Mbps: 8665.444 Avg Mbps: 8610.295 --- fc00::13 tcpbench statistics --- 6470925420 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8609.750/8628.854/8665.444/20.243 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 1m52.85s