Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jul 2020 16:23:52 +0300
From:      Alexandr Baryshnyev <abb@abbon.net>
To:        "Alexander V. Chernikov" <melifaro@ipfw.ru>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: How to increase the size of the MAC address caching table?
Message-ID:  <b8330296-ce46-b1a0-df95-8b2a678bc21f@abbon.net>
In-Reply-To: <1073051595077683@mail.yandex.ru>
References:  <fcebf573-820a-cdd5-6f03-f24b2123d1a4@abbon.net> <1073051595077683@mail.yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
18.07.2020 16:16, Alexander V. Chernikov пишет:
> 18.07.2020, 13:56, "Alexandr Baryshnyev" <abb@abbon.net>:
> 
>     Hello everybody.
> 
>         I have about 1,500 devices on the network, but in fact the MAC address table on the central router running Freebsd
>     12.0 never contains more than 1000 with small cached records. In the network, there are short-term random interruptions
>     between different hosts and the router. The connection to the Internet on different computers in the network is lost for
>     a short time. No apparent cause of these breaks was found.
> 
> How often does this happens and what is the average "short-term" duration?
> I'd look into route -n monitor (don't remember if arp state reporting was merged into 12.0) and try to tcpdump arp 
> traffic to get understanding what's happening here.
> Also: does this router perform TCP termination of the flows toward Internet?
> 
> 
>         There is a suspicion that the MAC address table on the FreeBSD router has a limited size, about 1000 with a small
>     record maximum. Is that so? Is it possible to increase the size of this table if it is limited? An internet search was
>     not successful.
> 
> It's not limited.
> 
> 
>        Help me, please.
> 
>       > arp -an | grep -ve incomplete | wc -l
>           1055
> 



> "Incomplete" are still entries in the per-interface mac address table. What's the size with incomplete ones?

> arp -an | wc -l
     1183
> ifconfig bridge0 addr | wc -l
     1214


> 
>        Thank you.
> 
>     --
>          Best regards,
>          Alexandr B. Baryshnyev, e-mail: abb@abbon.net <mailto:abb@abbon.net>
>     _______________________________________________
>     freebsd-net@freebsd.org <mailto:freebsd-net@freebsd.org> mailing list
>     https://lists.freebsd.org/mailman/listinfo/freebsd-net
>     To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org <mailto:freebsd-net-unsubscribe@freebsd.org>"
> 

-- 
    Best regards,
    Alexandr B. Baryshnyev, e-mail: abb@abbon.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b8330296-ce46-b1a0-df95-8b2a678bc21f>