How do I change the TTL on multicast packets in a RHEL 6 cluster?

Solution Unverified - Updated

Environment

  • Red Hat Enterprise Linux (RHEL) 6 with the High Availability Add On
  • cman

Issue

  • How can I change the TTL on multicast packets in a RHEL 6 cluster?
  • How do we change TTL in the CMAN cluster.conf. (We use CMAN, so the corosync parameters have to be set in the cluster.conf).

Resolution

TTL on multicast packets can be changed in /etc/cluster/cluster.conf's <multicast> tag:

<cman>
   <multicast ipaddr="239.145.12.13" ttl="2"/>
</cman>
SBR
Components

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.