The present application discloses a network intercommunication method,
system, electronic device, storage medium and program product, which relate to the field of
cloud computing, including: for first
virtual machine traffic output by a
virtual machine in a computing node and whose destination node is a physical
server node, routing matching is performed on the first
virtual machine traffic through the
routing table corresponding to the first virtual routing and forwarding instance in the computing node; instructing the target switch to send the obtained second virtual
machine traffic to the physical
server node, so that the virtual
machine and the physical
server node can achieve network intercommunication, and the target switch is respectively connected to the physical server node, the
route reflector and the computing node. The method solves the problem that the soft gateway used between the virtual
machine in the computing node and the
bare metal node in the
cloud computing environment has a bandwidth forwarding
bottleneck and a high solution cost, which leads to poor network intercommunication between the virtual machine and the
bare metal node, and improves the network intercommunication between the virtual machine and the
bare metal node.