Operating System - HP-UX
1822430 Members
2990 Online
109642 Solutions
New Discussion юеВ

Max No. Of IP Alias in HP-UX / Linux

 
SOLVED
Go to solution
Bejoy C Alias
Respected Contributor

Max No. Of IP Alias in HP-UX / Linux

Anybody knows what is the maximum no.of ip aliases i can add in a hp-ux or linux system.?
Be Always Joy ......
6 REPLIES 6
Steven E. Protter
Exalted Contributor
Solution

Re: Max No. Of IP Alias in HP-UX / Linux

Shalom,

I believe both are controlled by network limitations.

You will probably run out of IP addresses on a class C subnet before you run into OS limitations.

I have a Linux router I built that has IP addresses from three networks on one NIC.

I know of no limitations, though performance problems can result if you are not careful and are doing things like routing.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sameer_Nirmal
Honored Contributor

Re: Max No. Of IP Alias in HP-UX / Linux

If you are talking about maximum number of IP aliases/logical ip addresses per lan interface, then on HPUX the limit is 2047.

I am not sure about linux.
Steven E. Protter
Exalted Contributor

Re: Max No. Of IP Alias in HP-UX / Linux

The limit may vary based on HP-UX version. Please state your version.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bejoy C Alias
Respected Contributor

Re: Max No. Of IP Alias in HP-UX / Linux

System is HP-UX 11.11 ,i tried an interface name as lan0:100000 , and it worked ... so where this 2047 came from , or is it for any older version ?
Be Always Joy ......
Hemmetter
Esteemed Contributor

Re: Max No. Of IP Alias in HP-UX / Linux

Hi,

On Linux the Alias-Name for a interface is only for human convenience.

So can name your eth0:0 even eth0:foo or eth0:null and you may give it no "name" at all. But then ifconfig will not list your aliases.



On HP-UX you have to name your interfaces according to ifconfig(1M) section "Interface Naming" like [lan|snap][ppa][:num]

But the number of aliases is independent of the :num numbers you use.



rgds
HGH
Bejoy C Alias
Respected Contributor

Re: Max No. Of IP Alias in HP-UX / Linux

So ... As per ur answers i am concluding that i can have any number of ipaliases ...
Be Always Joy ......