Operating System - HP-UX
1832069 Members
3085 Online
110034 Solutions
New Discussion

How to remove too much LAN interfaces

 
Enrico Venturi
Super Advisor

How to remove too much LAN interfaces

Hello colleagues,
we've a server with 9 LAN interfaces (1 on the motherboard, 2 x 4 interfaces LAN card); we've a software able to run just with 4 LAN cards; we want to remove 5 interfaces but we cannot remove the boards; are there any commands to remove them from the "lanscan" view? I mean: are there any commands to unconfigure them in such a way that the lanscan doesn't see them?

Thanks
Enrico
5 REPLIES 5
RAC_1
Honored Contributor

Re: How to remove too much LAN interfaces

lanscan will always see them.

If you do not intend to use them, do not configure.
There is no substitute to HARDWORK
Robert-Jan Goossens
Honored Contributor

Re: How to remove too much LAN interfaces

Hi Enrico,

I did not configure one lan card but lanscan is able to see the lan. works for me.

# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x001083FF5AE3 0 UP lan0 snap0 1 ETHER Yes 119
0/6/0/0 0x001083F68FA4 1 UP lan1 snap1 2 ETHER Yes 119

# lanspeed
Card at PPA 0 - IP Address: 145.x.x.48 - Speed = 100 Full-Duplex Auto-NegoF
Card at PPA 1 - IP Address: Not assigned- Speed = 100000000 Half-Duplex

HTH,
Robert-Jan.
Enrico Venturi
Super Advisor

Re: How to remove too much LAN interfaces

How can I unconfigure them?
What do you mean "not configure"?
Robert-Jan Goossens
Honored Contributor

Re: How to remove too much LAN interfaces

/etc/rc.config.d/netconf file unconfig the interface you do not want to use.

Regards,
Robert-Jan
Fabio Ettore
Honored Contributor

Re: How to remove too much LAN interfaces

Ciao Enrico,

lan interfaces are up if you configure them by ifconfig or in /etc/rc.config.d/netconf. Even if you see them UP in lanscan, it doesn't mean that they are configured.
Then the most important thing is to see if they are configured, again by netconf (on INTERFACE_NAME line you can get lanX, that is 0,1,2 and so on...) and by 'ifconfig lanX' if it is UP or DOWN.

I hope this helps you.

Best regards,
Ettore
WISH? IMPROVEMENT!