Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Remove alias IP permamently in AIX

Posted on 2015-02-18
3
210 Views
Last Modified: 2015-02-19
Can I use the followign command to remove the Alias IP address permanently from AIX interface  en0 ?


chdev -l en0 -a delalias4={10.xx.xx.xx},{255.xxx.xx.0}
0
Comment
Question by:mokkan
  • 2
3 Comments
 
LVL 14

Expert Comment

by:mikelfritz
ID: 40618147
I'd use ifconfig.

ifconfig <interface_name> inet <virtual_ip_address> delete

For example:

ifconfig en0 inet 10.10.10.219 delete
0
 
LVL 14

Expert Comment

by:mikelfritz
ID: 40618152
I'm not sure my first comment would live through a reboot...

Yes, the command you posted will work.
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 40618441
The chdev command is the one to use, but without the curly braces!!

chdev -l en0 -a delalias4=10.xx.xx.xx,255.xxx.xx.0

Please note that the above will remove an IPv4 alias. Use "delalias6" to remove an IPv6 alias.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question