Tanti Technology

My photo
Bangalore, karnataka, India
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.

Tuesday 10 December 2013

IP alias permanently assigned in AIX



Technote (troubleshooting)

 
Problem(Abstract)

 Upon reboot an IP alias is automatically assigned to an interface by the operating system. How do I prevent this ?

 Symptom

 
Prior to the start of the cluster or at least the start of IBM.GblResRM, an IP Alias is already being assigned to a NIC.
 
Cause

 In AIX you can set a permanent IP Alias to an interface so that it will be automatically re-assigned after a reboot. The command that does this is "chdev".
For example, to assign an alias :


chdev -l en0 -a alias4=192.168.0.100,255.255.255.0

 Resolving the problem

 To remove the alias, issue the following command:
chdev -l enX delalias4=,
where:
X=number of the network interface the alias is assigned to, example, en0, en1, en2...IP_Address_of_Alias= The alias IP Address, not the default NIC/System address for that adapterSubnet_Mask= The subnet mask used to create the alias.

The values for the above parameters can be obtained from the output of 
"ifconfig -a".

 

No comments:

Post a Comment