Host and virtual machines communicate with each other

Source: Internet
Author: User

communication between host and virtual machine Liu Chenqi

First step: set the IP address in the host.

1: Locate the Control Panel and click Open

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/87/10/wKioL1fSjCagrAiaAAC2b-jLiCA969.jpg-wh_500x0-wm_3 -wmp_4-s_328904284.jpg "style=" Float:none; "title=" 1.jpg "alt=" Wkiol1fsjcagraiaaac2b-jlica969.jpg-wh_50 "/>

2 Select Network and Internet, click Open.

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/87/12/wKiom1fSjXewPxt4AACSyL-VDuU310.jpg-wh_500x0-wm_3 -wmp_4-s_3255776414.jpg "style=" Float:none; "title=" 2.jpg "alt=" Wkiom1fsjxewpxt4aacsyl-vduu310.jpg-wh_50 "/>

3 Locate the change adapter settings and click Open.

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/87/10/wKioL1fSjwyBEN07AACmR5g0eRc764.jpg-wh_500x0-wm_3 -wmp_4-s_3158880436.jpg "title=" 3.jpg "alt=" Wkiol1fsjwyben07aacmr5g0erc764.jpg-wh_50 "/>

4 Locate the network and Sharing Center and click Open.

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/87/12/wKiom1fSjCewIJkgAABt3cDfwkI367.jpg-wh_500x0-wm_3 -wmp_4-s_2743310065.jpg "style=" Float:none; "title=" 4.jpg "alt=" Wkiom1fsjcewijkgaabt3cdfwki367.jpg-wh_50 "/>


5 Locate VMnet1, click Open.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/87/12/wKiom1fSjCiAGu8kAACxYamDUFs126.jpg-wh_500x0-wm_3 -wmp_4-s_1338443907.jpg "style=" Float:none; "title=" 5.jpg "alt=" Wkiom1fsjciagu8kaacxyamdufs126.jpg-wh_50 "/>

6 Locate the attribute and click Open.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/87/10/wKioL1fSjCjREhW2AACL_zUp4VI007.jpg-wh_500x0-wm_3 -wmp_4-s_1286364203.jpg "style=" Float:none; "title=" 6.jpg "alt=" Wkiol1fsjcjrehw2aacl_zup4vi007.jpg-wh_50 "/>

7 Select version 4, click Properties OK .

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/87/12/wKiom1fSjCnjEBcaAADWIbbs0GU221.jpg-wh_500x0-wm_3 -wmp_4-s_1870980406.jpg "style=" Float:none; "title=" 7.jpg "alt=" Wkiom1fsjcnjebcaaadwibbs0gu221.jpg-wh_50 "/>

8 Set the host's IP address and click OK.

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/87/10/wKioL1fSjCmyDwV3AACyqzbGZSs647.jpg-wh_500x0-wm_3 -wmp_4-s_1804306098.jpg "style=" Float:none; "title=" 8.jpg "alt=" Wkiol1fsjcmydwv3aacyqzbgzss647.jpg-wh_50 "/>

Step Two: set the IP address in the virtual machine .

9 Locate the Control Panel in the virtual machine, click Open Network and Internet, click Open.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/87/10/wKioL1fSjCqzaA44AACD03fNznw893.jpg-wh_500x0-wm_3 -wmp_4-s_3100151176.jpg "style=" Float:none; "title=" 9.jpg "alt=" Wkiol1fsjcqzaa44aacd03fnznw893.jpg-wh_50 "/>

find the network and Sharing Center and click Open.

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/87/10/wKioL1fSlJrw-upaAABoKyNf-hs748.jpg-wh_500x0-wm_3 -wmp_4-s_4279536930.jpg "style=" Float:none; "title=" 1.jpg "alt=" Wkiol1fsljrw-upaaabokynf-hs748.jpg-wh_50 "/>

Find the change adapter settings and click Open.

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/87/12/wKiom1fSlJqRamMHAAC2TE5wurQ904.jpg-wh_500x0-wm_3 -wmp_4-s_849730729.jpg "style=" Float:none; "title=" 2.jpg "alt=" Wkiom1fsljqrammhaac2te5wurq904.jpg-wh_50 "/>

Click Local connection to open it.

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/87/10/wKioL1fSlJuzrQneAABZCsHDtnI660.jpg-wh_500x0-wm_3 -wmp_4-s_3366684332.jpg "style=" Float:none; "title=" 3.jpg "alt=" Wkiol1fsljuzrqneaabzcshdtni660.jpg-wh_50 "/>

13 Click Properties to open.

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/87/12/wKiom1fSlJvQPR0sAACdHoAkXqk141.jpg-wh_500x0-wm_3 -wmp_4-s_170596734.jpg "style=" Float:none; "title=" 4.jpg "alt=" Wkiom1fsljvqpr0saacdhoakxqk141.jpg-wh_50 "/>

14 Select version 4, click Properties to open.

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/87/10/wKioL1fSlJyAwxlfAACrfvSIQdA207.jpg-wh_500x0-wm_3 -wmp_4-s_3370144998.jpg "style=" Float:none; "title=" 6.jpg "alt=" Wkiol1fsljyawxlfaacrfvsiqda207.jpg-wh_50 "/>

Modify the IP address, and remember that it cannot be the same as the virtual machine's IP address.

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/87/12/wKiom1fSlJzwH6i3AAClX-Jb3EM353.jpg-wh_500x0-wm_3 -wmp_4-s_3909299692.jpg "style=" Float:none; "title=" 7.jpg "alt=" Wkiom1fsljzwh6i3aaclx-jb3em353.jpg-wh_50 "/>

step three: Shut down the host and virtual machine firewalls.

Find system and security, click on Open.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/87/12/wKiom1fSlJ3RoD3NAADbnNQ_7CM865.jpg-wh_500x0-wm_3 -wmp_4-s_2948132721.jpg "style=" Float:none; "title=" 8.jpg "alt=" Wkiom1fslj3rod3naadbnnq_7cm865.jpg-wh_50 "/>

Find Windows Firewall click Open.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/87/10/wKioL1fSlJ3ghHUZAAEHVJcBNpI652.jpg-wh_500x0-wm_3 -wmp_4-s_3501518019.jpg "style=" Float:none; "title=" 9.jpg "alt=" Wkiol1fslj3ghhuzaaehvjcbnpi652.jpg-wh_50 "/>

find open or close Windows Firewall click Open.

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/87/12/wKiom1fSlJ6wkY6WAACQ10acIgA420.jpg-wh_500x0-wm_3 -wmp_4-s_230036896.jpg "style=" Float:none; "title=" 10.jpg "alt=" Wkiom1fslj6wky6waacq10aciga420.jpg-wh_50 "/>

Close the two Windows Firewall, then click OK.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/87/10/wKioL1fSnDrClHcFAADQMIkjITQ663.jpg-wh_500x0-wm_3 -wmp_4-s_3723601283.jpg "style=" Float:none; "title=" 1.jpg "alt=" Wkiol1fsndrclhcfaadqmikjitq663.jpg-wh_50 "/>

20 Locate the Control Panel in the virtual machine, click Open to find the system and security, click Open.

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/87/10/wKioL1fSnDvwxx-OAAClcciVDyY985.jpg-wh_500x0-wm_3 -wmp_4-s_3897455463.jpg "style=" Float:none; "title=" 2.jpg "alt=" Wkiol1fsndvwxx-oaaclccivdyy985.jpg-wh_50 "/>

Click Windows Firewall to open.

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/87/12/wKiom1fSnDvx7ZFzAACUwID8c50419.jpg-wh_500x0-wm_3 -wmp_4-s_3057535811.jpg "style=" Float:none; "title=" 3.jpg "alt=" Wkiom1fsndvx7zfzaacuwid8c50419.jpg-wh_50 "/>

find open or close Windows Firewall click Open.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/87/12/wKiom1fSnDzwydQsAADetLubwN4961.jpg-wh_500x0-wm_3 -wmp_4-s_479249317.jpg "style=" Float:none; "title=" 4.jpg "alt=" Wkiom1fsndzwydqsaadetlubwn4961.jpg-wh_50 "/>

Close two WindowA firewalls and click Close.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/87/10/wKioL1fSnDzgznOBAACDV0v4-zc007.jpg-wh_500x0-wm_3 -wmp_4-s_4294909697.jpg "style=" Float:none; "title=" 5.jpg "alt=" Wkiol1fsndzgznobaacdv0v4-zc007.jpg-wh_50 "/>

Fourth Step: Verify

24 Enter the cmd command symbol at the beginning of the build and press ENTER to exit the page.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/87/12/wKiom1fSnD2DDeMCAABoYj4vB_Q594.jpg-wh_500x0-wm_3 -wmp_4-s_2604292943.jpg "style=" Float:none; "title=" 6.jpg "alt=" Wkiom1fsnd2ddemcaaboyj4vb_q594.jpg-wh_50 "/>

Enter the IP address of the virtual machine ping 192.168.118.7 and press ENTER. This page appears to be successful.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/87/10/wKioL1fSnD3gBDHmAACvE7vlhdQ657.jpg-wh_500x0-wm_3 -wmp_4-s_2196074646.jpg "style=" Float:none; "title=" 7.jpg "alt=" Wkiol1fsnd3gbdhmaacve7vlhdq657.jpg-wh_50 "/>

This concludes the experiment where the host and virtual machines communicate with each other.



This article is from the "12037263" blog, please be sure to keep this source http://12047263.blog.51cto.com/12037263/1851227

Host and virtual machines communicate with each other

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.