Operating System - HP-UX
1834096 Members
2614 Online
110063 Solutions
New Discussion

How to disable a IP / NIC

 
SOLVED
Go to solution
praveen..
Super Advisor

How to disable a IP / NIC

Hi,
I have two IP assigned to server in two network cards.


I want to disable the first network card.

How can I do it?

Please suggest
thanks
5 REPLIES 5
Pete Randall
Outstanding Contributor
Solution

Re: How to disable a IP / NIC

Something like:

ifconfig lan0 down

should do it. Of course you have to substitute your interface for lan0.


Pete

Pete
OldSchool
Honored Contributor

Re: How to disable a IP / NIC

sam -> networking and communications -> network interface cards, then select the card, then action -> disable

should get it
Peter Godron
Honored Contributor

Re: How to disable a IP / NIC

Hi,
although ifconfig lanX down should do it,
please see:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=96297
Wouter Jagers
Honored Contributor

Re: How to disable a IP / NIC

If you want the change to be persistent after reboots, comment out the relevant entries in /etc/rc.config.d/netconf

Cheers
an engineer's aim in a discussion is not to persuade, but to clarify.
praveen..
Super Advisor

Re: How to disable a IP / NIC

Thanks, It works.