- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disabling a multiprotocol LAN interface. ifconfig ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2003 12:27 AM
07-04-2003 12:27 AM
Disabling a multiprotocol LAN interface. ifconfig down doesn't work
Briefly about the situation:
I've got a LAN interface with IP over ETH and
also CLNS over ETH, not RFC1006 (CLNS over TCP/IP)
Both protocols share the same interface without
interfering each other.
HP10.20 : I can disable the interface by "ifconfig lanX down" and none of the protocols will work. The linkloop command also says nobody is answering from outside. The effect is as if
the lan cable was plugged off.
HP11.0 : The same command "ifconfig down" only works for IP protocol. Either CLNS still works and linkloop also sends ETH frames outside.
tried browsing thru the manuals unsuccessfully.
lanadmin, etc. "ifconfig unplumb" did not work.
Any clue? How can I totally disable the interface? don't mind to disable the
hardware if necessary. But not the land card,
as it has several interfaces and I only wanted to disable one of them.
Cheers,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2003 12:29 AM
07-04-2003 12:29 AM
Re: Disabling a multiprotocol LAN interface. ifconfig down doesn't work
Do you have access to "SAM"? If you highlight the card in the Network Interfaces section and see what Actions are available, it may detect what type of card it is and disable it using the appropriate commands.
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2003 06:17 AM
07-04-2003 06:17 AM
Re: Disabling a multiprotocol LAN interface. ifconfig down doesn't work
ifconfig lanX 0.0.0.0
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2003 06:28 AM
07-04-2003 06:28 AM
Re: Disabling a multiprotocol LAN interface. ifconfig down doesn't work
i'm totally ignorant in NSAP and CLNS, but doing a search i found some references to a command
/opt/ots/bin/osistop
sounds like something can help you...
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2003 06:36 AM
07-04-2003 06:36 AM
Re: Disabling a multiprotocol LAN interface. ifconfig down doesn't work
another thought.
If you look at the startup script, you should find which script enable/disable the NSAP/CLNS.
You can check and use that commands.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2003 11:42 PM
07-04-2003 11:42 PM
Re: Disabling a multiprotocol LAN interface. ifconfig down doesn't work
If u want to totally disable the lan interface than edit the /etc/rc.config.d/netconf file
over there you put the all enntries of lan interfaces equal to 0
this might be help u
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2003 06:09 AM
07-05-2003 06:09 AM
Re: Disabling a multiprotocol LAN interface. ifconfig down doesn't work
Maybe you need to check for a patch that
will upgrate the driver for you net card.
This could solve the problem, because the ifconfig lanX down should off the card
and if it's not done then it's some bug.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2003 10:40 PM
07-06-2003 10:40 PM
Re: Disabling a multiprotocol LAN interface. ifconfig down doesn't work
Thanks to everyone for answering to this issue.
Ian,
There's an option in SAM for disabling the LAN
interface, which has the same effect that the
ifconfig lanX down. The CLNS packets are still
being broadcast outbound.
Tim, Yes, I tried the command unsuccessfully.
Massimo,
This is the output from that command:
host,sys,root # /opt/ots/bin/osistop
This command no longer stops OTS, only OSI services.
host,sys,root #
Suresh,
The netconf is read in boot time, or doing
/sbin/init.d/net start
which launches the ifconfig with the proper
parameters. I tried everything with the ifconfig
command.
Caesar,
We have three different platforms with the same problem, K580, R390 and L2000. The net cards
harware is different in every of them. I don't
believe they all have the same hardware bug.
We are now getting officially help from HP on
the issue, as part of our support contract on
HP-OV and OTS.
Thanks again to everyone for their responses and their time.
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 09:56 AM
07-07-2003 09:56 AM
Re: Disabling a multiprotocol LAN interface. ifconfig down doesn't work
now, if you go through and manage to get all subsystems which have bound to an interface to unbind (as does an ifconfig lanN unplumb for IP/ARP) then the driver will still receive some traffic from the NIC - things like broadcasts will still go through.
the only way I know of to completely shut-of any and all possibility of communication through a NIC is to either remove the driver from the kernel, or disconnect the cable.
11.x "thickens" the interface between drivers and ULPs - hence "ifconfig" only doing things with IP and not the driver itself. I suspect that a request to enhance lanadmin to provide a way to shutdown a card will need to be made. Lanadmin is the interface for interfacing with drivers/NICs.
Now, in that vein, one way to effectively terminate all comms through an interface might be to use lanadmin to make the NIC settings completely incompatible with the other end of the cable. If the other end is hardcoded say to 100FD, you might use lanadmin to configure the interface to 10HD. Now, if the other end is set to autoneg and autosense, that method will not be completely effective. The other side will speedsense down to the "right" speed, and even with a duplex mis-match, some traffic can get through.
And for fibre Gigabit cards, you cannot (iirc) force a mismatch to begin with since they only ever do 1000 megabit operation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 10:34 PM
07-07-2003 10:34 PM
Re: Disabling a multiprotocol LAN interface. ifconfig down doesn't work
explaining the whole thing.
Just a bit clarification: In 10.20 I was needing to get down the lan card because
it is the only way to stop the ES HELLOs broadcasting from the HP system. 10.20 did not
allow to stop OTS once started in boot time.
Upgraded to 11.x and found that this feature
in the lanconfig was removed and that the
OTS still couldn't be stopped.
The vendor now has brought the solution with
the patch PHNE_27889, which added the proper
thing to the platform, having then a otsstop
command. This patch doesn't defaulty come with
HP11.0 and that's why I've been struggling
and wasting long hours. couldn't believe that
a removed feature on 10.20 didn't have its
counterpart on 11.0
Thanks to the people in the forum for your aid.