We have multiple VM's in Exalogic with IP address from different subnet. For VM's to access other VM's, all traffic comes out of Exalogic to our switch and is routed there. Is there any way that Infiniband switches can route this traffic.
Yes, this is done using Private vNets. Private vNets are IPoIB networks created in a cloud account in Exalogic control and are assigned to specific vServers in that account. Only the vServers assigned to a specific Private vNet can communicate over that network. See the documentation references below, from the Exalogic Cloud Administrator's Guide, for more information and how to create them: