?
Solved

Remove alias IP permamently in AIX

Posted on 2015-02-18
3
Medium Priority
?
242 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
[X]
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
  • 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 2000 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
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.
Suggested Courses

770 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