Wireless Sensor Networks (WSNs) are composed of many sensor nodes that communicate via wireless connections. Virtual MIMO (V-MIMO) improves the reliability of long-range transmissions in WSNs by enabling intermediate nodes to work together during data forwarding. While this collaborative approach enhances communication performance, it also introduces additional system complexity, increases energy usage and can cause greater transmission interference. To address these challenges, this work proposes a novel Levy guided Dragonfly Optimization model for Cross layer Virtual MIMO (LDO- CV-MIMO) systems that significantly enhances communication performance. Specifically, a multihop virtual MIMO communication protocol is developed to improve quality of service (QoS) and energy efficiency in WSNs. Throughput and latency are modeled based on the bit error rate (BER) performance of individual links. In addition, a Levy guided Dragonfly Optimization Algorithm (LgDOA) is employed to optimize the BER of each link while satisfying end-to-end (ETE) QoS requirements with minimal energy consumption. The LgDOA approach has surpassed the LA, PSO and DA methods to obtained lesser joule over energy consumption by 5.8× 10-3 J in 100 nodes and 5.7× 10-3 J in 400 nodes.