centos6.5 Network configuration (bridging mode) in VMware virtual machines communicates with host hosts

Source: Internet
Author: User


1. Modify the network adapter

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/9B/2B/wKioL1lfC1KAsDJfAAC1xW1AGyg794.jpg-wh_500x0-wm_ 3-wmp_4-s_3234712423.jpg "title=" 1.jpg "alt=" Wkiol1lfc1kasdjfaac1xw1agyg794.jpg-wh_50 "/>

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/9B/2B/wKioL1lfCtmwIXhiAADN1CGEi2E600.png-wh_500x0-wm_ 3-wmp_4-s_4154638892.png "style=" Float:none; "title=" 2.png "alt=" Wkiol1lfctmwixhiaadn1cgei2e600.png-wh_50 "/>


2. Select the network adapter used for bridging

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/9B/2B/wKioL1lfCtnCb6dYAAClwbCuYyk588.jpg-wh_500x0-wm_ 3-wmp_4-s_1472911240.jpg "style=" Float:none; "title=" 3.jpg "alt=" Wkiol1lfctncb6dyaaclwbcuyyk588.jpg-wh_50 "/>


650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/9B/2B/wKiom1lfCtqzH_CRAAC0jqMVycI929.jpg-wh_500x0-wm_ 3-wmp_4-s_2642370006.jpg "style=" Float:none; "title=" 4.jpg "alt=" Wkiom1lfctqzh_craac0jqmvyci929.jpg-wh_50 "/>


650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/9B/2B/wKiom1lfCtuB875ZAADPBkSu9EA378.jpg-wh_500x0-wm_ 3-wmp_4-s_2859138583.jpg "style=" Float:none; "title=" 5.jpg "alt=" Wkiom1lfctub875zaadpbksu9ea378.jpg-wh_50 "/>


3. Setting up the network

3.1 Enter setup in the system terminal for a graphical network configuration (this command only works with the Redhat series)

Up and down key selection, enter key to determine

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/9B/2B/wKioL1lfCtuj51wNAAAYlQMOHig517.jpg-wh_500x0-wm_ 3-wmp_4-s_2007113947.jpg "style=" Float:none; "title=" 6.jpg "alt=" Wkiol1lfctuj51wnaaaylqmohig517.jpg-wh_50 "/>

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/9B/2B/wKioL1lfCtyxFTbKAABf72Nsk9M776.jpg-wh_500x0-wm_ 3-wmp_4-s_3558052667.jpg "style=" Float:none; "title=" 7.jpg "alt=" Wkiol1lfctyxftbkaabf72nsk9m776.jpg-wh_50 "/>

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/9B/2B/wKiom1lfCtyg0-_uAAA81OK9_2U949.jpg-wh_500x0-wm_ 3-wmp_4-s_3216556157.jpg "style=" Float:none; "title=" 8.jpg "alt=" Wkiom1lfctyg0-_uaaa81ok9_2u949.jpg-wh_50 "/>

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/9B/2B/wKiom1lfCt2i_QBCAABiBsqBXkM104.jpg-wh_500x0-wm_ 3-wmp_4-s_4221200276.jpg "style=" Float:none; "title=" 9.jpg "alt=" Wkiom1lfct2i_qbcaabibsqbxkm104.jpg-wh_50 "/>

Move the cursor to the * on use DHCP press SPACEBAR to cancel the dynamic fetch

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/9B/2B/wKioL1lfCt7Q6EjUAAB3o8sERGQ311.jpg-wh_500x0-wm_ 3-wmp_4-s_1999693035.jpg "style=" Float:none; "title=" 10.jpg "alt=" Wkiol1lfct7q6ejuaab3o8sergq311.jpg-wh_50 "/>

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/9B/2B/wKioL1lfCt7BOoxqAAB35nR4g6Y577.jpg-wh_500x0-wm_ 3-wmp_4-s_1305011512.jpg "style=" Float:none; "title=" 11.jpg "alt=" Wkiol1lfct7booxqaab35nr4g6y577.jpg-wh_50 "/>

Enter IP, subnet mask, default gateway

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/9B/2B/wKiom1lfCt_R9VJxAAB0m_B9hHM648.jpg-wh_500x0-wm_ 3-wmp_4-s_1357557118.jpg "style=" Float:none; "title=" 13.jpg "alt=" Wkiom1lfct_r9vjxaab0m_b9hhm648.jpg-wh_50 "/>

Save changes

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/9B/2B/wKioL1lfCt-w4vh0AABmTcyH3C8023.jpg-wh_500x0-wm_ 3-wmp_4-s_2969345738.jpg "style=" Float:none; "title=" 14.jpg "alt=" Wkiol1lfct-w4vh0aabmtcyh3c8023.jpg-wh_50 "/>

Save and launch

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/9B/2B/wKiom1lfCuCTdfFwAAA1qdw2K0M489.jpg-wh_500x0-wm_ 3-wmp_4-s_2258156087.jpg "style=" Float:none; "title=" 15.jpg "alt=" Wkiom1lfcuctdffwaaa1qdw2k0m489.jpg-wh_50 "/>

Exit

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/9B/2B/wKioL1lfCuHS_OmuAABAjsPMZqQ405.jpg-wh_500x0-wm_ 3-wmp_4-s_2445818706.jpg "style=" Float:none; "title=" 16.jpg "alt=" Wkiol1lfcuhs_omuaabajspmzqq405.jpg-wh_50 "/>

4. Turn on the ETH0 network card

Enter cd/etc/sysconfig/network-scripts in the terminal

Edit Ifcfg-eth0 File VI ifcfg-eth0

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/9B/2B/wKioL1lfCuKxy5JbAABt8bxX_0k565.jpg-wh_500x0-wm_ 3-wmp_4-s_2315914028.jpg "style=" Float:none; "title=" 19.jpg "alt=" Wkiol1lfcukxy5jbaabt8bxx_0k565.jpg-wh_50 "/>

Set the value of Onboot to Yes

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/9B/2B/wKiom1lfCuKAha2qAAA64-4tzek719.jpg-wh_500x0-wm_ 3-wmp_4-s_3956251974.jpg "style=" Float:none; "title=" 20.jpg "alt=" Wkiom1lfcukaha2qaaa64-4tzek719.jpg-wh_50 "/>

5. Start a new network service

Ping Host Test Network

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/9B/2B/wKioL1lfCuPiJS9sAACy-vYSC0A696.jpg-wh_500x0-wm_ 3-wmp_4-s_3303745397.jpg "style=" Float:none; "title=" 21.jpg "alt=" Wkiol1lfcupijs9saacy-vysc0a696.jpg-wh_50 "/>

6. Host pings the IP of CentOS in the virtual machine

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/9B/2B/wKiom1lfCuOCZ82cAACvwdmuP6w900.jpg-wh_500x0-wm_ 3-wmp_4-s_1788781968.jpg "style=" Float:none; "title=" 22.jpg "alt=" Wkiom1lfcuocz82caacvwdmup6w900.jpg-wh_50 "/>


This article is from the "garyzheng2017" blog, make sure to keep this source http://garyzheng2017.blog.51cto.com/13088913/1945259

centos6.5 Network configuration (bridging mode) in VMware virtual machines communicates with host hosts

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.