20.2. Configure JGroups Interfaces


Before JGroups Interface configuration, configure the JBoss Data Grid configuration (clustered.xml or standalone.xml depending on the type of deployment) file to a key word rather than a dotted decimal or symbolic IP address as follows:
<socket-binding name="jgroups-udp" ...  interface="site-local"/>
Copy to Clipboard Toggle word wrap
Then, configure the JGroups Interface as follows:
<interfaces>
 <interface name="link-local"><link-local-address/></interface>
 <interface name="site-local"><site-local-address/></interface>
 <interface name="global"><any-address/></interface>
 <interface name="non-loopback"><not><loopback/></not></interface>
</interfaces>
Copy to Clipboard Toggle word wrap
The configuration values used in the example are as follows:
  • link-local: Uses a 169.x.x.x or 254.x.x.x address. This suits the traffic within one box.
  • site-local: Uses a private IP address, for example 192.168.x.x. This prevents extra bandwidth charged from GoGrid, and similar providers.
  • global: Picks a public IP address. This should be avoided for replication traffic.
  • non-loopback: Uses the first address found on an active interface that is not a 127.x.x.x address.
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top