>>> Lars Ellenberg <[email protected]> schrieb am 04.09.2014 um 16:43 in Nachricht <[email protected]>: > On Thu, Sep 04, 2014 at 04:23:36PM +0200, Ulrich Windl wrote: >> >>> Lars Ellenberg <[email protected]> schrieb am 04.09.2014 um 15:28 >> Hi! >> >> Yes, it helps: The problems with ping are: >> 1) There is no error if you use an interface alias with -I (like bond0:xyz) >> 2) You can use an IP address as "interface" for -I > > Right. So what is wrong with that. > > If you already know you want to explicitly specify it, > you probably also know which IP address you want to specify?
It's a silent expectation that any adress can be specified as resolvable name or literal address. Here's one example. We follow the policy to avoid literal adresses whenever possible. > >> 3), but you cannot use a hostname (resolving to the same IP address as in > 2)): >> "ping: unknown iface <hostname>" > > Send a patch upstream to check if > "interface" can be matched as interface > or, failing that, can be resolved. If time permits, I'll try... > > That would still require it to be presently configured on that host... > Does not look like the right approach to me. Why? We add the IP as resource, the start a server on that IP, and the ping is actually needed to keep an outbound connection alive through a firewall. The resources are properly rodered and co-located... Regards, Ulrich _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
