START sys/net/pair 2024-08-26T01:48:35Z ==== 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.038 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.038/0.038/0.038/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.044 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.044/0.044/0.044/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 927857468 7422.860 100.00% Conn: 1 Mbps: 7422.860 Peak Mbps: 7422.860 Avg Mbps: 7422.860 2000 925624080 7412.405 100.00% Conn: 1 Mbps: 7412.405 Peak Mbps: 7422.860 Avg Mbps: 7412.405 3000 927412380 7419.299 100.00% Conn: 1 Mbps: 7419.299 Peak Mbps: 7422.860 Avg Mbps: 7419.299 4000 927579288 7420.634 100.00% Conn: 1 Mbps: 7420.634 Peak Mbps: 7422.860 Avg Mbps: 7420.634 5000 925814832 7406.519 100.00% Conn: 1 Mbps: 7406.519 Peak Mbps: 7422.860 Avg Mbps: 7406.519 --- 169.254.1.11 tcpbench statistics --- 5559967764 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7406.519/7416.343/7422.860/6.027 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 945033456 7560.268 100.00% Conn: 1 Mbps: 7560.268 Peak Mbps: 7560.268 Avg Mbps: 7560.268 2000 944977960 7567.391 100.00% Conn: 1 Mbps: 7567.391 Peak Mbps: 7567.391 Avg Mbps: 7567.391 3000 945263368 7562.107 100.00% Conn: 1 Mbps: 7562.107 Peak Mbps: 7567.391 Avg Mbps: 7562.107 4000 946365360 7570.923 100.00% Conn: 1 Mbps: 7570.923 Peak Mbps: 7570.923 Avg Mbps: 7570.923 5000 944478496 7563.391 100.00% Conn: 1 Mbps: 7563.391 Peak Mbps: 7570.923 Avg Mbps: 7563.391 --- fc00:0:0:1::11 tcpbench statistics --- 5670422720 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7560.268/7564.816/7570.923/3.847 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.062 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.062/0.062/0.062/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.121 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.121/0.121/0.121/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 273211816 2185.695 100.00% Conn: 1 Mbps: 2185.695 Peak Mbps: 2185.695 Avg Mbps: 2185.695 2000 273527408 2188.219 100.00% Conn: 1 Mbps: 2188.219 Peak Mbps: 2188.219 Avg Mbps: 2188.219 3000 273754456 2190.036 100.00% Conn: 1 Mbps: 2190.036 Peak Mbps: 2190.036 Avg Mbps: 2190.036 4000 273710856 2189.687 100.00% Conn: 1 Mbps: 2189.687 Peak Mbps: 2190.036 Avg Mbps: 2189.687 5001 273754904 2190.039 100.00% Conn: 1 Mbps: 2190.039 Peak Mbps: 2190.039 Avg Mbps: 2190.039 --- 169.254.1.12 tcpbench statistics --- 1641092760 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2185.695/2188.735/2190.039/1.662 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 266585720 2132.686 100.00% Conn: 1 Mbps: 2132.686 Peak Mbps: 2132.686 Avg Mbps: 2132.686 2001 267232868 2137.863 100.00% Conn: 1 Mbps: 2137.863 Peak Mbps: 2137.863 Avg Mbps: 2137.863 3001 267159376 2137.275 100.00% Conn: 1 Mbps: 2137.275 Peak Mbps: 2137.863 Avg Mbps: 2137.275 4002 267388748 2139.110 100.00% Conn: 1 Mbps: 2139.110 Peak Mbps: 2139.110 Avg Mbps: 2139.110 5002 267193960 2137.552 100.00% Conn: 1 Mbps: 2137.552 Peak Mbps: 2139.110 Avg Mbps: 2137.552 --- fc00:0:0:1::12 tcpbench statistics --- 1602299708 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2132.686/2136.897/2139.110/2.197 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 426648640 3413.189 100.00% Conn: 1 Mbps: 3413.189 Peak Mbps: 3413.189 Avg Mbps: 3413.189 2000 425019300 3403.558 100.00% Conn: 1 Mbps: 3403.558 Peak Mbps: 3413.189 Avg Mbps: 3403.558 3000 424757016 3398.056 100.00% Conn: 1 Mbps: 3398.056 Peak Mbps: 3413.189 Avg Mbps: 3398.056 4000 424359616 3394.877 100.00% Conn: 1 Mbps: 3394.877 Peak Mbps: 3413.189 Avg Mbps: 3394.877 5000 425837944 3406.704 100.00% Conn: 1 Mbps: 3406.704 Peak Mbps: 3413.189 Avg Mbps: 3406.704 --- 169.254.0.13 tcpbench statistics --- 2552690952 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3394.877/3403.277/3413.189/6.448 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 415363776 3322.910 100.00% Conn: 1 Mbps: 3322.910 Peak Mbps: 3322.910 Avg Mbps: 3322.910 2000 415062512 3323.824 100.00% Conn: 1 Mbps: 3323.824 Peak Mbps: 3323.824 Avg Mbps: 3323.824 3000 415728464 3325.828 100.00% Conn: 1 Mbps: 3325.828 Peak Mbps: 3325.828 Avg Mbps: 3325.828 4000 413817816 3310.543 100.00% Conn: 1 Mbps: 3310.543 Peak Mbps: 3325.828 Avg Mbps: 3310.543 5000 414999088 3323.316 100.00% Conn: 1 Mbps: 3323.316 Peak Mbps: 3325.828 Avg Mbps: 3323.316 --- fc00::13 tcpbench statistics --- 2490026240 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3310.543/3321.284/3325.828/5.464 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.041 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.041/0.041/0.041/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.046 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.046/0.046/0.046/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 275016256 2200.130 100.00% Conn: 1 Mbps: 2200.130 Peak Mbps: 2200.130 Avg Mbps: 2200.130 2001 277141456 2217.132 100.00% Conn: 1 Mbps: 2217.132 Peak Mbps: 2217.132 Avg Mbps: 2217.132 3001 277041424 2216.331 100.00% Conn: 1 Mbps: 2216.331 Peak Mbps: 2217.132 Avg Mbps: 2216.331 4001 276820768 2216.783 100.00% Conn: 1 Mbps: 2216.783 Peak Mbps: 2217.132 Avg Mbps: 2216.783 5001 277146296 2217.170 100.00% Conn: 1 Mbps: 2217.170 Peak Mbps: 2217.170 Avg Mbps: 2217.170 --- 169.254.1.11 tcpbench statistics --- 1659728168 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2200.130/2213.509/2217.170/6.696 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 268896704 2151.174 100.00% Conn: 1 Mbps: 2151.174 Peak Mbps: 2151.174 Avg Mbps: 2151.174 2000 269579384 2156.635 100.00% Conn: 1 Mbps: 2156.635 Peak Mbps: 2156.635 Avg Mbps: 2156.635 3000 269206648 2155.809 100.00% Conn: 1 Mbps: 2155.809 Peak Mbps: 2156.635 Avg Mbps: 2155.809 4001 269737596 2157.901 100.00% Conn: 1 Mbps: 2157.901 Peak Mbps: 2157.901 Avg Mbps: 2157.901 5000 269152752 2155.377 100.00% Conn: 1 Mbps: 2155.377 Peak Mbps: 2157.901 Avg Mbps: 2155.377 --- fc00:0:0:1::11 tcpbench statistics --- 1616180760 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2151.174/2155.379/2157.901/2.272 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.045 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.045/0.045/0.045/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 940978456 7527.828 100.00% Conn: 1 Mbps: 7527.828 Peak Mbps: 7527.828 Avg Mbps: 7527.828 2000 940738088 7533.438 100.00% Conn: 1 Mbps: 7533.438 Peak Mbps: 7533.438 Avg Mbps: 7533.438 3000 940769944 7526.160 100.00% Conn: 1 Mbps: 7526.160 Peak Mbps: 7533.438 Avg Mbps: 7526.160 4000 941767616 7541.683 100.00% Conn: 1 Mbps: 7541.683 Peak Mbps: 7541.683 Avg Mbps: 7541.683 5000 941686528 7533.492 100.00% Conn: 1 Mbps: 7533.492 Peak Mbps: 7541.683 Avg Mbps: 7533.492 --- 169.254.1.12 tcpbench statistics --- 5647021896 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7526.160/7532.520/7541.683/5.445 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 954081072 7632.649 100.00% Conn: 1 Mbps: 7632.649 Peak Mbps: 7632.649 Avg Mbps: 7632.649 2000 954432360 7643.102 100.00% Conn: 1 Mbps: 7643.102 Peak Mbps: 7643.102 Avg Mbps: 7643.102 3000 953387064 7627.097 100.00% Conn: 1 Mbps: 7627.097 Peak Mbps: 7643.102 Avg Mbps: 7627.097 4000 953989680 7631.917 100.00% Conn: 1 Mbps: 7631.917 Peak Mbps: 7643.102 Avg Mbps: 7631.917 5000 954875040 7646.647 100.00% Conn: 1 Mbps: 7646.647 Peak Mbps: 7646.647 Avg Mbps: 7646.647 --- fc00:0:0:1::12 tcpbench statistics --- 5724477864 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7627.097/7636.282/7646.647/7.356 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.040 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.040/0.040/0.040/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.045 ms --- fc00::13 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-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 1344978250 10759.826 100.00% Conn: 1 Mbps: 10759.826 Peak Mbps: 10759.826 Avg Mbps: 10759.826 2000 1325979480 10618.454 100.00% Conn: 1 Mbps: 10618.454 Peak Mbps: 10759.826 Avg Mbps: 10618.454 3000 1310046788 10480.374 100.00% Conn: 1 Mbps: 10480.374 Peak Mbps: 10759.826 Avg Mbps: 10480.374 4000 1347931916 10783.455 100.00% Conn: 1 Mbps: 10783.455 Peak Mbps: 10783.455 Avg Mbps: 10783.455 5000 1372796076 10982.369 100.00% Conn: 1 Mbps: 10982.369 Peak Mbps: 10982.369 Avg Mbps: 10982.369 --- 169.254.0.13 tcpbench statistics --- 8042237894 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10480.374/10724.896/10982.369/168.560 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 1347906748 10783.254 100.00% Conn: 1 Mbps: 10783.254 Peak Mbps: 10783.254 Avg Mbps: 10783.254 2000 1332787048 10672.969 100.00% Conn: 1 Mbps: 10672.969 Peak Mbps: 10783.254 Avg Mbps: 10672.969 3000 1318793160 10550.345 100.00% Conn: 1 Mbps: 10550.345 Peak Mbps: 10783.254 Avg Mbps: 10550.345 4000 1325201576 10601.613 100.00% Conn: 1 Mbps: 10601.613 Peak Mbps: 10783.254 Avg Mbps: 10601.613 5000 1357505224 10860.042 100.00% Conn: 1 Mbps: 10860.042 Peak Mbps: 10860.042 Avg Mbps: 10860.042 --- fc00::13 tcpbench statistics --- 7991210812 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10550.345/10693.645/10860.042/114.149 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.042 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.042/0.042/0.042/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.051 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.051/0.051/0.051/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 272132792 2177.062 100.00% Conn: 1 Mbps: 2177.062 Peak Mbps: 2177.062 Avg Mbps: 2177.062 2000 272760352 2182.083 100.00% Conn: 1 Mbps: 2182.083 Peak Mbps: 2182.083 Avg Mbps: 2182.083 3001 272840656 2182.725 100.00% Conn: 1 Mbps: 2182.725 Peak Mbps: 2182.725 Avg Mbps: 2182.725 4000 272436784 2181.676 100.00% Conn: 1 Mbps: 2181.676 Peak Mbps: 2182.725 Avg Mbps: 2181.676 5001 272878640 2183.029 100.00% Conn: 1 Mbps: 2183.029 Peak Mbps: 2183.029 Avg Mbps: 2183.029 --- 169.254.1.11 tcpbench statistics --- 1635231992 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2177.062/2181.315/2183.029/2.179 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 417361432 3338.891 100.00% Conn: 1 Mbps: 3338.891 Peak Mbps: 3338.891 Avg Mbps: 3338.891 2001 417239560 3337.916 100.00% Conn: 1 Mbps: 3337.916 Peak Mbps: 3338.891 Avg Mbps: 3337.916 3000 416970120 3339.100 100.00% Conn: 1 Mbps: 3339.100 Peak Mbps: 3339.100 Avg Mbps: 3339.100 4001 415655120 3325.241 100.00% Conn: 1 Mbps: 3325.241 Peak Mbps: 3339.100 Avg Mbps: 3325.241 5001 416706336 3336.988 100.00% Conn: 1 Mbps: 3336.988 Peak Mbps: 3339.100 Avg Mbps: 3336.988 --- fc00:0:0:1::11 tcpbench statistics --- 2500614608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3325.241/3335.627/3339.100/5.248 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.041 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.041/0.041/0.041/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.047 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.047/0.047/0.047/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 1352096284 10816.770 100.00% Conn: 1 Mbps: 10816.770 Peak Mbps: 10816.770 Avg Mbps: 10816.770 2000 1356437704 10862.364 100.00% Conn: 1 Mbps: 10862.364 Peak Mbps: 10862.364 Avg Mbps: 10862.364 3000 1374268296 10994.146 100.00% Conn: 1 Mbps: 10994.146 Peak Mbps: 10994.146 Avg Mbps: 10994.146 4000 1373319532 10986.556 100.00% Conn: 1 Mbps: 10986.556 Peak Mbps: 10994.146 Avg Mbps: 10986.556 5000 1380222608 11041.781 100.00% Conn: 1 Mbps: 11041.781 Peak Mbps: 11041.781 Avg Mbps: 11041.781 --- 169.254.1.12 tcpbench statistics --- 8196675704 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10816.770/10940.324/11041.781/85.640 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 1324271068 10594.169 100.00% Conn: 1 Mbps: 10594.169 Peak Mbps: 10594.169 Avg Mbps: 10594.169 2000 1360022816 10891.074 100.00% Conn: 1 Mbps: 10891.074 Peak Mbps: 10891.074 Avg Mbps: 10891.074 3000 1310782640 10486.261 100.00% Conn: 1 Mbps: 10486.261 Peak Mbps: 10891.074 Avg Mbps: 10486.261 4000 1308199656 10465.597 100.00% Conn: 1 Mbps: 10465.597 Peak Mbps: 10891.074 Avg Mbps: 10465.597 5000 1396576944 11172.616 100.00% Conn: 1 Mbps: 11172.616 Peak Mbps: 11172.616 Avg Mbps: 11172.616 --- fc00:0:0:1::12 tcpbench statistics --- 8066349748 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10465.597/10721.943/11172.616/271.771 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.040 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.040/0.040/0.040/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 1399986730 11199.894 100.00% Conn: 1 Mbps: 11199.894 Peak Mbps: 11199.894 Avg Mbps: 11199.894 2000 1398150148 11196.398 100.00% Conn: 1 Mbps: 11196.398 Peak Mbps: 11199.894 Avg Mbps: 11196.398 3000 1406443666 11251.549 100.00% Conn: 1 Mbps: 11251.549 Peak Mbps: 11251.549 Avg Mbps: 11251.549 4000 1404300768 11234.406 100.00% Conn: 1 Mbps: 11234.406 Peak Mbps: 11251.549 Avg Mbps: 11234.406 5000 1407245220 11257.962 100.00% Conn: 1 Mbps: 11257.962 Peak Mbps: 11257.962 Avg Mbps: 11257.962 --- 169.254.0.13 tcpbench statistics --- 8422537482 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11196.398/11228.042/11257.962/25.620 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 1441576252 11532.610 100.00% Conn: 1 Mbps: 11532.610 Peak Mbps: 11532.610 Avg Mbps: 11532.610 2000 1435844840 11498.257 100.00% Conn: 1 Mbps: 11498.257 Peak Mbps: 11532.610 Avg Mbps: 11498.257 3000 1442384040 11539.072 100.00% Conn: 1 Mbps: 11539.072 Peak Mbps: 11539.072 Avg Mbps: 11539.072 4000 1445097808 11560.782 100.00% Conn: 1 Mbps: 11560.782 Peak Mbps: 11560.782 Avg Mbps: 11560.782 5000 1443103352 11544.827 100.00% Conn: 1 Mbps: 11544.827 Peak Mbps: 11560.782 Avg Mbps: 11544.827 --- fc00::13 tcpbench statistics --- 8659349036 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11498.257/11535.110/11560.782/20.657 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 1m51.83s