Operating System - HP-UX
1833704 Members
2734 Online
110062 Solutions
New Discussion

How many IP addresses on a LAN interface?

 
SOLVED
Go to solution
Enrico Venturi
Super Advisor

How many IP addresses on a LAN interface?

Hello colleagues,
I knew that it's possible to set more than 1 IP address on a LAN PPI (e.g. lan0, lan1 ....) by HP UX 11; what's the maximum number??

thanks
Enrico
3 REPLIES 3
Mel Burslan
Honored Contributor
Solution

Re: How many IP addresses on a LAN interface?

virtually there is no limit, as many as your subnet addressing can support for this interface. Practically, not advised more than a handful, say may be 8-9 addresses.

Personal experience, I had a system running with 8 IP addresses bound to the same interface for a bizzare share webserver project, all of them were answering to a different URL via iPlanet web server on the background.
________________________________
UNIX because I majored in cryptology...
Jeff Schussele
Honored Contributor

Re: How many IP addresses on a LAN interface?

Hi Enrico,

Not sure exactly how many, but you're ceratinly confined to the subnet limit & practically confined to the "human" limit of what's just *too* much to handle. I've seen low double digits (10-15) asserted w/o problems.
But if you had a hundred can you imagine what netstat -in outputs would be?

My 2 cents,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Sundar_7
Honored Contributor

Re: How many IP addresses on a LAN interface?

are you referring to the virtual IP addresses (like lan0:1 lan0:2 lan0:3 ..) ?

If yes, there is a limit on the number of virtual IP addresses you can add to a nic

lanX:N

N has to be a number from 0 to 255. so effectively you get 256 virtual IP addresses.
Learn What to do ,How to do and more importantly When to do ?