Operating System - HP-UX
1846788 Members
5277 Online
110256 Solutions
New Discussion

Re: delete ip logical interface

 
SOLVED
Go to solution
STALIN
Occasional Advisor

delete ip logical interface

hello,

I want to delete manualy a ip logical interface but I don't find the command.

For create I use :
ifconfig lan0:1 inet 10.205.2.2 netmask 255.255.255.0 broadcast 10.205.2.255 up

3 REPLIES 3
melvyn burnard
Honored Contributor
Solution

Re: delete ip logical interface

do ifconfig lan0:1 0.0.0.0

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Elmar P. Kolkman
Honored Contributor

Re: delete ip logical interface

ifconfig lan0:1 inet 0.0.0.0 down
That should do the trick
Every problem has at least one solution. Only some solutions are harder to find.
Mic V.
Esteemed Contributor

Re: delete ip logical interface

Obviously you've got the answer, but for the future: you can sometimes "cheat" with SAM for these types of questions. SAM (system administration manager, a tool provided with HP-UX) first of all can do many of these tasks for you, but even better, you can look at its log file and see the commands it uses so you can do it yourself next time.

In SAM (/usr/sbin/sam), go into Networking, then Network Card/NIC (sorry, I don't have a host handy :).

Mic
What kind of a name is 'Wolverine'?