Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Linux & BSD & Mac => Topic started by: chandro on April 08, 2011, 09:55:26 AM

Title: how many addresses can have the eth0?
Post by: chandro on April 08, 2011, 09:55:26 AM
i have installed on my server the ipv6.

and added 50 secondaries, and all respond to ping and trace.

but my question, how many ipv6 can handle the eth0??

100, 1000? more?

thanks.
Title: Re: how many addresses can have the eth0?
Post by: broquea on April 08, 2011, 10:17:38 AM
As many until memory/kernel/I\O limitations are reached.
Title: Re: how many addresses can have the eth0?
Post by: chandro on April 08, 2011, 10:45:26 AM
ok, and is there a way to know the limits before pushing it with to many addresses??

a formula o something??

Title: Re: how many addresses can have the eth0?
Post by: cconn on April 08, 2011, 10:56:36 AM
might be helpful to know what OS and version  ;)


do you plan on never re-using the same IP twice?   :D
Title: Re: how many addresses can have the eth0?
Post by: broquea on April 08, 2011, 11:03:35 AM
Quote from: chandro on April 08, 2011, 10:45:26 AM
ok, and is there a way to know the limits before pushing it with to many addresses??

a formula o something??

Write a script and do it until it fails to allocate any more, and log it all locally or remotely? Again, depends on a bunch of factors like available ram, kernel/os version, nic driver flaws, etc.
Title: Re: how many addresses can have the eth0?
Post by: snarked on April 08, 2011, 12:47:04 PM
If you're using 50+, you beat me.  I'm only using 27 anycast IPv6 addresses each currently on two interfaces (in a virtual hosting environment).

I think you might hit a limit with firewall rules before you'll hit any limit on addresses.
Title: Re: how many addresses can have the eth0?
Post by: chandro on April 08, 2011, 02:02:15 PM
well, i think is not needed more than 100 different ipv6 addresses, even if you want to put one on each domain, for what? nothing is changhing until ipv4 still being the same ip or shared for the domains.

so is ok, im going to keep those 5X added and learn more about what to do with a ipv6 =)