Operating System - HP-UX
1819774 Members
3375 Online
109607 Solutions
New Discussion юеВ

Re: IP Alias - Limit on number of IP addresses?

 
SOLVED
Go to solution
John J Read
Frequent Advisor

IP Alias - Limit on number of IP addresses?

I am using ifconfig to set multiple IP addresses on my LAN interface. Is there a limit on how many can be out there?
(peformance concerns not included. )

For example: I have 14 Oracle database instances on my HP-UX 11.11 server. I would like to create a unique hostname/ipaddress for each instance so I can move those to another server if necessary. Currently, I group many host aliases onto one floating IP address but I want to split each hostname alias onto it's own IP address so I can pick and choose which ones I want to move.

lan0:1 ip-address 1
lan0:2 ip-address 2
lan0:3 ip-address 3
lan0:4 ip-address 4
etc. etc.


Thanks.. Of course, points will be assigned for all answers.
3 REPLIES 3
Jeff Schussele
Honored Contributor
Solution

Re: IP Alias - Limit on number of IP addresses?

Hi John,

Of course the ultimate limit is going to be the maximum number of IPs in the subnet minus 2.
But practically I've seen as many as 16 virtual IPs in an MC/SG package before, so what you want to do is acceptable.
Also you'll want to consider using virtual hostnames along with those IPs and get them in DNS so one won't have to maintain hosts files all over the network.

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

Re: IP Alias - Limit on number of IP addresses?

You can assign at the max 256 virtual IP addresses to a lan interface.

lanX:Y

where Y can be 0 to 255.
Learn What to do ,How to do and more importantly When to do ?
John J Read
Frequent Advisor

Re: IP Alias - Limit on number of IP addresses?

Thank you!!!