Operating System - Tru64 Unix
1748200 Members
3746 Online
108759 Solutions
New Discussion юеВ

Re: Remove Network Interface

 
SOLVED
Go to solution
John Palmer_5
Occasional Contributor

Remove Network Interface

We are no longer using an interface "EE3" on the system. It still shows up in Netstat. We have looked into Sysman and Ifconfig but can't figure out how to "remove" it. 5.1B
9 REPLIES 9
Michael Schulte zur Sur
Honored Contributor

Re: Remove Network Interface

Hi John,

do you want to phyically remove the nic?
Have you tried to deconfigure the nic in sysman?

hth,

Michael
John Palmer_5
Occasional Contributor

Re: Remove Network Interface

Yes, we want to Physically remove it later but for now we want it out of netstat. We tried Sysman, it sets the interface up/down only. Ifconfig shows removing an interface from a Netrain config, but not just plain old "remove". Any help would be appreciated.
Hein van den Heuvel
Honored Contributor

Re: Remove Network Interface


Doesn't sound liek too critical a problem to me. For looks only use: netstat | grep -v ee3 ?

:-)

Maybe vi /etc/rc.config, remove ee3, shuffle down that others, adjust NUM_NETCONFIG, rcinet restart?

Maybe you can use hwmgr? but I if anything you'll need to do that after the physical remove and reboot. Not worth risking crashing your systme over imho.

fwiw,
Hein.


Michael Schulte zur Sur
Honored Contributor

Re: Remove Network Interface

Hi,

my idea would be to remove the nic with the hwmgr -delete comp command and then shutdown and remove the nic.

hth,

Michael
Mohamed  K Ahmed
Trusted Contributor

Re: Remove Network Interface

get the NIC down
ifconfig -I ee3 down
shutdown the system, then boot the system with file /genvmunix and build a new kernel, this should take care of the entry in /etc/rc.config that reference the NIC ee3

HTH

Mohamed
Danilo Martinez
Occasional Advisor
Solution

Re: Remove Network Interface

1) #hwmgr -show names --> identify you interface to delete
2) hwmgr -remove name -entry tu1

tu1 is an example of one interface

Best regards
Danilo Martinez
John Palmer_5
Occasional Contributor

Re: Remove Network Interface

Danilo, that did it. Thank you. Also Thanks to everyone that replied, I appreciate it.
John Palmer_5
Occasional Contributor

Re: Remove Network Interface

Well maybe, it did remove it when we do an hwmgr -show name Still shows up in netstat. We are going to remove the card rebuild the kernel and reboot this weekend.
Thanks again.
Mohamed  K Ahmed
Trusted Contributor

Re: Remove Network Interface

So I was right?, or is this the best procedure to do it?

Mohamed