Infinispan ships with a few different JGroups files (packaged in infinispan-core.jar) which means they will already be on your classpath by default. All you need to do is specify the file name, e.g., instead of jgroups.xml above, specify /default-configs/default-jgroups-tcp.xml.
You can use the TCP clustering feature which allows you to specify unique IP:port and only those servers will be in a cluster, you have to use TCPPING protocol of jgroups to create a TCP cluster.
If you want to run UDP based cluster then you can either create a cluster on any other multicast address(220.127.116.11 is the default)m, you can either setup different multicasts for your UAT,Prod and test and use UDP.
For detailed documentation on Infinispan server, please refer here.