Operating System - HP-UX
1832870 Members
2934 Online
110048 Solutions
New Discussion

Re: Removing secondary IP

 
SOLVED
Go to solution
Francis Flan
Regular Advisor

Removing secondary IP

Hi, Can someone give me the command to remove a secondary IP address. (11.31)

ifconfig :: IP_address or something?
3 REPLIES 3
Ralph Grothe
Honored Contributor
Solution

Re: Removing secondary IP

ifconfig lanX down
ifconfig lanX 0.0.0.0
ifconfig lanX unplumb

But beware you haven't connected over lanX
Madness, thy name is system administration
Ralph Grothe
Honored Contributor

Re: Removing secondary IP

Oops, missed you mentioned secondary IP.
In that case don't unplumb.
Madness, thy name is system administration
Francis Flan
Regular Advisor

Re: Removing secondary IP

thanks a lot!