Pavlos Parissis wrote: > I've just done a quick test. Since I don't have physical access on > systems, I shutdown the port on the switch and run ping on the IP > assigned to the interface, which has NO-CARRIER flag on and flag > LOWER_UP was gone. The ping was successful! > I am not 100% sure that shut-downing the port on the switch simulates > 100% the removal of the cable but I don't think pinging the IP of the > interface is the best option for identifying layer1 and layer 2 > problems. May be that is the reason the ping functionality is not on > IPaddr2.
IPaddr2 doesn't have the "monitor" option at all. I doubt you can be 100% sure of the monitor results: if you ping the interface itself, kernel may (arguably, should) be smart enough to send the packets to lo. If you ping the gateway, switch (or gateway, or firewall) reset will cause it to fail on both nodes at once. You may be better off grepping for "link detected" in the output of ethtool -- that's not portable and may change in the next version of ethtool. And so on. Dima -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
