I would recommend having multiple IPs reside at your router rather than your host - it will handle it better.
But AIX does allow for the creation of aliases as part of the ifconfig command. I don't know that IBM has a recommended limit, but I've heard numbers between 40-50 as the limit. What version of AIX are you using and what are you trying to accomplish by binding multiple IPs to the interface?
Lets say you wanted to assign 30 ips to 1 nic, Is there a script that can do this.
My knowledge of unix is very limited, and any help would be appreciated.
Actually assigning an IP adress to an interface is one command, either "ifconfig", as mentioned or - the AIX way - "chdev". If you have a list of IP adresses and want to assign them to an interface via a script that could be accomplished as simple as:
First prepare a list of the IP adresses in a file. For this example we'll call the file "/tmp/myips.list":
Now we create a script that reads this file, line by line and fills the content of the line read into the prepared command. Save the following to a file "/tmp/setips.ksh":
Set the execute bit and execute as root to run it.
This script has several limitations: it assumes (maybe falsely so) that the subnet mask is always "255.255.255.0" and the interface to configure is always "en0", it does nothing to check if the configuration file /tmp/myips.list is there, if it is readable and if it contains data which makes sense, it uses a fixed config file instead of a configurable one, it has no error handling (what happens if the "chdev" command is unable to complete for whatever reason?), etc., etc. - but assuming everything works well it will do what you asked for.
If you want to write a better (more versatile) script and need help ask in the "shell scripting and programming" forum.