From: David Jones <djones@rossove.com>
To: Robert Iakobashvili <coroberti@gmail.com>
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: Scaling Max IP address limitation
Date: Sun, 24 Jun 2007 19:03:06 -0500 [thread overview]
Message-ID: <467F063A.2030805@rossove.com> (raw)
In-Reply-To: <7e63f56c0706241259u6e123ed6yc02b76f0260adaa5@mail.gmail.com>
Robert Iakobashvili wrote:
> Hi,
>
>> On Sun, 24 Jun 2007 12:20:01 -0500 David Jones <djones@rossove.com>
>> wrote:
>
>> > I am trying to add multiple IP addresses ( v6 ) to my FC7 box on eth0.
>> > But I am hitting a max limit of 4000 IP address . Seems like there
>> is a
>> > limiting variable in linux kernel (which one? ) that prevents from
>> > adding more IP addresses than 4096. What do I need to change in Linux
>> > kernel ( and then recompile ) to be able to add more IP addresses
>> than
>> > 4K addresses per system? ..
>
>
> We are adding tens of thousand IPv4 addresses using netlink interface
> without any problems. The maximum we added was 60K of secondary
> IPv4 addresses. It consumes some memory, however.
>
> We have also added thousands of IPv6. I will try to test, if there is any
> limit for doing it.
>
I am using the "ip add " command looping sequentially up until RTNETLINK
starts refusing to add more IP addresses. I am using a simple shell
script to do the trick. One quick fact : If I exhaust 4K addresses on
one port , then I can not add more IP's ( v4/v6 alike ) on any port on
the system. So seems like its a system wide limitation . Tried digging
through the kernel source code but no luck so far. So definitely need
pointers in this regard.
How are you adding via Netlink interface ?
Thanks,
-d
next prev parent reply other threads:[~2007-06-25 5:03 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <467EA7C1.4080006@rossove.com>
2007-06-24 18:02 ` Scaling Max IP address limitation Andrew Morton
2007-06-24 19:59 ` Robert Iakobashvili
2007-06-25 0:03 ` David Jones [this message]
2007-06-25 8:47 ` Robert Iakobashvili
2007-06-25 9:30 ` Jan Engelhardt
2007-06-25 9:41 ` Robert Iakobashvili
2007-06-25 12:38 ` Jan Engelhardt
2007-06-25 12:44 ` Robert Iakobashvili
2007-06-25 17:26 ` David Jones
[not found] ` <7e63f56c0706260756q504bc4c2sa8905fbaeed4308d@mail.gmail.com>
2007-06-26 14:58 ` Robert Iakobashvili
2007-06-24 20:19 ` Robert Iakobashvili
2007-06-24 19:08 ` Kyle Moffett
2007-06-24 19:54 ` David Stevens
2007-06-24 19:58 ` Jan Engelhardt
2007-06-24 20:44 ` david
2007-06-24 20:52 ` Jan Engelhardt
2007-06-24 21:51 ` Kyle Moffett
2007-06-25 9:36 ` Patrick McHardy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=467F063A.2030805@rossove.com \
--to=djones@rossove.com \
--cc=akpm@linux-foundation.org \
--cc=coroberti@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).