[Linux-ha-dev] OCF IPaddr script in CVS HEAD requires netmask. Is this volitional?
peinkofe at fhm.edu
peinkofe at fhm.edu
Sun Nov 6 06:14:52 MST 2005
Hello everybody,
while trying the lates CVS HEAD version of heartbeat (date 2005-11-05) I encountered that the IPaddr script doesnt work anymore with my config.
I used to specify only a ip-address and no netmask.
<attributes>
<nvpair name="ip" value="10.20.120.205"/>
</attributes>
So I tried
export OCF_RESKEY_ip=10.20.120.205
./IPaddr
Invalid netmask specification [bond0]
/usr/lib/heartbeat/findif version 2.0.3 Copyright Alan Robertson
Usage: /usr/lib/heartbeat/findif address[/netmask[/interface][/broadcast]]
Where:
address: IP address of the new virtual interface
netmask: CIDR netmask of the network that address belongs to
interface: interface to add the virtual interface to
broadcast: broadcast address of the network that address belongs to
Options:
-C: Output netmask as the number of bits rather than as 4 octets.
2005/11/06_14:08:56 ERROR: Unable to find an interface for 10.20.120.205
So to get it to work I must specify the
OCF_RESKEY_netmask value too. I couldn't find in the cvs logs if this was changed volitional, so I wanted to ask here.
Many thanks in advance.
Stefan Peinkofer
More information about the Linux-HA-Dev
mailing list