Operating System - HP-UX
1834100 Members
2340 Online
110063 Solutions
New Discussion

How to delete the lan0:1?

 
MA Qiang
Regular Advisor

How to delete the lan0:1?

I typed "ifconfig lan0:1 10.0.0.2 up" and got a temporary IP address. But How can I delete it. I issue "ifconfig lan0:1 unplumb", get the coredump.
Thank you!
5 REPLIES 5
bhavin asokan
Honored Contributor

Re: How to delete the lan0:1?

hi,


ifconfig lan0:1 0.0.0.0

regds,
Biswajit Tripathy
Honored Contributor

Re: How to delete the lan0:1?

$ifconfig lan0
Write down the IP address

$ ifconfig lan0:1 down
$ifconfig lan0 down
$ifconfig lan0 unplumb
$ifconfig lan0 IP_ADDRESS

- Biswajit
:-)
MA Qiang
Regular Advisor

Re: How to delete the lan0:1?

"ifconfig lan0:1 0.0.0.0" is OK!
Thank you!
Steven E. Protter
Exalted Contributor

Re: How to delete the lan0:1?

If the commands above do not work, you probably need a patch.

A patch of this nature will more than likely require down time.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
MA Qiang
Regular Advisor

Re: How to delete the lan0:1?

I made a mistake. Sorry for assigned the low points to bhavin asokan and Biswajit Tripathy.

Their answer have solved my problem.
Thanks.