Is a VLAN needed between the cluster nodes or is the fact that the cluster is behind a switch enough?

Is a VLAN needed between the cluster nodes or is the fact that the cluster is behind a switch enough?

The cluster nodes need to be able to route traffic to each other and their multicast traffic must be heard by all other nodes in the cluster.