Home > other >  Double nic in the host, the communication between the virtual machine
Double nic in the host, the communication between the virtual machine

Time:10-01

Scene:
1. The two switches, and routers
2. A host vm esxi virtual machine manager, with two cable network adapter (all hope to connect to the Internet via dial-up way)
3. The three virtual machines, respectively is empty (Linux), A virtual B (WIN10), C (WIN10)
4. Virtual role B: looking for resources from the Internet, and then run the application P (calculate process needs to access the Internet and to replace IP), and the calculate results into the local database B
5. Virtual C: looking for resources from the Internet, and then run the application P (calculate process needs to access the Internet and to replace IP), and the calculate results into the local database C
6. Virtual A role: the content of the database through the network to take out the virtual B B and intranets to remove the database of virtual C C content, and show

Requirements:
1. Virtual B, and the use of virtual C programs are run within the relatively independent network (because all need access to the Internet, and need to switch the IP, can't influence each other)
2. Virtual a. to get data from the database B and C, so empty A to B and virtual database B using network virtual database C of C and use the network in the same local area network (LAN), such fast data transfer

Question:
According to the requirements, therefore A only one network, virtual B only one network (and A communication), virtual C needs two network (one for access to the Internet, and the other for and virtual A communication), so that each machine how to set?
PS, the problem will be around a bit (is to speak more understand  )

CodePudding user response:

The master of its own, draw a diagram will understand,
  • Related