START sys/net/pair 2025-01-17T04:52:17Z ==== 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.039 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.039/0.039/0.039/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 523407592 4187.261 100.00% Conn: 1 Mbps: 4187.261 Peak Mbps: 4187.261 Avg Mbps: 4187.261 2000 524726960 4202.018 100.00% Conn: 1 Mbps: 4202.018 Peak Mbps: 4202.018 Avg Mbps: 4202.018 3000 525895316 4207.163 100.00% Conn: 1 Mbps: 4207.163 Peak Mbps: 4207.163 Avg Mbps: 4207.163 4000 523272476 4186.180 100.00% Conn: 1 Mbps: 4186.180 Peak Mbps: 4207.163 Avg Mbps: 4186.180 5000 524631584 4197.053 100.00% Conn: 1 Mbps: 4197.053 Peak Mbps: 4207.163 Avg Mbps: 4197.053 --- 169.254.1.11 tcpbench statistics --- 3148401500 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4186.180/4195.935/4207.163/8.182 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 519553552 4156.428 100.00% Conn: 1 Mbps: 4156.428 Peak Mbps: 4156.428 Avg Mbps: 4156.428 2000 517254432 4142.178 100.00% Conn: 1 Mbps: 4142.178 Peak Mbps: 4156.428 Avg Mbps: 4142.178 3000 518245432 4145.963 100.00% Conn: 1 Mbps: 4145.963 Peak Mbps: 4156.428 Avg Mbps: 4145.963 4000 518261288 4146.090 100.00% Conn: 1 Mbps: 4146.090 Peak Mbps: 4156.428 Avg Mbps: 4146.090 5000 518618048 4148.944 100.00% Conn: 1 Mbps: 4148.944 Peak Mbps: 4156.428 Avg Mbps: 4148.944 --- fc00:0:0:1::11 tcpbench statistics --- 3110154400 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4142.178/4147.921/4156.428/4.766 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.076 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.076/0.076/0.076/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.144 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.144/0.144/0.144/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 271250384 2167.835 100.00% Conn: 1 Mbps: 2167.835 Peak Mbps: 2167.835 Avg Mbps: 2167.835 2001 281352928 2250.823 100.00% Conn: 1 Mbps: 2250.823 Peak Mbps: 2250.823 Avg Mbps: 2250.823 3002 285615104 2284.921 100.00% Conn: 1 Mbps: 2284.921 Peak Mbps: 2284.921 Avg Mbps: 2284.921 4002 281892344 2255.139 100.00% Conn: 1 Mbps: 2255.139 Peak Mbps: 2284.921 Avg Mbps: 2255.139 5003 286623976 2292.992 100.00% Conn: 1 Mbps: 2292.992 Peak Mbps: 2292.992 Avg Mbps: 2292.992 --- 169.254.1.12 tcpbench statistics --- 1688385928 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2167.835/2250.342/2292.992/44.374 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1001 258018228 2062.084 100.00% Conn: 1 Mbps: 2062.084 Peak Mbps: 2062.084 Avg Mbps: 2062.084 2000 274039696 2194.512 100.00% Conn: 1 Mbps: 2194.512 Peak Mbps: 2194.512 Avg Mbps: 2194.512 3001 273484644 2187.877 100.00% Conn: 1 Mbps: 2187.877 Peak Mbps: 2194.512 Avg Mbps: 2187.877 4002 273532036 2188.256 100.00% Conn: 1 Mbps: 2188.256 Peak Mbps: 2194.512 Avg Mbps: 2188.256 5002 276140640 2209.125 100.00% Conn: 1 Mbps: 2209.125 Peak Mbps: 2209.125 Avg Mbps: 2209.125 --- fc00:0:0:1::12 tcpbench statistics --- 1631521756 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2062.084/2168.371/2209.125/53.698 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.064 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.064/0.064/0.064/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.071 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.071/0.071/0.071/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 580468492 4643.748 100.00% Conn: 1 Mbps: 4643.748 Peak Mbps: 4643.748 Avg Mbps: 4643.748 2000 586924508 4700.096 100.00% Conn: 1 Mbps: 4700.096 Peak Mbps: 4700.096 Avg Mbps: 4700.096 3000 586989352 4695.915 100.00% Conn: 1 Mbps: 4695.915 Peak Mbps: 4700.096 Avg Mbps: 4695.915 4000 558493812 4467.950 100.00% Conn: 1 Mbps: 4467.950 Peak Mbps: 4700.096 Avg Mbps: 4467.950 5000 506684020 4053.472 100.00% Conn: 1 Mbps: 4053.472 Peak Mbps: 4700.096 Avg Mbps: 4053.472 --- 169.254.0.13 tcpbench statistics --- 3306001488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4053.472/4512.236/4700.096/244.438 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 543212144 4345.697 100.00% Conn: 1 Mbps: 4345.697 Peak Mbps: 4345.697 Avg Mbps: 4345.697 2000 574728680 4597.829 100.00% Conn: 1 Mbps: 4597.829 Peak Mbps: 4597.829 Avg Mbps: 4597.829 3000 575044888 4600.359 100.00% Conn: 1 Mbps: 4600.359 Peak Mbps: 4600.359 Avg Mbps: 4600.359 4001 578259496 4626.076 100.00% Conn: 1 Mbps: 4626.076 Peak Mbps: 4626.076 Avg Mbps: 4626.076 5001 577744568 4621.957 100.00% Conn: 1 Mbps: 4621.957 Peak Mbps: 4626.076 Avg Mbps: 4621.957 --- fc00::13 tcpbench statistics --- 3424087952 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4345.697/4558.384/4626.076/106.937 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.047 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.047/0.047/0.047/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.050 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.050/0.050/0.050/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 269818600 2158.549 100.00% Conn: 1 Mbps: 2158.549 Peak Mbps: 2158.549 Avg Mbps: 2158.549 2001 280460496 2243.684 100.00% Conn: 1 Mbps: 2243.684 Peak Mbps: 2243.684 Avg Mbps: 2243.684 3002 284183968 2273.472 100.00% Conn: 1 Mbps: 2273.472 Peak Mbps: 2273.472 Avg Mbps: 2273.472 4003 284356520 2272.580 100.00% Conn: 1 Mbps: 2272.580 Peak Mbps: 2273.472 Avg Mbps: 2272.580 5003 285304784 2282.438 100.00% Conn: 1 Mbps: 2282.438 Peak Mbps: 2282.438 Avg Mbps: 2282.438 --- 169.254.1.11 tcpbench statistics --- 1690309416 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2158.549/2246.144/2282.438/45.699 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 256372324 2050.979 100.00% Conn: 1 Mbps: 2050.979 Peak Mbps: 2050.979 Avg Mbps: 2050.979 2001 267108524 2136.868 100.00% Conn: 1 Mbps: 2136.868 Peak Mbps: 2136.868 Avg Mbps: 2136.868 3001 270075484 2162.767 100.00% Conn: 1 Mbps: 2162.767 Peak Mbps: 2162.767 Avg Mbps: 2162.767 4001 273468172 2187.745 100.00% Conn: 1 Mbps: 2187.745 Peak Mbps: 2187.745 Avg Mbps: 2187.745 5001 273769352 2192.347 100.00% Conn: 1 Mbps: 2192.347 Peak Mbps: 2192.347 Avg Mbps: 2192.347 --- fc00:0:0:1::11 tcpbench statistics --- 1614606036 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2050.979/2146.141/2192.347/51.545 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.045 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.045/0.045/0.045/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.060 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.060/0.060/0.060/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 526917064 4215.337 100.00% Conn: 1 Mbps: 4215.337 Peak Mbps: 4215.337 Avg Mbps: 4215.337 2000 525550152 4208.610 100.00% Conn: 1 Mbps: 4208.610 Peak Mbps: 4215.337 Avg Mbps: 4208.610 3000 522438400 4179.507 100.00% Conn: 1 Mbps: 4179.507 Peak Mbps: 4215.337 Avg Mbps: 4179.507 4000 524124488 4192.996 100.00% Conn: 1 Mbps: 4192.996 Peak Mbps: 4215.337 Avg Mbps: 4192.996 5000 526401576 4211.213 100.00% Conn: 1 Mbps: 4211.213 Peak Mbps: 4215.337 Avg Mbps: 4211.213 --- 169.254.1.12 tcpbench statistics --- 3152193808 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4179.507/4201.532/4215.337/13.359 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 537202176 4297.617 100.00% Conn: 1 Mbps: 4297.617 Peak Mbps: 4297.617 Avg Mbps: 4297.617 2000 538311732 4310.805 100.00% Conn: 1 Mbps: 4310.805 Peak Mbps: 4310.805 Avg Mbps: 4310.805 3000 538558776 4308.470 100.00% Conn: 1 Mbps: 4308.470 Peak Mbps: 4310.805 Avg Mbps: 4308.470 4000 538691580 4309.533 100.00% Conn: 1 Mbps: 4309.533 Peak Mbps: 4310.805 Avg Mbps: 4309.533 5000 538474524 4307.796 100.00% Conn: 1 Mbps: 4307.796 Peak Mbps: 4310.805 Avg Mbps: 4307.796 --- fc00:0:0:1::12 tcpbench statistics --- 3229977492 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4297.617/4306.844/4310.805/4.724 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.051 ms --- fc00::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-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 786462522 6291.700 100.00% Conn: 1 Mbps: 6291.700 Peak Mbps: 6291.700 Avg Mbps: 6291.700 2000 785151284 6287.498 100.00% Conn: 1 Mbps: 6287.498 Peak Mbps: 6291.700 Avg Mbps: 6287.498 3000 783908076 6271.265 100.00% Conn: 1 Mbps: 6271.265 Peak Mbps: 6291.700 Avg Mbps: 6271.265 4000 789502512 6316.020 100.00% Conn: 1 Mbps: 6316.020 Peak Mbps: 6316.020 Avg Mbps: 6316.020 5000 789011772 6312.094 100.00% Conn: 1 Mbps: 6312.094 Peak Mbps: 6316.020 Avg Mbps: 6312.094 --- 169.254.0.13 tcpbench statistics --- 4722491766 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6271.265/6295.715/6316.020/16.505 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 786748436 6293.987 100.00% Conn: 1 Mbps: 6293.987 Peak Mbps: 6293.987 Avg Mbps: 6293.987 2000 785946448 6293.865 100.00% Conn: 1 Mbps: 6293.865 Peak Mbps: 6293.987 Avg Mbps: 6293.865 3000 785554096 6284.433 100.00% Conn: 1 Mbps: 6284.433 Peak Mbps: 6293.987 Avg Mbps: 6284.433 4000 786011840 6288.095 100.00% Conn: 1 Mbps: 6288.095 Peak Mbps: 6293.987 Avg Mbps: 6288.095 5000 785979144 6287.833 100.00% Conn: 1 Mbps: 6287.833 Peak Mbps: 6293.987 Avg Mbps: 6287.833 --- fc00::13 tcpbench statistics --- 4715270924 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6284.433/6289.643/6293.987/3.729 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.052 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.052/0.052/0.052/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.056 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.056/0.056/0.056/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 1001 269843264 2156.590 100.00% Conn: 1 Mbps: 2156.590 Peak Mbps: 2156.590 Avg Mbps: 2156.590 2000 279856016 2241.089 100.00% Conn: 1 Mbps: 2241.089 Peak Mbps: 2241.089 Avg Mbps: 2241.089 3000 281262304 2250.098 100.00% Conn: 1 Mbps: 2250.098 Peak Mbps: 2250.098 Avg Mbps: 2250.098 4002 281714200 2251.462 100.00% Conn: 1 Mbps: 2251.462 Peak Mbps: 2251.462 Avg Mbps: 2251.462 5002 283049072 2266.659 100.00% Conn: 1 Mbps: 2266.659 Peak Mbps: 2266.659 Avg Mbps: 2266.659 --- 169.254.1.11 tcpbench statistics --- 1675475488 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 2156.590/2233.180/2266.659/39.166 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 521974792 4175.798 100.00% Conn: 1 Mbps: 4175.798 Peak Mbps: 4175.798 Avg Mbps: 4175.798 2000 576596920 4617.393 100.00% Conn: 1 Mbps: 4617.393 Peak Mbps: 4617.393 Avg Mbps: 4617.393 3000 579314536 4634.516 100.00% Conn: 1 Mbps: 4634.516 Peak Mbps: 4634.516 Avg Mbps: 4634.516 4000 583470440 4667.764 100.00% Conn: 1 Mbps: 4667.764 Peak Mbps: 4667.764 Avg Mbps: 4667.764 5001 578468640 4627.749 100.00% Conn: 1 Mbps: 4627.749 Peak Mbps: 4667.764 Avg Mbps: 4627.749 --- fc00:0:0:1::11 tcpbench statistics --- 3421487928 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4175.798/4544.644/4667.764/185.193 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 779384464 6235.076 100.00% Conn: 1 Mbps: 6235.076 Peak Mbps: 6235.076 Avg Mbps: 6235.076 2000 780309316 6248.723 100.00% Conn: 1 Mbps: 6248.723 Peak Mbps: 6248.723 Avg Mbps: 6248.723 3000 780636476 6245.092 100.00% Conn: 1 Mbps: 6245.092 Peak Mbps: 6248.723 Avg Mbps: 6245.092 4000 779818576 6238.549 100.00% Conn: 1 Mbps: 6238.549 Peak Mbps: 6248.723 Avg Mbps: 6238.549 5000 779622280 6236.978 100.00% Conn: 1 Mbps: 6236.978 Peak Mbps: 6248.723 Avg Mbps: 6236.978 --- 169.254.1.12 tcpbench statistics --- 4678935368 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6235.076/6240.884/6248.723/5.169 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 766846076 6134.769 100.00% Conn: 1 Mbps: 6134.769 Peak Mbps: 6134.769 Avg Mbps: 6134.769 2000 768029040 6150.383 100.00% Conn: 1 Mbps: 6150.383 Peak Mbps: 6150.383 Avg Mbps: 6150.383 3000 769108008 6152.864 100.00% Conn: 1 Mbps: 6152.864 Peak Mbps: 6152.864 Avg Mbps: 6152.864 4000 768617568 6148.941 100.00% Conn: 1 Mbps: 6148.941 Peak Mbps: 6152.864 Avg Mbps: 6148.941 5000 770056192 6160.450 100.00% Conn: 1 Mbps: 6160.450 Peak Mbps: 6160.450 Avg Mbps: 6160.450 --- fc00:0:0:1::12 tcpbench statistics --- 4612386116 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6134.769/6149.481/6160.450/8.358 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.041 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.041/0.041/0.041/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 782981872 6263.855 100.00% Conn: 1 Mbps: 6263.855 Peak Mbps: 6263.855 Avg Mbps: 6263.855 2000 782239560 6264.181 100.00% Conn: 1 Mbps: 6264.181 Peak Mbps: 6264.181 Avg Mbps: 6264.181 3000 781781536 6254.252 100.00% Conn: 1 Mbps: 6254.252 Peak Mbps: 6264.181 Avg Mbps: 6254.252 4000 781061784 6248.494 100.00% Conn: 1 Mbps: 6248.494 Peak Mbps: 6264.181 Avg Mbps: 6248.494 5000 782174128 6257.393 100.00% Conn: 1 Mbps: 6257.393 Peak Mbps: 6264.181 Avg Mbps: 6257.393 --- 169.254.0.13 tcpbench statistics --- 4691382454 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6248.494/6257.635/6264.181/5.943 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 793623236 6348.986 100.00% Conn: 1 Mbps: 6348.986 Peak Mbps: 6348.986 Avg Mbps: 6348.986 2000 794414712 6361.679 100.00% Conn: 1 Mbps: 6361.679 Peak Mbps: 6361.679 Avg Mbps: 6361.679 3000 793891576 6351.133 100.00% Conn: 1 Mbps: 6351.133 Peak Mbps: 6361.679 Avg Mbps: 6351.133 4000 795526376 6364.211 100.00% Conn: 1 Mbps: 6364.211 Peak Mbps: 6364.211 Avg Mbps: 6364.211 5000 794283928 6354.271 100.00% Conn: 1 Mbps: 6354.271 Peak Mbps: 6364.211 Avg Mbps: 6354.271 --- fc00::13 tcpbench statistics --- 4766514196 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6348.986/6356.056/6364.211/5.925 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.88s