On 2012-08-16T09:51:52, Ulrich Windl <[email protected]> wrote:

> Hi!
> 
> Can somebody explain (found in resource-agents-3.9.2-0.25.5 of SLES11 SP2):
> # OCF_RESKEY_ip=172.20.3.99 OCF_RESKEY_cidr_netmask=26 
> /usr/lib64/heartbeat/findif -C
> eth0    netmask 26      broadcast 172.20.3.127
> 
> If I guess that 26 bits is (3*8) + 2, and 32-26 == 6, I wonder why findif 
> uses 7 bits for the broadcast. IMHO the correct broadcast address would be 
> 172.20.3.63

99 > 64, so the network you specified is actually 172.20.3.64/26, with a
broadcast address of .127.


Regards,
    Lars

-- 
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 
21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
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