Max,

> [..]
>>> ip addr show [interface]
>>>
>>> and look for the existence of 'LOWER_UP'. E.G. :-
>>>
>>> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
>>> qlen 1000
>>> ...
>> Well, I just looked for 'UP'. Is this wrong? (...will also try to find 
>> out myself....)
> One of the main reasons to monitor the interface is as a quick check to see
> if the network is properly connected (rather than doing 'pings' all the 
> time)
> ... if you just pull the network plug from your computer you may well find
> that the interface is still 'UP', and it's local IP address may even still
> respond to pings, however you obviously do not have connectivity. The
> 'LOWER_UP' should however have disappeared (you may also see 'NO-CARRIER'
> at this time). So, yes, I would say that just looking for 'UP' is in fact
> wrong.

Do you have any hint where to look for more information on this? the 
ip-utils manpage didn't help. And from looking it's the source code and 
the kernel source code as well I can just only guess that it depends on 
the driver, whether 'LOWER_UP' is/can be set for an interface. I would 
really like to understand the connection between 'UP' and 'LOWER_UP' and 
so on, but I'm not a great C coder....

Thanks,
Robert.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to