From owner-freebsd-net@freebsd.org Thu Sep 3 21:20:06 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1C0FD3CAD6E for ; Thu, 3 Sep 2020 21:20:06 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BjDGs2qg8z42L3 for ; Thu, 3 Sep 2020 21:20:04 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 9AC578D4A156; Thu, 3 Sep 2020 21:19:58 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 20463E7088E; Thu, 3 Sep 2020 21:19:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id lFSazXE0Wssd; Thu, 3 Sep 2020 21:19:57 +0000 (UTC) Received: from [127.0.0.1] (unknown [IPv6:fde9:577b:c1a9:4902:9da:6278:2965:ac68]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 13453E707CD; Thu, 3 Sep 2020 21:19:57 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Hans Petter Selasky" Cc: "Cristian Cardoso" , freebsd-net@freebsd.org Subject: Re: Ipv6 neighbor limit Date: Thu, 03 Sep 2020 21:19:56 +0000 X-Mailer: MailMate (2.0BETAr6151) Message-ID: <3A46B5FE-93E3-40C8-99EA-76F3E03D5B3E@lists.zabbadoz.net> In-Reply-To: <592b041e-0243-8148-3ac6-ca8da4ca5e84@selasky.org> References: <592b041e-0243-8148-3ac6-ca8da4ca5e84@selasky.org> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4BjDGs2qg8z42L3 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; DMARC_NA(0.00)[zabbadoz.net]; NEURAL_HAM_LONG(-0.98)[-0.980]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.76)[-0.764]; NEURAL_HAM_MEDIUM(-0.96)[-0.958]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 21:20:06 -0000 On 3 Sep 2020, at 12:48, Hans Petter Selasky wrote: > On 2020-09-03 14:34, Cristian Cardoso wrote: >> Hi >> Would anyone know if there is any limit in the FreeBSD kernel for IPv6 >> neighbors? I checked the ndp documentation and found nothing, looking >> at the return of the sysctl command I also did not find anything >> explicit. >> > > Hi, > > There is something called: > > sys/netinet/in.h:#define IP_MAX_MEMBERSHIPS 4095 > sys/netinet6/in6.h:#define IPV6_MAX_MEMBERSHIPS 4095 > > Is this what you are looking for? Or more along the lines of https://reviews.freebsd.org/D24035 ? /bz