Tanti Technology

My photo
Bangalore, karnataka, India
Sandeep Kumar | Founder, Tanti Technologies At Tanti Technologies, I share practical knowledge, hands-on tutorials, and real-world solutions across Python, SQL, Docker, Kubernetes, CI/CD, AWS, Azure, Machine Learning, Generative AI, and Agentic AI. My mission is to simplify complex technologies and provide actionable insights that help developers, engineers, and businesses learn faster, build better, automate smarter, and innovate with confidence. 🚀 Learn • Build • Automate • Innovate Follow Tanti Technologies for practical technology insights and next-generation AI solutions.

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