START sys/net/pair 2025-01-02T20:16:28Z ==== 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.063 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.063/0.063/0.063/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 718451512 5747.612 100.00% Conn: 1 Mbps: 5747.612 Peak Mbps: 5747.612 Avg Mbps: 5747.612 2000 712194616 5703.260 100.00% Conn: 1 Mbps: 5703.260 Peak Mbps: 5747.612 Avg Mbps: 5703.260 3000 709866132 5678.929 100.00% Conn: 1 Mbps: 5678.929 Peak Mbps: 5747.612 Avg Mbps: 5678.929 4000 712236176 5697.889 100.00% Conn: 1 Mbps: 5697.889 Peak Mbps: 5747.612 Avg Mbps: 5697.889 5000 712903808 5703.230 100.00% Conn: 1 Mbps: 5703.230 Peak Mbps: 5747.612 Avg Mbps: 5703.230 --- 169.254.1.11 tcpbench statistics --- 4279333416 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5678.929/5706.184/5747.612/22.562 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 719602856 5756.823 100.00% Conn: 1 Mbps: 5756.823 Peak Mbps: 5756.823 Avg Mbps: 5756.823 2000 721152976 5774.999 100.00% Conn: 1 Mbps: 5774.999 Peak Mbps: 5774.999 Avg Mbps: 5774.999 3000 719196448 5753.572 100.00% Conn: 1 Mbps: 5753.572 Peak Mbps: 5774.999 Avg Mbps: 5753.572 4000 719836928 5758.695 100.00% Conn: 1 Mbps: 5758.695 Peak Mbps: 5774.999 Avg Mbps: 5758.695 5000 724230728 5793.846 100.00% Conn: 1 Mbps: 5793.846 Peak Mbps: 5793.846 Avg Mbps: 5793.846 --- fc00:0:0:1::11 tcpbench statistics --- 4325444152 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5753.572/5767.587/5793.846/15.072 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.079 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.079/0.079/0.079/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.149 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.149/0.149/0.149/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 261933616 2095.469 100.00% Conn: 1 Mbps: 2095.469 Peak Mbps: 2095.469 Avg Mbps: 2095.469 2002 275886256 2204.885 100.00% Conn: 1 Mbps: 2204.885 Peak Mbps: 2204.885 Avg Mbps: 2204.885 3001 275912032 2209.506 100.00% Conn: 1 Mbps: 2209.506 Peak Mbps: 2209.506 Avg Mbps: 2209.506 4001 275205856 2203.851 100.00% Conn: 1 Mbps: 2203.851 Peak Mbps: 2209.506 Avg Mbps: 2203.851 5002 274534544 2196.276 100.00% Conn: 1 Mbps: 2196.276 Peak Mbps: 2209.506 Avg Mbps: 2196.276 --- 169.254.1.12 tcpbench statistics --- 1639248112 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2095.469/2181.997/2209.506/43.472 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 241221752 1927.846 100.00% Conn: 1 Mbps: 1927.846 Peak Mbps: 1927.846 Avg Mbps: 1927.846 2000 251785164 2016.298 100.00% Conn: 1 Mbps: 2016.298 Peak Mbps: 2016.298 Avg Mbps: 2016.298 3001 257177844 2057.423 100.00% Conn: 1 Mbps: 2057.423 Peak Mbps: 2057.423 Avg Mbps: 2057.423 4002 257909744 2063.278 100.00% Conn: 1 Mbps: 2063.278 Peak Mbps: 2063.278 Avg Mbps: 2063.278 5003 260254916 2082.039 100.00% Conn: 1 Mbps: 2082.039 Peak Mbps: 2082.039 Avg Mbps: 2082.039 --- fc00:0:0:1::12 tcpbench statistics --- 1525539184 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 1927.846/2029.377/2082.039/55.116 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.060 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.060/0.060/0.060/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.069 ms --- fc00::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-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 564593988 4516.752 100.00% Conn: 1 Mbps: 4516.752 Peak Mbps: 4516.752 Avg Mbps: 4516.752 2000 569768416 4562.710 100.00% Conn: 1 Mbps: 4562.710 Peak Mbps: 4562.710 Avg Mbps: 4562.710 3000 571834336 4574.675 100.00% Conn: 1 Mbps: 4574.675 Peak Mbps: 4574.675 Avg Mbps: 4574.675 4000 568218416 4550.298 100.00% Conn: 1 Mbps: 4550.298 Peak Mbps: 4574.675 Avg Mbps: 4550.298 5000 571326364 4575.186 100.00% Conn: 1 Mbps: 4575.186 Peak Mbps: 4575.186 Avg Mbps: 4575.186 --- 169.254.0.13 tcpbench statistics --- 3407593588 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4516.752/4555.924/4575.186/21.609 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 538930624 4311.445 100.00% Conn: 1 Mbps: 4311.445 Peak Mbps: 4311.445 Avg Mbps: 4311.445 2000 564620984 4521.489 100.00% Conn: 1 Mbps: 4521.489 Peak Mbps: 4521.489 Avg Mbps: 4521.489 3000 567249960 4538.000 100.00% Conn: 1 Mbps: 4538.000 Peak Mbps: 4538.000 Avg Mbps: 4538.000 4000 570857720 4566.862 100.00% Conn: 1 Mbps: 4566.862 Peak Mbps: 4566.862 Avg Mbps: 4566.862 5001 570202816 4561.623 100.00% Conn: 1 Mbps: 4561.623 Peak Mbps: 4566.862 Avg Mbps: 4561.623 --- fc00::13 tcpbench statistics --- 3380917568 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4311.445/4499.884/4566.862/95.631 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.054 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.054/0.054/0.054/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 261703112 2093.625 100.00% Conn: 1 Mbps: 2093.625 Peak Mbps: 2093.625 Avg Mbps: 2093.625 2000 272717304 2181.738 100.00% Conn: 1 Mbps: 2181.738 Peak Mbps: 2181.738 Avg Mbps: 2181.738 3001 277182096 2215.242 100.00% Conn: 1 Mbps: 2215.242 Peak Mbps: 2215.242 Avg Mbps: 2215.242 4002 275794472 2206.356 100.00% Conn: 1 Mbps: 2206.356 Peak Mbps: 2215.242 Avg Mbps: 2206.356 5003 273958184 2189.476 100.00% Conn: 1 Mbps: 2189.476 Peak Mbps: 2215.242 Avg Mbps: 2189.476 --- 169.254.1.11 tcpbench statistics --- 1632771384 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2093.625/2177.287/2215.242/43.482 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 236840252 1894.722 100.00% Conn: 1 Mbps: 1894.722 Peak Mbps: 1894.722 Avg Mbps: 1894.722 2001 246705004 1973.640 100.00% Conn: 1 Mbps: 1973.640 Peak Mbps: 1973.640 Avg Mbps: 1973.640 3001 249426164 1995.409 100.00% Conn: 1 Mbps: 1995.409 Peak Mbps: 1995.409 Avg Mbps: 1995.409 4003 253424776 2025.373 100.00% Conn: 1 Mbps: 2025.373 Peak Mbps: 2025.373 Avg Mbps: 2025.373 5003 253771272 2030.170 100.00% Conn: 1 Mbps: 2030.170 Peak Mbps: 2030.170 Avg Mbps: 2030.170 --- fc00:0:0:1::11 tcpbench statistics --- 1494531544 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1894.722/1983.863/2030.170/49.095 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.050 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.050/0.050/0.050/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.044 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.044/0.044/0.044/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 690373152 5522.985 100.00% Conn: 1 Mbps: 5522.985 Peak Mbps: 5522.985 Avg Mbps: 5522.985 2000 685625104 5490.491 100.00% Conn: 1 Mbps: 5490.491 Peak Mbps: 5522.985 Avg Mbps: 5490.491 3000 687487232 5499.898 100.00% Conn: 1 Mbps: 5499.898 Peak Mbps: 5522.985 Avg Mbps: 5499.898 4000 683458896 5467.671 100.00% Conn: 1 Mbps: 5467.671 Peak Mbps: 5522.985 Avg Mbps: 5467.671 5000 687072328 5496.579 100.00% Conn: 1 Mbps: 5496.579 Peak Mbps: 5522.985 Avg Mbps: 5496.579 --- 169.254.1.12 tcpbench statistics --- 4121715352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5467.671/5495.525/5522.985/17.751 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 686682360 5493.459 100.00% Conn: 1 Mbps: 5493.459 Peak Mbps: 5493.459 Avg Mbps: 5493.459 2000 689669764 5517.358 100.00% Conn: 1 Mbps: 5517.358 Peak Mbps: 5517.358 Avg Mbps: 5517.358 3000 692266292 5538.130 100.00% Conn: 1 Mbps: 5538.130 Peak Mbps: 5538.130 Avg Mbps: 5538.130 4000 689990356 5519.923 100.00% Conn: 1 Mbps: 5519.923 Peak Mbps: 5538.130 Avg Mbps: 5519.923 5000 687981840 5503.855 100.00% Conn: 1 Mbps: 5503.855 Peak Mbps: 5538.130 Avg Mbps: 5503.855 --- fc00:0:0:1::12 tcpbench statistics --- 4134636712 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5493.459/5514.545/5538.130/15.179 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.059 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.059/0.059/0.059/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.053 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.053/0.053/0.053/0.000 ms ==== run-tcpbench-2-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 1154303652 9234.429 100.00% Conn: 1 Mbps: 9234.429 Peak Mbps: 9234.429 Avg Mbps: 9234.429 2000 1163773540 9319.508 100.00% Conn: 1 Mbps: 9319.508 Peak Mbps: 9319.508 Avg Mbps: 9319.508 3000 1162497628 9299.981 100.00% Conn: 1 Mbps: 9299.981 Peak Mbps: 9319.508 Avg Mbps: 9299.981 4000 1160845470 9286.764 100.00% Conn: 1 Mbps: 9286.764 Peak Mbps: 9319.508 Avg Mbps: 9286.764 5000 1161467074 9291.737 100.00% Conn: 1 Mbps: 9291.737 Peak Mbps: 9319.508 Avg Mbps: 9291.737 --- 169.254.0.13 tcpbench statistics --- 6965205054 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9234.429/9286.484/9319.508/28.320 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 1136252004 9090.016 100.00% Conn: 1 Mbps: 9090.016 Peak Mbps: 9090.016 Avg Mbps: 9090.016 2000 1135957128 9096.754 100.00% Conn: 1 Mbps: 9096.754 Peak Mbps: 9096.754 Avg Mbps: 9096.754 3000 1138180456 9105.444 100.00% Conn: 1 Mbps: 9105.444 Peak Mbps: 9105.444 Avg Mbps: 9105.444 4000 1136545656 9092.365 100.00% Conn: 1 Mbps: 9092.365 Peak Mbps: 9105.444 Avg Mbps: 9092.365 5000 1136774528 9094.196 100.00% Conn: 1 Mbps: 9094.196 Peak Mbps: 9105.444 Avg Mbps: 9094.196 --- fc00::13 tcpbench statistics --- 6813650836 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9090.016/9095.755/9105.444/5.324 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.063 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.063/0.063/0.063/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.059 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.059/0.059/0.059/0.000 ms ==== run-tcpbench-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 261966144 2095.729 100.00% Conn: 1 Mbps: 2095.729 Peak Mbps: 2095.729 Avg Mbps: 2095.729 2000 271276376 2170.211 100.00% Conn: 1 Mbps: 2170.211 Peak Mbps: 2170.211 Avg Mbps: 2170.211 3001 275160968 2201.288 100.00% Conn: 1 Mbps: 2201.288 Peak Mbps: 2201.288 Avg Mbps: 2201.288 4001 272069984 2178.739 100.00% Conn: 1 Mbps: 2178.739 Peak Mbps: 2201.288 Avg Mbps: 2178.739 5002 274402552 2195.220 100.00% Conn: 1 Mbps: 2195.220 Peak Mbps: 2201.288 Avg Mbps: 2195.220 --- 169.254.1.11 tcpbench statistics --- 1625021848 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2095.729/2168.237/2201.288/37.926 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 502681376 4021.451 100.00% Conn: 1 Mbps: 4021.451 Peak Mbps: 4021.451 Avg Mbps: 4021.451 2000 558891120 4471.129 100.00% Conn: 1 Mbps: 4471.129 Peak Mbps: 4471.129 Avg Mbps: 4471.129 3000 563578968 4513.145 100.00% Conn: 1 Mbps: 4513.145 Peak Mbps: 4513.145 Avg Mbps: 4513.145 4001 548139016 4385.112 100.00% Conn: 1 Mbps: 4385.112 Peak Mbps: 4513.145 Avg Mbps: 4385.112 5001 545834624 4366.677 100.00% Conn: 1 Mbps: 4366.677 Peak Mbps: 4513.145 Avg Mbps: 4366.677 --- fc00:0:0:1::11 tcpbench statistics --- 3272583808 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4021.451/4351.503/4513.145/173.628 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.050 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.050/0.050/0.050/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.051 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.051/0.051/0.051/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 1162091426 9296.731 100.00% Conn: 1 Mbps: 9296.731 Peak Mbps: 9296.731 Avg Mbps: 9296.731 2000 1162612134 9310.207 100.00% Conn: 1 Mbps: 9310.207 Peak Mbps: 9310.207 Avg Mbps: 9310.207 3000 1167928484 9343.428 100.00% Conn: 1 Mbps: 9343.428 Peak Mbps: 9343.428 Avg Mbps: 9343.428 4000 1168926322 9351.411 100.00% Conn: 1 Mbps: 9351.411 Peak Mbps: 9351.411 Avg Mbps: 9351.411 5000 1168304718 9346.438 100.00% Conn: 1 Mbps: 9346.438 Peak Mbps: 9351.411 Avg Mbps: 9346.438 --- 169.254.1.12 tcpbench statistics --- 6996123052 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9296.731/9329.643/9351.411/21.940 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 1144116968 9152.936 100.00% Conn: 1 Mbps: 9152.936 Peak Mbps: 9152.936 Avg Mbps: 9152.936 2000 1144523480 9165.353 100.00% Conn: 1 Mbps: 9165.353 Peak Mbps: 9165.353 Avg Mbps: 9165.353 3000 1146910288 9175.282 100.00% Conn: 1 Mbps: 9175.282 Peak Mbps: 9175.282 Avg Mbps: 9175.282 4000 1145635144 9165.081 100.00% Conn: 1 Mbps: 9165.081 Peak Mbps: 9175.282 Avg Mbps: 9165.081 5000 1146452544 9171.620 100.00% Conn: 1 Mbps: 9171.620 Peak Mbps: 9175.282 Avg Mbps: 9171.620 --- fc00:0:0:1::12 tcpbench statistics --- 6873338960 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9152.936/9166.055/9175.282/7.611 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.052 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.052/0.052/0.052/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.053 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.053/0.053/0.053/0.000 ms ==== run-tcpbench-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 1139910278 9119.282 100.00% Conn: 1 Mbps: 9119.282 Peak Mbps: 9119.282 Avg Mbps: 9119.282 2000 1135032546 9089.350 100.00% Conn: 1 Mbps: 9089.350 Peak Mbps: 9119.282 Avg Mbps: 9089.350 3000 1142900744 9143.206 100.00% Conn: 1 Mbps: 9143.206 Peak Mbps: 9143.206 Avg Mbps: 9143.206 4000 1140708772 9125.670 100.00% Conn: 1 Mbps: 9125.670 Peak Mbps: 9143.206 Avg Mbps: 9125.670 5000 1142786238 9142.290 100.00% Conn: 1 Mbps: 9142.290 Peak Mbps: 9143.206 Avg Mbps: 9142.290 --- 169.254.0.13 tcpbench statistics --- 6842341794 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9089.350/9123.960/9143.206/19.642 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 1199014416 9592.115 100.00% Conn: 1 Mbps: 9592.115 Peak Mbps: 9592.115 Avg Mbps: 9592.115 2000 1198373792 9596.587 100.00% Conn: 1 Mbps: 9596.587 Peak Mbps: 9596.587 Avg Mbps: 9596.587 3000 1197850656 9582.805 100.00% Conn: 1 Mbps: 9582.805 Peak Mbps: 9596.587 Avg Mbps: 9582.805 4000 1197327520 9578.620 100.00% Conn: 1 Mbps: 9578.620 Peak Mbps: 9596.587 Avg Mbps: 9578.620 5000 1198112224 9584.898 100.00% Conn: 1 Mbps: 9584.898 Peak Mbps: 9596.587 Avg Mbps: 9584.898 --- fc00::13 tcpbench statistics --- 7189313968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9578.620/9587.005/9596.587/6.486 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.90s