START sys/net/pair 2024-05-06T01:48:39Z ==== 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 937633508 7501.068 100.00% Conn: 1 Mbps: 7501.068 Peak Mbps: 7501.068 Avg Mbps: 7501.068 2000 936719488 7501.257 100.00% Conn: 1 Mbps: 7501.257 Peak Mbps: 7501.257 Avg Mbps: 7501.257 3000 937323536 7498.588 100.00% Conn: 1 Mbps: 7498.588 Peak Mbps: 7501.257 Avg Mbps: 7498.588 4000 936433360 7491.467 100.00% Conn: 1 Mbps: 7491.467 Peak Mbps: 7501.257 Avg Mbps: 7491.467 5000 936242608 7489.941 100.00% Conn: 1 Mbps: 7489.941 Peak Mbps: 7501.257 Avg Mbps: 7489.941 --- 169.254.1.11 tcpbench statistics --- 5621525024 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7489.941/7496.464/7501.257/4.821 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 941679912 7533.439 100.00% Conn: 1 Mbps: 7533.439 Peak Mbps: 7533.439 Avg Mbps: 7533.439 2000 942448928 7547.139 100.00% Conn: 1 Mbps: 7547.139 Peak Mbps: 7547.139 Avg Mbps: 7547.139 3000 942084240 7536.674 100.00% Conn: 1 Mbps: 7536.674 Peak Mbps: 7547.139 Avg Mbps: 7536.674 4000 942781904 7542.255 100.00% Conn: 1 Mbps: 7542.255 Peak Mbps: 7547.139 Avg Mbps: 7542.255 5000 943487496 7547.900 100.00% Conn: 1 Mbps: 7547.900 Peak Mbps: 7547.900 Avg Mbps: 7547.900 --- fc00:0:0:1::11 tcpbench statistics --- 5654717352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7533.439/7541.481/7547.900/5.685 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.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-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.123 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.123/0.123/0.123/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 279601096 2236.809 100.00% Conn: 1 Mbps: 2236.809 Peak Mbps: 2236.809 Avg Mbps: 2236.809 2001 279593880 2236.751 100.00% Conn: 1 Mbps: 2236.751 Peak Mbps: 2236.809 Avg Mbps: 2236.751 3001 279616208 2236.930 100.00% Conn: 1 Mbps: 2236.930 Peak Mbps: 2236.930 Avg Mbps: 2236.930 4001 279533728 2238.508 100.00% Conn: 1 Mbps: 2238.508 Peak Mbps: 2238.508 Avg Mbps: 2238.508 5001 279742792 2237.942 100.00% Conn: 1 Mbps: 2237.942 Peak Mbps: 2238.508 Avg Mbps: 2237.942 --- 169.254.1.12 tcpbench statistics --- 1677179176 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2236.751/2237.388/2238.508/0.709 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 271195868 2169.567 100.00% Conn: 1 Mbps: 2169.567 Peak Mbps: 2169.567 Avg Mbps: 2169.567 2000 271528968 2172.232 100.00% Conn: 1 Mbps: 2172.232 Peak Mbps: 2172.232 Avg Mbps: 2172.232 3001 271479540 2171.836 100.00% Conn: 1 Mbps: 2171.836 Peak Mbps: 2172.232 Avg Mbps: 2171.836 4001 271489508 2171.916 100.00% Conn: 1 Mbps: 2171.916 Peak Mbps: 2172.232 Avg Mbps: 2171.916 5002 271587672 2172.701 100.00% Conn: 1 Mbps: 2172.701 Peak Mbps: 2172.701 Avg Mbps: 2172.701 --- fc00:0:0:1::12 tcpbench statistics --- 1628164136 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2169.567/2171.650/2172.701/1.085 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.055 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.055/0.055/0.055/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.064 ms --- fc00::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-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 446637860 3573.103 100.00% Conn: 1 Mbps: 3573.103 Peak Mbps: 3573.103 Avg Mbps: 3573.103 2000 446065604 3572.097 100.00% Conn: 1 Mbps: 3572.097 Peak Mbps: 3573.103 Avg Mbps: 3572.097 3000 445898696 3567.190 100.00% Conn: 1 Mbps: 3567.190 Peak Mbps: 3573.103 Avg Mbps: 3567.190 4000 446447108 3571.577 100.00% Conn: 1 Mbps: 3571.577 Peak Mbps: 3573.103 Avg Mbps: 3571.577 5000 447265752 3578.126 100.00% Conn: 1 Mbps: 3578.126 Peak Mbps: 3578.126 Avg Mbps: 3578.126 --- 169.254.0.13 tcpbench statistics --- 2679946380 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3567.190/3572.418/3578.126/3.499 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 412723752 3301.790 100.00% Conn: 1 Mbps: 3301.790 Peak Mbps: 3301.790 Avg Mbps: 3301.790 2000 413326280 3309.920 100.00% Conn: 1 Mbps: 3309.920 Peak Mbps: 3309.920 Avg Mbps: 3309.920 3000 413936736 3311.494 100.00% Conn: 1 Mbps: 3311.494 Peak Mbps: 3311.494 Avg Mbps: 3311.494 4000 414008088 3312.065 100.00% Conn: 1 Mbps: 3312.065 Peak Mbps: 3312.065 Avg Mbps: 3312.065 5000 414111152 3316.205 100.00% Conn: 1 Mbps: 3316.205 Peak Mbps: 3316.205 Avg Mbps: 3316.205 --- fc00::13 tcpbench statistics --- 2482161664 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3301.790/3310.295/3316.205/4.732 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.040 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.040/0.040/0.040/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.047 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.047/0.047/0.047/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 281132720 2249.062 100.00% Conn: 1 Mbps: 2249.062 Peak Mbps: 2249.062 Avg Mbps: 2249.062 2001 281540328 2252.323 100.00% Conn: 1 Mbps: 2252.323 Peak Mbps: 2252.323 Avg Mbps: 2252.323 3001 281382208 2251.058 100.00% Conn: 1 Mbps: 2251.058 Peak Mbps: 2252.323 Avg Mbps: 2251.058 4001 281462296 2251.698 100.00% Conn: 1 Mbps: 2251.698 Peak Mbps: 2252.323 Avg Mbps: 2251.698 5001 281918248 2255.346 100.00% Conn: 1 Mbps: 2255.346 Peak Mbps: 2255.346 Avg Mbps: 2255.346 --- 169.254.1.11 tcpbench statistics --- 1688309096 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2249.062/2251.897/2255.346/2.043 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 273194912 2185.559 100.00% Conn: 1 Mbps: 2185.559 Peak Mbps: 2185.559 Avg Mbps: 2185.559 2000 274093388 2192.747 100.00% Conn: 1 Mbps: 2192.747 Peak Mbps: 2192.747 Avg Mbps: 2192.747 3000 273778592 2190.229 100.00% Conn: 1 Mbps: 2190.229 Peak Mbps: 2192.747 Avg Mbps: 2190.229 4001 274845224 2198.762 100.00% Conn: 1 Mbps: 2198.762 Peak Mbps: 2198.762 Avg Mbps: 2198.762 5001 275033240 2202.468 100.00% Conn: 1 Mbps: 2202.468 Peak Mbps: 2202.468 Avg Mbps: 2202.468 --- fc00:0:0:1::11 tcpbench statistics --- 1645512376 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2185.559/2193.953/2202.468/6.024 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.036 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.036/0.036/0.036/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.041 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.041/0.041/0.041/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 943977264 7551.818 100.00% Conn: 1 Mbps: 7551.818 Peak Mbps: 7551.818 Avg Mbps: 7551.818 2000 946262208 7577.675 100.00% Conn: 1 Mbps: 7577.675 Peak Mbps: 7577.675 Avg Mbps: 7577.675 3000 945764096 7566.113 100.00% Conn: 1 Mbps: 7566.113 Peak Mbps: 7577.675 Avg Mbps: 7566.113 4000 947374272 7578.994 100.00% Conn: 1 Mbps: 7578.994 Peak Mbps: 7578.994 Avg Mbps: 7578.994 5000 946405560 7578.823 100.00% Conn: 1 Mbps: 7578.823 Peak Mbps: 7578.994 Avg Mbps: 7578.823 --- 169.254.1.12 tcpbench statistics --- 5674613536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7551.818/7570.685/7578.994/10.592 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 952858704 7622.870 100.00% Conn: 1 Mbps: 7622.870 Peak Mbps: 7622.870 Avg Mbps: 7622.870 2000 950843796 7614.365 100.00% Conn: 1 Mbps: 7614.365 Peak Mbps: 7622.870 Avg Mbps: 7614.365 3000 950533920 7604.271 100.00% Conn: 1 Mbps: 7604.271 Peak Mbps: 7622.870 Avg Mbps: 7604.271 4000 950466804 7603.734 100.00% Conn: 1 Mbps: 7603.734 Peak Mbps: 7622.870 Avg Mbps: 7603.734 5000 951109404 7616.492 100.00% Conn: 1 Mbps: 7616.492 Peak Mbps: 7622.870 Avg Mbps: 7616.492 --- fc00:0:0:1::12 tcpbench statistics --- 5706756384 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7603.734/7612.346/7622.870/7.367 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.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-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.048 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-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 1337251214 10698.010 100.00% Conn: 1 Mbps: 10698.010 Peak Mbps: 10698.010 Avg Mbps: 10698.010 2000 1414116384 11324.255 100.00% Conn: 1 Mbps: 11324.255 Peak Mbps: 11324.255 Avg Mbps: 11324.255 3000 1350909072 10807.273 100.00% Conn: 1 Mbps: 10807.273 Peak Mbps: 11324.255 Avg Mbps: 10807.273 4000 1314234436 10513.875 100.00% Conn: 1 Mbps: 10513.875 Peak Mbps: 11324.255 Avg Mbps: 10513.875 5000 1366710900 10933.687 100.00% Conn: 1 Mbps: 10933.687 Peak Mbps: 11324.255 Avg Mbps: 10933.687 --- 169.254.0.13 tcpbench statistics --- 8176302002 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10513.875/10855.420/11324.255/271.912 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 1311604756 10492.838 100.00% Conn: 1 Mbps: 10492.838 Peak Mbps: 10492.838 Avg Mbps: 10492.838 2000 1305943632 10458.007 100.00% Conn: 1 Mbps: 10458.007 Peak Mbps: 10492.838 Avg Mbps: 10458.007 3000 1321081880 10568.655 100.00% Conn: 1 Mbps: 10568.655 Peak Mbps: 10568.655 Avg Mbps: 10568.655 4000 1368916128 10951.329 100.00% Conn: 1 Mbps: 10951.329 Peak Mbps: 10951.329 Avg Mbps: 10951.329 5000 1323305208 10586.442 100.00% Conn: 1 Mbps: 10586.442 Peak Mbps: 10951.329 Avg Mbps: 10586.442 --- fc00::13 tcpbench statistics --- 7980804052 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10458.007/10611.454/10951.329/176.402 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.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-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.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-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 278175472 2225.404 100.00% Conn: 1 Mbps: 2225.404 Peak Mbps: 2225.404 Avg Mbps: 2225.404 2000 278250072 2228.229 100.00% Conn: 1 Mbps: 2228.229 Peak Mbps: 2228.229 Avg Mbps: 2228.229 3001 278557384 2228.459 100.00% Conn: 1 Mbps: 2228.459 Peak Mbps: 2228.459 Avg Mbps: 2228.459 4001 278514720 2228.118 100.00% Conn: 1 Mbps: 2228.118 Peak Mbps: 2228.459 Avg Mbps: 2228.118 5002 278333720 2226.670 100.00% Conn: 1 Mbps: 2226.670 Peak Mbps: 2228.459 Avg Mbps: 2226.670 --- 169.254.1.11 tcpbench statistics --- 1669606160 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2225.404/2227.376/2228.459/1.170 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 436358464 3490.868 100.00% Conn: 1 Mbps: 3490.868 Peak Mbps: 3490.868 Avg Mbps: 3490.868 2000 433560760 3468.486 100.00% Conn: 1 Mbps: 3468.486 Peak Mbps: 3490.868 Avg Mbps: 3468.486 3001 433996856 3471.975 100.00% Conn: 1 Mbps: 3471.975 Peak Mbps: 3490.868 Avg Mbps: 3471.975 4001 433626888 3472.488 100.00% Conn: 1 Mbps: 3472.488 Peak Mbps: 3490.868 Avg Mbps: 3472.488 5001 433379608 3467.037 100.00% Conn: 1 Mbps: 3467.037 Peak Mbps: 3490.868 Avg Mbps: 3467.037 --- fc00:0:0:1::11 tcpbench statistics --- 2603651968 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3467.037/3474.171/3490.868/8.598 Mbps # path MTU discovery in other rtable does not work in ip6_output() /sbin/route -T 13 -n get -host -inet6 fc00:0:0:1::11 route to: fc00:0:0:1::11 destination: fc00:: mask: ffff:ffff:ffff:: gateway: ::1 interface: lo13 if address: ::1 priority: 8 (static) flags: use mtu expire 7 32768 0 DISABLED ==== run-ping-3-2 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.041 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.041/0.041/0.041/0.000 ms ==== run-ping6-3-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.045 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-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 1326769098 10614.153 100.00% Conn: 1 Mbps: 10614.153 Peak Mbps: 10614.153 Avg Mbps: 10614.153 2000 1403025660 11235.441 100.00% Conn: 1 Mbps: 11235.441 Peak Mbps: 11235.441 Avg Mbps: 11235.441 3000 1360363996 10882.912 100.00% Conn: 1 Mbps: 10882.912 Peak Mbps: 11235.441 Avg Mbps: 10882.912 4000 1379699152 11037.593 100.00% Conn: 1 Mbps: 11037.593 Peak Mbps: 11235.441 Avg Mbps: 11037.593 5000 1395729992 11165.840 100.00% Conn: 1 Mbps: 11165.840 Peak Mbps: 11235.441 Avg Mbps: 11165.840 --- 169.254.1.12 tcpbench statistics --- 8253253396 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10614.153/10987.188/11235.441/221.863 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 1312787788 10502.302 100.00% Conn: 1 Mbps: 10502.302 Peak Mbps: 10502.302 Avg Mbps: 10502.302 2000 1341713056 10744.449 100.00% Conn: 1 Mbps: 10744.449 Peak Mbps: 10744.449 Avg Mbps: 10744.449 3000 1321833888 10574.671 100.00% Conn: 1 Mbps: 10574.671 Peak Mbps: 10744.449 Avg Mbps: 10574.671 4000 1373101216 10984.810 100.00% Conn: 1 Mbps: 10984.810 Peak Mbps: 10984.810 Avg Mbps: 10984.810 5000 1347990688 10783.926 100.00% Conn: 1 Mbps: 10783.926 Peak Mbps: 10984.810 Avg Mbps: 10783.926 --- fc00:0:0:1::12 tcpbench statistics --- 8035248868 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10502.302/10718.032/10984.810/169.294 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.038 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.038/0.038/0.038/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 1405806286 11246.450 100.00% Conn: 1 Mbps: 11246.450 Peak Mbps: 11246.450 Avg Mbps: 11246.450 2000 1414345396 11326.089 100.00% Conn: 1 Mbps: 11326.089 Peak Mbps: 11326.089 Avg Mbps: 11326.089 3000 1403385536 11227.084 100.00% Conn: 1 Mbps: 11227.084 Peak Mbps: 11326.089 Avg Mbps: 11227.084 4000 1414541692 11316.334 100.00% Conn: 1 Mbps: 11316.334 Peak Mbps: 11326.089 Avg Mbps: 11316.334 5000 1400146652 11201.173 100.00% Conn: 1 Mbps: 11201.173 Peak Mbps: 11326.089 Avg Mbps: 11201.173 --- 169.254.0.13 tcpbench statistics --- 8447140102 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11201.173/11263.426/11326.089/49.417 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 1427414564 11419.317 100.00% Conn: 1 Mbps: 11419.317 Peak Mbps: 11419.317 Avg Mbps: 11419.317 2000 1422406784 11390.645 100.00% Conn: 1 Mbps: 11390.645 Peak Mbps: 11419.317 Avg Mbps: 11390.645 3000 1428978680 11431.829 100.00% Conn: 1 Mbps: 11431.829 Peak Mbps: 11431.829 Avg Mbps: 11431.829 4000 1430646176 11445.169 100.00% Conn: 1 Mbps: 11445.169 Peak Mbps: 11445.169 Avg Mbps: 11445.169 5000 1424858984 11398.872 100.00% Conn: 1 Mbps: 11398.872 Peak Mbps: 11445.169 Avg Mbps: 11398.872 --- fc00::13 tcpbench statistics --- 8574269724 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11390.645/11417.166/11445.169/20.208 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m51.81s