Date: Fri, 16 Mar 2018 11:58:18 +0100 (CET) From: sthaug@nethelp.no To: "Andrey V. Elsukov" <bu7cher@yandex.ru> Cc: freebsd-net@FreeBSD.org Subject: Re: Does FreeBSD do proactive ARP refresh?,Re: Does FreeBSD do proactive ARP refresh? Message-ID: <20180316.115818.41694679.sthaug@nethelp.no> In-Reply-To: <1fba4f44-9308-19b8-973a-645869ff95ee@yandex.ru> References: <20180315.210552.74686746.sthaug@nethelp.no> <20180315.210552.74686746.sthaug@nethelp.no> <1fba4f44-9308-19b8-973a-645869ff95ee@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
> Can you show your config and stats after the test? > # sysctl net.link.ether > # netstat -sp arp > # netstat -sp ip > # netstat -sp udp OK, below is the output from these commands, run on the iperf3 sender, from before and after one test run. I ran the test for 370 seconds, and had 3 periods of packet loss, spaced 120 seconds apart. Steinar Haug, Nethelp consulting, sthaug@nethelp.no ---------------------------------------------------------------------- # Before sthaug@pondus% sysctl net.link.ether net.link.ether.inet.allow_multicast: 0 net.link.ether.inet.log_arp_permanent_modify: 1 net.link.ether.inet.log_arp_movements: 1 net.link.ether.inet.log_arp_wrong_iface: 1 net.link.ether.inet.garp_rexmit_count: 0 net.link.ether.inet.max_log_per_second: 1 net.link.ether.inet.maxhold: 1 net.link.ether.inet.wait: 20 net.link.ether.inet.proxyall: 0 net.link.ether.inet.maxtries: 5 net.link.ether.inet.max_age: 120 net.link.ether.ipfw: 0 sthaug@pondus% netstat -sp arp arp: 67 ARP requests sent 812 ARP replies sent 54274 ARP requests received 63 ARP replies received 54337 ARP packets received 339 total packets dropped due to no ARP entry 63 ARP entrys timed out 0 Duplicate IPs seen sthaug@pondus% netstat -sp ip ip: 52434 total packets received 0 bad header checksums 0 with size smaller than minimum 0 with data size < data length 0 with ip length > max ip packet size 0 with header length < data size 0 with data length < header length 0 with bad options 0 with incorrect version number 0 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 0 packets reassembled ok 51339 packets for this host 0 packets for unknown/unsupported protocol 33 packets forwarded (18 packets fast forwarded) 1 packet not forwardable 0 packets received for unknown multicast group 0 redirects sent 109204414 packets sent from this host 0 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 23551 output packets discarded due to no route 0 output datagrams fragmented 0 fragments created 0 datagrams that can't be fragmented 0 tunneling packets that can't find gif 0 datagrams with bad address in header sthaug@pondus% netstat -sp udp udp: 2750 datagrams received 0 with incomplete header 0 with bad data length field 0 with bad checksum 440 with no checksum 2138 dropped due to no socket 0 broadcast/multicast datagrams undelivered 0 dropped due to full socket buffers 0 not for hashed pcb 612 delivered 109160018 datagrams output 0 times multicast source filter matched # After sthaug@pondus% sysctl net.link.ether net.link.ether.inet.allow_multicast: 0 net.link.ether.inet.log_arp_permanent_modify: 1 net.link.ether.inet.log_arp_movements: 1 net.link.ether.inet.log_arp_wrong_iface: 1 net.link.ether.inet.garp_rexmit_count: 0 net.link.ether.inet.max_log_per_second: 1 net.link.ether.inet.maxhold: 1 net.link.ether.inet.wait: 20 net.link.ether.inet.proxyall: 0 net.link.ether.inet.maxtries: 5 net.link.ether.inet.max_age: 120 net.link.ether.ipfw: 0 sthaug@pondus% netstat -sp arp arp: 70 ARP requests sent 813 ARP replies sent 54297 ARP requests received 66 ARP replies received 54363 ARP packets received 351 total packets dropped due to no ARP entry 66 ARP entrys timed out 0 Duplicate IPs seen sthaug@pondus% netstat -sp ip ip: 52527 total packets received 0 bad header checksums 0 with size smaller than minimum 0 with data size < data length 0 with ip length > max ip packet size 0 with header length < data size 0 with data length < header length 0 with bad options 0 with incorrect version number 0 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 0 packets reassembled ok 51432 packets for this host 0 packets for unknown/unsupported protocol 33 packets forwarded (18 packets fast forwarded) 1 packet not forwardable 0 packets received for unknown multicast group 0 redirects sent 111059559 packets sent from this host 0 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 23551 output packets discarded due to no route 0 output datagrams fragmented 0 fragments created 0 datagrams that can't be fragmented 0 tunneling packets that can't find gif 0 datagrams with bad address in header sthaug@pondus% netstat -sp udp udp: 2751 datagrams received 0 with incomplete header 0 with bad data length field 0 with bad checksum 440 with no checksum 2138 dropped due to no socket 0 broadcast/multicast datagrams undelivered 0 dropped due to full socket buffers 0 not for hashed pcb 613 delivered 111015060 datagrams output 0 times multicast source filter matched
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180316.115818.41694679.sthaug>