START sys/net/pair 2024-10-28T23:03:23Z ==== 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.176 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.176/0.176/0.176/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.210 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.210/0.210/0.210/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 47807220 382.458 100.00% Conn: 1 Mbps: 382.458 Peak Mbps: 382.458 Avg Mbps: 382.458 2000 47529040 380.613 100.00% Conn: 1 Mbps: 380.613 Peak Mbps: 382.458 Avg Mbps: 380.613 3001 47298548 378.388 100.00% Conn: 1 Mbps: 378.388 Peak Mbps: 382.458 Avg Mbps: 378.388 4002 46964732 375.343 100.00% Conn: 1 Mbps: 375.343 Peak Mbps: 382.458 Avg Mbps: 375.343 5002 47250860 378.385 100.00% Conn: 1 Mbps: 378.385 Peak Mbps: 382.458 Avg Mbps: 378.385 --- 169.254.1.11 tcpbench statistics --- 284085364 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 375.343/379.037/382.458/2.395 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 1001 45895192 366.795 100.00% Conn: 1 Mbps: 366.795 Peak Mbps: 366.795 Avg Mbps: 366.795 2000 46085464 369.053 100.00% Conn: 1 Mbps: 369.053 Peak Mbps: 369.053 Avg Mbps: 369.053 3001 45538432 363.944 100.00% Conn: 1 Mbps: 363.944 Peak Mbps: 369.053 Avg Mbps: 363.944 4002 45934832 367.479 100.00% Conn: 1 Mbps: 367.479 Peak Mbps: 369.053 Avg Mbps: 367.479 5002 46156816 369.255 100.00% Conn: 1 Mbps: 369.255 Peak Mbps: 369.255 Avg Mbps: 369.255 --- fc00:0:0:1::11 tcpbench statistics --- 274958896 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 363.944/367.305/369.255/1.921 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.314 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.314/0.314/0.314/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.742 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.742/0.742/0.742/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 31602600 252.821 100.00% Conn: 1 Mbps: 252.821 Peak Mbps: 252.821 Avg Mbps: 252.821 2000 32229584 257.837 100.00% Conn: 1 Mbps: 257.837 Peak Mbps: 257.837 Avg Mbps: 257.837 3001 32390312 259.122 100.00% Conn: 1 Mbps: 259.122 Peak Mbps: 259.122 Avg Mbps: 259.122 4003 32212208 257.183 100.00% Conn: 1 Mbps: 257.183 Peak Mbps: 259.122 Avg Mbps: 257.183 5004 32028312 255.971 100.00% Conn: 1 Mbps: 255.971 Peak Mbps: 259.122 Avg Mbps: 255.971 --- 169.254.1.12 tcpbench statistics --- 192169872 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 252.821/256.587/259.122/2.141 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 1003 30686292 244.756 100.00% Conn: 1 Mbps: 244.756 Peak Mbps: 244.756 Avg Mbps: 244.756 2003 30824808 246.598 100.00% Conn: 1 Mbps: 246.598 Peak Mbps: 246.598 Avg Mbps: 246.598 3004 30731988 245.856 100.00% Conn: 1 Mbps: 245.856 Peak Mbps: 246.598 Avg Mbps: 245.856 4008 30779112 245.496 100.00% Conn: 1 Mbps: 245.496 Peak Mbps: 246.598 Avg Mbps: 245.496 5008 30710568 245.930 100.00% Conn: 1 Mbps: 245.930 Peak Mbps: 246.598 Avg Mbps: 245.930 --- fc00:0:0:1::12 tcpbench statistics --- 184250556 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 244.756/245.727/246.598/0.602 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.233 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.233/0.233/0.233/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.305 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.305/0.305/0.305/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 1001 31442288 251.287 100.00% Conn: 1 Mbps: 251.287 Peak Mbps: 251.287 Avg Mbps: 251.287 2002 31982752 255.862 100.00% Conn: 1 Mbps: 255.862 Peak Mbps: 255.862 Avg Mbps: 255.862 3002 31609196 252.874 100.00% Conn: 1 Mbps: 252.874 Peak Mbps: 255.862 Avg Mbps: 252.874 4002 31482028 251.856 100.00% Conn: 1 Mbps: 251.856 Peak Mbps: 255.862 Avg Mbps: 251.856 5003 31927116 255.417 100.00% Conn: 1 Mbps: 255.417 Peak Mbps: 255.862 Avg Mbps: 255.417 --- 169.254.0.13 tcpbench statistics --- 190068472 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 251.287/253.459/255.862/1.857 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 33250032 266.000 100.00% Conn: 1 Mbps: 266.000 Peak Mbps: 266.000 Avg Mbps: 266.000 2000 33464088 267.713 100.00% Conn: 1 Mbps: 267.713 Peak Mbps: 267.713 Avg Mbps: 267.713 3001 33051832 264.415 100.00% Conn: 1 Mbps: 264.415 Peak Mbps: 267.713 Avg Mbps: 264.415 4001 33337240 266.698 100.00% Conn: 1 Mbps: 266.698 Peak Mbps: 267.713 Avg Mbps: 266.698 5002 33273816 266.191 100.00% Conn: 1 Mbps: 266.191 Peak Mbps: 267.713 Avg Mbps: 266.191 --- fc00::13 tcpbench statistics --- 199666680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 264.415/266.203/267.713/1.074 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.181 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.181/0.181/0.181/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.232 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.232/0.232/0.232/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 31438976 251.512 100.00% Conn: 1 Mbps: 251.512 Peak Mbps: 251.512 Avg Mbps: 251.512 2000 31719888 253.759 100.00% Conn: 1 Mbps: 253.759 Peak Mbps: 253.759 Avg Mbps: 253.759 3002 31847312 254.524 100.00% Conn: 1 Mbps: 254.524 Peak Mbps: 254.524 Avg Mbps: 254.524 4004 31317344 250.288 100.00% Conn: 1 Mbps: 250.288 Peak Mbps: 254.524 Avg Mbps: 250.288 5005 31825592 254.350 100.00% Conn: 1 Mbps: 254.350 Peak Mbps: 254.524 Avg Mbps: 254.350 --- 169.254.1.11 tcpbench statistics --- 190055792 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 250.288/252.887/254.524/1.687 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 30739128 245.913 100.00% Conn: 1 Mbps: 245.913 Peak Mbps: 245.913 Avg Mbps: 245.913 2002 30817668 246.295 100.00% Conn: 1 Mbps: 246.295 Peak Mbps: 246.295 Avg Mbps: 246.295 3004 30733416 245.377 100.00% Conn: 1 Mbps: 245.377 Peak Mbps: 246.295 Avg Mbps: 245.377 4004 30769116 246.153 100.00% Conn: 1 Mbps: 246.153 Peak Mbps: 246.295 Avg Mbps: 246.153 5004 30734844 246.125 100.00% Conn: 1 Mbps: 246.125 Peak Mbps: 246.295 Avg Mbps: 246.125 --- fc00:0:0:1::11 tcpbench statistics --- 184400496 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 245.377/245.972/246.295/0.322 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.160 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.160/0.160/0.160/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.210 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.210/0.210/0.210/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 1001 42346760 338.436 100.00% Conn: 1 Mbps: 338.436 Peak Mbps: 338.436 Avg Mbps: 338.436 2001 43140264 345.122 100.00% Conn: 1 Mbps: 345.122 Peak Mbps: 345.122 Avg Mbps: 345.122 3002 42565408 340.523 100.00% Conn: 1 Mbps: 340.523 Peak Mbps: 345.122 Avg Mbps: 340.523 4002 42663872 341.311 100.00% Conn: 1 Mbps: 341.311 Peak Mbps: 345.122 Avg Mbps: 341.311 5002 42792744 342.342 100.00% Conn: 1 Mbps: 342.342 Peak Mbps: 345.122 Avg Mbps: 342.342 --- 169.254.1.12 tcpbench statistics --- 255667568 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 338.436/341.547/345.122/2.200 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 45231900 361.855 100.00% Conn: 1 Mbps: 361.855 Peak Mbps: 361.855 Avg Mbps: 361.855 2000 44399376 355.195 100.00% Conn: 1 Mbps: 355.195 Peak Mbps: 361.855 Avg Mbps: 355.195 3001 44859192 358.874 100.00% Conn: 1 Mbps: 358.874 Peak Mbps: 361.855 Avg Mbps: 358.874 4002 44436504 355.492 100.00% Conn: 1 Mbps: 355.492 Peak Mbps: 361.855 Avg Mbps: 355.492 5002 44613576 356.909 100.00% Conn: 1 Mbps: 356.909 Peak Mbps: 361.855 Avg Mbps: 356.909 --- fc00:0:0:1::12 tcpbench statistics --- 267875664 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 355.195/357.665/361.855/2.466 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.176 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.176/0.176/0.176/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.236 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.236/0.236/0.236/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 136916700 1095.334 100.00% Conn: 1 Mbps: 1095.334 Peak Mbps: 1095.334 Avg Mbps: 1095.334 2000 137930584 1103.445 100.00% Conn: 1 Mbps: 1103.445 Peak Mbps: 1103.445 Avg Mbps: 1103.445 3000 136000328 1088.003 100.00% Conn: 1 Mbps: 1088.003 Peak Mbps: 1103.445 Avg Mbps: 1088.003 4000 136229352 1089.835 100.00% Conn: 1 Mbps: 1089.835 Peak Mbps: 1103.445 Avg Mbps: 1089.835 5000 136949092 1095.593 100.00% Conn: 1 Mbps: 1095.593 Peak Mbps: 1103.445 Avg Mbps: 1095.593 --- 169.254.0.13 tcpbench statistics --- 820648000 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1088.003/1094.442/1103.445/5.401 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 127955868 1023.647 100.00% Conn: 1 Mbps: 1023.647 Peak Mbps: 1023.647 Avg Mbps: 1023.647 2000 128299104 1026.393 100.00% Conn: 1 Mbps: 1026.393 Peak Mbps: 1026.393 Avg Mbps: 1026.393 3000 128331800 1026.654 100.00% Conn: 1 Mbps: 1026.654 Peak Mbps: 1026.654 Avg Mbps: 1026.654 4000 128593368 1028.747 100.00% Conn: 1 Mbps: 1028.747 Peak Mbps: 1028.747 Avg Mbps: 1028.747 5000 128331800 1026.654 100.00% Conn: 1 Mbps: 1026.654 Peak Mbps: 1028.747 Avg Mbps: 1026.654 --- fc00::13 tcpbench statistics --- 769712956 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1023.647/1026.419/1028.747/1.626 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.188 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.188/0.188/0.188/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.262 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.262/0.262/0.262/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 1002 31916816 254.825 100.00% Conn: 1 Mbps: 254.825 Peak Mbps: 254.825 Avg Mbps: 254.825 2003 32012384 255.843 100.00% Conn: 1 Mbps: 255.843 Peak Mbps: 255.843 Avg Mbps: 255.843 3005 32029760 255.982 100.00% Conn: 1 Mbps: 255.982 Peak Mbps: 255.982 Avg Mbps: 255.982 4005 32010936 256.087 100.00% Conn: 1 Mbps: 256.087 Peak Mbps: 256.087 Avg Mbps: 256.087 5011 32581448 259.355 100.00% Conn: 1 Mbps: 259.355 Peak Mbps: 259.355 Avg Mbps: 259.355 --- 169.254.1.11 tcpbench statistics --- 192570968 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 254.825/256.419/259.355/1.536 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 1001 57723552 461.327 100.00% Conn: 1 Mbps: 461.327 Peak Mbps: 461.327 Avg Mbps: 461.327 2001 57519376 460.616 100.00% Conn: 1 Mbps: 460.616 Peak Mbps: 461.327 Avg Mbps: 460.616 3003 56949544 454.687 100.00% Conn: 1 Mbps: 454.687 Peak Mbps: 461.327 Avg Mbps: 454.687 4003 57250784 458.465 100.00% Conn: 1 Mbps: 458.465 Peak Mbps: 461.327 Avg Mbps: 458.465 5007 57277632 456.395 100.00% Conn: 1 Mbps: 456.395 Peak Mbps: 461.327 Avg Mbps: 456.395 --- fc00:0:0:1::11 tcpbench statistics --- 342854440 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 454.687/458.298/461.327/2.499 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.175 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.175/0.175/0.175/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.230 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.230/0.230/0.230/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 136655410 1093.243 100.00% Conn: 1 Mbps: 1093.243 Peak Mbps: 1093.243 Avg Mbps: 1093.243 2000 138225100 1105.801 100.00% Conn: 1 Mbps: 1105.801 Peak Mbps: 1105.801 Avg Mbps: 1105.801 3000 137767076 1102.137 100.00% Conn: 1 Mbps: 1102.137 Peak Mbps: 1105.801 Avg Mbps: 1102.137 4000 137865224 1102.922 100.00% Conn: 1 Mbps: 1102.922 Peak Mbps: 1105.801 Avg Mbps: 1102.922 5000 138192384 1105.539 100.00% Conn: 1 Mbps: 1105.539 Peak Mbps: 1105.801 Avg Mbps: 1105.539 --- 169.254.1.12 tcpbench statistics --- 826308690 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1093.243/1101.928/1105.801/4.572 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 127368004 1018.944 100.00% Conn: 1 Mbps: 1018.944 Peak Mbps: 1018.944 Avg Mbps: 1018.944 2000 128266408 1026.131 100.00% Conn: 1 Mbps: 1026.131 Peak Mbps: 1026.131 Avg Mbps: 1026.131 3000 128070232 1024.562 100.00% Conn: 1 Mbps: 1024.562 Peak Mbps: 1026.131 Avg Mbps: 1024.562 4000 128299104 1026.393 100.00% Conn: 1 Mbps: 1026.393 Peak Mbps: 1026.393 Avg Mbps: 1026.393 5000 128102928 1024.823 100.00% Conn: 1 Mbps: 1024.823 Peak Mbps: 1026.393 Avg Mbps: 1024.823 --- fc00:0:0:1::12 tcpbench statistics --- 766117060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1018.944/1024.171/1026.393/2.708 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.170 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.170/0.170/0.170/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.214 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.214/0.214/0.214/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 140613374 1124.907 100.00% Conn: 1 Mbps: 1124.907 Peak Mbps: 1124.907 Avg Mbps: 1124.907 2000 140940444 1127.524 100.00% Conn: 1 Mbps: 1127.524 Peak Mbps: 1127.524 Avg Mbps: 1127.524 3000 141267604 1130.141 100.00% Conn: 1 Mbps: 1130.141 Peak Mbps: 1130.141 Avg Mbps: 1130.141 4000 141071308 1128.570 100.00% Conn: 1 Mbps: 1128.570 Peak Mbps: 1130.141 Avg Mbps: 1128.570 5000 139729952 1117.840 100.00% Conn: 1 Mbps: 1117.840 Peak Mbps: 1130.141 Avg Mbps: 1117.840 --- 169.254.0.13 tcpbench statistics --- 842731042 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1117.840/1125.796/1130.141/4.328 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 144713252 1157.706 100.00% Conn: 1 Mbps: 1157.706 Peak Mbps: 1157.706 Avg Mbps: 1157.706 2000 143633528 1149.068 100.00% Conn: 1 Mbps: 1149.068 Peak Mbps: 1157.706 Avg Mbps: 1149.068 3000 143797008 1150.376 100.00% Conn: 1 Mbps: 1150.376 Peak Mbps: 1157.706 Avg Mbps: 1150.376 4000 141998728 1135.990 100.00% Conn: 1 Mbps: 1135.990 Peak Mbps: 1157.706 Avg Mbps: 1135.990 5000 141704464 1133.636 100.00% Conn: 1 Mbps: 1133.636 Peak Mbps: 1157.706 Avg Mbps: 1133.636 --- fc00::13 tcpbench statistics --- 860297908 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1133.636/1145.355/1157.706/9.128 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 1m59.42s