[lkml]   [2007]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Scaling Max IP address limitation

    On 6/25/07, David Jones <> 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? ..
    > >
    > I am using the "ip add " command looping sequentially up until RTNETLINK
    > starts refusing to add more IP addresses.
    > How are you adding via Netlink interface ?


    OK. Now it looks that I am reproducing something.

    Running curl-loader with 60K.conf (edit the name of interface) configuration:
    #ulimit -n 80000
    #curl-loader -f ./conf-examples/60K.conf -w
    it adds successfully 60 000 secondary IPv4 addresses as seen by
    #ip addr | wc -l

    When I tryed adding IPv6 addresses, using ipv6.conf with addresses
    range edited:
    IP_ADDR_MIN= 2001:db8:fff5:1::1
    IP_ADDR_MAX= 2001:db8:fff5:ffff::1

    I am getting after initial successes some errors:
    "rtnl_talk(): RTNETLINK answers: Cannot allocate memory"
    #ip addr | wc-l is 8194.

    8K addresses added and no more? It might be a memory issue. Y can dig
    into the code and look into the allocation process and limits on the
    kernel memory for IPv6.

    The physical memory on my computer is 480 MB.
    kernel is vanilla

    Try to see, what happens, when you increase the memory on your comp,
    if an option.

    Robert Iakobashvili,
    coroberti %x40 gmail %x2e com
    A web testing and traffic generation tool.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-06-25 10:49    [W:0.021 / U:7.088 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site