SUMMARY: How to figure out the state of a network link ....

From: Thomas Leitner (tom@radar.tu-graz.ac.at)
Date: Thu Apr 10 2003 - 09:41:12 EDT


Hi,

Thanks everybody for your replies!

Here's the (quite sad) summary. It's not possible under Tru64 4.x. Many
people suggest to use ifconfig and check for UP or RUNNING flags but they
really don't reflect the state of the link. I can even ping the IP address
of the interface when the link is down!! Also none of the SNMP variables
reflects the real link state.

Below's the definitive answer from "Brusche, Johan" <Johan.Brusche@hp.com>.

Thanks // Tom

---------- Forwarded message ----------
Date: Thu, 10 Apr 2003 15:33:34 +0200
From: "Brusche, Johan" <Johan.Brusche@hp.com>

Tom,

The only status SNMP can give you is the operator status,
ie "ifconfig up/down".
There is no software that monitors the health of your connections,
except when you configure NetRain on redundant interfaces.

On V5.x systems the niffd (netw interface fault finder daemon)is
used for this task.

Johan.

-----Original Message-----
From: Thomas Leitner [mailto:tom@radar.tu-graz.ac.at]
Sent: donderdag 10 april 2003 13:27
To: TRU64 Unix Managers
Subject: How to figure out the state of a network link ...

Hi,

I need to write a script which monitors the state of various network
links. I have an ee0 and an fta0 and see the "link up" and "link down"
messages in /var/adm/messages when the cable is plugged in and
unplugged.

How can I detect the current state of the network link on an arbitrary
network interface (like ee0 or fta0). I've already searched the list
archives and Google but did not find any hint about that. If all else
fails, is this possibly available via SNMP?

BTW: this is for Tru64 4.0g!

Thanks // Tom



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:15 EDT