Solved

Remove alias IP permamently in AIX

Posted on 2015-02-18
3
194 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now