START sys/net/pair 2024-12-24T17:26:11Z ==== 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.037 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.037/0.037/0.037/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.045 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.045/0.045/0.045/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 626668008 5013.344 100.00% Conn: 1 Mbps: 5013.344 Peak Mbps: 5013.344 Avg Mbps: 5013.344 2000 631436808 5056.551 100.00% Conn: 1 Mbps: 5056.551 Peak Mbps: 5056.551 Avg Mbps: 5056.551 3000 626612372 5012.899 100.00% Conn: 1 Mbps: 5012.899 Peak Mbps: 5056.551 Avg Mbps: 5012.899 4000 627391276 5024.154 100.00% Conn: 1 Mbps: 5024.154 Peak Mbps: 5056.551 Avg Mbps: 5024.154 5000 627884052 5023.072 100.00% Conn: 1 Mbps: 5023.072 Peak Mbps: 5056.551 Avg Mbps: 5023.072 --- 169.254.1.11 tcpbench statistics --- 3766191592 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5012.899/5026.004/5056.551/15.982 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 647130928 5177.047 100.00% Conn: 1 Mbps: 5177.047 Peak Mbps: 5177.047 Avg Mbps: 5177.047 2000 645854520 5172.008 100.00% Conn: 1 Mbps: 5172.008 Peak Mbps: 5177.047 Avg Mbps: 5172.008 3000 647210728 5182.869 100.00% Conn: 1 Mbps: 5182.869 Peak Mbps: 5182.869 Avg Mbps: 5182.869 4000 647162640 5177.301 100.00% Conn: 1 Mbps: 5177.301 Peak Mbps: 5182.869 Avg Mbps: 5177.301 5000 643095576 5144.765 100.00% Conn: 1 Mbps: 5144.765 Peak Mbps: 5182.869 Avg Mbps: 5144.765 --- fc00:0:0:1::11 tcpbench statistics --- 3872915728 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5144.765/5170.798/5182.869/13.463 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.077 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.077/0.077/0.077/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.128 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.128/0.128/0.128/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 210127072 1679.337 100.00% Conn: 1 Mbps: 1679.337 Peak Mbps: 1679.337 Avg Mbps: 1679.337 2001 208518024 1668.144 100.00% Conn: 1 Mbps: 1668.144 Peak Mbps: 1679.337 Avg Mbps: 1668.144 3001 208669568 1671.028 100.00% Conn: 1 Mbps: 1671.028 Peak Mbps: 1679.337 Avg Mbps: 1671.028 4001 210558416 1684.467 100.00% Conn: 1 Mbps: 1684.467 Peak Mbps: 1684.467 Avg Mbps: 1684.467 5001 209928152 1679.425 100.00% Conn: 1 Mbps: 1679.425 Peak Mbps: 1684.467 Avg Mbps: 1679.425 --- 169.254.1.12 tcpbench statistics --- 1257884936 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1668.144/1676.480/1684.467/5.998 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 199442360 1595.539 100.00% Conn: 1 Mbps: 1595.539 Peak Mbps: 1595.539 Avg Mbps: 1595.539 2001 203253860 1624.406 100.00% Conn: 1 Mbps: 1624.406 Peak Mbps: 1624.406 Avg Mbps: 1624.406 3002 201661400 1613.291 100.00% Conn: 1 Mbps: 1613.291 Peak Mbps: 1624.406 Avg Mbps: 1613.291 4002 200871560 1608.581 100.00% Conn: 1 Mbps: 1608.581 Peak Mbps: 1624.406 Avg Mbps: 1608.581 5003 203537524 1628.300 100.00% Conn: 1 Mbps: 1628.300 Peak Mbps: 1628.300 Avg Mbps: 1628.300 --- fc00:0:0:1::12 tcpbench statistics --- 1210141132 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1595.539/1614.024/1628.300/11.692 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.056 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.056/0.056/0.056/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 329475832 2635.807 100.00% Conn: 1 Mbps: 2635.807 Peak Mbps: 2635.807 Avg Mbps: 2635.807 2000 327489252 2619.914 100.00% Conn: 1 Mbps: 2619.914 Peak Mbps: 2635.807 Avg Mbps: 2619.914 3000 328450960 2627.608 100.00% Conn: 1 Mbps: 2627.608 Peak Mbps: 2635.807 Avg Mbps: 2627.608 4000 329825824 2638.607 100.00% Conn: 1 Mbps: 2638.607 Peak Mbps: 2638.607 Avg Mbps: 2638.607 5000 328649380 2629.195 100.00% Conn: 1 Mbps: 2629.195 Peak Mbps: 2638.607 Avg Mbps: 2629.195 --- 169.254.0.13 tcpbench statistics --- 1975004508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2619.914/2630.226/2638.607/6.567 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 301184720 2409.478 100.00% Conn: 1 Mbps: 2409.478 Peak Mbps: 2409.478 Avg Mbps: 2409.478 2000 300947400 2407.579 100.00% Conn: 1 Mbps: 2407.579 Peak Mbps: 2409.478 Avg Mbps: 2407.579 3000 300598568 2404.789 100.00% Conn: 1 Mbps: 2404.789 Peak Mbps: 2409.478 Avg Mbps: 2404.789 4000 300970664 2410.175 100.00% Conn: 1 Mbps: 2410.175 Peak Mbps: 2410.175 Avg Mbps: 2410.175 5000 301604904 2412.839 100.00% Conn: 1 Mbps: 2412.839 Peak Mbps: 2412.839 Avg Mbps: 2412.839 --- fc00::13 tcpbench statistics --- 1807007336 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2404.789/2408.972/2412.839/2.687 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.069 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.069/0.069/0.069/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.059 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.059/0.059/0.059/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 213979704 1711.838 100.00% Conn: 1 Mbps: 1711.838 Peak Mbps: 1711.838 Avg Mbps: 1711.838 2000 213290968 1706.328 100.00% Conn: 1 Mbps: 1706.328 Peak Mbps: 1711.838 Avg Mbps: 1706.328 3000 212827440 1704.324 100.00% Conn: 1 Mbps: 1704.324 Peak Mbps: 1711.838 Avg Mbps: 1704.324 4000 212895784 1703.166 100.00% Conn: 1 Mbps: 1703.166 Peak Mbps: 1711.838 Avg Mbps: 1703.166 5000 212443776 1699.550 100.00% Conn: 1 Mbps: 1699.550 Peak Mbps: 1711.838 Avg Mbps: 1699.550 --- 169.254.1.11 tcpbench statistics --- 1278069688 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1699.550/1705.041/1711.838/4.050 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 202331672 1618.653 100.00% Conn: 1 Mbps: 1618.653 Peak Mbps: 1618.653 Avg Mbps: 1618.653 2000 202897836 1623.183 100.00% Conn: 1 Mbps: 1623.183 Peak Mbps: 1623.183 Avg Mbps: 1623.183 3000 204610404 1636.883 100.00% Conn: 1 Mbps: 1636.883 Peak Mbps: 1636.883 Avg Mbps: 1636.883 4000 203934508 1631.476 100.00% Conn: 1 Mbps: 1631.476 Peak Mbps: 1636.883 Avg Mbps: 1631.476 5001 204783220 1636.629 100.00% Conn: 1 Mbps: 1636.629 Peak Mbps: 1636.883 Avg Mbps: 1636.629 --- fc00:0:0:1::11 tcpbench statistics --- 1223197552 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1618.653/1629.365/1636.883/7.304 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.042 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.042/0.042/0.042/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 617658992 4941.272 100.00% Conn: 1 Mbps: 4941.272 Peak Mbps: 4941.272 Avg Mbps: 4941.272 2000 617760240 4947.029 100.00% Conn: 1 Mbps: 4947.029 Peak Mbps: 4947.029 Avg Mbps: 4947.029 3000 615498576 4923.989 100.00% Conn: 1 Mbps: 4923.989 Peak Mbps: 4947.029 Avg Mbps: 4923.989 4000 614645648 4917.165 100.00% Conn: 1 Mbps: 4917.165 Peak Mbps: 4947.029 Avg Mbps: 4917.165 5000 612352016 4903.720 100.00% Conn: 1 Mbps: 4903.720 Peak Mbps: 4947.029 Avg Mbps: 4903.720 --- 169.254.1.12 tcpbench statistics --- 3691938424 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4903.720/4926.635/4947.029/15.824 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 630537076 5044.297 100.00% Conn: 1 Mbps: 5044.297 Peak Mbps: 5044.297 Avg Mbps: 5044.297 2000 627514820 5025.144 100.00% Conn: 1 Mbps: 5025.144 Peak Mbps: 5044.297 Avg Mbps: 5025.144 3000 634341268 5074.730 100.00% Conn: 1 Mbps: 5074.730 Peak Mbps: 5074.730 Avg Mbps: 5074.730 4000 634452652 5075.621 100.00% Conn: 1 Mbps: 5075.621 Peak Mbps: 5075.621 Avg Mbps: 5075.621 5000 631143976 5054.206 100.00% Conn: 1 Mbps: 5054.206 Peak Mbps: 5075.621 Avg Mbps: 5054.206 --- fc00:0:0:1::12 tcpbench statistics --- 3791215184 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5025.144/5054.800/5075.621/19.084 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.048 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.048/0.048/0.048/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.053 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.053/0.053/0.053/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 1101501814 8812.015 100.00% Conn: 1 Mbps: 8812.015 Peak Mbps: 8812.015 Avg Mbps: 8812.015 2000 1103265310 8834.957 100.00% Conn: 1 Mbps: 8834.957 Peak Mbps: 8834.957 Avg Mbps: 8834.957 3000 1102300188 8818.402 100.00% Conn: 1 Mbps: 8818.402 Peak Mbps: 8834.957 Avg Mbps: 8818.402 4000 1104672098 8837.377 100.00% Conn: 1 Mbps: 8837.377 Peak Mbps: 8837.377 Avg Mbps: 8837.377 5000 1101547720 8812.382 100.00% Conn: 1 Mbps: 8812.382 Peak Mbps: 8837.377 Avg Mbps: 8812.382 --- 169.254.0.13 tcpbench statistics --- 6615947194 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8812.015/8823.026/8837.377/10.993 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 1086002000 8688.016 100.00% Conn: 1 Mbps: 8688.016 Peak Mbps: 8688.016 Avg Mbps: 8688.016 2000 1085997640 8696.678 100.00% Conn: 1 Mbps: 8696.678 Peak Mbps: 8696.678 Avg Mbps: 8696.678 3000 1085768768 8686.150 100.00% Conn: 1 Mbps: 8686.150 Peak Mbps: 8696.678 Avg Mbps: 8686.150 4000 1086782344 8694.259 100.00% Conn: 1 Mbps: 8694.259 Peak Mbps: 8696.678 Avg Mbps: 8694.259 5000 1089398024 8715.184 100.00% Conn: 1 Mbps: 8715.184 Peak Mbps: 8715.184 Avg Mbps: 8715.184 --- fc00::13 tcpbench statistics --- 6524785424 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8686.150/8696.057/8715.184/10.318 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.060 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.060/0.060/0.060/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.058 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.058/0.058/0.058/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 207014480 1656.116 100.00% Conn: 1 Mbps: 1656.116 Peak Mbps: 1656.116 Avg Mbps: 1656.116 2001 205817392 1646.539 100.00% Conn: 1 Mbps: 1646.539 Peak Mbps: 1656.116 Avg Mbps: 1646.539 3001 207732760 1661.862 100.00% Conn: 1 Mbps: 1661.862 Peak Mbps: 1661.862 Avg Mbps: 1661.862 4002 206903504 1655.228 100.00% Conn: 1 Mbps: 1655.228 Peak Mbps: 1661.862 Avg Mbps: 1655.228 5002 207200560 1657.604 100.00% Conn: 1 Mbps: 1657.604 Peak Mbps: 1661.862 Avg Mbps: 1657.604 --- 169.254.1.11 tcpbench statistics --- 1240520112 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1646.539/1655.470/1661.862/5.013 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 314642008 2517.136 100.00% Conn: 1 Mbps: 2517.136 Peak Mbps: 2517.136 Avg Mbps: 2517.136 2000 307731464 2461.852 100.00% Conn: 1 Mbps: 2461.852 Peak Mbps: 2517.136 Avg Mbps: 2461.852 3000 310966640 2490.223 100.00% Conn: 1 Mbps: 2490.223 Peak Mbps: 2517.136 Avg Mbps: 2490.223 4001 314352624 2514.821 100.00% Conn: 1 Mbps: 2514.821 Peak Mbps: 2517.136 Avg Mbps: 2514.821 5001 312003936 2496.031 100.00% Conn: 1 Mbps: 2496.031 Peak Mbps: 2517.136 Avg Mbps: 2496.031 --- fc00:0:0:1::11 tcpbench statistics --- 1870274504 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2461.852/2496.013/2517.136/20.002 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.057 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.057/0.057/0.057/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.080 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.080/0.080/0.080/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 1101604136 8812.833 100.00% Conn: 1 Mbps: 8812.833 Peak Mbps: 8812.833 Avg Mbps: 8812.833 2000 1108434438 8876.352 100.00% Conn: 1 Mbps: 8876.352 Peak Mbps: 8876.352 Avg Mbps: 8876.352 3000 1107992772 8863.942 100.00% Conn: 1 Mbps: 8863.942 Peak Mbps: 8876.352 Avg Mbps: 8863.942 4000 1107714686 8861.717 100.00% Conn: 1 Mbps: 8861.717 Peak Mbps: 8876.352 Avg Mbps: 8861.717 5000 1108859746 8870.878 100.00% Conn: 1 Mbps: 8870.878 Peak Mbps: 8876.352 Avg Mbps: 8870.878 --- 169.254.1.12 tcpbench statistics --- 6642304106 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8812.833/8857.145/8876.352/22.751 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 1097999036 8783.992 100.00% Conn: 1 Mbps: 8783.992 Peak Mbps: 8783.992 Avg Mbps: 8783.992 2000 1103293824 8835.186 100.00% Conn: 1 Mbps: 8835.186 Peak Mbps: 8835.186 Avg Mbps: 8835.186 3000 1103980440 8831.844 100.00% Conn: 1 Mbps: 8831.844 Peak Mbps: 8835.186 Avg Mbps: 8831.844 4000 1107151952 8857.216 100.00% Conn: 1 Mbps: 8857.216 Peak Mbps: 8857.216 Avg Mbps: 8857.216 5000 1107282736 8858.262 100.00% Conn: 1 Mbps: 8858.262 Peak Mbps: 8858.262 Avg Mbps: 8858.262 --- fc00:0:0:1::12 tcpbench statistics --- 6626369500 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8783.992/8833.300/8858.262/26.952 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.050 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.050/0.050/0.050/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.044 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/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 1114118778 8912.950 100.00% Conn: 1 Mbps: 8912.950 Peak Mbps: 8912.950 Avg Mbps: 8912.950 2000 1108352648 8875.697 100.00% Conn: 1 Mbps: 8875.697 Peak Mbps: 8912.950 Avg Mbps: 8875.697 3000 1114634120 8917.073 100.00% Conn: 1 Mbps: 8917.073 Peak Mbps: 8917.073 Avg Mbps: 8917.073 4000 1110907396 8887.259 100.00% Conn: 1 Mbps: 8887.259 Peak Mbps: 8917.073 Avg Mbps: 8887.259 5000 1111935050 8895.480 100.00% Conn: 1 Mbps: 8895.480 Peak Mbps: 8917.073 Avg Mbps: 8895.480 --- 169.254.0.13 tcpbench statistics --- 6675449086 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8875.697/8897.692/8917.073/15.530 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 1119380952 8955.048 100.00% Conn: 1 Mbps: 8955.048 Peak Mbps: 8955.048 Avg Mbps: 8955.048 2000 1119707216 8966.624 100.00% Conn: 1 Mbps: 8966.624 Peak Mbps: 8966.624 Avg Mbps: 8966.624 3000 1119118688 8952.950 100.00% Conn: 1 Mbps: 8952.950 Peak Mbps: 8966.624 Avg Mbps: 8952.950 4000 1120491920 8963.935 100.00% Conn: 1 Mbps: 8963.935 Peak Mbps: 8966.624 Avg Mbps: 8963.935 5000 1120267656 8962.141 100.00% Conn: 1 Mbps: 8962.141 Peak Mbps: 8966.624 Avg Mbps: 8962.141 --- fc00::13 tcpbench statistics --- 6714521256 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8952.950/8960.140/8966.624/5.255 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.83s