Three ways to connect the virtual machine's network

Description: John Doe, Wang Wu three computers installed window of the operating system are in the same classroom network environment, are in the same network segment

  1 Bridge Connection: John Doe in a virtual machine installed linux operating system if the bridge is connected, then the ip address of the virtual machine ip and will host the same network segment, then Joe Smith and John Doe virtual machine the operating system can communicate with each other, although John Doe virtual machine operating system and communications systems throughout the classroom window, but if the entire classrooms are connected using the bridge, it will be very likely to cause ip address conflict.

  2 . Nat Mode: Wang Wu NAT mode is used, then the time window system Wang Wu two ip address will, as shown above, wherein, 192.168.0.40 classrooms and other window systems in the same network segment , but it is clear to 192.168.100.200 and Linux systems constitute a virtual network environment. Then Joe Smith and other window systems will not be able to find 192.168.100.50 system, and it can not initiate communication request to 192.168.100.50. Instead, 192.168.100.50 192.168.0.40 can initiate communication to the host system through the other window.

  3. Host mode : install a virtual machine operating system independent and can not access the Internet.

Guess you like

Origin www.cnblogs.com/quanhaijie/p/12586168.html