START sys/net/pair 2025-02-14T04:55:57Z ==== ifconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 fc00::13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair11 destroy ifconfig: pair11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair12 destroy ifconfig: pair12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/route -n -T 11 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 11 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo12 rdomain 12 /sbin/ifconfig lo12 inet 127.0.0.1/8 /sbin/ifconfig lo12 inet6 ::1/128 /sbin/route -n -T 12 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 12 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 127.0.0.1/8 /sbin/ifconfig lo13 inet6 ::1/128 /sbin/route -n -T 13 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 13 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig pair11 rdomain 11 /sbin/ifconfig pair11 inet 169.254.1.11/24 /sbin/ifconfig pair11 inet6 fc00:0:0:1::11/64 /sbin/ifconfig pair12 rdomain 12 /sbin/ifconfig pair12 inet 169.254.1.12/24 /sbin/ifconfig pair12 inet6 fc00:0:0:1::12/64 /sbin/ifconfig pair11 patch pair12 /sbin/ifconfig lo13 inet 169.254.0.13/24 alias /sbin/ifconfig lo13 inet6 fc00::13/64 /sbin/ifconfig pair11 mtu 8000 /sbin/route -n -T 11 add -inet 169.254.0.13 169.254.1.12 add host 169.254.0.13: gateway 169.254.1.12 /sbin/route -n -T 11 add -inet6 fc00::13 fc00:0:0:1::12 add host fc00::13: gateway fc00:0:0:1::12 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'LO_N1="lo11"' >>addr.py.tmp echo 'PAIR_N1="pair11"' >>addr.py.tmp echo 'IP_N1="169.254.1.11"' >>addr.py.tmp echo 'IP6_N1="fc00:0:0:1::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'LO_N2="lo12"' >>addr.py.tmp echo 'PAIR_N2="pair12"' >>addr.py.tmp echo 'IP_N2="169.254.1.12"' >>addr.py.tmp echo 'IP6_N2="fc00:0:0:1::12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'LO_N3="lo13"' >>addr.py.tmp echo 'PAIR_N3="pair13"' >>addr.py.tmp echo 'IP_N3="169.254.0.13"' >>addr.py.tmp echo 'IP6_N3="fc00::13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1-1 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.048 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.054 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.054/0.054/0.054/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 529018880 4232.151 100.00% Conn: 1 Mbps: 4232.151 Peak Mbps: 4232.151 Avg Mbps: 4232.151 2000 528383040 4231.296 100.00% Conn: 1 Mbps: 4231.296 Peak Mbps: 4232.151 Avg Mbps: 4231.296 3000 529042724 4232.342 100.00% Conn: 1 Mbps: 4232.342 Peak Mbps: 4232.342 Avg Mbps: 4232.342 4000 528677116 4229.417 100.00% Conn: 1 Mbps: 4229.417 Peak Mbps: 4232.342 Avg Mbps: 4229.417 5000 528891712 4231.134 100.00% Conn: 1 Mbps: 4231.134 Peak Mbps: 4232.342 Avg Mbps: 4231.134 --- 169.254.1.11 tcpbench statistics --- 3172428304 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4229.417/4231.268/4232.342/1.037 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 520124368 4160.995 100.00% Conn: 1 Mbps: 4160.995 Peak Mbps: 4160.995 Avg Mbps: 4160.995 2000 518911384 4155.447 100.00% Conn: 1 Mbps: 4155.447 Peak Mbps: 4160.995 Avg Mbps: 4155.447 3000 519046160 4152.369 100.00% Conn: 1 Mbps: 4152.369 Peak Mbps: 4160.995 Avg Mbps: 4152.369 4000 518744896 4149.959 100.00% Conn: 1 Mbps: 4149.959 Peak Mbps: 4160.995 Avg Mbps: 4149.959 5000 514114944 4112.920 100.00% Conn: 1 Mbps: 4112.920 Peak Mbps: 4160.995 Avg Mbps: 4112.920 --- fc00:0:0:1::11 tcpbench statistics --- 3110542872 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4112.920/4146.338/4160.995/17.112 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.073 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.073/0.073/0.073/0.000 ms ==== run-ping6-1-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.145 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.145/0.145/0.145/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1001 276415776 2209.117 100.00% Conn: 1 Mbps: 2209.117 Peak Mbps: 2209.117 Avg Mbps: 2209.117 2000 286494640 2294.251 100.00% Conn: 1 Mbps: 2294.251 Peak Mbps: 2294.251 Avg Mbps: 2294.251 3002 290334288 2320.354 100.00% Conn: 1 Mbps: 2320.354 Peak Mbps: 2320.354 Avg Mbps: 2320.354 4002 289332272 2314.658 100.00% Conn: 1 Mbps: 2314.658 Peak Mbps: 2320.354 Avg Mbps: 2314.658 5002 290953872 2327.631 100.00% Conn: 1 Mbps: 2327.631 Peak Mbps: 2327.631 Avg Mbps: 2327.631 --- 169.254.1.12 tcpbench statistics --- 1724191600 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2209.117/2293.202/2327.631/43.484 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 256686868 2053.495 100.00% Conn: 1 Mbps: 2053.495 Peak Mbps: 2053.495 Avg Mbps: 2053.495 2000 273642700 2191.333 100.00% Conn: 1 Mbps: 2191.333 Peak Mbps: 2191.333 Avg Mbps: 2191.333 3001 272479912 2179.839 100.00% Conn: 1 Mbps: 2179.839 Peak Mbps: 2191.333 Avg Mbps: 2179.839 4002 277722128 2219.557 100.00% Conn: 1 Mbps: 2219.557 Peak Mbps: 2219.557 Avg Mbps: 2219.557 5002 278544856 2228.359 100.00% Conn: 1 Mbps: 2228.359 Peak Mbps: 2228.359 Avg Mbps: 2228.359 --- fc00:0:0:1::12 tcpbench statistics --- 1636237148 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2053.495/2174.517/2228.359/63.064 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.086 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.086/0.086/0.086/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.084 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.084/0.084/0.084/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 608445172 4867.561 100.00% Conn: 1 Mbps: 4867.561 Peak Mbps: 4867.561 Avg Mbps: 4867.561 2000 631305128 5050.441 100.00% Conn: 1 Mbps: 5050.441 Peak Mbps: 5050.441 Avg Mbps: 5050.441 3000 636243356 5089.947 100.00% Conn: 1 Mbps: 5089.947 Peak Mbps: 5089.947 Avg Mbps: 5089.947 4001 629704252 5037.634 100.00% Conn: 1 Mbps: 5037.634 Peak Mbps: 5089.947 Avg Mbps: 5037.634 5001 615117572 4920.941 100.00% Conn: 1 Mbps: 4920.941 Peak Mbps: 5089.947 Avg Mbps: 4920.941 --- 169.254.0.13 tcpbench statistics --- 3726715052 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4867.561/4993.305/5089.947/84.401 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 552282424 4418.259 100.00% Conn: 1 Mbps: 4418.259 Peak Mbps: 4418.259 Avg Mbps: 4418.259 2000 584020032 4676.837 100.00% Conn: 1 Mbps: 4676.837 Peak Mbps: 4676.837 Avg Mbps: 4676.837 3000 583012656 4668.770 100.00% Conn: 1 Mbps: 4668.770 Peak Mbps: 4676.837 Avg Mbps: 4668.770 4000 581958368 4660.327 100.00% Conn: 1 Mbps: 4660.327 Peak Mbps: 4676.837 Avg Mbps: 4660.327 5000 585979680 4687.837 100.00% Conn: 1 Mbps: 4687.837 Peak Mbps: 4687.837 Avg Mbps: 4687.837 --- fc00::13 tcpbench statistics --- 3473215944 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4418.259/4622.406/4687.837/102.477 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.048 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-ping6-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.052 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.052/0.052/0.052/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 1002 275824880 2202.195 100.00% Conn: 1 Mbps: 2202.195 Peak Mbps: 2202.195 Avg Mbps: 2202.195 2001 283277408 2268.488 100.00% Conn: 1 Mbps: 2268.488 Peak Mbps: 2268.488 Avg Mbps: 2268.488 3003 288581712 2306.347 100.00% Conn: 1 Mbps: 2306.347 Peak Mbps: 2306.347 Avg Mbps: 2306.347 4002 287016968 2300.737 100.00% Conn: 1 Mbps: 2300.737 Peak Mbps: 2306.347 Avg Mbps: 2300.737 5003 287769552 2302.156 100.00% Conn: 1 Mbps: 2302.156 Peak Mbps: 2306.347 Avg Mbps: 2302.156 --- 169.254.1.11 tcpbench statistics --- 1709568352 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2202.195/2275.985/2306.347/39.296 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 1001 257810916 2060.427 100.00% Conn: 1 Mbps: 2060.427 Peak Mbps: 2060.427 Avg Mbps: 2060.427 2002 270410924 2163.287 100.00% Conn: 1 Mbps: 2163.287 Peak Mbps: 2163.287 Avg Mbps: 2163.287 3003 273461132 2187.689 100.00% Conn: 1 Mbps: 2187.689 Peak Mbps: 2187.689 Avg Mbps: 2187.689 4002 275956796 2209.864 100.00% Conn: 1 Mbps: 2209.864 Peak Mbps: 2209.864 Avg Mbps: 2209.864 5003 273407504 2187.260 100.00% Conn: 1 Mbps: 2187.260 Peak Mbps: 2209.864 Avg Mbps: 2187.260 --- fc00:0:0:1::11 tcpbench statistics --- 1625289408 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2060.427/2161.706/2209.864/52.740 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.040 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.040/0.040/0.040/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 534705856 4277.647 100.00% Conn: 1 Mbps: 4277.647 Peak Mbps: 4277.647 Avg Mbps: 4277.647 2000 534940432 4283.807 100.00% Conn: 1 Mbps: 4283.807 Peak Mbps: 4283.807 Avg Mbps: 4283.807 3000 535183696 4281.470 100.00% Conn: 1 Mbps: 4281.470 Peak Mbps: 4283.807 Avg Mbps: 4281.470 4000 535510944 4284.088 100.00% Conn: 1 Mbps: 4284.088 Peak Mbps: 4284.088 Avg Mbps: 4284.088 5000 535396552 4283.172 100.00% Conn: 1 Mbps: 4283.172 Peak Mbps: 4284.088 Avg Mbps: 4283.172 --- 169.254.1.12 tcpbench statistics --- 3210512840 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4277.647/4282.037/4284.088/2.376 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 533914920 4271.319 100.00% Conn: 1 Mbps: 4271.319 Peak Mbps: 4271.319 Avg Mbps: 4271.319 2000 533377992 4271.295 100.00% Conn: 1 Mbps: 4271.295 Peak Mbps: 4271.319 Avg Mbps: 4271.295 3000 534708888 4277.671 100.00% Conn: 1 Mbps: 4277.671 Peak Mbps: 4277.671 Avg Mbps: 4277.671 4000 533824956 4270.600 100.00% Conn: 1 Mbps: 4270.600 Peak Mbps: 4277.671 Avg Mbps: 4270.600 5000 535148712 4281.190 100.00% Conn: 1 Mbps: 4281.190 Peak Mbps: 4281.190 Avg Mbps: 4281.190 --- fc00:0:0:1::12 tcpbench statistics --- 3203766552 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4270.600/4274.415/4281.190/4.251 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.069 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.069/0.069/0.069/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 796147394 6369.179 100.00% Conn: 1 Mbps: 6369.179 Peak Mbps: 6369.179 Avg Mbps: 6369.179 2000 795914848 6373.692 100.00% Conn: 1 Mbps: 6373.692 Peak Mbps: 6373.692 Avg Mbps: 6373.692 3000 796209292 6369.674 100.00% Conn: 1 Mbps: 6369.674 Peak Mbps: 6373.692 Avg Mbps: 6369.674 4000 796012996 6368.104 100.00% Conn: 1 Mbps: 6368.104 Peak Mbps: 6373.692 Avg Mbps: 6368.104 5000 795227812 6361.822 100.00% Conn: 1 Mbps: 6361.822 Peak Mbps: 6373.692 Avg Mbps: 6361.822 --- 169.254.0.13 tcpbench statistics --- 4775345400 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6361.822/6368.494/6373.692/3.835 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 774263748 6194.110 100.00% Conn: 1 Mbps: 6194.110 Peak Mbps: 6194.110 Avg Mbps: 6194.110 2000 775124072 6207.200 100.00% Conn: 1 Mbps: 6207.200 Peak Mbps: 6207.200 Avg Mbps: 6207.200 3000 774666328 6197.331 100.00% Conn: 1 Mbps: 6197.331 Peak Mbps: 6207.200 Avg Mbps: 6197.331 4000 775222160 6201.777 100.00% Conn: 1 Mbps: 6201.777 Peak Mbps: 6207.200 Avg Mbps: 6201.777 5000 775647208 6205.178 100.00% Conn: 1 Mbps: 6205.178 Peak Mbps: 6207.200 Avg Mbps: 6205.178 --- fc00::13 tcpbench statistics --- 4650799596 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6194.110/6201.119/6207.200/4.845 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.049 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.049/0.049/0.049/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 272520208 2180.162 100.00% Conn: 1 Mbps: 2180.162 Peak Mbps: 2180.162 Avg Mbps: 2180.162 2002 284874824 2276.722 100.00% Conn: 1 Mbps: 2276.722 Peak Mbps: 2276.722 Avg Mbps: 2276.722 3001 282744768 2264.222 100.00% Conn: 1 Mbps: 2264.222 Peak Mbps: 2276.722 Avg Mbps: 2264.222 4001 285699792 2285.598 100.00% Conn: 1 Mbps: 2285.598 Peak Mbps: 2285.598 Avg Mbps: 2285.598 5003 282567768 2258.284 100.00% Conn: 1 Mbps: 2258.284 Peak Mbps: 2285.598 Avg Mbps: 2258.284 --- 169.254.1.11 tcpbench statistics --- 1691071520 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2180.162/2252.998/2285.598/37.642 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 544824848 4358.599 100.00% Conn: 1 Mbps: 4358.599 Peak Mbps: 4358.599 Avg Mbps: 4358.599 2000 610418016 4883.344 100.00% Conn: 1 Mbps: 4883.344 Peak Mbps: 4883.344 Avg Mbps: 4883.344 3000 603455248 4827.642 100.00% Conn: 1 Mbps: 4827.642 Peak Mbps: 4883.344 Avg Mbps: 4827.642 4001 602737912 4821.903 100.00% Conn: 1 Mbps: 4821.903 Peak Mbps: 4883.344 Avg Mbps: 4821.903 5001 595682392 4770.229 100.00% Conn: 1 Mbps: 4770.229 Peak Mbps: 4883.344 Avg Mbps: 4770.229 --- fc00:0:0:1::11 tcpbench statistics --- 3561800872 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4358.599/4732.344/4883.344/190.276 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.048 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.048/0.048/0.048/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.061 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.061/0.061/0.061/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 795410466 6363.284 100.00% Conn: 1 Mbps: 6363.284 Peak Mbps: 6363.284 Avg Mbps: 6363.284 2000 796961760 6382.076 100.00% Conn: 1 Mbps: 6382.076 Peak Mbps: 6382.076 Avg Mbps: 6382.076 3000 796961760 6375.694 100.00% Conn: 1 Mbps: 6375.694 Peak Mbps: 6382.076 Avg Mbps: 6375.694 4000 796471020 6371.768 100.00% Conn: 1 Mbps: 6371.768 Peak Mbps: 6382.076 Avg Mbps: 6371.768 5000 796012996 6368.104 100.00% Conn: 1 Mbps: 6368.104 Peak Mbps: 6382.076 Avg Mbps: 6368.104 --- 169.254.1.12 tcpbench statistics --- 4778256306 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6363.284/6372.185/6382.076/6.422 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 764811364 6118.491 100.00% Conn: 1 Mbps: 6118.491 Peak Mbps: 6118.491 Avg Mbps: 6118.491 2000 769434968 6161.641 100.00% Conn: 1 Mbps: 6161.641 Peak Mbps: 6161.641 Avg Mbps: 6161.641 3000 769108008 6152.864 100.00% Conn: 1 Mbps: 6152.864 Peak Mbps: 6161.641 Avg Mbps: 6152.864 4000 770154280 6161.234 100.00% Conn: 1 Mbps: 6161.234 Peak Mbps: 6161.641 Avg Mbps: 6161.234 5000 769729232 6157.834 100.00% Conn: 1 Mbps: 6157.834 Peak Mbps: 6161.641 Avg Mbps: 6157.834 --- fc00:0:0:1::12 tcpbench statistics --- 4613130564 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6118.491/6150.413/6161.641/16.268 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.042 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.042/0.042/0.042/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.047 ms --- fc00::13 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-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 796919930 6375.359 100.00% Conn: 1 Mbps: 6375.359 Peak Mbps: 6375.359 Avg Mbps: 6375.359 2000 797845092 6389.150 100.00% Conn: 1 Mbps: 6389.150 Peak Mbps: 6389.150 Avg Mbps: 6389.150 3000 797975956 6383.808 100.00% Conn: 1 Mbps: 6383.808 Peak Mbps: 6389.150 Avg Mbps: 6383.808 4000 798139536 6385.116 100.00% Conn: 1 Mbps: 6385.116 Peak Mbps: 6389.150 Avg Mbps: 6385.116 5000 798106820 6384.855 100.00% Conn: 1 Mbps: 6384.855 Peak Mbps: 6389.150 Avg Mbps: 6384.855 --- 169.254.0.13 tcpbench statistics --- 4787225018 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6375.359/6383.658/6389.150/4.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 797612580 6380.901 100.00% Conn: 1 Mbps: 6380.901 Peak Mbps: 6380.901 Avg Mbps: 6380.901 2000 797357352 6385.244 100.00% Conn: 1 Mbps: 6385.244 Peak Mbps: 6385.244 Avg Mbps: 6385.244 3000 798403624 6387.229 100.00% Conn: 1 Mbps: 6387.229 Peak Mbps: 6387.229 Avg Mbps: 6387.229 4000 798272840 6386.183 100.00% Conn: 1 Mbps: 6386.183 Peak Mbps: 6387.229 Avg Mbps: 6386.183 5000 798632496 6389.060 100.00% Conn: 1 Mbps: 6389.060 Peak Mbps: 6389.060 Avg Mbps: 6389.060 --- fc00::13 tcpbench statistics --- 4788028596 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6380.901/6385.723/6389.060/2.724 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